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

Accept transcript accession number as transcript variant identifier. #405

Merged
merged 1 commit into from
Jun 15, 2016

Conversation

mkroon1
Copy link
Contributor

@mkroon1 mkroon1 commented Jun 15, 2016

Together with PR #404, this would fix the issue outlined in #380.

Fixes #380

for gene in self.geneList:
for transcript in gene.transcriptList:
if transcript.transcriptID == transcript_id:
return (gene.name, transcript.name)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can do without parentheses.

@martijnvermaat
Copy link
Contributor

In addition to the line notes, could you squash and rebase on master? Let me know if you need a hint on how to do that.

Overall 👍

mkroon1 added a commit that referenced this pull request Jun 15, 2016
* Internally the accession number is translated to the transcript name
  (i.e. v-number) and subsequent processing is untouched.

Added failing test with accession number as transcript variant identifier.

Fixed comments by @martijnvermaat in PR #405
@mkroon1
Copy link
Contributor Author

mkroon1 commented Jun 15, 2016

Handled most of your comments, but did not make any changes to the grammar file.

* Added failing test with accession number as transcript variant
  identifier.
* Internally the accession number is translated to the transcript
  name (i.e. v-number) and subsequent processing is untouched.
@martijnvermaat martijnvermaat merged commit 1d68304 into master Jun 15, 2016
@martijnvermaat
Copy link
Contributor

Perfect, thanks!

@martijnvermaat martijnvermaat deleted the accno-transcript-variant branch June 15, 2016 19:02
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.

Extension of API for specifying transcript variants
2 participants