-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat!: create method for GRCh38 to MANE protein representation #211
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Inconsistent with using ResidueMode vs str
- Some places we were not using it when we should have been
Added test for #212 which pointed out a bug for braf v600e |
* Now returns MANE Select and then MANE Plus Clinical
Done making changes. Ready for review! |
jsstevenson
previously approved these changes
Oct 19, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, two small things
- I think changing arguments for public methods probably entails an API break (i.e. a "!")
- made a note about including an extra linebreak in docstrings for public methods/any methods that could conceivably have API pages generated for them
korikuzma
changed the title
feat: create method for GRCh38 to MANE protein representation
feat!: create method for GRCh38 to MANE protein representation
Oct 19, 2023
Need to actually return both cdna and protein representation |
Actually, I'm going to hold off on this |
jsstevenson
approved these changes
Oct 20, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Addresses #151 for GRCh38 (will do liftover/check at a later time). This is needed for VarCat
Notes:
MANETranscript
updates:grch38_to_mane_p
get_longest_compatible_transcript
gene
is now optionalend_annotation_layer
as a parameter. This will allow you to either return protein or cdna representation when set.MANETranscriptMappings
updates:get_gene_mane_data
always returns list. If no MANE data found, will return empty list (previously returned None)UTADatabase
updates:get_transcripts_from_gene
renamed toget_transcripts
gene
is now an optional parameter