-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: I/O failed while merging #68
Comments
Which version are your running ( Is it possible that you are running out of disk space to store the output files? |
Hi Jonathonl, It's minimac v4.1.6.
It shouldn't be the problem of space. By now, it's running well on chr1, chr2. |
Can you provide the full log output? |
Here is the log :
Writing temp files took 49 seconds |
I would try running with |
It works well if I put everything into one folder:
But it will report the merging error if I give the absolute path to all inputs and outputs:
Here is the log:
So the problem is that the code couldn't find the temp file. When I set
|
I guess the problem is about the setting to temp files. What's the right way of setting --temp-prefix if I want to submit the job using SBATCH? |
Relative vs absolute paths shouldn't matter. I'm guessing that the output paths are invalid or unreachable from the compute node. Are you creating the full directory paths before running minimac4 (i.e., does the /full-path-to/1.3_imputaion_minimac4_g1kp3/ directory already exist)? I would add tests to your batch script before the minimac4 command to test that you can create new files in the directory you are writing output files. This would look something like:
Note: you don't need to use absolute paths in Slurm as long as the directory you call sbatch from is accessible from the compute node. |
Hi everyone
The minimac4 run well for some chromosomes, like chr1to10. But reported error from chr11 in merging step:
Here is my code:
chr=11 minimac4 \ 1000g_phase3_v5.chr${chr}.with_parameter_estimates.msav \ 1.2_preinputation_check/qc_3rd-updated-chr${chr}.vcf.gz \ --min-ratio 1e-6 \ --threads 10 \ -o c${chr}.imputed.vcf.gz
Has anyone met the same problem?
The text was updated successfully, but these errors were encountered: