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

segmentation fault #69

Closed
Mrbland opened this issue Jan 28, 2021 · 7 comments
Closed

segmentation fault #69

Mrbland opened this issue Jan 28, 2021 · 7 comments

Comments

@Mrbland
Copy link

Mrbland commented Jan 28, 2021

Hello,

Thank you for making great new tools for hifi reads. I am running hifiasm on an r5a.12xlarge AWS instance (48cpu, 384GB RAM), trying to assemble ~450Mb genome. My hifi fasta is ~24GB, 3.2 million reads with average read length ~10Kb. Hifiasm keeps crashing after the 3 read correction steps during Writing reads to disk with Segmentation fault.

Do I need to use an instance with more RAM or is there something else happening?

Thanks!

@chhylp123
Copy link
Owner

Could you please share the log file? 384GB RAM should be enough for such small genome.

@Mrbland
Copy link
Author

Mrbland commented Jan 28, 2021

I had been using -l0 and -l1 which caused the failure. I repeated with default purging and the assembly was successful (and looks quite good). I can try and replicate the light/no purging and share the logs in case it helps with future releases/issues.

@chhylp123
Copy link
Owner

Thanks a lot. It would be very helpful to get the log file.

@chhylp123
Copy link
Owner

@Mrbland The new version of hifiasm (v0.14) fixed a small bugs of purge_dups. Hope it can fix the your problems when using -l0 and -l1.

@Mrbland
Copy link
Author

Mrbland commented Feb 17, 2021

Great, I am trying it out right now and will let you know how it runs. Sorry, I haven't revisited this issue since I first posted.

@Mrbland
Copy link
Author

Mrbland commented Feb 18, 2021

@chhylp123 v0.14 works! I only tried -l0 and there was no seg fault. Thanks!

@chhylp123
Copy link
Owner

Great! Thanks for having a try.

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