Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • newfie
    Junior Member
    • Feb 2016
    • 8

    #1

    Trimmoatic: Command for cutting bases from the start and end of the read

    Hi everyone,

    I am working with small non coding RNA data. I removed my adapter sequences from my data. However, there are random miRS of 4 bases attached to both the start and end of the reads. Hence, i wanted to remove 4 bases both from the start and end of the read. I used the command HEADCROP 4 to remove bases from the start of the read. However, i am not quite sure which command to use, to remove bases from the end of the read. the CROP command doesn't cut the bases at the end of the read, however it cuts the read to specified length by cutting the bases from the end of the read. The TRAILING command could be used, but i am not quite sure what would be threshold quality value that could trim the 4 random mirs. Because i need all the 4 bases to be uniformly trimmed across all the reads. Any thoughts? Opinion? Suggestions? I know cutadapt could be used in this case. But since i have already used trimmomatic to cut adapters i want to use the same for trimming the 4 bases from the start and end of the read.

    Thanks
  • newfie
    Junior Member
    • Feb 2016
    • 8

    #2
    ^^^^ or in other words i am wondering if there is a TRAILCROP option in Trimmomatic

    Comment

    • mastal
      Senior Member
      • Mar 2009
      • 666

      #3
      The problem with removing bases from the 3' end of the reads is that, even after adapter trimming, there may be some reads that had only a few bases of adapter sequence, so too short to be removed by trimmomatic, and you would be removing those instead of the miRS sequences.

      As far as I know there isn't an option that does what you want in Trimmomatic, unless you start with reads all the same length without any adapter contamination.

      Comment

      • Zaag
        Senior Member
        • Nov 2009
        • 112

        #4
        Originally posted by newfie View Post
        ^^^^ or in other words i am wondering if there is a TRAILCROP option in Trimmomatic
        CROP: Cut the read to a specified length

        Comment

        • mastal
          Senior Member
          • Mar 2009
          • 666

          #5
          Originally posted by Zaag View Post
          CROP: Cut the read to a specified length
          Yes, but that won't help if your reads are all different lengths because you have removed variable lengths of adapters from the 3' ends.

          Comment

          • Zaag
            Senior Member
            • Nov 2009
            • 112

            #6
            True, but you can leave the adapters on and just cut adapter + 4 bp

            I know PrinSeq has this option:
            -trim_right

            Trim sequence at the 3'-end by trim_right positions


            but I never used it.

            Cheers.

            Comment

            • GenoMax
              Senior Member
              • Feb 2008
              • 7142

              #7
              @newfie: You could use the CROP command first followed by HEADCROP/trimming if you want to stick with trimmomatic. (If you want to remove an additional 4 bp from what was left after the trimming, then this won't work).

              bbduk.sh will allow you to forcetrimright=n past a certain position.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                by SEQadmin2




                NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
                Today, 06:46 AM
              • 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
                ...
                10-14-2026, 09:55 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 10-28-2026, 09:57 AM
              0 responses
              22 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-28-2026, 09:51 AM
              0 responses
              14 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 11:13 AM
              0 responses
              67 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 10:48 AM
              0 responses
              47 views
              0 reactions
              Last Post SEQadmin2  
              Working...