Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ron128
    Member
    • Sep 2011
    • 38

    BWA Mismatch

    Arggggggggggh! l ast chance for someone to save my life, because unless i get a definitive answer, i am going to blast my brains off on this one! How do you set a mismatch option for paired end alignment in BWA.? I was looking up the forum and was driven nuts by all the options and various parameters. I never ended up with a one mismatch alignment in the end. Can someone give me the definitive parameters for one mismatch in BWA? prettty pleaaaase? i promise lots of cookies to be couriered to anyone who helps me out on this
  • xied75
    Senior Member
    • Feb 2012
    • 129

    #2
    -n 1
    (waiting for the cookies)

    Comment

    • ron128
      Member
      • Sep 2011
      • 38

      #3
      Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc


      I went through this thread and tried what davetang suggested, using simulated reads. Turns out he is right. Its not just the n option which defines the mismatch

      Comment

      • xied75
        Senior Member
        • Feb 2012
        • 129

        #4
        That thread is 2010, with a much older version of BWA. What's wrong with -n 1, show some example?

        Comment

        • ron128
          Member
          • Sep 2011
          • 38

          #5
          Oh k been a while since my last post. sorry i could not reply earlier as i dont have access to a decent computer mainframe. I need to book my slot to run my computations. SO anyways i tried doing what was suggested, with n-1 and l-10000 effectively to disable seeding, and I am still scratching my head here.

          Can anyone let me know how if there is a best hit criteria? Apparently I was lead to believe that the default option in BWA i.e. where we do not specify any parameters while using the aln option in sampe, is a "best hit" option which generates the "best" alignment, i.e. an alignment from all different alignments which has optimal read alignment. Looks like I need to study alignment in depth to better solidify my knowledge.

          I had generated an alignment using these default options and i found that a certain no of reads i.e. X reads were aligning. Now when i use the n-1 option which is alowing one mismatch, in theory i should have gotten Y no reads aligning, where Y>X but alas I am getting the exact oppposite.

          Thanks for all the help till now. ANd yes i think you deserve your cookies.

          Comment

          Latest Articles

          Collapse

          • seqadmin
            New Genomics Tools and Methods Shared at AGBT 2025
            by seqadmin


            This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

            The Headliner
            The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
            03-03-2025, 01:39 PM
          • seqadmin
            Investigating the Gut Microbiome Through Diet and Spatial Biology
            by seqadmin




            The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
            02-24-2025, 06:31 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Today, 05:03 AM
          0 responses
          15 views
          0 reactions
          Last Post seqadmin  
          Started by seqadmin, Yesterday, 07:27 AM
          0 responses
          12 views
          0 reactions
          Last Post seqadmin  
          Started by seqadmin, 03-18-2025, 12:50 PM
          0 responses
          15 views
          0 reactions
          Last Post seqadmin  
          Started by seqadmin, 03-03-2025, 01:15 PM
          0 responses
          185 views
          0 reactions
          Last Post seqadmin  
          Working...