Skip to content

Conversation

@JeremyWesthead
Copy link
Collaborator

Previously a complement(join(a..b, c..d)) was incorrectly interpreted as ranges of [b..a, d..c]. This behaviour was only an issue when attempting to ensure all of a deletion occurred within a gene this effected.

This PR should ensure the ranges are correctly parsed - building the entire list of genome positions before attempting to revcomp. Leads to a slight improvement in simplicity of code in some areas.
Test case which showed this bug has been added too.

@JeremyWesthead JeremyWesthead merged commit afdd5a9 into main Jan 30, 2026
1 check passed
@JeremyWesthead JeremyWesthead deleted the fix/ensure-revcomp-joins-work branch January 30, 2026 13:26
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