Entering edit mode
3.6 years ago
salman_96
▴
70
Hi I have a .bim file (Plink) in this format
1 1:727841:G:A 0 727841 A G
1 1:730087:T:C 0 730087 C T
I want to convert coordinated to rsID like this
1 rs1048977 0 20945055 T C
1 rs12128671 0 20945452 G A
Is there any way to do that in Plink or any other way? (The data is just an example above)
Best regards
When using these tabix files, note that you'll need to translate your chromosome numbering scheme to accession identifiers from the NCBI Reference Sequence Database (RefSeq), e.g.
1
becomesNC_000001.11
:You could download the gzip file and its associated tbi index file to run tabix locally, and then use
awk
or other scripted approaches to read through your list of SNPs, writing out the rsID.