Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • girlmonkey
    Member
    • Aug 2013
    • 11

    #1

    Trimming - looking for a complete solution

    Hi, I found this previous discussion which covers a lot of what I'd like to know:

    Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc


    but not quite all! I am working with HaloPlex data. Before alignment, I need to remove Haloplex adapters, and also clip 5bp from both ends of both forward and reverse reads. I should also not be left with any empty or orphan (i.e. unmatched reads).

    I had previously been taking an approach to trim adapters with cutadapt, use a separate Perl script to remove the 5bp, then re-run cutadapt with a 'fake' adpater sequence to drop zero-length reads, then finally run another script to drop orphans. While this works, it seems tools like Trimmomatic or Trim Galore could achieve the same in a more efficient one-step manner.

    My problem is therefore that neither tool seems to deal with both ends of the reads:

    Trimmomatic has 'CROP: Cut the read to a specified length by removing bases from the end'

    Trim Galore has --clip_R1 <int> and --clip_R2 <int> to remove <int> bp from the 5' end of read 1 and read 2.

    Unless I've misunderstood, this only deals with one end of the reads. The reason I need to clip these bases from both ends is to remove residual bases from the restriction enzyme footprint.

    TIA!
  • mastal
    Senior Member
    • Mar 2009
    • 666

    #2
    Trimmomatic also has HEADCROP, which removes bases from the 5' end of the reads.

    Comment

    • girlmonkey
      Member
      • Aug 2013
      • 11

      #3
      Sorry - there's an error is my OP - HEADCROP is the option I meant to mention. CROP is actually not much use to me, as it's the opposite of what I'd like to do (specifying the length of sequence to be left behind as opposed to what to remove), so I still have the situation that I can only clip from one end (5').

      Ideally (in the case of Trimmomatic) I'm looking for a 'TAILCROP' option...

      Comment

      • mastal
        Senior Member
        • Mar 2009
        • 666

        #4
        Originally posted by girlmonkey View Post
        Sorry - there's an error is my OP - HEADCROP is the option I meant to mention. CROP is actually not much use to me, as it's the opposite of what I'd like to do (specifying the length of sequence to be left behind as opposed to what to remove), so I still have the situation that I can only clip from one end (5').

        Ideally (in the case of Trimmomatic) I'm looking for a 'TAILCROP' option...
        I guess it depends at which stage of the trimming and adapter removal steps you need to cut the bases from the 3' end, if you can do it as the first step, then CROP would be OK, unless your reads are all different lengths.

        Comment

        • girlmonkey
          Member
          • Aug 2013
          • 11

          #5
          Thanks for your reply. The reads are initially all the same length (150bp), but adapter trimming should come first (after which they are all different lengths) before the clipping of 5bp from the ends.

          Comment

          • fkrueger
            Senior Member
            • Sep 2009
            • 627

            #6
            We have just implemented two new options into Trim Galore (--three_prime_clip_r1 and --three_prime_clip_r2) to clip off any number of bases from the 3' ends of reads after adapter/quality trimming has finished. girlmonkey is just testing the new version, if it works fine it will find its way into the next release.

            Comment

            • SES
              Senior Member
              • Mar 2010
              • 275

              #7
              PRINSEQ has many options for trimming the 3' end of reads. There is '--trim_right' for trimming a specified length, '--trim_right_p' for trimming a certain percentage, '--trim_ns_right' for trimming poly-N tails, '--trim_qual_right' for trimming by a certain quality threshold, and '--trim_to_len' to specify trimming to a certain length.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                by SEQadmin2



                CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                Despite this, “CRISPR helped turn genome editing from a specialized technique into
                ...
                07-31-2026, 11:01 AM
              • SEQadmin2
                Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                by SEQadmin2


                Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                The systematic characterization of the human proteome has
                ...
                07-20-2026, 11:48 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

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 07-31-2026, 02:55 AM
              0 responses
              18 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-24-2026, 12:17 PM
              0 responses
              15 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-23-2026, 11:41 AM
              0 responses
              14 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-20-2026, 11:10 AM
              0 responses
              26 views
              0 reactions
              Last Post SEQadmin2  
              Working...