Skip to content

added diamond 2-pass #11

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

Open
wants to merge 1 commit into
base: 3.0.0-alpha-rename
Choose a base branch
from

Conversation

nick-youngblut
Copy link

Added a couple of functions in humann/search/translated.py to enable a "2-pass" approach to DIAMOND:

  • 1st pass: diamond in fast mode on all query sequences
  • 2nd pass: diamond in --sensitive mode on all query sequences that were unaligned from the first pass

The user can enable this mode versus the standard "1-pass" diamond alignment method by including --two-pass in the diamond options (eg., --diamond-options "--two-pass --query-cover 80 --id 50 --max-target-seqs 1").

The approach was recommended by Benjamin Buchfink, the developer of DIAMOND. I've used this approach with humann2 for quite a while now, and it has helped speed up the translated search part of humann. I don't want to continue "patching" newer versions of humann3 as they are released; hence this PR.

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

Successfully merging this pull request may close these issues.

1 participant