Skip to content

feat: add the 'ea' tag to bwa aln in case the search exits early #111

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

Draft
wants to merge 1 commit into
base: debug/max-hits
Choose a base branch
from

Conversation

nh13
Copy link
Member

@nh13 nh13 commented Jun 4, 2025

In some cases, bwa aln may exit its search early, even when asked to do so exhaustively in cases when the stack gets too large (see -m). In this case, we add the 'ea' flag to flag alignments where an alignment is returned but the search was stopped short. This is important when using pybwa for primer design and exhaustive search.


📚 Documentation preview 📚: https://pybwa--111.org.readthedocs.build/en/111/

In some cases, bwa aln may exit its search early, even when asked to do
so exhaustively in cases when the stack gets too large (see -m).  In
this case, we add the 'ea' flag to flag alignments where an alignment is
returned but the search was stopped short.  This is important when using
pybwa for primer design and exhaustive search.
@nh13 nh13 force-pushed the feat/exit-early-flag branch from 035ec45 to ed3988c Compare June 4, 2025 01:43
assert rec.query_name == "test"
if should_fail:
assert rec.is_unmapped is True
print(rec)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
print(rec)

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