Unconfigured Ad

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

    #1

    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
                      The Factors Reshaping Genome Assembly
                      by SEQadmin2



                      When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...
                      11-24-2026, 07:04 AM
                    • SEQadmin2
                      16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                      by SEQadmin2





                      NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
                      10-30-2026, 06:46 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, 11-23-2026, 11:11 AM
                    0 responses
                    39 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 11-17-2026, 06:27 AM
                    0 responses
                    47 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 11-12-2026, 07:59 AM
                    0 responses
                    68 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 11-05-2026, 09:25 AM
                    0 responses
                    68 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...