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 issue OSError: [Errno 12] Cannot allocate memory #24

Open
CWYuan08 opened this issue Apr 6, 2023 · 3 comments
Open

Memory issue OSError: [Errno 12] Cannot allocate memory #24

CWYuan08 opened this issue Apr 6, 2023 · 3 comments

Comments

@CWYuan08
Copy link

CWYuan08 commented Apr 6, 2023

Hi I am trying to correct some cDNA reads from a PrormethION run, the data is very big (120M reads!).
The isONcorrect pipeline was running and generated the full_length.fq but it stopped at clustering..
How much memory I should allocate for this job or should I split them into smaller batches?

Many many thanks!

Best,
CW

@ksahlin
Copy link
Owner

ksahlin commented Apr 6, 2023

Hi @CWYuan08

That's a lot of reads! Either

  1. try the C++ version of isONclust: https://github.com/nanoporetech/isONclust2 or
  2. sort the reads according to length and split into many batches of like 5M reads each and apply isONclust individually on them.

I hope the C++ version will work though, as it does the sorting and batching for you.

@CWYuan08
Copy link
Author

CWYuan08 commented Apr 6, 2023

Dear @ksahlin,

many thanks! I will try isONclust2, I am actually trying to correct the reads, does isONclust2 still provide the same function?

Best,
CW

@ksahlin
Copy link
Owner

ksahlin commented Apr 6, 2023

isONcorrect needs the clusters from isONclust(/2) to work efficiently, so in practice, yes.

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

2 participants