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

Make surjection pruning less orientation-dependent and fix short tail check #4422

Merged
merged 5 commits into from
Oct 30, 2024

Conversation

adamnovak
Copy link
Member

Changelog Entry

To be copied to the draft changelog by merger:

  • vg surject --prune-low-cplx should no longer assess different contexts for different orientations of the same read, and should properly detect short tail anchors.

Description

This expands the window size for context complexity assessment to be an odd size when the central anchor is an odd length, so it can be symmetrical and not depend on read orientation.

Also it fixes a broken-looking condition in short tail anchor detection.

@adamnovak adamnovak merged commit ee562cc into master Oct 30, 2024
2 checks passed
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