deepTools
deepTools copied to clipboard
plotCoverage - ZeroDivisionError - verbose mode - 3.5.1
Deeptools 3.5.1
plotCoverage -b SRR105321441.dedup.bam -p 4 --outRawCounts coverage.tab --plotFile sample_coverage --plotTitle "Sample Coverage" --verbose -o sample_coverage.png
File "countReadsPerBin.py", line 713, in get_coverage_of_region
multiprocessing.current_process().name, c, c / (endTime - start_time), chrom, reg[0], reg[1]))
ZeroDivisionError: float division by zero
Is the BAM file empty? The error suggests that some sections were processed in 0 seconds (even with an empty BAM file I'm amazed that it could be processed faster than python's time() function progresses).