Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • carolW
    Senior Member
    • Apr 2013
    • 103

    #61
    4G, right away. Does samse use the same memory as aln?

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #62
      Originally posted by carolW View Post
      4G, right away. Does samse use the same memory as aln?
      If you only have 4GB of RAM then you are probably running out of memory. BWA will need between ~3-5GB of RAM for human data as indicated here.

      You may need to find a computer/server with more available RAM or upgrade the RAM in your own.

      Comment

      • carolW
        Senior Member
        • Apr 2013
        • 103

        #63
        The problem is that bwa doesn't even start. Should it not start and then, crash if it is due to lack of memory? I don't see it in the list of process when I run top.

        Another question is that I didn't finally need to run bwa mem as in one of the answers was suggested?

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #64
          Originally posted by carolW View Post
          The problem is that bwa doesn't even start. Should it not start and then, crash if it is due to lack of memory? I don't see it in the list of process when I run top.
          Are you using 32-bit or 64-bit OS? Did you compile bwa on this machine yourself?

          BWA-MEM is a new alignment algorithm (for long reads). See pre-print here: http://arxiv.org/abs/1303.3997

          Comment

          • carolW
            Senior Member
            • Apr 2013
            • 103

            #65
            Originally posted by GenoMax View Post
            Are you using 32-bit or 64-bit OS? Did you compile bwa on this machine yourself?

            BWA-MEM is a new alignment algorithm (for long reads). See pre-print here: http://arxiv.org/abs/1303.3997
            64-bit and I compiled bwa on this machine.

            Mastal thought that the segmentation fault comes from the number of bp and suggested me to use bwa mem because there are more than 100bp in the seqence based on the output that was generated from bwa aln (see below). Do you agree with this argument?

            [bwa_aln] 17bp reads: max_diff = 2
            [bwa_aln] 38bp reads: max_diff = 3
            [bwa_aln] 64bp reads: max_diff = 4
            [bwa_aln] 93bp reads: max_diff = 5
            [bwa_aln] 124bp reads: max_diff = 6
            [bwa_aln] 157bp reads: max_diff = 7
            [bwa_aln] 190bp reads: max_diff = 8
            [bwa_aln] 225bp reads: max_diff = 9
            [bwa_aln_core] 109811 sequences have been processed.

            Comment

            • carolW
              Senior Member
              • Apr 2013
              • 103

              #66
              Is there anything else that could be done?

              Look forward to your reply,

              Carol

              Comment

              • carolW
                Senior Member
                • Apr 2013
                • 103

                #67
                I executed the following command many times, I didn't see bwa in the list of processes. So it doesn't even start. Is it able to evaluate the memory before starting? What prevents to start?

                ../pgm/bwa-0.7.3a/bwa samse ../hg19/Homo_sapiens/UCSC/hg19/Sequence/BWAIndex/version0.6.0/genome.fa SRR062641.filt.sai SRR062641.filt.fastq > SRR062641.filt.sam

                Thanks,

                Carol

                Comment

                • GenoMax
                  Senior Member
                  • Feb 2008
                  • 7142

                  #68
                  If you just issue the following commands (highlighted in red) do you see an output similar to what is posted here:

                  Code:
                  $ [COLOR="Red"]bwa samse[/COLOR]
                  Usage: bwa samse [-n max_occ] [-f out.sam] [-r RG_line] <prefix> <in.sai> <in.fq>
                  $ [COLOR="Red"]bwa[/COLOR]
                  
                  Program: bwa (alignment via Burrows-Wheeler transformation)
                  Version: 0.7.4-r385
                  Contact: Heng Li <[email protected]>
                  
                  Usage:   bwa <command> [options]
                  
                  Command: index         index sequences in the FASTA format
                           mem           BWA-MEM algorithm
                           fastmap       identify super-maximal exact matches
                           pemerge       merge overlapping paired ends (EXPERIMENTAL)
                  (output for second command truncated)

                  Did you create the human genome index or download it from somewhere else?

                  Comment

                  • carolW
                    Senior Member
                    • Apr 2013
                    • 103

                    #69
                    I get the same output

                    ../pgm/bwa-0.7.3a/bwa samse
                    Usage: bwa samse [-n max_occ] [-f out.sam] [-r RG_line] <prefix> <in.sai> <in.fq>

                    ../pgm/bwa-0.7.3a/bwa

                    Program: bwa (alignment via Burrows-Wheeler transformation)
                    Version: 0.7.3a-r367
                    Contact: Heng Li <[email protected]>

                    Usage: bwa <command> [options]

                    Command: index index sequences in the FASTA format
                    mem BWA-MEM algorithm
                    fastmap identify super-maximal exact matches
                    pemerge merge overlapping paired ends (EXPERIMENTAL)
                    aln gapped/ungapped alignment
                    samse generate alignment (single ended)
                    sampe generate alignment (paired ended)
                    bwasw BWA-SW for long queries

                    fa2pac convert FASTA to PAC format
                    pac2bwt generate BWT from PAC
                    pac2bwtgen alternative algorithm for generating BWT
                    bwtupdate update .bwt to the new format
                    bwt2sa generate SA from BWT and Occ


                    I downloaded the HG index from http://cufflinks.cbcb.umd.edu/igenomes.html. I used it with bwa aln without any problem. I use only the following file from the uncompressed untared file
                    hg19/Homo_sapiens/UCSC/hg19/Sequence/BWAIndex/version0.6.0/genome.fa

                    Comment

                    • GenoMax
                      Senior Member
                      • Feb 2008
                      • 7142

                      #70
                      Just wanted to verify that the bwa is executing properly on your system .. which it seems to be doing.

                      Are you issuing the samse command from the directory where you have the "SRR062641*" files? Have you tried to add ./SRR062641.filt.sai and ./SRR062641.filt.fastq to explicitly locate the files as being in current directory?

                      Comment

                      • carolW
                        Senior Member
                        • Apr 2013
                        • 103

                        #71
                        yes, I added ./ and get segmentation fault right away

                        Comment

                        • GenoMax
                          Senior Member
                          • Feb 2008
                          • 7142

                          #72
                          Are you generating files that contain word "core" in the name after you get the seg fault?

                          Comment

                          • carolW
                            Senior Member
                            • Apr 2013
                            • 103

                            #73
                            I'm not sure to have understood your question. I don't generate files that contain "core" in the name. This is what I did

                            ../pgm/bwa-0.7.3a/bwa samse ../hg19/Homo_sapiens/UCSC/hg19/Sequence/BWAIndex/version0.6.0/genome.fa ./SRR062641.filt.sai ./SRR062641.filt.fastq > ./SRR062641.filt.sam
                            Segmentation fault (core dumped)

                            Comment

                            • carolW
                              Senior Member
                              • Apr 2013
                              • 103

                              #74
                              Note that no core file is generated after segmentation fault if this could answer your question.

                              Just a question, to compile and generated the bw exec file, I just invoked "make". Was it sufficient to compile the files?

                              Comment

                              • GenoMax
                                Senior Member
                                • Feb 2008
                                • 7142

                                #75
                                Originally posted by carolW View Post
                                Note that no core file is generated after segmentation fault if this could answer your question.
                                So we know that the process is not aborting resulting in a core dump.
                                Originally posted by carolW View Post
                                Just a question, to compile and generated the bw exec file, I just invoked "make". Was it sufficient to compile the files?
                                That should be all you need as long as you have the compiler and libraries available.

                                Have you been able to successfully use the bwa program on a different data set (look for some E coli data from SRA if you need a test case) so we are sure it works otherwise.

                                Are you the "administrator" of this machine? What does the output of command "limit" show?

                                Comment

                                Latest Articles

                                Collapse

                                • SEQadmin2
                                  Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                                  by SEQadmin2



                                  CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                                  Despite this, “CRISPR helped turn genome editing from a specialized technique into
                                  ...
                                  07-31-2026, 11:01 AM
                                • SEQadmin2
                                  Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                                  by SEQadmin2


                                  Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                                  The systematic characterization of the human proteome has
                                  ...
                                  07-20-2026, 11:48 AM

                                ad_right_rmr

                                Collapse

                                News

                                Collapse

                                Topics Statistics Last Post
                                Started by SEQadmin2, 08-13-2026, 12:22 PM
                                0 responses
                                25 views
                                0 reactions
                                Last Post SEQadmin2  
                                Started by SEQadmin2, 08-11-2026, 10:35 AM
                                0 responses
                                21 views
                                0 reactions
                                Last Post SEQadmin2  
                                Started by SEQadmin2, 08-06-2026, 07:41 AM
                                0 responses
                                36 views
                                0 reactions
                                Last Post SEQadmin2  
                                Started by SEQadmin2, 08-03-2026, 10:13 AM
                                0 responses
                                51 views
                                0 reactions
                                Last Post SEQadmin2  
                                Working...