Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ramirob
    Member
    • Apr 2012
    • 16

    Adaptor removal, trimming, vs masking

    I had a question about best practices regarding adaptor removing, trimming the ends of reads, and also removing short reads. All of these questions pertain preparing sequences for alignment with BWA.

    1) Adaptor removal: we can either mask the adapter with Casava (puts N's) or clip it out with cutadapt, what is the best practice (masking vs. removing) for BWA?
    2) Trimming at the ends: I have heard that this is important, trim a few bases at the beginning and also at the end (say 10 and 10). We can also just mask it with Casava, or trim it with some program. What is a standard program for trimming ends of reads?
    3) Removal of short reads: when clipping out the adapter, sometimes this results in a few very small reads (ligated adapters perhaps), those small reads seem to give problems to BWA, we wrote a program for removing small reads but it is slow, is there any software out there that does it?

    Thanks in advance,
    Ramiro
  • MeganS
    Member
    • Sep 2010
    • 14

    #2
    1) I think removing the adapters is probably better. Check the BWA documentation, but I think it treats Ns as a mismatch to the reference.
    2) I trim 6 bases off the 5' end of RNA-seq (due to a concern over high error rates due to hexamer priming). For genome sequencing, I only trim the ends if the quality is low.
    3) I use Trimmomatic to remove reads that are too short (and remove adapters and trim low quality). I think FastX-toolkit has something as well. Whatever you use, make sure it handles the orphaned reads. BWA determines read pairs by the location in the file, not by the sequence identifier.

    Comment

    • thomasvangurp
      Member
      • Jan 2009
      • 12

      #3
      Hi MeganS,

      Do you have any references that indicate the source of this hexamer mispriming?

      Cheers,
      Thomas

      Comment

      • MeganS
        Member
        • Sep 2010
        • 14

        #4
        Here are a couple posts/blogs with some references included:





        After reading what I could find on the topic, I am unsure if trimming the 5' end of RNA-seq is necessary, but I decided there was enough of a concern that when de novo assembling I trim 6 bases off the 5' end (a case could be made for as many as 15 bases). I do not trim for alignment to a reference.

        Comment

        Latest Articles

        Collapse

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 06-05-2026, 10:09 AM
        0 responses
        10 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-04-2026, 08:59 AM
        0 responses
        22 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-02-2026, 12:03 PM
        0 responses
        28 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-02-2026, 11:40 AM
        0 responses
        22 views
        0 reactions
        Last Post SEQadmin2  
        Working...