How to add rs ID to SNP dosage file
0
0
Entering edit mode
3.1 years ago
salman_96 ▴ 70

Hi I have two files. One is a .ped file that looks like this

FamilyID indivID 0 0 2 1 2 1 2 1 2 2 2 .... 
FamilyID indivID 0 0 2 1 2 1 2 2 1 2 1 ....

I prepared this file by adding --recode 12 to change dosage to 1 2 0 from A/G/T/A

I also have SNPs information in .bim and .map files.

I want to make a file that has both rsIDs and dosage information and should look like this.

ID   rs12345    rs12345 .......................
1    2                2           .......................
2    1                1           .......................
3    2                2           .......................
4    1                1           .......................
5    2                2
6    1                1           ......................

And the list goes on,

Best regards, Salman

SNPs Plink rsID • 579 views
ADD COMMENT

Login before adding your answer.

Traffic: 2710 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6