Skip to content
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

Minimac4 -- 'segv' / 'Segmentation Fault (core dumped)' Error #8

Open
CScottGallagher opened this issue Jul 18, 2018 · 9 comments
Open

Comments

@CScottGallagher
Copy link

Hello, I've been trying to run Minimac4 to impute a cohort of roughly 300,000 individuals. When attempting to impute a single chunk of 5 Mb +/- 1 Mb on chromosome 11, I am routinely encountering a 'Segmentation Fault (core dumped)' error. The segv error occurs even when I reduce the input size to 5,000 individuals. Are you aware of any bugs in the software that would produce this error type?

@yukt
Copy link
Contributor

yukt commented Jul 18, 2018

Hi. We have recently fixed a bug regarding some segmentation fault, and Minimac4 has been updated to version 1.0.1. Could you please check whether the software you are using is up-to-date? Thanks!

@CScottGallagher
Copy link
Author

Hello! Thanks for the quick response. We have updated to version 1.0.1 but we are still observing the following error:

".../1532025929.2118.shell: line 34: 16770 Aborted (core dumped) $MINIMAC4_EXEC --refHaps $REF_HAPLOTYPES --haps $SAMPLE_HAPLOTYPES --format GT,DS,GP --passOnly -- allTypedSites --chr $CHR --start $CHUNK_START --end $CHUNK_END --window 100000 --prefix chr11.02.03 --log"

We are attempting to run this on a cohort of more than 300,000 individuals on a single chunk 1 Mb +/- 100 kb. Do you have any advice for circumventing the error?

@Santy-8128
Copy link
Collaborator

Santy-8128 commented Jul 20, 2018 via email

@CScottGallagher
Copy link
Author

Hi Sayantan,

Thank you so much for your responses. We are now able to successfully get MINIMAC4 to run on a 5 megabase (+/- 1 MB window) on up to 300,000 individuals. When we exceed that and try to run the imputation on ~450,000, we observe a core dump error. In addition to alerting you to this error, I wanted to ask whether there were any scientific consequences to breaking the imputation input into two separate groups? Do the samples (not the reference panel) influence one another's imputation?

Best,
Scott

@Santy-8128
Copy link
Collaborator

Santy-8128 commented Jul 30, 2018 via email

@CScottGallagher
Copy link
Author

Excellent. Sayantan, we are also trying to impute the pseudoautosomal regions, but when defining regions to impute, Minimac4 doesn't seem to know that there is a big gap between PAR1 and PAR2. This leads to defining massive regions to impute and automatic chunking [20Mb]. The only way to get around this is to exclude the block that has this gap in the m3vcf file and define the pseudoautosomal regions so that they don't include this block. **Do you have any advice for circumventing the issue?

In addition, how does the automatic chunking and merging of Minimac4 work? Would there be any scientific consequences compared to manually setting regions to impute?**

@Santy-8128
Copy link
Collaborator

Santy-8128 commented Aug 8, 2018 via email

@CScottGallagher
Copy link
Author

Hi Sayantan,

Could you answer this part of the question as well:

In addition, how does the automatic chunking and merging of Minimac4 work? Would there be any scientific consequences compared to manually setting regions to impute?

Best, Scott

@Santy-8128
Copy link
Collaborator

Santy-8128 commented Aug 9, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants