This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error during mapping using bwa mem

Hi , any suggestion to fix this error during using bwa mem by this command:

bwa mem hg38.fasta  Z#1.fq > Z#1.sam

Got error

[bwt_restore_bwt] Failed to allocate 3217346964 bytes at bwt.c line 452: Cannot allocate memory

how to fix it, I have already tried to update bwa but still same error

software error alignment

How much memory do you have available? The error is clear. bwa is not able to allocate enough memory.

Are your files really called Z#1.fq and Z#2.fq? After the first #, the shell will stop interpreting the rest of the command line.

0 answers

No answers yet.

Log in to answer this question.