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

Could not allocate enough memory for 90576558080 sequences #140

Open
Antony-1996 opened this issue Jul 12, 2019 · 2 comments
Open

Could not allocate enough memory for 90576558080 sequences #140

Antony-1996 opened this issue Jul 12, 2019 · 2 comments

Comments

@Antony-1996
Copy link

Dear author
I encountered a problem when I use seqtk to downsample fastq file ,the result look like this:
image
Is there any way that I can do to solve this ? thank you so much

@tseemann
Copy link

tseemann commented Oct 18, 2019

Please use the two-pass mode: seqtk sample -2

Usage:   seqtk sample [-2] [-s seed=11] <in.fa> <frac>|<number>

Options: -s INT       RNG seed [11]
         -2           2-pass mode: twice as slow but with much reduced memory

If that works, please close this issue. Thanks!

@fidibidi
Copy link

This helped me 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