Unconfigured Ad

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

    #1

    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

      • kinpict.com
        Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by kinpict.com
        The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
        Yesterday, 06:37 PM
      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2





        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
        10-30-2026, 06:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 11-12-2026, 07:59 AM
      0 responses
      29 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      36 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-03-2026, 11:54 AM
      2 responses
      60 views
      0 reactions
      Last Post kinpict.com  
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      176 views
      0 reactions
      Last Post SEQadmin2  
      Working...