def annotate_snv(adpter, variant):
    """Annotate an SNV/INDEL variant
    
    Args:
        adapter(loqusdb.plugin.adapter)
        variant(cyvcf2.Variant)
    """
    variant_id = get_variant_id(variant)
    variant_obj = adapter.get_variant(variant={'_id':variant_id})
    
    annotated_variant = annotated_variant(variant, variant_obj)
    return annotated_variant
def annotate_snv ( adpter , variant ) : variant_id = get_variant_id ( variant ) variant_obj = adapter . get_variant ( variant = { '_id' : variant_id } ) annotated_variant = annotated_variant ( variant , variant_obj ) return annotated_variant
Annotate an SNV/INDEL variant
    
    Args:
        adapter(loqusdb.plugin.adapter)
        variant(cyvcf2.Variant)