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

Develop the Transcript class #5

Closed
4 tasks done
dewyman opened this issue Apr 5, 2018 · 0 comments
Closed
4 tasks done

Develop the Transcript class #5

dewyman opened this issue Apr 5, 2018 · 0 comments
Assignees
Milestone

Comments

@dewyman
Copy link
Member

dewyman commented Apr 5, 2018

High Level

The Transcript class needs to

  • Allow fast comparison of transcripts on the level of "are they identical or not"
  • Be flexible- some users may care about differences at the 5' end and others may not (for example)
  • Be able to handle data from the GTF annotation or from the SAM file so that transcripts from these two sources can be readily compared

See #1 for additional considerations.

Details

Thoughts

  • Develop SamTranscript as a subclass of Transcript, with additional attributes for storing SAM information
  • I think it will be more appropriate to define transcripts in terms of their exons (instead of their introns) because GENCODE is based around exons. The SAM files are more intron-oriented, but it shouldn't be hard to convert over. Could use the CIGAR string
  • Initialization should not require gene information as a mandatory field, because we won't have this information right away for the SAM transcripts
  • Start and end relative to assigned gene: At first, I thought I should make it a requirement that the transcript be situated entirely within the gene start and end. But I actually think that assumption may be violated with novel transcripts on occasion.
  • Start, end, and strand should probably be mandatory initialization fields
  • It would be really cool if I had a way of computing the 5' UTR and/or 3' UTR length of a transcript object

Tasks

  • Write basic class structure
  • Write subclass for SAM transcripts
  • Write code to create transcript object from GTF entry
  • Implement string representation function (really simple for now)
@dewyman dewyman self-assigned this Apr 5, 2018
@dewyman dewyman added this to the TALON setup milestone Apr 5, 2018
@dewyman dewyman changed the title Developing the Transcript class Develop the Transcript class Apr 5, 2018
@dewyman dewyman added enhancement New feature or request build and removed enhancement New feature or request labels Apr 5, 2018
@dewyman dewyman closed this as completed Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant