convert from plink format into 012 format
2
1
Entering edit mode
8.0 years ago
tim.heinert2 ▴ 10

Hello

I have a .ped file in plink and would like to convert it into the 012 format (0 hom ancestral), 1 het, 2 dom derived. Is there any way to achieve this with an option in plink?

SNP • 7.5k views
ADD COMMENT
7
Entering edit mode
8.0 years ago
plink --file [.ped/.map fileset prefix] --recodeA --out [output prefix]
ADD COMMENT
0
Entering edit mode

Very helpful!

ADD REPLY
1
Entering edit mode
8.0 years ago
zx8754 11k

Use --recodeA

See Additive and dominance components

ADD COMMENT

Login before adding your answer.

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