[ensembl-dev] Finding a variant's type from a Variant or VariantFeature object

João Eiras joao.eiras at gmail.com
Mon Nov 14 23:50:58 GMT 2016


On 14 November 2016 at 19:34, John M.C. Ma <manchunjohn-ma at uiowa.edu> wrote:
> Hi all,
> I wonder if there're any method in the Ensembl-variant API that allows
> me to check whether a Variant or VariantFeature object is a SNV or an
> indel?

Hi.

I think you're looking for VariationFeature::class_SO_term().

Also see http://www.sequenceontology.org/miso/current_release/term/SO:0001059

Cheers.




More information about the Dev mailing list