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

                    • SEQadmin2
                      From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                      by SEQadmin2


                      Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                      The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                      ...
                      06-02-2026, 10:05 AM
                    • SEQadmin2
                      Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
                      by SEQadmin2


                      With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


                      Introduction

                      Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
                      05-22-2026, 06:42 AM
                    • SEQadmin2
                      Environmental Genomics in the Age of NGS: From Microbes to Conservation Strategies
                      by SEQadmin2

                      Studying ecosystems means dealing with complex, multi-species communities that are hard to observe at scale. This complexity, however, hides many important questions to be answered, from how biogeochemical cycles work and how climate change can affect species distribution to how conservation strategies can work best.


                      Genomics, particularly since the expansion of NGS, has transformed ecosystem ecology. By sequencing environmental DNA, we can now assess biodiversity without direct...
                      05-06-2026, 09:04 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, Today, 08:59 AM
                    0 responses
                    11 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-02-2026, 12:03 PM
                    0 responses
                    21 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-02-2026, 11:40 AM
                    0 responses
                    17 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 05-28-2026, 11:40 AM
                    0 responses
                    31 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...