plink --file data --recodeAD
which, assuming C is the minor allele, will recode genotypes as follows:
SNP SNP_A , SNP_HET
--- ----- -----
A A -> 0 , 0
A C -> 1 , 1
C C -> 2 , 0
0 0 -> NA , NA
No comments:
Post a Comment