Skip to content

Conversation

@kbseah
Copy link

@kbseah kbseah commented Aug 15, 2025

Addresses issue #23

The simplest fix was to modify the functions has_overlap and get_overlap to change coordinates to (start, end) order if they are flipped in the input. Updated the function docstrings.

I verified the output of the downstream add_domains_to_table function with the example in the issue above. Adding domains with hmmer currently doesn't work properly with isotools v2.0.0 and the latest pyhmmer but I used my fork (see PR #18 ) that fixes the issue.

kbseah added 2 commits August 6, 2025 17:06
Genomic coordinates can be flipped to order (end,start) for
reverse-strand features when adding hmmer and interpro domains.

Unflip flipped coordinates in the `has_overlap` and `get_overlap`
functions.

See HerwigLab#23
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.

1 participant