Seqanswers Leaderboard Ad

Collapse

Announcement

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

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

    Comment


    • #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


      • #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


        • #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


          • #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


            • #66
              Is there anything else that could be done?

              Look forward to your reply,

              Carol

              Comment


              • #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


                • #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


                  • #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


                    • #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


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

                        Comment


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

                          Comment


                          • #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


                            • #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


                              • #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

                                • seqadmin
                                  Essential Discoveries and Tools in Epitranscriptomics
                                  by seqadmin




                                  The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
                                  04-22-2024, 07:01 AM
                                • seqadmin
                                  Current Approaches to Protein Sequencing
                                  by seqadmin


                                  Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
                                  04-04-2024, 04:25 PM

                                ad_right_rmr

                                Collapse

                                News

                                Collapse

                                Topics Statistics Last Post
                                Started by seqadmin, 04-25-2024, 11:49 AM
                                0 responses
                                20 views
                                0 likes
                                Last Post seqadmin  
                                Started by seqadmin, 04-24-2024, 08:47 AM
                                0 responses
                                20 views
                                0 likes
                                Last Post seqadmin  
                                Started by seqadmin, 04-11-2024, 12:08 PM
                                0 responses
                                62 views
                                0 likes
                                Last Post seqadmin  
                                Started by seqadmin, 04-10-2024, 10:19 PM
                                0 responses
                                61 views
                                0 likes
                                Last Post seqadmin  
                                Working...
                                X