Download a dbSNP database from the UCSC as a CSV file: http://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/
For example:
wget http://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/snp137Common.txt.gz
Note that the chromStart
column values are 0-based.
Rewrite all SNP names in your plink .bim
file to the corresponding dbSNP rs#. As long as you keep the order intact, all should be fine.
Have you got a script to do this? or is this just a note?
Thank you in advance!