Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • huan
    Member
    • Oct 2010
    • 56

    #1

    De novo RNA-Seq Assembly using Trinity gives too many unigenes.

    Hi,
    I have done the De novo RNA-Seq Assembly using Trinity with my fish data, but the number of unigenes I get is 333,843, and the N50 Length is 396. I think the number of unigenes is too many. So which parameter should I set to reduce the number of unigenes and make the N50 length longer?
    My trinity version is: Trinityrnaseq_r20131110
    All of the parameter is default.
    Thanks a lot for any suggesstion!
    happy
  • arthurmelo
    Member
    • Jul 2012
    • 19

    #2
    Hi, assuming you first parsed your data based on quality analysis using a Phred score Q>20, you certain could set the minimum length for acceptable contigs to 500 bp, for example, using --min_contig_length 500. If you do not filter your reads based on quality, I encourage you use Trimmomatic for example in order to eliminate the sequencing errors which could affect the Bruijn graphs resolution, creating several number of unresolved bubbles.

    Comment

    • huan
      Member
      • Oct 2010
      • 56

      #3
      Thanks a lot @arthurmelo.
      We have filted the low quality reads by deleting the percentage of Phred score Q>20 less than 80%. So As you suggest, we'd better fillter the reads again by Trimmomatic. I'll have a try. Thanks a lot!
      As the set of the minimum length for acceptable contigs to 500 bp will loose too many reads, I'll try when having no other choice.
      BTW, is there any other way to reduce the number of the unigenes? OR is there any other way to fillter the data?
      Last edited by huan; 12-22-2015, 05:31 PM.
      happy

      Comment

      • kmcarr
        Senior Member
        • May 2008
        • 1181

        #4
        Originally posted by huan View Post
        Thanks a lot @arthurmelo.
        We have filted the low quality reads by deleting the percentage of Phred score Q>20 less than 80%. So As you suggest, we'd better fillter the reads again by Trimmomatic. I'll have a try. Thanks a lot!
        As the set of the minimum length for acceptable contigs to 500 bp will lose too many reads, I'll try when having choice.
        BTW, is there any other way to reduce the number of the unigenes? OR is there any other way to fillter the data?
        Having ~300K contigs as the initial, raw output of Trinity isn't terribly surprising. Trinity includes some scripts for filtering this initial contig file; the most useful filtering rule is removing contigs which only include a very small number of reads supporting them. To do this you first use the analysis tools in the Trinity package to align your read data back to the assembled contigs and then RSEM to calculate the relative abundance of reads for each contig using the script 'align_and_estimate_abundance.pl' (found in the Trinity /util folder). Finally you run the script 'filter_fasta_by_rsem_values.pl' (also in the /util folder). Filtering out contigs with very low read can have a dramatic impact on the total number.

        Also, in my opinion, 500bp is much too high a threshold contig length. I routinely use 200bp.

        Comment

        • huan
          Member
          • Oct 2010
          • 56

          #5
          Thanks a lot @kmcarr.
          That's quite a good idea. But I am not sure whether the "removing contigs" means 'removing inchworm result contigs with --no_run_butterfly --no_run_quantifygraph' or not.
          Thanks a lot again.
          happy

          Comment

          • kmcarr
            Senior Member
            • May 2008
            • 1181

            #6
            Originally posted by huan View Post
            Thanks a lot @kmcarr.
            That's quite a good idea. But I am not sure whether the "removing contigs" means 'removing inchworm result contigs with --no_run_butterfly --no_run_quantifygraph' or not.
            Thanks a lot again.
            The contig filtering I am describing takes place after the Trinity assembly is complete, not during the assembly phase.

            The basic process is to use the align_and_estimate_abundance.pl script found in the Trinity util/ folder to align your input reads to the 333K contigs in your final Trinity.fasta file. It also creates abundance estimates (fpkm) using RSEM.

            Following this step you use the filter_fasta_by_rsem_values.pl script (also in util/) filter out contigs with low fpkm (threshold value is adjustable). The contigs you are removing are from the final set in the Trinity.fasta file. The output will be a new, smaller file (e.g. Trinity_filtered.fasta).

            Comment

            • huan
              Member
              • Oct 2010
              • 56

              #7
              I got it. Thanks kmcarr.
              But I wonder I will lose a lot low expressed transcript if I filter after the Trinity assembly is complete. Does it influence my analysis? BTW, if I filter before assemble, then the low expressed transcript can still be left. Will it give a better result?
              happy

              Comment

              • kmcarr
                Senior Member
                • May 2008
                • 1181

                #8
                Originally posted by huan View Post
                I got it. Thanks kmcarr.
                But I wonder I will lose a lot low expressed transcript if I filter after the Trinity assembly is complete. Does it influence my analysis? BTW, if I filter before assemble, then the low expressed transcript can still be left. Will it give a better result?
                When you say "filter before assembly" do you mean performing quality/adapter trrimming and filtering of your raw reads? You should pretty much always do that for any data and any downstream analysis.

                Even so it is still a good idea to perform the abundance filtering I described post assembly. What we are talking about is removing contigs with virtually no support in the underlying data, only 1-2 FPKM. Think about that for a second. These "contigs" are supported by 1 out of 1,000,000 reads. Is that a genuine, meaningful transcript? Probably not. More likely it is sequencing error masquerading as a unique transcript.

                Researchers often are far too worried about removing what is essentially noise in their data. Demanding that the bioinformatician KEEP EVERYTHING, fearing they are going to miss some big, important discovery. In reality it just confounds the analysis.

                Comment

                • huan
                  Member
                  • Oct 2010
                  • 56

                  #9
                  Thanks a lot kmcarr. Your answer really works great.
                  happy

                  Comment

                  Latest Articles

                  Collapse

                  • SEQadmin2
                    Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                    by SEQadmin2



                    CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                    Despite this, “CRISPR helped turn genome editing from a specialized technique into
                    ...
                    07-31-2026, 11:01 AM
                  • SEQadmin2
                    Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                    by SEQadmin2


                    Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                    The systematic characterization of the human proteome has
                    ...
                    07-20-2026, 11:48 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 08-13-2026, 12:22 PM
                  0 responses
                  23 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 08-11-2026, 10:35 AM
                  0 responses
                  19 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 08-06-2026, 07:41 AM
                  0 responses
                  33 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 08-03-2026, 10:13 AM
                  0 responses
                  51 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...