myvariant.info
myvariant.info copied to clipboard
Batch query API via list of variant positions in chr:pos
I know that this is possible with a list of rsids, but is it possible with a list of variants in chr:pos format?
I have asked the Biostars community but have not received a response just yet. https://www.biostars.org/p/395745/
Thanks very much in advance!
I don't see it possible to use batch query service if you only provide chr:pos... Here are some alternatives you might want to try:
- If you have the hgvs id (chr, pos, ref, alt), e.g. chr1:g.35367C>T, you can use the POST batch query service, see myvariant batch query doc
- If you only have chr:pos, you have to use the GET query service as documented myvariant query doc. Example: http://myvariant.info/v1/query?q=chr7:73657626
@willgdjones I want to add that, although the current myvariant batch query does not support the type of batch queries you asked, I think it could be a very useful feature to add.
(reopening this issue for us to explore the possible solution)