Open SandraBabirye opened 1 year ago
Can you give me some details about the system you are running tb-profiler on? It might be an issue of running out of RAM
I think I am facing a similar problem when I try to run one of my samples. However, running the test indicated in the manual did not result in such error:
Command: tb-profiler profile -1 44015MTL22_R1.fastq.gz -2 44015MTL22_R2.fastq.gz -t 4 -p 44015MTL22 --txt
Error:
[14:26:19] ERROR [bam_sort_core] merging from 0 files and 4 in-memory blocks... utils.py:485
samtools sort: couldn't allocate memory for bam_mem
samtools markdup: error reading header
Traceback:
Traceback (most recent call last):
File "/imppc/labs/emlab/aescalas/miniconda3/envs/TBProfiler/bin/tb-profiler", line 583, in
Thank you
How much memory do you have on your system? and how big are the fastq files?
I'm not sure about the memory available when I run it. I was running it on a server but on my own user space. Executing the same command through qsub solved the problem.
Ok, somtimes with servers using job queues they limit what you can run on your own profile. If it worked when you used qsub then I think there might be a limitation on the resources given to your own user space.
Right, I think that was the problem, my bad. As an update, I have been able to run smoothly a batch of about 120 samples! Thanks a lot!
tb-profiler error report
Traceback:
Value: