This is a test version of Biostars. For the public version, visit https://www.biostars.org.
DB SNP, how to download database?

I'm looking for SNP info for many, many SNPs, and am using the NIH's SNP database as a resource. However, manually accessing every web page via a web browser (e.g. https://www.ncbi.nlm.nih.gov/snp/rs2834164) is not practical. It would be best if I could download a single TSV/JSON/whatever, and then process the data with my Perl script. I've checked https://www.ncbi.nlm.nih.gov/home/download/ but I don't see how I can get the SNP data from there. Internet searching hasn't produced any results.

Each SNP should only have a few KB of data to it.

How can I download the SNP database that shows data like https://www.ncbi.nlm.nih.gov/snp/rs2834164?

nih

1 answer

You can download the latest release for human from their FTP site here. The VCF will likely have all the information on that page present, though parsing it out can be a pain.

thank you! Do you know how data could be added that would tell me what kind of variant something is? e.g. intron/missense/etc.? I don't see that info in those files

Log in to answer this question.