Convert Allele Dosage Files To Ped And Map
1
1
Entering edit mode
10.6 years ago
kapoor.manav ▴ 40

I have pedigree file in dosage format

FID IID PAT MAT SEX PHENOTYPE rs138257042_G rs141845380_C rs116378360_C a2x

100 001 016 017 2 2 NA NA NA 1

100 005 004 001 1 -9 2 2 1 1

100 008 007 006 1 1 2 2 2 2

and map file

22 rs138257042 0.027263 16449075 A G

22 rs141845380 0.027263 16449076 G A

22 rs116378360 0.027547 16620701 T C

22 a2x 0.027549 16620722 T C

I want to convert it to plink ped file. Please suggest some program or script to complete the task.

M

plink ped • 3.2k views
ADD COMMENT
0
Entering edit mode

Duplicate of this question? plink raw format to ped format

ADD REPLY
0
Entering edit mode
10.6 years ago
zx8754 11k

rs138257042_G - G is the minor allele and the values 0,1,2 are the counts of minor allele. So, for IID=005 rs138257042 is G G. You can easily write up some code to do this kind of conversion.

ADD COMMENT

Login before adding your answer.

Traffic: 1660 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