Merged
Conversation
Contributor
There was a problem hiding this comment.
At first glance it's not clear why we want this method in addition to effects() that returns a VariantEffectCollection. Maybe consider getting rid of VariantEffectCollection, moving its methods into Variant, and having variant.effects() return the dict that is currently returned by transcript_effect_dict?
Contributor
Author
There was a problem hiding this comment.
VariantEffectCollection is gone on this branch, and all of its methods and properties (like this one) have migrated onto VariantCollection.
…initely not handling more than one amino acid of the new sequence
674ca16 to
d809d4c
Compare
This file contains hidden or 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
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.
This pull request started with just fixing the parsing logic in
maf.pyto deal with some of the edge cases of TCGA's various MAF files (spaces in values, non-standard capitalization of columns). In the process of adding unit tests I realized I wasn't handlingStopLossvariants at all incoding_effect.py, which may have been responsible for some errors I've seen while parsing larger germline VCF files.The branch eventually came to encompass a refactoring of
Variant, addition ofIntragenic&Intrageniceffects which don't require transcripts, and removal ofVariantEffectCollection(in favor of a simple list of variants and more effect-related helpers on theVariantitself).One of the MAF effect tests still doesn't work, but I guess there's a lot to start reviewing that probably won't be affected by remaining changes.