Closed ycl6 closed 4 years ago
I think I have seen this if bwa
runs out of memory at just the wrong time for NGLess to catch it, so it freaks out incorrectly.
Hi @luispedro
Thanks for pointing that out. I checked the issue by running bwa and indeed found bwa complains running out of memory.
/home/x/.local/share/ngless/bin/ngless-1.0.1-bwa mem -t 2 /home/x/.local/share/ngless/data/Modules/igc.ngm/0.9/igc-bwa-0.7.17.fna test.1.fq.gz test.2.fq.gz > test.sam
[M::bwa_idx_load_from_disk] read 0 ALT contigs
[bwa_idx_load_from_disk] Failed to allocate 1859039014 bytes at bwa.c line 281: Cannot allocate memory
Obviously, this is still a bug in NGLess, which should give you a better error message.
I get the same error when I try to map a small fastq file against a very small fasta file. So in my case I don't think it is a memory issue as I have no problem mapping the same file against IGC. So I think it is the general error message when bwa fails for some reason. I will keep you updated.
Hi,
I seems if I had a job running IGC mapping, and while it is underway I start another job running IGC mapping, I will receive the broken pipe error.