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

memory error with -R parameter #21

Open
shakti83kumar opened this issue Jul 17, 2019 · 6 comments
Open

memory error with -R parameter #21

shakti83kumar opened this issue Jul 17, 2019 · 6 comments

Comments

@shakti83kumar
Copy link

Dear Sir,
I have run ragoo with -R parameter by executing as ragoo.py contigs.fasta reference.fasta -R short reads -T sr -C -g 111. It run well but it showed memory Error. I herewith attached screenshot with red leveled memory Error. Kindly help me solve this problem.
Thanks in advanced

Shakti Kumar
NIAB, Hyderabad, India
ragoo_error_20190717

@malonge
Copy link
Owner

malonge commented Jul 17, 2019

Hi there,

Thanks for sharing. What is the size of your draft assembly? And how much short-read coverage do you have? Also, how much memory do you have available on your system?

@shakti83kumar
Copy link
Author

shakti83kumar commented Jul 17, 2019 via email

@malonge
Copy link
Owner

malonge commented Jul 17, 2019

Thanks for the info. This python implementation is not very memory efficient and short read alignments can use quite a lot of memory. If you don't have access to a machine with more memory, perhaps you can downsample your reads. I think 30X is probably a good number. Of course, using error-corrected long reads uses much less memory, though you may not have that available.

In the future, I may consider creating a more efficient implementation, but probably not any time soon.

@mictadlo
Copy link

What is the best way to downsample the short reads to 30X?

Thank you in advance,

Michal

@malonge
Copy link
Owner

malonge commented Oct 16, 2019

I would use seqtk

@malonge
Copy link
Owner

malonge commented Jun 9, 2020

Hi there,

RagTag, the successor to RaGOO, is now available here:

https://github.com/malonge/RagTag

RagTag uses pysam for read-mapping validation, thus dramatically decreasing the memory requirements.

Thanks

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