BWA Index killed
1
0
Entering edit mode
2.8 years ago
Anupama • 0

I'm trying to build an index by using this command

bwa index -p hg19bwaidx -a bwtsw hg19.fa

However, the process keeps getting killed after ~10 minutes. I have 1TB of memory. Here's the error message

[bwa_index] Pack FASTA... Killed

What could be the reason?

Fastq BWA Index • 2.8k views
ADD COMMENT
0
Entering edit mode
2.8 years ago
ATpoint 85k

1TB of memory, can you confirm that it is memory and not disk space? Is this a cluster job/node, if so please show the submission script. Maybe it is simply not allocated properly.

ADD COMMENT
0
Entering edit mode

1TB is the external hard drive. No, it's not a cluster job.

ADD REPLY
1
Entering edit mode

Hard drive space != memory. What is the output of free -hm? Meaning how much memory (aka RAM) do you have?

ADD REPLY
0
Entering edit mode

Turs out you asked the same before (and apparently deleted it?) and a user already told you it's a memory problem. probably same issue, you confuse memory and disk space BWA Index Killed

It is 99.9% sure simply not enough memory available on your machine.

ADD REPLY
0
Entering edit mode
                  total        used        free      shared  buff/cache   available
Mem:          3.7Gi       233Mi       3.4Gi       0.0Ki       102Mi       3.4Gi
Swap:         1.0Gi          0B       1.0Gi
ADD REPLY
0
Entering edit mode

4GB of RAM is by far not enough. 8GB or better more will be required, see memory consumption of bwa-mem

You need to upgrade your machine or switch to a workstation/server with adequate memory. With 4GB you are not going to do any meaningful analysis these days. Even something like bowtie2 which has a low memory footprint will likely not run on it.

ADD REPLY
0
Entering edit mode

Thank you.

ADD REPLY

Login before adding your answer.

Traffic: 2099 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6