This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Convert 4 million SNPs' positions to rsID

I have a list of SNPs of the form chromesome:position and I want convert them to rsIDs. I tried Biomart package in R but it was too slow, it will take forever to convert 4 million SNPs. I believe it is possible to download the GRCh37 data and do the job locally instead of requesting information from Ensembl. Does anyone know which is the correct dataset to download and which software I should use? I've download some dataset but they were not the right one, if you can provide a link that will be very helpful.

snps rsid genomes ensembl vcf

Thanks a lot. Very helpful.

intersect bed with vcf

You need to know which build was used in generating your list of SNPs. Accordingly, you need to download dbSNP vcf.

1 answer

ANNOVAR provides an database named "avsnp" for this purpose. More details and a relevant discussion:

http://annovar.openbioinformatics.org/articles/dbSNP/

I'll try to explore it. Thanks a lot for the help.

Log in to answer this question.