Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • drio
    Senior Member
    • Oct 2008
    • 323

    testing bwa with 454 hsap data: infinite loop on sam generation?

    I am running bwa (0.5.0 (r1200)) on a linux box:

    2.6.18-128.4.1.el5 (64)
    gcc version 4.1.2
    glib 2.5

    I run it like this:

    ref="./indexes/hsap.fasta"
    reads="./fastqs/small.fastq"
    align_out="align.sai"

    bwa index -a bwtsw $ref
    bwa dbwtsw -t 8 $ref $reads > $align_out
    bwa samse $ref $align_out $reads > $sam_out

    The first problem comes after generating the reference. Bwa is trying
    to find:

    hsap.fasta.nt.amb
    hsap.fasta.nt.ann
    hsap.fasta.nt.pac

    But the index command generated:

    hsap.fasta.amb
    hsap.fasta.ann
    hsap.fasta.pac

    THat is easy to fix, but I would like to know why is doing that.

    The other issue is more problematic. When trying to generate
    the sam, bwa seems to stay in a loop and it doesn't generate anything.
    When monitoring the process, it seems it is reading from a filedescriptor:

    0.000000 [ 3bef0c5610] read(5, "", 4096) = 0
    0.000106 [ 3bef0c5610] read(5, "", 2467500032) = 0
    1.751992 [ 3bef0c5610] read(5, "", 4096) = 0
    0.000095 [ 3bef0c5610] read(5, "", 2467500032) = 0
    1.753771 [ 3bef0c5610] read(5, "", 4096) = 0
    0.000094 [ 3bef0c5610] read(5, "", 2467500032) = 0
    1.756972 [ 3bef0c5610] read(5, "", 4096) = 0
    0.000092 [ 3bef0c5610] read(5, "", 2467500032) = 0

    What do you think is happening?
    -drd
  • lh3
    Senior Member
    • Feb 2008
    • 686

    #2
    Firstly you should use bwa-0.5.4 and secondly, dbwtsw output sam. You do not need to run samse.

    Comment

    • drio
      Senior Member
      • Oct 2008
      • 323

      #3
      The reason why I used 0.5.0 is because I went to the sourceforge download page via the maq site. If coming through there that's the latest version you get from source
      forge.

      Can you change your link in the maq site to point to http://bio-bwa.sourceforge.net/ ?

      Thanks for the reply.
      -drd

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
        by SEQadmin2



        Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
        ...
        07-09-2026, 11:10 AM
      • SEQadmin2
        Cancer Drug Resistance: The Lingering Barrier to Rising Survival
        by SEQadmin2



        Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

        There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
        07-08-2026, 05:17 AM
      • GATTACAT
        Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by GATTACAT
        Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
        07-01-2026, 11:43 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 07-13-2026, 10:26 AM
      0 responses
      24 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-09-2026, 10:04 AM
      0 responses
      34 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-08-2026, 10:08 AM
      0 responses
      21 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-07-2026, 11:05 AM
      0 responses
      34 views
      0 reactions
      Last Post SEQadmin2  
      Working...