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

Fix for regex sequence search on reverse strand features #4366

Merged
merged 1 commit into from May 1, 2024

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented May 1, 2024

Fixes issue raised in the gitter chat about reverse strand sequence searches failing. The start and end coordinates were not correctly calculated, leading to inconsistencies across blocks and thus broken features. This fixes it by using the match.length instead of the search.length, and fixing how that was applied to (a) coordinates to doesIntersect2, (b) the feature coordinates, (c) the feature id.

@cmdcolin cmdcolin changed the title Fix for regex sequence search Fix for regex sequence search on reverse strand features May 1, 2024
@cmdcolin
Copy link
Collaborator Author

cmdcolin commented May 1, 2024

@cmdcolin cmdcolin merged commit 0c3707e into main May 1, 2024
10 checks passed
@cmdcolin cmdcolin deleted the regex_sequence_search_fix branch May 1, 2024 16:20
@cmdcolin cmdcolin added the bug Something isn't working label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant