Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • PeatMaster
    Junior Member
    • Mar 2016
    • 8

    Adapter trimming with BBduk

    Hi, I am working with some MiSeq 16S and ITS2 amplicon sequence data generated by JGI. Previously I utilized the data after it was quality controlled and merged but now I am going back to the original raw interleaved files to learn how to do the initial steps myself. The first question I have is about adapter trimming. I am using BBduk and its adapters.fa reference file to trim adapters. This is a relatively simple (possibly silly) question, but in the example in the BBduk manual it trims the right (3' adapter) by specifying "ktrim=r", but no left trimming. Is there a reason trimming on the 5' end is not necessary or should it be done also (with "ktrim=l")?

    Additionally, it seems like most the dialogue people have is about trimming adapters and PCR primers. However, is there any need to look for artifacts associated with the forward and reverse primer pads?

    Thanks
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Originally posted by PeatMaster View Post
    This is a relatively simple (possibly silly) question, but in the example in the BBduk manual it trims the right (3' adapter) by specifying "ktrim=r", but no left trimming. Is there a reason trimming on the 5' end is not necessary or should it be done also (with "ktrim=l")?
    For good libraries (ones that use standard protocols without inline barcodes at beginning of reads etc) one expects to have contaminants (e.g. adapters) show at the end of a read. This is specially true if the insert turns out to be shorter than you expect (and you are sequencing longer than the length of the fragment). Once the insert is completely sequenced the read will go into the adapter at 3'-end (and even beyond into void, you will see AAAAA etc if that happens).

    If you expect to have contaminants present on the left (5'-end) of the reads you can certainly run ktrim=l.

    Additionally, it seems like most the dialogue people have is about trimming adapters and PCR primers. However, is there any need to look for artifacts associated with the forward and reverse primer pads?

    Thanks
    I am not sure what you are referring to by "primer pads". BBDuk will scan/trim any sequence you provide (you can add it as a fasta record to adapters file or provide it on command line as literal=ACTGGT,TTTGGTG option).

    Comment

    • PeatMaster
      Junior Member
      • Mar 2016
      • 8

      #3
      GenoMax, thanks for the reply. The adapter trimming on the 3' end makes sense to me now. Thanks.

      What I mean by the primer pads are best shown in the the supplement from Tremblay et al. 2015 (see link below). They are attached to the primers (between the adapter and the primer on the 5' end, and between the primer and barcode on the 3' end). I admit that I am not totally positive what their role is, but I assume they are utilized as part of the primer construct for all JGI MiSeq 16S and ITS2 runs. Since it is located closer to the fragment that is being sequenced than the adapter, it would be even more likely to be present as an artifact. Is this true or do I have something incorrect?




      Thanks for the help

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        In the example you attached the resulting sequence files don't have any extra sequence at the 5'-end.

        Some (e.g. amplicon) sequences involves the same sequence for multiple samples. As a result, an effort is made to increase the nucleotide diversity of the sequence (it is not good to have a specific base for a given cycle for every cluster in case of illumina sequencing) by adding base padding of varying length. If some of the extra sequence does appear on the 5-end then that can be trimmed with bbduk.

        Comment

        • PeatMaster
          Junior Member
          • Mar 2016
          • 8

          #5
          Thanks

          OK, I see. Thanks for the help.

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Cancer Drug Resistance: The Lingering Barrier to Rising Survival
            by SEQadmin2



            Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

            There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
            Today, 05:17 AM
          • 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, Today, 10:08 AM
          0 responses
          6 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, Yesterday, 11:05 AM
          0 responses
          7 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-02-2026, 11:08 AM
          0 responses
          31 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-30-2026, 05:37 AM
          0 responses
          28 views
          0 reactions
          Last Post SEQadmin2  
          Working...