Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sebl
    Member
    • Mar 2014
    • 26

    #1

    cut 5' and 3' ends of paired-ends reads

    Dear all,

    I have 2x250 paired-end reads for de novo assembly of bacterial genomes.

    The reads were processed with cutadapt to remove Illumina adaptors.

    In FastQC I see that I should remove some (~10) bases from the beggining of the reads (both reads in the pair) because of base distribution at this region, even though quality is fine. I also wish to cut the end of the reads dues to low quality; ~10 bases on the first read and ~40 on the second one. This is almost constant in all genomes sequenced.

    In the end I wish to filter out too short reads.

    I went through cutadapt, trimmomatic and a couple of other tools, but I cannot find how I could cut a defined number of bases from both ends from both reads at the same time as to keep reads paired.

    Suggestions would be much appreciated. Any other ideas on how to process these reads?

    Thanks!
  • blancha
    Senior Member
    • May 2013
    • 367

    #2
    The bias in the first bases of the reads from libraries generated with random hexaprimers has been documented, and discussed over and over again. Do not cut them! You will just be discarding perfectly good bases.
    Bridged amplification & clustering followed by sequencing by synthesis. (Genome Analyzer / HiSeq / MiSeq)


    With Trimmomatic, you have the option of setting the minimum quality of the leading or trailing bases, with the options LEADING and TRAILING. It's true that there doesn't seem to be an option to cut a specified number of bases off the tail. There is only an option for the head with HEADCROP. But, it just makes so much more sense to trim by quality score anyway. Unless, you are using an aligner that absolutely requires all reads to have the same length.

    Frankly, I would just use the example command given in the Trimmomatic manual, and only change the minimum length, given that you will want to keep only reads long enough to do a proper assembly.

    With Cutadapt, you do have the option --cut which will allow you to specify the number of reads you want to trim off the 5' and 3' ends. Again, it is preferable to trim by quality unless your assembler requires all reads to be of the same length, which is generally not the case.

    There is also BBDuk, written by Brian Bushnell, an active member of this forum, which seems to have just about every option imaginable.

    Comment

    • mastal
      Senior Member
      • Mar 2009
      • 666

      #3
      The trimmomatic command CROP removes bases from the 3' end of the reads.

      Comment

      • blancha
        Senior Member
        • May 2013
        • 367

        #4
        @mastal is correct.

        The parameters are a bit different though from HEADCROP. Rather than specifying the number of bases to cut, you specify the read length after cutting.

        Comment

        • sebl
          Member
          • Mar 2014
          • 26

          #5
          Thank you for the reply.

          I guess you are right and I should work on quality trimming.

          Our libraries however were prepared by mechanical shearing of gDNA, not the usual random hexamer protocol in Nextera, if that is what you meant.

          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
            ...
            Yesterday, 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, Today, 10:52 AM
          0 responses
          8 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, Yesterday, 05:39 AM
          0 responses
          17 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-13-2026, 09:56 AM
          0 responses
          15 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-09-2026, 11:14 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Working...