Header Leaderboard Ad

Collapse

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

Collapse

Announcement

Collapse

SEQanswers June Challenge Has Begun!

The competition has begun! We're giving away a $50 Amazon gift card to the member who answers the most questions on our site during the month. We want to encourage our community members to share their knowledge and help each other out by answering questions related to sequencing technologies, genomics, and bioinformatics. The competition is open to all members of the site, and the winner will be announced at the beginning of July. Best of luck!

For a list of the official rules, visit (https://www.seqanswers.com/forum/sit...wledge-and-win)
See more
See less
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

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

    Comment


    • #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


      • #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


        • #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


          • #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


            • #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

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, Yesterday, 07:14 AM
              0 responses
              4 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 06-06-2023, 01:08 PM
              0 responses
              6 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 06-01-2023, 08:56 PM
              0 responses
              132 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 06-01-2023, 07:33 AM
              0 responses
              269 views
              0 likes
              Last Post seqadmin  
              Working...
              X