--output-missing-genotype not working on binary PLINK files

150 views
Skip to first unread message

Vince Forgetta

unread,
Aug 4, 2016, 10:46:06 AM8/4/16
to plink2-users
Hi,

I am trying the following on binary PLINK files that have 'N' as missing genotype:

plink --bfile infile --missing-genotype N --output-missing-genotype 0 --out outfile --make-bed

My goal is to convert missing genotype code from 'N' to 0.

However, the resulting outfile.bim retains 'N' as the missing genotype. It works if I create ped/map files first:

plink --bfile infile --missing-genotype N --output-missing-genotype 0 --out outfile recode

plink --file outfile --make-bed --out outbin

Is this behaviour expected?

Thanks,

Vince


Christopher Chang

unread,
Aug 4, 2016, 1:05:17 PM8/4/16
to plink2-users
Hmm, this behavior is technically expected -- PLINK 1.07 does the same thing -- but I agree that it's messed up, and I seriously hope that nobody depends on it.  I will post a patch tonight.

Vince Forgetta

unread,
Aug 5, 2016, 10:41:26 AM8/5/16
to plink2-users
Thanks. I can test if you need.

Christopher Chang

unread,
Aug 5, 2016, 4:22:02 PM8/5/16
to plink2-users
Sure, let me know if you have any problems with the Aug 4 builds.
Reply all
Reply to author
Forward
0 new messages