Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Set Clipping Penalty in BWA ALN?

    Hi all!


    I'm using BWA aln (v 0.7.10) to map short reads (75bp - 100bp) to hg19 genome. Is it possible to adjust the penalty for soft-clipping? I want to set it lower than mismatch penalty in order to prevent mismatches at read ends and to favor soft-clipping.

    Alternatively, I could increase mismatch penalty, but what is the penalty for soft-clipping?


    Thanks for your help!
    Last edited by svos; 03-17-2015, 04:09 AM.

  • #2
    I'm not sure about bwa, but I do soft-clipping by trimming the ends to the point that the global score is maximized - therefore, the higher the mismatch penalty, the more soft-clipping will be done. Assuming that bwa operates in the same way, the amount of soft-clipping will be strictly dictated by the ratio of the match to mismatch (or gap, etc) scores. So to increase the amount of soft-clipping, just increase the mismatch penalty.

    Comment


    • #3
      At least for BWA mem algorithm this is not true. By default, it has a mismatch penalty of 4 and a clipping penalty of 5, so it rather introduces mismatches at the end of the reads instead of soft-slipping them.
      In BWA mem, these penalties can be set by the user, but no such parameter exists for BWA aln...

      Comment


      • #4
        In that case, why not use bwa-mem? It's supposed to be better for reads over 70bp, anyway. Do you find that aln gives better results?

        Comment


        • #5
          Yes, I see mapping artifacts that I can not explain when I use BWA mem! BWA mem is set out to be used with reads having a length >= 100bp, but I'd still rather use BWA aln, as I get more reliable results (with both, 75bp and 100bp reads).

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Recent Advances in Sequencing Analysis Tools
            by seqadmin


            The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
            05-06-2024, 07:48 AM
          • seqadmin
            Essential Discoveries and Tools in Epitranscriptomics
            by seqadmin




            The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
            04-22-2024, 07:01 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 05-14-2024, 07:03 AM
          0 responses
          15 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-10-2024, 06:35 AM
          0 responses
          37 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-09-2024, 02:46 PM
          0 responses
          45 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-07-2024, 06:57 AM
          0 responses
          39 views
          0 likes
          Last Post seqadmin  
          Working...
          X