Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch query API via list of variant positions in chr:pos #89

Open
willgdjones opened this issue Aug 25, 2019 · 2 comments
Open

Batch query API via list of variant positions in chr:pos #89

willgdjones opened this issue Aug 25, 2019 · 2 comments

Comments

@willgdjones
Copy link

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!

@kevinxin90
Copy link
Contributor

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:

  1. 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
  2. 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

@newgene
Copy link
Member

newgene commented Aug 27, 2019

@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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants