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

Porechop loads entire fastq into memory; may not be ideal for Promethion #77

Open
oneillkza opened this issue Oct 29, 2018 · 0 comments

Comments

@oneillkza
Copy link

I know Porechop isn't being maintained, but thought I'd document this here.

Porechop loads the entire FastQ (or other sequence) file into RAM when processing. This is probably fine for minION runs, where the FAST5s and corresponding FASTQs are broken up into blocks of max 4K reads (averaging somewhere around 120MB). However, for PromethION, the data being provided (and presumably coming out of the basecaller) comes as ~60GB .fastq.gz files. Watching top, this used ~150GB of RAM.

This is OK for me working on a server with 800GB of RAM, but may not be ideal for all users.

A workaround for PromethION would be to manually chunk up the input files and run Porechop separately on each chunk (to simulate the current format of minION data). If anyone adopts Porechop (or it gets rewritten), it might be a good idea to add chunking as an option (eg process reads in 4K blocks).

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

1 participant