Hello Christopher,
I am trying to convert the imputed dose.vcf.gz files for each chromosome to plink format using plink2.
1. Imputation was performed using Minimac4-1.0.2 and Eagle v2.4 phasing. Would like to double check that it is correct to use 'dosage=HDS' for the conversion?
2. The conversion seemed to work fine for all chromosome files except one. The log file is shown below. How should I go about resolving this error?
PLINK v2.00a2LM 64-bit Intel (21 May 2018)
Options in effect:
--exclude-if-info R2<0.8
--make-bed
--out chr17_chr17_imputed_plink_INFO0.8
--vcf chr17.dose.vcf.gz dosage=HDS
Random number seed: 1612445544
385217 MiB RAM detected; reserving 192608 MiB for main workspace.
Allocated 14460 MiB successfully, after larger attempt(s) failed.
Using up to 32 threads (change this with --threads).
--vcf: 8494641 variants scanned.
--vcf: chr17_imputed_plink_INFO0.8-temporary.pgen +
chr17_imputed_plink_INFO0.8-temporary.pvar +
chr17_imputed_plink_INFO0.8-temporary.psam written.
11101 samples (0 females, 0 males, 11101 ambiguous; 11101 founders) loaded from
chr17_imputed_plink_INFO0.8-temporary.psam.
1876775 out of 8443816 variants loaded from
chr17_imputed_plink_INFO0.8-temporary.pvar.
Error: PgfiInitPhase1() was called with raw_variant_ct == 8443816, but
chr17_imputed_plink_INFO0.8-temporary.pgen contains 8494641 variants.
Thank you very much!