This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Convert .gen file with only alternate allele dosage to plink files?

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 answer

Read about plink --import-dosage flag:

Thanks, --import-dosage works well.

Log in to answer this question.