Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • qtrinh
    Member
    • May 2008
    • 20

    #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

    • raonyguimaraes
      Member
      • Jun 2010
      • 38

      #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

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #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

        • ninad
          Member
          • Aug 2011
          • 16

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

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #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

            • ninad
              Member
              • Aug 2011
              • 16

              #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

              • ninad
                Member
                • Aug 2011
                • 16

                #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

                • GenoMax
                  Senior Member
                  • Feb 2008
                  • 7142

                  #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

                  • ninad
                    Member
                    • Aug 2011
                    • 16

                    #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

                    • GenoMax
                      Senior Member
                      • Feb 2008
                      • 7142

                      #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

                      • ninad
                        Member
                        • Aug 2011
                        • 16

                        #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

                        • ninad
                          Member
                          • Aug 2011
                          • 16

                          #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

                          • 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
                          19 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...