Hello Biostars community!
I am following along with the MyVariant.info docs, looking to find a way to batch query by a list of chr:pos.
The documentation gives examples of how to do this with lists of RSIDs, however, this will not work for my use-case.
import httplib2
h = httplib2.Http()
headers = {'content-type': 'application/x-www-form-urlencoded'}
params = 'q=rs58991260,rs2500&scopes=dbsnp.rsid'
res, con = h.request('http://myvariant.info/v1/query', 'POST', params, headers=headers)
The list of chr:pos might look like: params = 'q=1:100292476,1:101064936&scopes=XXX'
Thank you in advance for you help!