Hi,
I'm using minimac4 v4.1.3 to impute genotypes on a cohort of about 24k individuals.
Usually, I run one imputation job per chromosome. When I run the command with mostly default settings, it works fine and generates an output vcf.gz file containing the same number of variants of the reference panel file (as expected). See this example:
minimac4 -t 12 -b 500 \
-f GT,DS,HDS,GP \
-o chr22.imputed.vcf.gz \
chr22.refpanel.msav chr22.target.vcf.gz
However, if I add the -a option, I have an error merging the temp files at the end of the imputation process. The resulting vcf.gz file is truncated and contains fewer variants than those in the reference panel.
This is the command
minimac4 -t 12 -b 500 -a \
-f GT,DS,HDS,GP \
-o chr22.imputed.vcf.gz \
chr22.refpanel.msav chr22.target.vcf.gz
Here is the error from the log
Running HMM took 114 seconds
Writing temp files took 89 seconds
Merging temp files ...
Error: record mismatch in temp files
Error: failed merging temp files
Am I doing something wrong here? Thanks!
Hi,
I'm using minimac4 v4.1.3 to impute genotypes on a cohort of about 24k individuals.
Usually, I run one imputation job per chromosome. When I run the command with mostly default settings, it works fine and generates an output vcf.gz file containing the same number of variants of the reference panel file (as expected). See this example:
However, if I add the
-aoption, I have an error merging the temp files at the end of the imputation process. The resulting vcf.gz file is truncated and contains fewer variants than those in the reference panel.This is the command
Here is the error from the log
Am I doing something wrong here? Thanks!