Convert .gen file with only alternate allele dosage to plink files?
1
0
Entering edit mode
3.7 years ago
clyumath ▴ 20

I have a .gen file with only alternate allele dosage (0~2) for each SNP, like a simple following (3 SNPs and 5 samples):

1       1:11008:C:G     11008   C       G       1.022   0.193   0.192   0.281   0.003
1       1:11012:C:G     11012   C       G       1.022   0.193   0.192   0.281   0.003
1       1:13110:G:A     13110   G       A       0.135   0.193   0.019   0.002   0.002

Is there a software that can convert this kind of gen file to plink files (bed/fam/bim)?

I understand, for a standard .gen file with SNPs of three probabilities (like CC,CG,GG) can be done by plink --gen --sample, but the gen file I have is only with alternate allele dosage (0~2) for each SNP. Any suggestion?

Thank you very much in advance!

SNP plink • 1.7k views
ADD COMMENT
1
Entering edit mode
3.7 years ago
zx8754 11k

Read about plink --import-dosage flag:

ADD COMMENT
0
Entering edit mode

Thanks, --import-dosage works well.

ADD REPLY

Login before adding your answer.

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