Skip to content

record mismatch in temp files when -a option is active #77

Description

@edg1983

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions