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
              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
            30 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