Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TofuKaj
    Member
    • Apr 2015
    • 10

    #1

    Please help my BBMap cannot remove Illumina adapter

    Dear great helpers,

    I'm an RNAseq starter and trying to find a good tool for fastq file preprocessing. I currently use BBmap to trim Illumina addapter using the command:

    bbduk.sh -Xmx1g in1=f1.fq in2=f2.fq out1=clean1.fq out2=clean2.fq ktrim=r ref=truseq_rna.fa.gz k=28 mink=12 hdist=1

    The f1.fq and f2.fq are from Illumina 1.9. When I check the output clean1.fq and clean2.fq files using FastQC. There is still evidence of adapter contamination.

    GATCGGAAGAGCACACGTC 25845 0.18387555456141572 Illumina Multiplexing Adapter 1 (100% over 19bp)


    I think this could be solved by adjusting parameters, but I'm too naive to do it. Would you please suggest me how to solve the problem?

    Thank you very much in advance,
    Kaj
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    It is not removing the adapters since you are missing a key option on your command line for bbduk .. the location of the file containing the sequence of the adapters.

    Your command should be
    Code:
    $ bbduk.sh -Xmx1g in1=f1.fq in2=f2.fq out1=clean1.fq out2=clean2.fq ktrim=r ref=truseq_rna.fa.gz k=28 mink=12 hdist=1 ref=/path_to/bbmap-34.xx/bbmap/resources/truseq.fa.gz
    Replace the truseq file with nextera if you are using those adapters.
    Last edited by GenoMax; 04-28-2015, 04:31 AM.

    Comment

    • TofuKaj
      Member
      • Apr 2015
      • 10

      #3
      Originally posted by GenoMax View Post
      It is not removing the adapters since you are missing a key option on your command line for bbduk .. the location of the file containing the sequence of the adapters.

      Your command should be
      Code:
      $ bbduk.sh -Xmx1g in1=f1.fq in2=f2.fq out1=clean1.fq out2=clean2.fq ktrim=r ref=truseq_rna.fa.gz k=28 mink=12 hdist=1 ref=/path_to/bbmap-34.xx/bbmap/resources/truseq.fa.gz
      Replace the truseq file with nextera if you are using those adapters.
      Thank you very much for your quick help
      I'm so sorry
      for my ambiguous post. In fact, I have added the path to my code but skipping it in the post. Please describe me a little bit more why you suggest the use of truseq.fa.gz instead of truseq_rna.fa.gz
      Thank you very much in advance

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Example you posted above looks like "TruSeq_Adapter". TruSeq_RNA adapters are different (TGGAATTCTCGGGTGCCAAGGAA). You can take a look at the adapter sequences in the "bbmap-34.xx/bbmap/resources" directory.

        My apologies. I see that you have "ref=" in your original command line.
        Last edited by GenoMax; 04-28-2015, 04:31 AM.

        Comment

        • Brian Bushnell
          Super Moderator
          • Jan 2014
          • 2709

          #5
          If you're not sure which adapters are used, you can do "ref=truseq.fa.gz,truseq_rna.fa.gz,nextera.fa.gz" and get them all (this will increase the amount of overtrimming, though it should still be negligible). But as GenoMax said, that looks like a normal TruSeq adapter, not TruSeq RNA.

          Also, as these are paired reads, I suggest you add the "tbo" and "tpe" flags to trim by overlap also, which will get rid of more adapter sequence.
          Last edited by Brian Bushnell; 04-28-2015, 08:59 AM.

          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, Yesterday, 11:13 AM
          0 responses
          16 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, Yesterday, 10:48 AM
          0 responses
          17 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          42 views
          0 reactions
          Last Post SEQadmin2  
          Working...