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

            • kinpict.com
              Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
              by kinpict.com
              The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
              Today, 06:37 PM
            • 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,...
              10-30-2026, 06:46 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 11-12-2026, 07:59 AM
            0 responses
            28 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 11-05-2026, 09:25 AM
            0 responses
            35 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 11-03-2026, 11:54 AM
            2 responses
            56 views
            0 reactions
            Last Post kinpict.com  
            Started by SEQadmin2, 10-28-2026, 09:57 AM
            0 responses
            175 views
            0 reactions
            Last Post SEQadmin2  
            Working...