Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • mstagliamonte
    Member
    • Feb 2013
    • 33

    Need some clarification regarding adapter trimming

    Dear Bioinformaticians,

    I'm sorry to admit that after so many posts I've seen regarding the topic, I still have some doubts on how to do it correctly.

    I have sequenced (using Illumina Miseq) some monocellular parasite genomes, planning to map the data to reference with BWA mem, remove duplicates with Picard, finally do SNP calling.
    As first step, I have done some quality control using FastQC, and found out that some of the samples have adapter contamination up to ~ 0.14%. I believe this is due to some fragments being too short and so the machine read over the insert. I was planning to use Trimmomatic 0.33 for adapter trimming, but I have noticed that the sequences in the TruSeq3-PE-2.fa file are 34 nucleotides long, while in the FastQC report the segments are 50 nt, including the index in some cases .

    I wonder if it would be more correct to create a file with the specific 50 nt sequences to use as a guide to trim adapters, or should add them to the already existing fasta file.
    What is probably confusing me is that I initially thought the insert would be at the end of each affected read in the fastq file, while it is actually at the beginning of the read. Can you please advice me?

    Thanks for your help,
    Max
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Illumina adapters contain a "core" sequence that is common. Most trimming programs will look for matches to this sequence then trim the rest of the read based on that match.

    I will recommend that you take a look at BBMap suite. You will find BBduk (scan/trimmer) and BBMap (aligner) very easy to use. @Brian includes sequences of all common adapters (adapters.fa) in the "resources" directory of BBMap program.

    Code:
    >TruSeq_Adapter_Index_2
    [COLOR="Yellow"]GATCGGAAGAGCACACGTCTGAACTCCAGTCAC[/COLOR]CGATGTATCTCGTATGCCGTCTTCTGCTTG
    >TruSeq_Adapter_Index_3
    [COLOR="Yellow"]GATCGGAAGAGCACACGTCTGAACTCCAGTCAC[/COLOR]TTAGGCATCTCGTATGCCGTCTTCTGCTTG
    Last edited by GenoMax; 06-02-2016, 07:15 AM.

    Comment

    • mstagliamonte
      Member
      • Feb 2013
      • 33

      #3
      Thank you, GenoMax. I just downloaded BBMap; the adapters.fa has actually the adapters with the individual indexes attached. I will use it on my data.

      I am still puzzled regarding the adapter trimming step in general though. I tried trimmomatic on a very small subset (only one sequence had the adapter read through). I used extremely low quality and length cutoffs, to make sure only adapter trimming would be done. The read pair with adapter was just dropped, not trimmed. Is it normal?

      I still do not understand why the adapter is at the beginning of the read rather than at the end. Looking at the Illumina videos, I have the impression reads are actually written right to left, but I may be wrong.

      Comment

      • Brian Bushnell
        Super Moderator
        • Jan 2014
        • 2709

        #4
        Illumina reads are processed left-to-right. If adapter sequence is present at the beginning (left end) of the read, the read pair is an adapter-dimer with no genetic sequence at all, and should be discarded. If adapter sequence is present somewhere else in the read, the portion to the left of the adapter sequence should be retained, and the rest should be trimmed.

        Comment

        • mstagliamonte
          Member
          • Feb 2013
          • 33

          #5
          Thank you, Brian_Bushnell, this makes sense. I am trying to get a deeper understanding of what I am doing, rather than using the programs as black boxes.
          So, basically, if I want to trim the adapter from read-throughs, I don't really need to add individual indexes (i.e. the barcodes I used for multiplexing). This is because anything on the right side of the insert sequence will be trimmed off anyway. Am I right?

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            That is correct.

            If you have adapters to the left (beginning of the read) of your real sequence then there is something wrong. If you have paired end data remember to trim both reads together.

            (i.e. the barcodes I used for multiplexing)
            Edit: Just want to make sure you are not referring to inline barcodes in the last post? Illumina barcodes/tags are read separately and are never present in the actual read (R1/R2).
            Last edited by GenoMax; 06-02-2016, 10:33 AM.

            Comment

            • mstagliamonte
              Member
              • Feb 2013
              • 33

              #7
              Great, thank you. These sequences are about 0.1% of my data, they all seem to have the adapter at the beginning. I'll verify that they are dropped from my dataset when I trim it.

              Edit: GenoMax: I am actually referring to the Illumina barcodes. The affected reads in my R1 file (forward reads) have the insert+index at the beginning of the sequence. FastQC, in the overrepresented sequences section, correctly identifies the segment as "TruSeq Adapter, Index 4".
              The R2 file overrepresented sequence (still at the beginning of the reads) is identified as "Illumina Single End PCR Primer 1"; the index does not seem to be part of the segment.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by SEQadmin2



                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                ...
                07-09-2026, 11:10 AM
              • 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...
                07-08-2026, 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

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 07-13-2026, 10:26 AM
              0 responses
              15 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-09-2026, 10:04 AM
              0 responses
              29 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-08-2026, 10:08 AM
              0 responses
              16 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-07-2026, 11:05 AM
              0 responses
              34 views
              0 reactions
              Last Post SEQadmin2  
              Working...