Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • angelpie
    Junior Member
    • Nov 2010
    • 8

    #1

    bwa_indexing_error

    I try to map illumina results to genome by bwa.
    However, I have stalled at the entrance.

    I prepared concatenated human genome sequence derived from UCSC.
    It was removed random, Un, hap files in advance.

    Although I entered following command, I encountered error message.

    $ bwa index -a bwtsw hg19.fa
    $ [bwa_index] fail to open 'hg19.fa'. Abort!

    When I used only chromosome 1 instead of whole chromosomes, program was not stopped.
    I guess bwa on my PC is functional and I felt point is file size.
    Nevertheless, size of hg19.fa is 2.9 GB.
    In addition, everyone reported on the net can use hg19.fa.

    Could you please help me?
  • dawe
    Senior Member
    • Apr 2009
    • 258

    #2
    is hg19.fa actually there?

    Comment

    • angelpie
      Junior Member
      • Nov 2010
      • 8

      #3
      Yes.

      I can actually glance it by "more" command.

      Comment

      • dawe
        Senior Member
        • Apr 2009
        • 258

        #4
        Originally posted by angelpie View Post
        Yes.

        I can actually glance it by "more" command.
        Mmm... I'm looking at bwa code. You get that error when gzopen is called on your hg19.fa. gzopen returns 0 (actually NULL) if the file could not be opened, if there was insufficient memory to allocate the gzFile state...

        Program: bwa (alignment via Burrows-Wheeler transformation)
        Version: 0.5.8-4 (r1544)

        d

        Comment

        • angelpie
          Junior Member
          • Nov 2010
          • 8

          #5
          I use the bwa-0.5.8c on Ubuntu 10.10.

          You mentioned gzopen.
          That means bwa_index uses gziped files, is that right?

          In fact, I try to use gziped file once.
          In that case, bwa_index didn't stall.

          However, I usually try to use extracted files.
          Because every samples I found on the net didn't use compressed files.

          Comment

          • dawe
            Senior Member
            • Apr 2009
            • 258

            #6
            Originally posted by angelpie View Post
            I use the bwa-0.5.8c on Ubuntu 10.10.

            You mentioned gzopen.
            That means bwa_index uses gziped files, is that right?
            Not necessarily. The reader is smart enough to read uncompressed stream. I usually index uncompressed fasta files. Now I know I can use gzipped genomes, though, thank you :-)
            Sorry for your genome, I don't know what to say or to test.

            Comment

            • drio
              Senior Member
              • Oct 2008
              • 323

              #7
              @angelpie Can you list all the files in the directory where you have your fasta file?
              -drd

              Comment

              • angelpie
                Junior Member
                • Nov 2010
                • 8

                #8
                Originally posted by drio View Post
                @angelpie Can you list all the files in the directory where you have your fasta file?
                My genome sequence file, hg19.fa, was prepared depending on
                http://chagall.med.cornell.edu/NGSco...eparations.pdf.

                I try to do it in some directories.
                In one case,
                there are chr1.fa - chr22.fa, chrX.fa, chrY.fa, chrM.fa, chromFa.tar,
                and hg19.fa.

                Comment

                • Firebird
                  Member
                  • Jun 2010
                  • 18

                  #9
                  I have the same problem.
                  Is there a link to get the full hg19 directly, withouth assembling it from all chromosomes?
                  I also use Ubuntu on a 32 bit machine.

                  Comment

                  • colindaven
                    Senior Member
                    • Oct 2008
                    • 417

                    #10
                    I successfully indexed hg19, built from the concatenated separate chromosomes, using an Ubuntu 8.04 system with 8GB of RAM. I think 32 bit machines are going to be fairly limited here when indexing / aligning to hg19 because the maximum amount of RAM which can be used per process is around 2.5GB.

                    Suggestion - try a 64 bit machine.

                    Comment

                    • angelpie
                      Junior Member
                      • Nov 2010
                      • 8

                      #11
                      Dear colindaven,

                      I thank you for your suggestion.
                      However, I use Ubuntu 10.10 on PC with Xeon W3503 and 12 GB memories.

                      I also suspect that my trouble is derived from my PC specific environment.
                      Unfortunately, I cannot try to work on alternate PC.

                      Comment

                      • colindaven
                        Senior Member
                        • Oct 2008
                        • 417

                        #12
                        In that case you could try a virtual machine image, or another aligner.

                        Although I can sometimes get results from bwa, it does tend to exhaust the memory and thereby make the server unusable.

                        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, 11:13 AM
                        0 responses
                        17 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, Yesterday, 10:48 AM
                        0 responses
                        18 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 10-15-2026, 10:52 AM
                        0 responses
                        36 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 10-14-2026, 05:39 AM
                        0 responses
                        42 views
                        0 reactions
                        Last Post SEQadmin2  
                        Working...