Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • dena.dinesh
    Member
    • Feb 2013
    • 58

    Trimming multiple adapters in a single run

    Hi,

    I ran the quality control for my fastq reads and found that some adapter seuqences in every sample. I used Fastx_clipper like this:
    fastx_clipper -a "AGTCGTATAGCAGT" -v -i /input/fastq/file -o /trimmed/output/file.

    How can I trim the fastq file with multiple adapter.. i have one more adapter sequnces which has to be trimmed.

    How can I use multiple adapters in a single run?

    Kindly Guide me.
  • blancha
    Senior Member
    • May 2013
    • 367

    #2
    As far as I know, you can only trim one adapter at a time with fastqx_clipper or cutadapt.
    You'll have to trim them one after the other if you have different adapters for the reads.

    Note that, with Cutadapt at least, you only need to trim the first adapter after the insert.
    This sequence is generally identical for all the reads. It doesn't matter if the sequences differ after the first adapter.

    With Trimmomatic, you can give in argument an adapter file with all the adapter sequences.

    Comment

    • dena.dinesh
      Member
      • Feb 2013
      • 58

      #3
      You mean to say first trim the raw sequence with first adapter output it. Then later trim the outputted file from the first trim to trim the next adapter..Am I right?

      Comment

      • blancha
        Senior Member
        • May 2013
        • 367

        #4
        No.
        You'll have to check the behaviour of your trimmer.
        In the case of Cutadapt, you just need to trim the first adapter.

        You don't need to know all the adapter sequences. You just need to know and trim the sequence of the first adapter after the insert.

        E.g. The adapter sequence is TAAC

        Before trimming:
        ATCATAACAT
        CTAGTAACTT

        After trimming:
        ATCA
        CTAG

        Comment

        • dena.dinesh
          Member
          • Feb 2013
          • 58

          #5
          Hi,

          Like you said I had two adapter sequences before I trimmed. First I trimmed using first adapter sequence using fastx_clipper and later uploaded the sequence in Fastqc to re-check, surprisingly the second adapter sequence which shown before was also removed and now I have nor adapter sequences...But how come my second adapter disappeared..Can i take this trimmed fiel for further analysis?

          Comment

          • blancha
            Senior Member
            • May 2013
            • 367

            #6
            Yes. The trimmer will cut off the rest of the sequence once it encounters the adapter.
            Hence, you only need to trim the first adapter after the insert.

            Comment

            • blancha
              Senior Member
              • May 2013
              • 367

              #7
              That's the default behaviour for Cutadapt anyway.
              I believe that the other trimmers use the same algorithm, but cannot absolutely guarantee it.

              Comment

              • dena.dinesh
                Member
                • Feb 2013
                • 58

                #8
                Also Is it necessary to filter reads based on quality score when you find quality score for all bases is above 25 or more.?

                Comment

                • blancha
                  Senior Member
                  • May 2013
                  • 367

                  #9
                  It depends on the type of experiment.

                  I wouldn't trim for RNA-Seq experiments measuring gene expression levels, or ChIP-Seq experiments measuring immunoprecipitated DNA.
                  I might trim at 30 or 32 for experiments whose objective is to find mutations (whole-genome seq, exome-seq and sometimes RNA-Seq) or methylation levels (bis-Seq).

                  For RNA-Seq experiment or ChIP-Seq experiments, trimming would do more harm than good if all your bases are above 25.

                  Comment

                  • luc
                    Senior Member
                    • Dec 2010
                    • 469

                    #10
                    In my eyes fastqx_clipper is pretty outdated by now. Especially BBduk, but also Trimmomatic, and Cutadapt, have been developed further and offer way more options.

                    Comment

                    Latest Articles

                    Collapse

                    • 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
                    • SEQadmin2
                      Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                      by SEQadmin2


                      I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                      Here are nine questions we think about, in roughly the order they matter, before...
                      06-18-2026, 07:11 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, 07-02-2026, 11:08 AM
                    0 responses
                    23 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-30-2026, 05:37 AM
                    0 responses
                    23 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-26-2026, 11:10 AM
                    0 responses
                    23 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-17-2026, 06:09 AM
                    0 responses
                    55 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...