Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • modi2020
    Member
    • May 2012
    • 22

    Kmers remain even after trimmomatic trimming

    Hi Guys,

    I have Illumina NGS DNA 150 BP paired end reads.
    My initial Fasqc report indicated the presence of Kmers towards the end of the reads at 145-147.
    I used trimmomatic to trim them off. I trimmed 5 BP from the start of the read and 5 BP at the end of the read which makes my read length 140 bp (and should remove the kmers). However, when I looked at the Fastqc report post filtering, it showed that the kmers still exist but are now in the position 135-136. I have attached the pre and post filtering Fastqc reports if it helps to visualize them.


    My trimmomatic trimming command was as follows:
    java -Xmx15g -classpath trimmomatic-0.22.jar org.usadellab.trimmomatic.TrimmomaticPE -threads 4 -phred33 -trimlog trimmlog_log.txt input_R1.fastq input_R2.fastq output_R1.fq unpaired_output1.fq output_R2.fq unpaired_output2.fq HEADCROP:5 CROP:140 LEADING:20 TRAILING:20 SLIDINGWINDOW:4:20 MINLEN:60

    I would really appreciate it if any one can guide me through this issue as I couldn't figure it out.
    Attached Files
  • mastal
    Senior Member
    • Mar 2009
    • 666

    #2
    You should do some sequence-specific adapter trimming using the ILLUMINACLIP command.

    Comment

    • modi2020
      Member
      • May 2012
      • 22

      #3
      Dear Mastal,

      Thank you for your prompt reply.
      I honestly thought that ILLUMINACLIP command was only for Overrepresented sequences e.g Illumina adapters. I will try using it and see what I get.
      Thank you
      Originally posted by mastal View Post
      You should do some sequence-specific adapter trimming using the ILLUMINACLIP command.

      Comment

      • mastal
        Senior Member
        • Mar 2009
        • 666

        #4
        It is only for the Illumina adapters.

        The adapters are not in the same position in each read, and they are not present in every read, only when the DNA insert is shorter than the length of one read, so that you read through into some of the adapter sequence.

        Comment

        • luc
          Senior Member
          • Dec 2010
          • 469

          #5
          The pre-filter FASTQC kmer plot shows the presence of these enriched kmers are about 50-fold enriched even at base 110 of your reads.
          As mentioned better try a normal adapter trimming and (depending on the purpose of teh experiments) the FASTQC reports also indicate that the reads could use some quality trimming or filtering.

          Comment

          • modi2020
            Member
            • May 2012
            • 22

            #6
            I have used the ILLUMINACLIP command to remove the kmers. My command was as follows:
            java -Xmx15g -classpath trimmomatic-0.22.jar org.usadellab.trimmomatic.TrimmomaticPE -threads 4 -phred33 -trimlog trimmlog_log.txt input_R1.fastq input_R2.fastq output_R1.fq unpaired_output1.fq output_R2.fq unpaired_output2.fq ILLUMINACLIP:adapters3.fasta:2:30:10 HEADCROP:5 CROP:140 LEADING:20 TRAILING:20 SLIDINGWINDOW:4:20 MINLEN:60

            I also attached the adapters3.fasta file in which I specified the kmers.
            The program ran at first for a few minutes but its progress has stopped for six hours now even though its running on 4 cores.

            Do you think that my command and adapters format correct?

            Originally posted by mastal View Post
            It is only for the Illumina adapters.

            The adapters are not in the same position in each read, and they are not present in every read, only when the DNA insert is shorter than the length of one read, so that you read through into some of the adapter sequence.
            Attached Files

            Comment

            • mastal
              Senior Member
              • Mar 2009
              • 666

              #7
              Your trimmomatic command looks OK, but it looks like you are using Illumina barcodes instead of adapter sequences.

              Just use the adapters.fasta file that comes with trimmomatic.

              Do you know what type of Illumina kit was used for library prep?

              Comment

              • modi2020
                Member
                • May 2012
                • 22

                #8
                Dear Mastal,

                After following your advise I am glad to say that it worked! I have attached the output of Fastqc herein.
                I have basically used the file TruSeq3-PE-2.fa as adapters sequences and it worked wonderfully. I have asked the fellows who did the library prep about the kit but haven't gotten a reply yet. If they did I will let you know. I am just glad it worked now

                Again, thank you so much for your follow up with me
                Originally posted by mastal View Post
                Your trimmomatic command looks OK, but it looks like you are using Illumina barcodes instead of adapter sequences.

                Just use the adapters.fasta file that comes with trimmomatic.

                Do you know what type of Illumina kit was used for library prep?
                Attached Files

                Comment

                • modi2020
                  Member
                  • May 2012
                  • 22

                  #9
                  Dear Luc,

                  Thank you for your advise. I have actually trimmed up to 110 previously but the presence of kmers in the Fastqc report persisted. When I used the adapters set supplied by trimmomatic for TruSeq3-PE-2.fa, it helped remove them completely. I have attached the result of that run on my previous reply to mastal.

                  Again thank you so much
                  Originally posted by luc View Post
                  The pre-filter FASTQC kmer plot shows the presence of these enriched kmers are about 50-fold enriched even at base 110 of your reads.
                  As mentioned better try a normal adapter trimming and (depending on the purpose of teh experiments) the FASTQC reports also indicate that the reads could use some quality trimming or filtering.

                  Comment

                  • vromanr_2015
                    Junior Member
                    • Mar 2015
                    • 5

                    #10
                    it didnt worked for me

                    I tried to trim with Truseq3 fasta file and even after that I got the first 9bp with kmers. I tried to crop that but after that I got overrepresented reads (which I didn't have before).

                    any help highly appreciated.

                    Comment

                    • Brian Bushnell
                      Super Moderator
                      • Jan 2014
                      • 2709

                      #11
                      Perhaps you could post your fastqc results? The first 9 bp are unlikely to be related to adapters, but some systems (like Nextera) will have highly biased initial bases.

                      Comment

                      • vromanr_2015
                        Junior Member
                        • Mar 2015
                        • 5

                        #12
                        It didnt worked for me

                        sure! sorry about that.
                        Attached Files

                        Comment

                        • Brian Bushnell
                          Super Moderator
                          • Jan 2014
                          • 2709

                          #13
                          You need to ask what kind of library this was. The spikiness at the beginning is similar to Nextera libraries (in which case you should not trim the first 9bp), but I'm not quite sure.

                          If it is a Nextera library, then it makes sense that trimming Truseq adapters will not change anything. I don't understand fastqc's relative enrichment graph, though, so I won't comment on that.

                          The Nextera adapter sequences are included with BBTools in the resources directory (nextera.fa.gz). But I recommend that you consult the source of the library to find out what adapters were used before simply trying that to see if it works.

                          Comment

                          • vromanr_2015
                            Junior Member
                            • Mar 2015
                            • 5

                            #14
                            This is RNA-seq data from wheat, Could be an adapter that I don't have?

                            Comment

                            • Brian Bushnell
                              Super Moderator
                              • Jan 2014
                              • 2709

                              #15
                              Yes. The organism and data-source are generally independent of the adapter type. Although, there is an RNA-specific set of TruSeq adapters, which is also included with BBTools as truseq_rna.fa.gz.
                              Last edited by Brian Bushnell; 03-13-2015, 08:50 AM.

                              Comment

                              Latest Articles

                              Collapse

                              • mylaser
                                Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                                by mylaser
                                Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                                If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                                This guide explains everything you need to know about...
                                07-11-2026, 01:13 AM
                              • 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

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, 07-09-2026, 10:04 AM
                              0 responses
                              22 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-08-2026, 10:08 AM
                              0 responses
                              14 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-07-2026, 11:05 AM
                              0 responses
                              33 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-02-2026, 11:08 AM
                              0 responses
                              31 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...