Hello everyone,
I am trying to index human genome build 37. I am using a Mac OS 10.5.8, 64 bit, 8GB of RAM and 280GB of space. And using the latest version of BWA 0.6.2. When I run the command:
bwa index -a bwtsw -p human_g1k_v37 human_g1k_v37.fasta
BWA starts indexing the genome but stops and provides an error message (error code=12)
[BWTIncConstructFromPacked] 670 iterations done. 1868415350 characters processed.
[BWTIncConstructFromPacked] 680 iterations done. 1892095270 characters processed.
[bwt_gen] Finished constructing BWT in 688 iterations.
[bwa_index] 2010.81 seconds elapse.
[bwa_index] Update BWT... bwa(3627) malloc: *** mmap(size=3101806592) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Bus error
Any help with this will be greatly appreciated.
Thanks!
Sounds like insufficient memory. Not sure. Never indexed human genome on my mac laptop.