Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?


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

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

    Comment


    • #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


      • #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


        • #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 100 million people use GitHub to discover, fork, and contribute to over 420 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


          • #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

            • seqadmin
              Current Approaches to Protein Sequencing
              by seqadmin


              Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
              04-04-2024, 04:25 PM
            • seqadmin
              Strategies for Sequencing Challenging Samples
              by seqadmin


              Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
              03-22-2024, 06:39 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            31 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            32 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 09:21 AM
            0 responses
            28 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-04-2024, 09:00 AM
            0 responses
            53 views
            0 likes
            Last Post seqadmin  
            Working...
            X