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
              Essential Discoveries and Tools in Epitranscriptomics
              by seqadmin


              The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist on Modified Bases...
              Yesterday, 07:01 AM
            • 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            51 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            50 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 09:21 AM
            0 responses
            44 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-04-2024, 09:00 AM
            0 responses
            55 views
            0 likes
            Last Post seqadmin  
            Working...
            X