Lots of SNPs from 1 chromosome:
curl 'http://biotech.bmi.ac.cn/3dsnp/api.do?chrom=chr1&position=1000000-2000000&format=json&type=basic'
Probably a good idea to save that in a file while you are messing around.
With that saved in file j
:
pretty print the result
jq < j .
Get the EUR
value for all results:
jq < -r j .[].EUR
Only returns 100 results at a time.