Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • svos
    Member
    • Feb 2014
    • 16

    #1

    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.
  • Brian Bushnell
    Super Moderator
    • Jan 2014
    • 2709

    #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

    • svos
      Member
      • Feb 2014
      • 16

      #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

      • Brian Bushnell
        Super Moderator
        • Jan 2014
        • 2709

        #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

        • svos
          Member
          • Feb 2014
          • 16

          #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

          • 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
          68 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          48 views
          0 reactions
          Last Post SEQadmin2  
          Working...