I had to convert my genotype data (which was in tped format) to PED format. I have compound genotypes. The file looks like this:
===========
2 0200028 0 0 1 1 XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
2 0200029 0 0 1 1 XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
2 0200030 0 0 1 1 XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
2 0200031 0200001 0200015 1 1 CC GG TT TG TT TT CC AA CT CC AA CC AA AA CC CC AA TC CC TT GG AA TG XX
2 0200032 0200001 0200015 2 1 CC GG TT TG TT TT CC AA CT CC AA CC AA AA CC CC AA TC CC TT GG XX TG XX
2 0200033 0200001 0200015 2 1 CC GG TT TG TT TT CC AA TT CC TA CC AA AA TC CC AA CC TC TT GG AA TG TT
2 0200034 0200001 0200015 2 1 CC GG TT TG TT TT CC AA TT CC TA CC AA AA TC CC AA CC TC TT GG AA TG TT
2 0200035 0200001 0200015 2 1 CC GG TT TG TT TT CC AA TT CC TA CC AA AA TC CC AA CC TC TT GG AA TG TT
============
when I try to create the binary files using the command:
plink.1.90beta --file chr21 --missing-genotype X --make-bed --out chr21;
I get the following errors (this is just a subset... I have to ctrl+c to stop)
============
Warning: Variant 150717 (post-sort/filter) triallelic; setting rarest missing.
Warning: Variant 150718 (post-sort/filter) triallelic; setting rarest missing.
Warning: Variant 150719 (post-sort/filter) triallelic; setting rarest missing.
Warning: Variant 150720 (post-sort/filter) triallelic; setting rarest missing.
Warning: Variant 150721 (post-sort/filter) triallelic; setting rarest missing.
Warning: Variant 150722 (post-sort/filter) triallelic; setting rarest missing.
Warning: Variant 150723 (post-sort/filter) triallelic; setting rarest missing.
===========
However when I run it on PLINK 1.70 with the following command, it reads the file correctly
plink --noweb --file chr21 --missing-genotype X --make-bed --compound-genotypes --out chr21
===============
Options in effect:
--noweb
--file chr21
--missing-genotype X
--make-bed
--compound-genotypes
--out chr21
239352 (of 239352) markers to be included from [ chr21.map ]
1389 individuals read from [ chr21.ped ]
1389 individuals with nonmissing phenotypes
Assuming a disease phenotype (1=unaff, 2=aff, 0=miss)
Missing phenotype value is also -9
0 cases, 1389 controls and 0 missing
673 males, 716 females, and 0 of unspecified sex
Before frequency and genotyping pruning, there are 239352 SNPs
413 founders and 976 non-founders found
Total genotyping rate in remaining individuals is 0.69009
0 SNPs failed missingness test ( GENO > 1 )
0 SNPs failed frequency test ( MAF < 0 )
After frequency and genotyping pruning, there are 239352 SNPs
After filtering, 0 cases, 1389 controls and 0 missing
After filtering, 673 males, 716 females, and 0 of unspecified sex
Writing pedigree information to [ chr21.fam ]
Writing map (extended format) information to [ chr21.bim ]
Writing genotype bitfile to [ chr21.bed ]
Using (default) SNP-major mode
============