This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to add rs ID to SNP dosage file

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

0 answers

No answers yet.

Log in to answer this question.