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

Penalize indels more #604

Closed
marcelm opened this issue Mar 4, 2022 · 0 comments · Fixed by #608
Closed

Penalize indels more #604

marcelm opened this issue Mar 4, 2022 · 0 comments · Fixed by #608

Comments

@marcelm
Copy link
Owner

marcelm commented Mar 4, 2022

Indels are enabled by default, but cost the same as mismatches. This often leads to unexpected results, typically longer sequences being trimmed than expected, see #597.

We could penalize indels more, but should also re-consider whether optimizing the number of matches is the best thing to do.

marcelm added a commit that referenced this issue Mar 18, 2022
This changes the method for choosing the best alignment.
While previously, only the number of matches in the alignment counted, with
this change, the score of the alignment decides.
Scores at the moment are: matches +1, mismatches -1, indels -2

See #597
Closes #604
marcelm added a commit that referenced this issue Mar 23, 2022
This changes the method for choosing the best alignment.
While previously, only the number of matches in the alignment counted, with
this change, the score of the alignment decides.
Scores at the moment are: matches +1, mismatches -1, indels -2

Also, the leftmost alignment is now chosen somewhat more reliably.

See #597
Closes #604
marcelm added a commit that referenced this issue Mar 23, 2022
This changes the method for choosing the best alignment.
While previously, only the number of matches in the alignment counted, with
this change, the score of the alignment decides.
Scores at the moment are: matches +1, mismatches -1, indels -2

Also, the leftmost alignment is now chosen somewhat more reliably.

See #597
Closes #604
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 a pull request may close this issue.

1 participant