Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    ninad,
    I think the issue started with your cat step. Try putting your hg19s.fa in another directory.

    ~/chromFa$ mkdir hg19
    ~/chromFa$ cat *.fa >hg19/hg19s.fa
    ~/chromFa$ bwa index -a bwtsw hg19/hg19s.fa

    Q

    Comment


    • #17
      and please check the size of your hg19s.fa, also take a look at the beginning and the end of the file, just to make sure it's correct

      Comment


      • #18
        Ninad: What linux variant are you using? Is this a 32-bit or 64-bit install? Can you also say something about the configuration of the hardware this is installed on?

        Comment


        • #19
          Well I tried with cat remake in another directory, but the problem persists.
          I am using Ubuntu 10.10 i686. 4GB RAM.

          Comment


          • #20
            Ninad,

            You are most likely running into the problem of not having enough memory available. See indexing memory requirement info here: http://bio-bwa.sourceforge.net/bwa.shtml#8.

            (check if you have the following files in your index directory, sizes listed for reference, actual sizes on your OS may be slightly different).

            739M hg19.fa.pac
            944 hg19.fa.ann
            6.6K hg19.fa.amb
            739M hg19.fa.rpac
            1.1G hg19.fa.bwt
            1.1G hg19.fa.rbwt
            370M hg19.fa.sa
            370M hg19.fa.rsa

            You may need to find other hardware to do this.

            Originally posted by ninad View Post
            Well I tried with cat remake in another directory, but the problem persists.
            I am using Ubuntu 10.10 i686. 4GB RAM.

            Comment


            • #21
              GenoMax,

              I believe the memory problem should not be there as memory requirement is 2.5GB whereas I have specified my config as above.

              At the same time, I also need to ask, since this problem is persisting, Is it alright to split the
              genome file into two and run bwtsw algorithm?

              I am not sure that I will be able find a better hardware, so this option of splitting if
              works fine, looks good.

              Also please let me know if we can run bwa on windows machine and how?

              and thank you everyone for patiently answering to all the threads..

              Comment


              • #22
                The memory and swap sizes can play a role in this I believe.

                ninad@ninad-Studio-1555:~$ free -m
                total used free shared buffers cached
                Mem: 2862 1932 930 0 702 859
                -/+ buffers/cache: 371 2491
                Swap: 2395 0 2395
                Also bwa needs 2.5 GB of memory. Suggest some changes if I need to make in my swap and memory.
                Last edited by ninad; 08-22-2011, 11:49 PM.

                Comment


                • #23
                  Ninad,

                  You could try to increase your swap partition and see if that helps: https://help.ubuntu.com/community/SwapFaq

                  Amount of "free memory" would depend on what you have running on your system at any given time. I think you had said that you are new to linux so I would advise you to exercise caution. You can cause irreparable damage to your system messing with partition tables.

                  You could split the genome files into two and run the alignments. You can then combine the bam files later.

                  Comment


                  • #24
                    GenoMax,

                    This seems really great. Atleast heading towards the solution I feel.
                    I certainly will cautiously increase swap. Thanks a ton for this.

                    Also, will simple cat *.bam work to combine bam files?

                    Comment


                    • #25
                      You will want to do:

                      Code:
                      samtools merge out.bam in1.bam in2.bam in3.bam
                      Check the manual page for samtools for more info: http://samtools.sourceforge.net/samtools.shtml

                      Originally posted by ninad View Post
                      GenoMax,

                      Also, will simple cat *.bam work to combine bam files?

                      Comment


                      • #26
                        Heyy...

                        It was the problem of Memory.. the large file size was not been handled by my system.
                        I ran it on the higher config system and works fine.
                        Initially 4 GB ram didn't look like a problem though.

                        thanks all..

                        Comment


                        • #27
                          Heyy...

                          It was the problem of Memory.. the large file size was not been handled by my system.
                          I ran it on the higher config system and works fine.
                          Initially 4 GB ram didn't look like a problem though.

                          thanks all..

                          Comment

                          Latest Articles

                          Collapse

                          • seqadmin
                            Recent Developments in Metagenomics
                            by seqadmin





                            Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
                            09-23-2024, 06:35 AM
                          • seqadmin
                            Understanding Genetic Influence on Infectious Disease
                            by seqadmin




                            During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

                            Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
                            09-09-2024, 10:59 AM

                          ad_right_rmr

                          Collapse

                          News

                          Collapse

                          Topics Statistics Last Post
                          Started by seqadmin, 10-02-2024, 04:51 AM
                          0 responses
                          8 views
                          0 likes
                          Last Post seqadmin  
                          Started by seqadmin, 10-01-2024, 07:10 AM
                          0 responses
                          13 views
                          0 likes
                          Last Post seqadmin  
                          Started by seqadmin, 09-30-2024, 08:33 AM
                          0 responses
                          18 views
                          0 likes
                          Last Post seqadmin  
                          Started by seqadmin, 09-26-2024, 12:57 PM
                          0 responses
                          16 views
                          0 likes
                          Last Post seqadmin  
                          Working...
                          X