seqan / seqan3

The modern C++ library for sequence analysis. Contains version 3 of the library and API docs.
https://www.seqan.de
Other
406 stars 81 forks source link

Fixes #3266: Incorrect begin/end of alignment for banded alignment #3269

Closed rrahn closed 1 month ago

rrahn commented 1 month ago

In case the sequences are sliced by cutting off a prefix of the original seuence due to the band configuration, the relative positions of the sliced sequences was reported inside of the alignment result. However, this slicing happens only internally and thus the positions reported should correspond to the ones of the original sequences. We fix this by tracking the offset of the prefix that was cut off and add this to the relative positions during result creation to get the absolute positions.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
seqan3 ✅ Ready (Inspect) Visit Preview Jul 16, 2024 4:03pm
rrahn commented 1 month ago

Thanks a lot for fixing the small stuff right away. 👍