Skip to content

Use transcript protein sequence#45

Merged
iskandr merged 4 commits intomasterfrom
use-transcript-protein-sequence
Mar 27, 2015
Merged

Use transcript protein sequence#45
iskandr merged 4 commits intomasterfrom
use-transcript-protein-sequence

Conversation

@iskandr
Copy link
Copy Markdown
Contributor

@iskandr iskandr commented Mar 26, 2015

Overall motivation: move toward translating as few codons as necessary for each annotation (instead of always translating the full original & mutated proteins)

  • Use transcript.protein_sequence instead of translating original protein
  • Created special case for SNVs in coding_effect (plan to generalize this as a cleaner logic for all in-frame coding effects), translates only single affected codon
  • Uses PyEnsembl 0.6.2

Review on Reviewable

Comment thread varcode/coding_effect.py
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

might as well assert this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Asserting in a second branch that does refactoring on top of this.

@timodonnell
Copy link
Copy Markdown
Contributor

LGTM. I like the random variant annotation testing!

iskandr added a commit that referenced this pull request Mar 27, 2015
@iskandr iskandr merged commit 0b54a57 into master Mar 27, 2015
@iskandr iskandr deleted the use-transcript-protein-sequence branch March 27, 2015 16:57
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.

3 participants