Unconfigured Ad

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

    #1

    No soft-clipping in BWA 0.7.10 anymore?

    Hi all!

    After moving from bwa version 0.5.8c to 0.7.10 I discovered differences that look like errors in the newer version: it seems as BWA doesn't perform soft-clipping anymore, resulting in false positive variant calls:



    Is that true? I could find parameters to disable soft-clipping, but no parameter to explicitly turn on soft-clipping.

    Both version were used with default parameters (both, "bwa aln" and "bwa sampe").


    Any help would be appreciated!

    Thank you in advance,


    Sebastian
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    Please don't cross-post on here, biostars and the BWA mailing list.

    Comment

    • maubp
      Peter (Biopython etc)
      • Jul 2009
      • 1544

      #3
      Given you have already cross posted, please at take the time to add the URLs here (and there) for cross referencing. People here don't like to waste their volunteered time repeating an answer you've already heard on another forum/platform.

      BioStars duplicate: https://www.biostars.org/p/129443/

      Mailing list duplicate: http://sourceforge.net/p/bio-bwa/mai...sage/33329232/ where Heng Li replied that it was a bug fixed in 0.7.12
      Last edited by maubp; 02-04-2015, 08:40 AM. Reason: Adding links

      Comment

      • Zaag
        Senior Member
        • Nov 2009
        • 112

        #4
        use bwa-mem

        Comment

        • svos
          Member
          • Feb 2014
          • 16

          #5
          First, sorry for cross-posting!

          Second, I use reference genome GRCh37, so this bug should not make any difference for me. I think this is another problem.

          Third, bwa mem didn't work at all for our data (2x100bp), it resulted in obviously wrong mapping of reads so I returned to bwa aln and bwa sampe....


          To be more clear: I do have soft-clipped alignments im my SAM file, but I would expect the reads in the screenshot to be soft-clipped, too. Or am I wrong??

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            Check your preferences for "alignments" in IGV (if the screenshot is from IGV): http://www.broadinstitute.org/igv/Pr...ces#Alignments

            You have likely selected "show" soft-clipped bases.
            Last edited by GenoMax; 02-04-2015, 09:20 AM.

            Comment

            • svos
              Member
              • Feb 2014
              • 16

              #7
              No, soft-clipped alignments are not shown in IGV. Additionally, here is an entry of the SAM file:


              HISEQ:136:C5L2YANXX:3:1104:20703:26673 81 chr7 100682889 25 100M = 100682893 -96 GGGAACCTACAACTGCTGAAGGTACCAGCATGCGAATCTCAACTCCTAGTGATGGAAGTACTCCATTAACAAGTATACTTGTCAGCACCCTGCCAGTGGC FC0F>GGGGGGEF@BFGGGGGGGGGGGGGDGGFFGFCGEFF>E: DGGGGGFCGGEGGEF<F=GGFGGGGGGGFGGGGGGGGGGGGGGGGFCEGGFBBBBB X0:i:1 X1:i:0 MD:Z:0C0T0T0C0T95 XG:i:0 AM:i:25 NM:i:5 SM:i:25 XM:i:5 XO:i:0 XT:A:U


              The CIGAR string tells me that there was no soft-clipping, although 100M isn't correct either (?). Is it possible that its due to the insert size (-96)? At least this is were the mismatched bases are coming from, as the DNA fragment was shorter than the read length is (2x101bp)...

              Comment

              • dpryan
                Devon Ryan
                • Jul 2011
                • 3478

                #8
                The sequence is 100 bases long, so 100M is correct, though I'm not sure how a tlen of 96 would be possible given that. This does seem a bit like a bug. If you can whittle this down to be just a hand full of reads and that's sufficient to reproduce things, then consider filing a bug report on github.

                Comment

                • Zaag
                  Senior Member
                  • Nov 2009
                  • 112

                  #9
                  Originally posted by svos View Post
                  To be more clear: I do have soft-clipped alignments im my SAM file, but I would expect the reads in the screenshot to be soft-clipped, too. Or am I wrong??
                  I guess 4 mismatches at the end of the read is less penalty than clipping of the 4. What are the qualities of the 4 bases?

                  Comment

                  • Zaag
                    Senior Member
                    • Nov 2009
                    • 112

                    #10
                    Originally posted by svos View Post
                    The CIGAR string tells me that there was no soft-clipping, although 100M isn't correct either (?). Is it possible that its due to the insert size (-96)? At least this is were the mismatched bases are coming from, as the DNA fragment was shorter than the read length is (2x101bp)...
                    M stands for match or mismatch in the CIGAR

                    Comment

                    • svos
                      Member
                      • Feb 2014
                      • 16

                      #11
                      Originally posted by Zaag View Post
                      M stands for match or mismatch in the CIGAR

                      Yes, you are right! M means alignment match, not sequence match... Quality values are good (>30).


                      Just to understand soft-clipping correctly: Every base at (both) ends of a read that does not match to the reference sequence anymore should be soft-clipped, right??

                      Comment

                      • Zaag
                        Senior Member
                        • Nov 2009
                        • 112

                        #12
                        Not every base.

                        BWA gives every possible aligmments a score and I can imagine that having 4 high quality mismatches at the end of the read yields a higher score then clipping of the 4 bases;

                        if the quality is below 10 (or there are a lot of bases) it would really surpirse me if they don't get clipped.

                        Comment

                        • svos
                          Member
                          • Feb 2014
                          • 16

                          #13
                          Thank you Zaag for explaining this. I will pay attention to these bases and filter them out by manual alignment inspection!

                          As some default parameter values changed during the versions, this might be due to that...

                          Comment

                          Latest Articles

                          Collapse

                          • SEQadmin2
                            Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                            by SEQadmin2



                            CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                            Despite this, “CRISPR helped turn genome editing from a specialized technique into
                            ...
                            Yesterday, 11:01 AM
                          • SEQadmin2
                            Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                            by SEQadmin2


                            Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                            The systematic characterization of the human proteome has
                            ...
                            07-20-2026, 11:48 AM
                          • SEQadmin2
                            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                            by SEQadmin2



                            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                            ...
                            07-09-2026, 11:10 AM

                          ad_right_rmr

                          Collapse

                          News

                          Collapse

                          Topics Statistics Last Post
                          Started by SEQadmin2, Yesterday, 02:55 AM
                          0 responses
                          10 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 07-24-2026, 12:17 PM
                          0 responses
                          12 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 07-23-2026, 11:41 AM
                          0 responses
                          13 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 07-20-2026, 11:10 AM
                          0 responses
                          24 views
                          0 reactions
                          Last Post SEQadmin2  
                          Working...