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

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 10:52 AM
      0 responses
      10 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      19 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-13-2026, 09:56 AM
      0 responses
      17 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-09-2026, 11:14 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Working...