>collision_rate = len([1 for s in cells.values() if len(s)>1])/len(cells)*100
=======================================================================
Exception has occurred: ZeroDivisionError
division by zero
File "/xxx/Lindel/Lindel_data_analysis/scripts/UMI.py", line 149, in <module>
collision_rate = len([1 for s in cells.values() if len(s)>1])/len(cells)*100
But I found that if we switch "R" with "F", the script can work and return the result normally.
Hi,
I'm running the
UMI_extractor.py
with the following args:but I kept encounter the ZeroDivision Error:
But I found that if we switch "R" with "F", the script can work and return the result normally.