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

Add option to trim low abundance reads #8

Open
olgabot opened this issue Apr 16, 2019 · 2 comments
Open

Add option to trim low abundance reads #8

olgabot opened this issue Apr 16, 2019 · 2 comments

Comments

@olgabot
Copy link
Owner

olgabot commented Apr 16, 2019

As mentioned here and here both khmer and sourmash support streaming, so to trim low abundance k-mers one could pipe the output of trim-low-abund.py directly into sourmash compute, which would save time as one would not need to wait from trim-low-abund.py to finish (as it is quite slow).

the -M flag is for memory and one could increase it to e.g. 16GiB to make it faster as well

trim-low-abund.py -C 3 -Z 18 -V -M 2e9 ${reads} | \
    sourmash compute ${flags} -

Thoughts, @phoenixAja and @batson ?

@batson
Copy link

batson commented Apr 16, 2019 via email

@olgabot
Copy link
Owner Author

olgabot commented Apr 17, 2019 via email

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