4G, right away. Does samse use the same memory as aln?
Unconfigured Ad
Collapse
X
-
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.Originally posted by carolW View Post4G, right away. Does samse use the same memory as aln?
You may need to find a computer/server with more available RAM or upgrade the RAM in your own.
Comment
-
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
-
Are you using 32-bit or 64-bit OS? Did you compile bwa on this machine yourself?Originally posted by carolW View PostThe 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.
BWA-MEM is a new alignment algorithm (for long reads). See pre-print here: http://arxiv.org/abs/1303.3997
Comment
-
64-bit and I compiled bwa on this machine.Originally posted by GenoMax View PostAre 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
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
-
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
-
If you just issue the following commands (highlighted in red) do you see an output similar to what is posted here:
(output for second command truncated)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)
Did you create the human genome index or download it from somewhere else?
Comment
-
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
-
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
-
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
-
So we know that the process is not aborting resulting in a core dump.Originally posted by carolW View PostNote that no core file is generated after segmentation fault if this could answer your question.
That should be all you need as long as you have the compiler and libraries available.Originally posted by carolW View PostJust a question, to compile and generated the bw exec file, I just invoked "make". Was it sufficient to compile the files?
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
-
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...-
Channel: Articles
07-31-2026, 11:01 AM -
-
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...-
Channel: Articles
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
by SEQadmin2
08-13-2026, 12:22 PM
|
||
|
Started by SEQadmin2, 08-11-2026, 10:35 AM
|
0 responses
21 views
0 reactions
|
Last Post
by SEQadmin2
08-11-2026, 10:35 AM
|
||
|
Started by SEQadmin2, 08-06-2026, 07:41 AM
|
0 responses
36 views
0 reactions
|
Last Post
by SEQadmin2
08-06-2026, 07:41 AM
|
||
|
Started by SEQadmin2, 08-03-2026, 10:13 AM
|
0 responses
51 views
0 reactions
|
Last Post
by SEQadmin2
08-03-2026, 10:13 AM
|
Comment