Unconfigured Ad

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

    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

                        • mylaser
                          Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                          by mylaser
                          Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                          If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                          This guide explains everything you need to know about...
                          Today, 01:13 AM
                        • 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

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by SEQadmin2, 07-09-2026, 10:04 AM
                        0 responses
                        11 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 07-08-2026, 10:08 AM
                        0 responses
                        9 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 07-07-2026, 11:05 AM
                        0 responses
                        17 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 07-02-2026, 11:08 AM
                        0 responses
                        31 views
                        0 reactions
                        Last Post SEQadmin2  
                        Working...