Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Seraphya
    Junior Member
    • Oct 2013
    • 4

    #1

    trimming or filtering first?

    Does the order of trimming reads first and then filterings or first filtering reads and then trimming make a diffrence?
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    To copy and paste my comment on Biostars:
    Do you mean, "Does the order of adaptor and base quality trimming matter?" Otherwise, which sort of trimming and filtering do you have in mind?

    Comment

    • gege_55
      Member
      • May 2012
      • 10

      #3
      I did trimming of bad quality bases first. I think you can retain more of your reads like this, because after that step more of your reads will pass the filtering step.
      Maybe you could try both ways with a subset of reads and see which one yields more reads after filtering.

      Comment

      • Seraphya
        Junior Member
        • Oct 2013
        • 4

        #4
        The subset test is a good idea.
        I am actually wondering what the purpose of filtering is if you are trimming reads down and discard them when there are not enough bases left.

        Comment

        • ctseto
          Member
          • Oct 2013
          • 44

          #5
          Not sure myself. Generally, I've done

          Filtering of contaminant genomes (YMMV), then Trimmomatic with the appropriate adaptors. For Trimmomatic, I'm not quite sure if they trim adaptors first then do quality trim, or vice versa.

          That said...what did you mean by filtering?
          Last edited by ctseto; 10-29-2013, 05:41 AM.

          Comment

          • dpryan
            Devon Ryan
            • Jul 2011
            • 3478

            #6
            Originally posted by Seraphya View Post
            The subset test is a good idea.
            I am actually wondering what the purpose of filtering is if you are trimming reads down and discard them when there are not enough bases left.
            I don't bother with filtering after trimming. The quality dip is almost always just near the ends of the reads, so there's likely no benefit unless you're doing a homopolymer filter or something like that. Even then, unless you have a lot of reads that would otherwise be filtered out, the change in alignment time is likely about as long as the amount of time needed for the filtering.

            Comment

            • gege_55
              Member
              • May 2012
              • 10

              #7
              It depends on what you want to do with your reads. For mappings I wouldn't filter too strictly. For assemblies you want the best quality reads possible.
              In the case of an assembly I remove reads with ambiguous bases first. Assemblers don't handle them well. Then you trimm and then you filter. I try to estimate how many reads I need in the end for a decent assembly. There are some numbers here in the forum for a few species. Then I iterate the filter criteria with a subset in a way to approximately reach that number.
              The more reads you have to begin with the more you can filter out resulting in higher quality of the remaining.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                by SEQadmin2



                Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                ...
                10-14-2026, 09:55 AM
              • SEQadmin2
                New Genomics Technologies Take Aim at Long-Standing Limits
                by SEQadmin2


                Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                ...
                09-28-2026, 10:25 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 10-22-2026, 11:13 AM
              0 responses
              26 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 10:48 AM
              0 responses
              20 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-15-2026, 10:52 AM
              0 responses
              36 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              43 views
              0 reactions
              Last Post SEQadmin2  
              Working...