Conversation
…en if all its transcripts raise errors during annotation
…rectly for insertions
Contributor
There was a problem hiding this comment.
will this code actually run? will nose call next() automatically on tests that return generators?
Contributor
There was a problem hiding this comment.
nvm, I googled, and the answer is yes! good to know http://nose.readthedocs.org/en/latest/writing_tests.html
Contributor
|
I didn't check all the logic here (really unit tests are the only way), and sounds like much of this will change if you move to the |
Contributor
Author
|
Did anything stand out as particularly in need of more/any unit tests? |
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.
Variantnow trims any shared suffix or prefix strings fromrefandaltand adjusts the variant position accordingly. The position field has been renamed tostart. The original variant fields are preserved asVariant.original_ref,Variant.original_alt,Variant.original_start. For example, if a VCF contains "chr1 10 CAG CATG", then the correspondingVariantobject will haveref = "",alt = "T",start = 11,original_ref = "CAG",original_alt = "CATG",original_start = 10.top_priority_transcript_effecttotop_priority_effect(since we now have effects likeIntergenicwhich aren't tied to a particular transcript)ExonLossas an effectVariantto deal with variants which span feature boundaries (e.g. deletions which affect both an exon and its neighboring intron).VariantCollection.variant_effectsto justVariantCollection.effectsVariantCollection.variant_summarytoVariantCollection.summary_stringVariantCollectionmethods