Skip to content

Return indices for local alignment #5

@realfolkcode

Description

@realfolkcode

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions