ZeroDivisionError: float division by zero
shernadi opened this issue · 1 comments
shernadi commented
Hi, I tried to use assess assembly and it worked for most of the time, but I am running into an error with one of our assembly. It seems to occur after the bed file based filtering. Could you please help what the problem could be?
The error what I am getting is the following:
File "/home/OXFORDNANOLABS/shernadi/anaconda3/envs/aa_2/lib/python3.6/site-packages/pomoxis/stats_from_bam.py", line 126, in masked_stats_from_aligned_read
iden = 100 * float(match - sub) / match
ZeroDivisionError: float division by zero
Thanks,
Szabolcs
ftostevin-ont commented
This should be fixed in the most recent version