Genes, transcripts, exons and translations

In this presentation you will learn how genes, transcripts, exons and translations are linked together in the Ensembl database and how they can be accessed via the Perl API.

Exercise 5

  1. Fetch gene CSNK2A1 and print the number of its transcripts and exons.

    Hint: use GeneAdaptor method fetch_by_display_label; remember that not all transcripts have a translation
  1. For the above gene, get all the transcripts and list the number of exons in each and the translations.
  2. Why do the exon numbers not match?
Magali explains the answers to these questions in this 3-minute video.
You can download her sample script and output.