Closed jjfarrell closed 1 year ago
This is a known issue for very large sample sizes. You need to increase --printBuffer
.
I would try --printBuffer 2000000000
.
Thanks! I will give that a try.
Reopening since this eventually needs to be fixed and may help others in the meantime.
I ran into the same seg fault issue when imputing into ~480K samples in UK Biobank. I am currently trying the --printBuffer 2000000000
option to see if this corrects the problem. I don't see this as a parameter option anywhere in the documentation. Can you please provide some more information on what printBuffer
does, and on the reason for the seg fault issue with large datasets. Thank you!
@aokulabasile, which version of Minimac4 are you using? The printBuffer option referred to a temporary data buffer used for formatting VCF output. It no longer exists in versions >= 4.1.0. The segfault was caused by trying to format more dosages than the buffer could fit.
Thanks for the quick response @jonathonl. I am using v1.0.2. Has this issue been corrected in versions ≥ 4.1.0? Thanks for your help!
Yes, this has been fixed in v4.1.0.
Great, thank you for the help. Will run using the most recent version.
This is an imputation on the UK Biobank data using minimac 1.0 on chr7. I am getting a similar error on other chromosomes. Any suggestions for this? This job is running with 28 cores and 196 GB of memory. So close to completion!