Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • says_anova
    Member
    • May 2011
    • 10

    #1

    trouble with bwakit - where are the options?

    Hi all,

    I'm wondering if anyone has some experience with bwakit v0.7.12 and can chime in.

    The command run-bwamem within bwakit seems to have many fewer options than previous stand alone versions of bwa. Most notably, I would like to pass the option -M to bwamem, which marks shorter split hits as secondary. However, when I execute run-bwamem with this option, it throws an error:

    Code:
    /r/bwa-kit/run-bwamem -o test -t8 -MHR"@RG\tID:run1\tSM:${sample}\tLB:LaneX\tPL:Illumina\tPU:none" /r/bwa-kit/hs38DH.fa LP6005206-DNA_A06.1.fastq LP6005206-DNA_A06.2.fastq | sh
    Stout: Unknown option: M

    Is it the case that this option simply doesn't exist for the version of BWA mem that bwakit calls?

  • N311V
    Member
    • Jul 2013
    • 34

    #2
    I've used bwa mem but not via that kit.

    Does running /r/bwa-kit/run-bwamem give you the available options?

    Comment

    • says_anova
      Member
      • May 2011
      • 10

      #3
      Yes, it does list some options, but they are far more limited than what one sees running bwa mem. I suppose that's a big clue, but I assumed those options existed on top of what you can already pass to bwa mem. Seems like that's not the case, though. A big minus for bwa-kit.

      Can anyone else confirm or deny?

      Thanks all!

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        If you look at the run-bwamem script you can see the options it accepts (which is a sub-set of bwa mem): https://github.com/lh3/bwa/blob/mast...kit/run-bwamem

        Looks like Heng Li developed this as an end-to-end solution for HLA typing analysis (https://github.com/lh3/bwa/blob/master/bwakit/README.md).
        Last edited by GenoMax; 11-13-2015, 10:19 AM. Reason: Corrected URL

        Comment

        • blancha
          Senior Member
          • May 2013
          • 367

          #5
          @Genomax is correct.
          bwakit is nothing more than a collection of Perl scripts written to process data with bwa in the context of a specific project.
          It seems simpler and more direct to use bwa mem directly, without using the bwakit scripts, especially if your project is different from theirs.
          Nevertheless, the Perl scripts can easily be modified, if you want to continue working with bwakit for your own project.

          I've forked the bwakit GitHub repository, and added the -M option.
          GitHub is where people build software. More than 225 million people use GitHub to discover, fork, and contribute to over 800 million projects.


          The usual caveat applies that my modifications may always introduce a new bug, but that any bug detected can easily be fixed.

          Comment

          • says_anova
            Member
            • May 2011
            • 10

            #6
            Thanks blancha, Genomax, for the clarification. Sounds like the simplest thing for us would be to use the stand alone BWA software for the time being.

            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-22-2026, 11:13 AM
            0 responses
            43 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-22-2026, 10:48 AM
            0 responses
            33 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-15-2026, 10:52 AM
            0 responses
            44 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            45 views
            0 reactions
            Last Post SEQadmin2  
            Working...