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!: return inter-residue positions instead of zero-based positions #235

Merged
merged 9 commits into from
Dec 26, 2023

Conversation

korikuzma
Copy link
Member

@korikuzma korikuzma commented Dec 26, 2023

close #176 and #225

Notes:

  • To be honest, I need to take a deeper look into ExonGenomicCoordsMapper and associated tests. Don't look too closely at this. I'll be working on this later. I'm going to ask @jarbesfeld to help ensure that tests are accurate.
  • I left in some TODOs in test_get_longest_compatible_transcript. I will make a separate issue for these.
  • Fix TypeError in SeqRepoAccess.get_reference_sequence() when start is not provided
  • Requires both start and end positions to be provided (get_mane_transcript and get_inter_residue_pos)

@korikuzma korikuzma added bug Something isn't working priority:medium Medium priority labels Dec 26, 2023
@korikuzma korikuzma self-assigned this Dec 26, 2023
@korikuzma korikuzma changed the title fix: return inter-residue positions instead of zero-based positions fix!: return inter-residue positions instead of zero-based positions Dec 26, 2023
Comment on lines +53 to +58
| | C | | T | | G | |
ZERO | | 0 | | 1 | | 2 | |
RESIDUE | | 1 | | 2 | | 3 | |
INTER_RESIDUE | 0 | | 1 | | 2 | | 3 |
"""

Copy link
Member

Choose a reason for hiding this comment

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

whoa

@korikuzma korikuzma merged commit cc2dd9a into cleanup-tech-the-halls Dec 26, 2023
12 checks passed
@korikuzma korikuzma deleted the issue-176-pos branch December 26, 2023 20:29
korikuzma added a commit that referenced this pull request Dec 27, 2023
…235)

* Fix TypeError in `SeqRepoAccess.get_reference_sequence()` when `start` is not provided
* Requires both start and end positions to be provided (`get_mane_transcript` and `get_inter_residue_pos`)
korikuzma added a commit that referenced this pull request Jan 9, 2024
…235)

* Fix TypeError in `SeqRepoAccess.get_reference_sequence()` when `start` is not provided
* Requires both start and end positions to be provided (`get_mane_transcript` and `get_inter_residue_pos`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:medium Medium priority
Projects
None yet
2 participants