Skip to content

Conversation

@rrahn
Copy link
Contributor

@rrahn rrahn commented Jul 16, 2024

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.

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
Copy link

vercel bot commented Jul 16, 2024

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

@seqan-actions seqan-actions added the lint [INTERNAL] signal for linting label Jul 16, 2024
@rrahn rrahn requested a review from eseiler July 16, 2024 15:33
@seqan-actions seqan-actions removed the lint [INTERNAL] signal for linting label Jul 16, 2024
Copy link
Member

@eseiler eseiler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small stuff, you can squash merge if my comments are fine

@seqan-actions seqan-actions added lint [INTERNAL] signal for linting and removed lint [INTERNAL] signal for linting labels Jul 16, 2024
@rrahn
Copy link
Contributor Author

rrahn commented Jul 16, 2024

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

@rrahn rrahn merged commit 4cc708d into seqan:main Jul 16, 2024
@rrahn rrahn deleted the fix/issue_3266 branch July 16, 2024 17:39
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.

3 participants