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

Nucmer block bug fix #52

Merged
merged 3 commits into from
Jan 12, 2024
Merged

Nucmer block bug fix #52

merged 3 commits into from
Jan 12, 2024

Conversation

babayagaofficial
Copy link
Collaborator

Found bug where nucmer was reporting a single match without indels as two matches with disparate lengths, which broke coordinate projection and made the overlap splitting get stuck. Switched from using dnadiff to nucmer with suitable parameters, which appears to have fixed all issues.

…0.1. Issue was that nucmer reported two matches with an overlap, where ref and query had different lengths, but no indels were reported (and the two matches probably ought to have been reported as one whole match. Workaround doesn't use the projection to get the overlapping intervals coordinates in split_match function anymore.
… nucmer is run with fixes the issue. Switched from using dnadiff to using nucmer directly, and to run with --breaklen 500 and --diagdiff 20, which (anecdotely) should prevent breaking up matches like in the pair NZ_CP029142.1, NZ_CP060660.1.
… loop in resolve_overlaps goes over 100000 to make catching issues quicker in future. Cleaned up mess from debugging.
@babayagaofficial babayagaofficial merged commit 7468e18 into main Jan 12, 2024
0 of 4 checks passed
@babayagaofficial babayagaofficial deleted the nucmer_block_bug_fix branch March 5, 2024 13:26
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