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

Return indices for local alignment #5

Open
realfolkcode opened this issue Nov 19, 2023 · 0 comments
Open

Return indices for local alignment #5

realfolkcode opened this issue Nov 19, 2023 · 0 comments

Comments

@realfolkcode
Copy link

Hello! Thank you for this library! It works like a charm for many string and sequence problems.

However, when using the Smith-Waterman algorithm for local alignment, I noticed that there is no option to see where the substrings start and end in the original strings. Currently, my solution is to inherit from SmithWaterman class and override both the backtrack and get_alignment methods to store the start and end indices from the score matrix. If you are interested, I could make a PR that implements this feature.

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

No branches or pull requests

1 participant