Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • mikecz
    Junior Member
    • Jan 2012
    • 5

    Trinity transcript naming

    I don't know if I am missing something obvious but I can't find an explanation anywhere as to how Trinity RNA-seq names the transcripts it derives.

    I've been noticing that when I annotate with BLAST+ most of the transcripts that start with the same number (comp#_) are annotating as the same gene (isoforms?). They will then all have different ending numbers (_seq#) and some of them have different numbers int he middle (_c#_), for example (comp2335_c1_seq1, comp2335_c1_seq2, comp2335_c1_seq3).

    Are these names derived sequentially by inchworm (comp#) chrysalis (c#) then butterfly (seq#)?

    Can anyone verify whether these would be indeed considered isoforms of single genes within a comp# group or is there something else at work here?

    Thanks,
    -Mike
  • Pseudonym
    Research Engineer
    • Jun 2011
    • 12

    #2
    You're almost correct. The names are indeed based on the algorithm, but it's not quite as simple as the inchworm number, then the chrysalis number, then the butterfly number.

    This is the basic algorithm of Trinity, assuming that you've already built a de Bruijn assembly graph (which is identical to a (k+1)-mer count):
    1. Eagerly extract contigs from the de Bruijn graph. These contigs may or may not have any relationship to "real" transcripts, they're just whatever long contiguous paths happen to be found in the graph.
    2. Find reads which justify clustering/joining ("welding" in Trinity terminology) these contigs together. A set of contigs which are believed to belong together is called a "component".
    3. Align reads to components. For each read, decide which component it's most likely to belong to.
    4. For each component, treat the reads which map to that component as a separate assembly problem. This involves constructing a new (smaller) de Bruijn graph from only those reads which belong to a component.

    The output of Inchworm is the set of contigs. The output of Chrysalis is the set of components, plus the reads which are called as belonging to those components. The output of Butterfly is the called transcripts for each component.

    When Butterfly rebuilds a graph for each component and does cleanup, it sometimes finds that the resulting graph is disconnected. This is usually because the inital contigs discovered by Inchworm were not "real" contigs. Each connected component in the rebuilt graph is called a "subcomponent".

    So the "comp" is the component, "c" is the subcomponent, and "seq" is the extracted sequence from the subcomponent.

    Trinity does not reason in terms of genes, loci and alternative splicing events. It solves a graph problem, though of course the heuristics are tuned to the needs of biology. So while it's highly likely that all the isoforms of a given gene belong to the same subcomponent, you shouldn't assume that a subcomponent is a gene.
    Last edited by Pseudonym; 04-15-2012, 05:05 PM.
    sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});

    Comment

    • nareshvasani
      Member
      • Apr 2013
      • 57

      #3
      Nice explaination Pseudonym...



      Originally posted by Pseudonym View Post
      You're almost correct. The names are indeed based on the algorithm, but it's not quite as simple as the inchworm number, then the chrysalis number, then the butterfly number.

      This is the basic algorithm of Trinity, assuming that you've already built a de Bruijn assembly graph (which is identical to a (k+1)-mer count):
      1. Eagerly extract contigs from the de Bruijn graph. These contigs may or may not have any relationship to "real" transcripts, they're just whatever long contiguous paths happen to be found in the graph.
      2. Find reads which justify clustering/joining ("welding" in Trinity terminology) these contigs together. A set of contigs which are believed to belong together is called a "component".
      3. Align reads to components. For each read, decide which component it's most likely to belong to.
      4. For each component, treat the reads which map to that component as a separate assembly problem. This involves constructing a new (smaller) de Bruijn graph from only those reads which belong to a component.

      The output of Inchworm is the set of contigs. The output of Chrysalis is the set of components, plus the reads which are called as belonging to those components. The output of Butterfly is the called transcripts for each component.

      When Butterfly rebuilds a graph for each component and does cleanup, it sometimes finds that the resulting graph is disconnected. This is usually because the inital contigs discovered by Inchworm were not "real" contigs. Each connected component in the rebuilt graph is called a "subcomponent".

      So the "comp" is the component, "c" is the subcomponent, and "seq" is the extracted sequence from the subcomponent.

      Trinity does not reason in terms of genes, loci and alternative splicing events. It solves a graph problem, though of course the heuristics are tuned to the needs of biology. So while it's highly likely that all the isoforms of a given gene belong to the same subcomponent, you shouldn't assume that a subcomponent is a gene.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
        by SEQadmin2



        Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
        ...
        07-09-2026, 11:10 AM
      • SEQadmin2
        Cancer Drug Resistance: The Lingering Barrier to Rising Survival
        by SEQadmin2



        Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

        There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
        07-08-2026, 05:17 AM
      • GATTACAT
        Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by GATTACAT
        Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
        07-01-2026, 11:43 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 07-13-2026, 10:26 AM
      0 responses
      21 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-09-2026, 10:04 AM
      0 responses
      32 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-08-2026, 10:08 AM
      0 responses
      20 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-07-2026, 11:05 AM
      0 responses
      34 views
      0 reactions
      Last Post SEQadmin2  
      Working...