Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • BFast+BWA Only using one Core

    I am using BFAST+BWA for SOLiD alignment. When I run the following command:

    PHP Code:
    bfast bwaaln -t 16 --f results/solid0131_20100330_2_bc_WTA_Tumor_Lib2_F3.bmf ref/hg19.fa reads/solid0131_20100330_2_bc_WTA_Tumor_Lib2_F3.fastq 

    I am only getting one CPU running on my Dual Quad Core Server (which appears as 16 CPU cores). I have run the simple bwa and am getting multiple core usage - so I am pretty sure its not my server and Ubuntu installation.

    Does anyone have any suggestions on how to debug?

  • #2
    The multithreaded mode does not quick in immediately. It only happens when bwa is computing the alignments.

    Run your bwa instance in one console. In the other one, dump the vmstat command output to a file.

    Once the execution is completed... look at the first columns of the vmstat output across time.. you should see 16 at some point.

    BTW, you said it is a dual quad core, that should be a 8 core machine (perhaps is hyperthreaded?)
    -drd

    Comment


    • #3
      Is running bwa_aln_core...

      drio, Thanks for the reply. Yes its hyperthreading. So, with my machine I can run 16 threads.

      The algorithm is in [bwa_aln_core] and still not spawing more than one thread. I was just checking to see if anyone had similar issues with bfast Version: 0.6.4e while running bwaaln.

      Do you have any other suggestions?

      Michael

      Comment


      • #4
        Solved BFAST bwaaln only running One core

        I figured it out.

        The autogen config.h file contains a define called HAVE_LIBPTHREAD that is required by bwaaln.c in order for threading to be compiled in.

        The solution I found was to add the following code to the bfast/BLibDefinitions.h file.

        #include "../config.h"

        bwaaln.c picks up the HAVE_LIBPTHREAD and everything works like a champ.

        Michael

        Comment


        • #5
          Originally posted by michaelkre View Post
          I figured it out.

          The autogen config.h file contains a define called HAVE_LIBPTHREAD that is required by bwaaln.c in order for threading to be compiled in.

          The solution I found was to add the following code to the bfast/BLibDefinitions.h file.

          #include "../config.h"

          bwaaln.c picks up the HAVE_LIBPTHREAD and everything works like a champ.

          Michael
          Patch applied. Thank-you kindly for figuring it out. I good place to send help is [email protected] (for help) or [email protected] (for developer questions).

          Comment


          • #6
            I am trying to run bfast bwaaln -A 1 "ref.fa" "reads.fastq"
            but I am getting an error invalid option -A
            then How can mention for color reads bcoz my index file with color reads is not recognized without -A option.

            Please help me out

            Comment

            Latest Articles

            Collapse

            • 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
            • seqadmin
              Techniques and Challenges in Conservation Genomics
              by seqadmin



              The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

              Avian Conservation
              Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
              03-08-2024, 10:41 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 06:37 PM
            0 responses
            8 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, Yesterday, 06:07 PM
            0 responses
            8 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-22-2024, 10:03 AM
            0 responses
            49 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-21-2024, 07:32 AM
            0 responses
            66 views
            0 likes
            Last Post seqadmin  
            Working...
            X