Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • upendra_35
    Senior Member
    • Apr 2010
    • 102

    Trinity transcriptome assembly

    After Trinity assembler finished its assembly i managed to calculate the basic statistics of the assembly which are as below

    File Number Total Size Min Size Max Size Average Size Median Size N50 Trinity.fasta 158863 176660784 201 22887 1112.03 665 1863

    Size@1Mbp Number@1Mbp Size@2Mbp Number@2Mbp Size@4Mbp Number@4Mbp Size@10Mbp Number@10Mbp 11440 65 8461 170 7088 430 5424 1417

    Now my question is does these values look reasonable? Though N50 looks good i am worried about the number of transcripts that are less than 1kb (~ 60%) of the overall transcripts. Is this normal in Trinity?

    Also how do people normally do downstream analysis after getting the assembly to select the best transcritps. I ask this because the number of Transcripts is way higher than expect number of genes in related species.

    Thanks........
  • mbayer
    Member
    • Mar 2009
    • 31

    #2
    Hi,

    personally I think that looks reasonable, assuming you have a eukaryotic organism -- the average gene length in eukaryotes is supposed to be in the 1,500 bp region. What organism is this, and do you know how common alternative splicing is in that species? That would obviously affect your number of transcripts relative to the number of genes. Also, given that most alternative splicing produces transcripts that are shorter than the full length mRNA, an average transcript length of 1,112 seems reasonable.

    To evaluate your assembly I would run something on the transcripts that predicts proteins, like getorf from the EMBOSS suite of tools, then select the longest predicted protein and BLAST this against related species. This will give you an idea of how good your assembly is.

    cheers

    Micha

    Comment

    • upendra_35
      Senior Member
      • Apr 2010
      • 102

      #3
      Originally posted by mbayer View Post
      Hi,

      personally I think that looks reasonable, assuming you have a eukaryotic organism -- the average gene length in eukaryotes is supposed to be in the 1,500 bp region. What organism is this, and do you know how common alternative splicing is in that species? That would obviously affect your number of transcripts relative to the number of genes. Also, given that most alternative splicing produces transcripts that are shorter than the full length mRNA, an average transcript length of 1,112 seems reasonable.

      To evaluate your assembly I would run something on the transcripts that predicts proteins, like getorf from the EMBOSS suite of tools, then select the longest predicted protein and BLAST this against related species. This will give you an idea of how good your assembly is.

      cheers

      Micha
      Hi mbayer

      Thanks a lot for your response.

      The organism that i am working on is Brassica rapa plant which is very close to model plant Arabidopsis. When i got my final trinity output i didn't realize that they include alternative splicing transcripts. Anyway during last few days i learnt a lot of how to do downstream analysis and this is something i planned to do to get the final transcripts (i mean best transcripts)

      1. expression based: after running the abundance estimation (bowtie-express), retain those that have some minimum FPKM value (such as 1).

      2. run the ORF extraction pipeline included in Trinity (don't restrict it to complete ORFs, get both complete and partials) - retain those that encode long ORFs (eg. 200 aa)

      3. blastx the trinity transcripts against RefSeq, retain those that have homology to known proteins (E<=1e-10)

      Take the union of {1,2,3} above and call it 'best'.

      Do you further comment on this?

      Comment

      • mbayer
        Member
        • Mar 2009
        • 31

        #4
        Hi,

        2 and 3 sound reasonable. As to point 1), I wouldn't exclude transcripts on the basis of being lowly expressed -- you may end up removing genuine transcripts from your final set. Remember that some transcripts really are expressed at very low levels, and also that Illumina sequencing contains an element of randomness which means that at the lower end of the expression range there may be transcripts that actually were present in the sample at very low levels but have not been caught by the sequencing/and or data analysis.

        cheers

        Micha

        Comment

        • Jan_R
          Junior Member
          • Jul 2011
          • 9

          #5
          Originally posted by upendra_35 View Post
          The organism that i am working on is Brassica rapa plant which is very close to model plant Arabidopsis. When i got my final trinity output i didn't realize that they include alternative splicing transcripts.

          Might be a bit late but anyway:


          Most times the sequences in one comp(onent) do resemble each other. It is likley they are isoforms of the same gene.
          At least that's my impression after sequence comparison by blastn and blastx. You can also put them in clustalw.
          My experience is that we could easily amplify the few sequences we were interested in out of cDNA. So at least for these few examples trinity worked pretty nice for us.

          A colleague of mine used different smaller sequences from one component to assemble larger fragments. The fragments he obtained from trinity all had similarity to a known gene but were much smaller than expected. He had to try two or three combinations of alignments before he got the expected fragment in his PCR.

          So the number of components could give you rough impression about the total number of genes represented in your assembly.

          Good luck with your assembly!

          Comment

          • upendra_35
            Senior Member
            • Apr 2010
            • 102

            #6
            Originally posted by mbayer View Post
            Hi,

            2 and 3 sound reasonable. As to point 1), I wouldn't exclude transcripts on the basis of being lowly expressed -- you may end up removing genuine transcripts from your final set. Remember that some transcripts really are expressed at very low levels, and also that Illumina sequencing contains an element of randomness which means that at the lower end of the expression range there may be transcripts that actually were present in the sample at very low levels but have not been caught by the sequencing/and or data analysis.

            cheers

            Micha
            Does that mean i should have more relaxed FPKM cut-off? What do you think would be ideal by the way?

            Comment

            • upendra_35
              Senior Member
              • Apr 2010
              • 102

              #7
              Originally posted by Jan_R View Post
              Might be a bit late but anyway:


              Most times the sequences in one comp(onent) do resemble each other. It is likley they are isoforms of the same gene.
              At least that's my impression after sequence comparison by blastn and blastx. You can also put them in clustalw.
              My experience is that we could easily amplify the few sequences we were interested in out of cDNA. So at least for these few examples trinity worked pretty nice for us.

              A colleague of mine used different smaller sequences from one component to assemble larger fragments. The fragments he obtained from trinity all had similarity to a known gene but were much smaller than expected. He had to try two or three combinations of alignments before he got the expected fragment in his PCR.

              So the number of components could give you rough impression about the total number of genes represented in your assembly.

              Good luck with your assembly!
              Thanks for the info. Yes i did worked out on this a bit but in the manner that your colleague work. I have a feeling by myself that the Trinity transcripts are smaller when compared to known genes and probably i might have do the same as your colleague. Do you know if he had written any script to do this? Thanks in advance...

              Comment

              • Jan_R
                Junior Member
                • Jul 2011
                • 9

                #8
                Originally posted by upendra_35 View Post
                Thanks for the info. Yes i did worked out on this a bit but in the manner that your colleague work. I have a feeling by myself that the Trinity transcripts are smaller when compared to known genes and probably i might have do the same as your colleague. Do you know if he had written any script to do this? Thanks in advance...
                Seems to be Murphy's law that people are on vacation when one comes up with questions

                He was specificaly interested in one specific gene so he didn't write a script for that. He just put them in a classic sequence alignment program (clustalw) together with a sequence from a closely related species.
                After that he did an ordinary blast with the sequence of the related species and the reads. Best matching reads he also aligned onto the sequence to close gaps. So he more or less refined the work already done by Trinity.
                I lack the experience to judge wether this was a wild guess but this approach worked out for him and he could amplify his gene at the second or third attempt.

                But that is the part that bothers you when you already have a specific gene you're interested in.

                I got small fragments assembled when the transcript just was not that abundant which makes perfectly sense.

                What do you have in mind with your 'best of all times'-collection?

                Comment

                • mbayer
                  Member
                  • Mar 2009
                  • 31

                  #9
                  Originally posted by upendra_35 View Post
                  Does that mean i should have more relaxed FPKM cut-off? What do you think would be ideal by the way?
                  I would not set a cut-off at all. Like I said, I don't think you can assume that a low expression level means there is an artefact -- it could be real.

                  Micha

                  Comment

                  • kurban910
                    Member
                    • Jul 2014
                    • 58

                    #10
                    hi guys,
                    i assembled the raw reads and got trinity.fasta file, then i got the basic statistics by using TrinityStats.pl , but i also wanna get little bit more detialed statistical results like length distribution of transcripts in the fasta file with an image if its possible.
                    any suggesion for that?
                    thanks.

                    Comment

                    • GenoMax
                      Senior Member
                      • Feb 2008
                      • 7142

                      #11
                      Originally posted by kurban910 View Post
                      hi guys,
                      i assembled the raw reads and got trinity.fasta file, then i got the basic statistics by using TrinityStats.pl , but i also wanna get little bit more detialed statistical results like length distribution of transcripts in the fasta file with an image if its possible.
                      any suggesion for that?
                      thanks.
                      Try stats.sh from BBMap: http://seqanswers.com/forums/showthread.php?t=43529

                      Comment

                      • kurban910
                        Member
                        • Jul 2014
                        • 58

                        #12
                        thanks for the link @GenoMax

                        Comment

                        Latest Articles

                        Collapse

                        • seqadmin
                          Pathogen Surveillance with Advanced Genomic Tools
                          by seqadmin




                          The COVID-19 pandemic highlighted the need for proactive pathogen surveillance systems. As ongoing threats like avian influenza and newly emerging infections continue to pose risks, researchers are working to improve how quickly and accurately pathogens can be identified and tracked. In a recent SEQanswers webinar, two experts discussed how next-generation sequencing (NGS) and machine learning are shaping efforts to monitor viral variation and trace the origins of infectious...
                          03-24-2025, 11:48 AM
                        • seqadmin
                          New Genomics Tools and Methods Shared at AGBT 2025
                          by seqadmin


                          This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

                          The Headliner
                          The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
                          03-03-2025, 01:39 PM

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by seqadmin, Today, 12:59 PM
                        0 responses
                        6 views
                        0 reactions
                        Last Post seqadmin  
                        Started by seqadmin, Yesterday, 10:17 AM
                        0 responses
                        8 views
                        0 reactions
                        Last Post seqadmin  
                        Started by seqadmin, 03-20-2025, 05:03 AM
                        0 responses
                        49 views
                        0 reactions
                        Last Post seqadmin  
                        Started by seqadmin, 03-19-2025, 07:27 AM
                        0 responses
                        60 views
                        0 reactions
                        Last Post seqadmin  
                        Working...