This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How To Get Chromosome Position Given Rs Number?

I have a list of a 5 hundred thousand SNPs given by rs number. I want to get the chromosome and position for each SNP. For example: input: rs4477212 output: chr1 82154

How can I do it and how long will receive this information?

snp chromosome position

Thanks! Interesting, whether it is possible to do in R

Probably a biomart solution for this, through R.

1 answer

You can batch query on dbSNP

If there is a large list of rs ids, download dbSNP VCF file and grep for positions with rs ids

Log in to answer this question.