Pure. MyVariant indexes variants by an HGVS g. string, so a caller holding
chromosome, position, ref and alt needs this to ask about one.
This is not variant identity
This formats a variant the way one service wants it written. It is not a
canonical variant key and it does not normalize anything. The canonical key
is (assembly, chromosome, position, ref, alt), and turning arbitrary input
into one is vcfcanon's job, not this package's.
References
Xin et al. (2016). High-performance web services for querying gene and variant annotation. Genome Biology 17, 91. doi:10.1186/s13059-016-0953-9
Service documentation: https://myvariant.info/