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

No longer crash on graphs with reversing self edges #53

Merged
merged 3 commits into from
Oct 13, 2023
Merged

Conversation

jeizenga
Copy link
Collaborator

Our algorithm can't handle reversing self-edges, because they can't be included in any bipartite graph. The solution implemented here is just to filter these edges out, which is not fully satisfactory. In the case where we encountered this bug, the self-edges were caused by palindromic overlaps in a compacted de Bruijn graph. This issue could be avoided by the typical practice of choosing odd-length overlaps for the DBG so that there are no palindromes.

Resolves #52.

@jeizenga jeizenga merged commit c105b33 into master Oct 13, 2023
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.

Segmentation fault on compacted DBG
1 participant