Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dsher
    Member
    • Feb 2013
    • 23

    #1

    BWA with no mismatches - n=0?

    Hello,
    We have a sample containing several bacterial species and we want to uniquely map RNA-seq reads to the genomes of each of our organisms to get the expression patterns of each organism separately. We tried to use BWA (implemented in "Galaxy", poor GUI-users that we are) with the “edit distance” (aln -n in the command line version) set to 0 but none of the reads were mapped (all had the SAM tag set to “4’). This is an artifact since running BLAST with some of the sequences showed that they have 100% identity to one of our genomes and not any others, so they should map uniquely.

    Does the "aln -n" option really determine the number of mismatches? Any ideas why BWA will not run well using –n=0?
    Thanks
    Daniel
  • xied75
    Senior Member
    • Feb 2012
    • 129

    #2
    -n 0 should work at least I tried that before. How long is your reads? When you don't do -n 0, did you get any good alignment, what percentage?

    Best,

    Dong

    Comment

    • dsher
      Member
      • Feb 2013
      • 23

      #3
      Hi Dong,
      Thanks for your reply. Our reads are 40bp long after QC. When we allow n=1 we get many millions of mapped reads(~90% of the reads map well), and increasing n from 1-5 increases the number of mapped reads but not by very much, so everything is looking OK - apart from when we use n=0.
      Are there any other parameters we should be changing together with n?
      Daniel

      Comment

      • xied75
        Senior Member
        • Feb 2012
        • 129

        #4
        How about you try to run BWA directly? See what happens.

        Comment

        • dsher
          Member
          • Feb 2013
          • 23

          #5
          We might try running it directly but part of the idea is to implement BWA as part of a workflow in Galaxy (we are poor "wet" biologists trying to survive in a world of millions of reads...).

          Comment

          • xied75
            Senior Member
            • Feb 2012
            • 129

            #6
            No no I wasn't suggesting you always do this, this is only to troubleshooting where the problem might be, by running directly with BWA you can figure out if this is something to do with BWA or it's GALAXY.

            Comment

            • dsher
              Member
              • Feb 2013
              • 23

              #7
              Hi Dong - we don't have BWA installed anywhere as a stand-alone yet. Do you have a standalone BWA installed? If so, if I send you a small file with some sequences and the appropriate genome, is there any chance you can try mapping them with n=0 and send me the results?
              Daniel

              Comment

              • xied75
                Senior Member
                • Feb 2012
                • 129

                #8
                Ok. You can leave your file over dropbox.

                Comment

                • dsher
                  Member
                  • Feb 2013
                  • 23

                  #9
                  Thanks! What email should I send the dropbox invitation to?

                  Comment

                  • xied75
                    Senior Member
                    • Feb 2012
                    • 129

                    #10
                    You can send private msg or email via seqanswers in fact.

                    Comment

                    • dsher
                      Member
                      • Feb 2013
                      • 23

                      #11
                      Thanks Dong - I just sent a private email with the data (we will follow up with the results on this thread). Daniel

                      Comment

                      • jenhjackson
                        Junior Member
                        • Aug 2010
                        • 2

                        #12
                        Feedback from Galaxy team

                        Hi Daniel -

                        As we posted back on the galaxy-user list, the exact problem you were having was a combination of an issue with the BWA binary itself and the design of the Galaxy BWA wrappper.

                        The original reply and current work-around is available here:


                        We will be addressing this as a priority. Anyone interested in tracking the progress can follow our Trello development ticket here:
                        Organize anything, together. Trello is a collaboration tool that organizes your projects into boards. In one glance, know what's being worked on, who's working on what, and where something is in a process.


                        You uncovered what we believe is a novel issue. Perhaps not commonly run into during command-line usage, but still unexpected. Thanks again for reporting the problem so clearly,

                        Jen
                        Galaxy team
                        Jennifer Hillman Jackson
                        http://usegalaxy.org

                        Comment

                        Latest Articles

                        Collapse

                        • 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
                        • SEQadmin2
                          New Genomics Technologies Take Aim at Long-Standing Limits
                          by SEQadmin2


                          Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                          We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                          ...
                          09-28-2026, 10:25 AM

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by SEQadmin2, 10-15-2026, 10:52 AM
                        0 responses
                        14 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 10-14-2026, 05:39 AM
                        0 responses
                        21 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 10-13-2026, 09:56 AM
                        0 responses
                        20 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 10-09-2026, 11:14 AM
                        0 responses
                        27 views
                        0 reactions
                        Last Post SEQadmin2  
                        Working...