Unicycler icon indicating copy to clipboard operation
Unicycler copied to clipboard

Illegal Division by Zero while Building long read bridges - continued error after update v0.5.0

Open amysiceloff opened this issue 1 year ago • 1 comments

I'm running into the same error as described in issue #203 (https://github.com/rrwick/Unicycler/issues/203) even after updating Unicycler to the most recent version. All dependencies are installed:

Dependencies: Program Version Status spades.py 3.14.1 good
racon 1.4.13 good
makeblastdb 2.10.1+ good
tblastn 2.10.1+ good

amysiceloff avatar Jun 01 '23 12:06 amysiceloff

i'm running into the same error with unicycler 0.5.0: Traceback (most recent call last): File ".pyenv/versions/3.8.5/bin/unicycler", line 11, in load_entry_point('unicycler==0.5.0', 'console_scripts', 'unicycler')() File ".pyenv/versions/3.8.5/lib/python3.8/site-packages/unicycler/unicycler.py", line 155, in main graph.clean_up_after_bridging_2(seg_nums_used_in_bridges, args.min_component_size, File ".pyenv/versions/3.8.5/lib/python3.8/site-packages/unicycler/assembly_graph.py", line 1363, in clean_up_after_bridging_2 usedupness_scores[seg_num] = self.get_usedupness_score(seg_num, unbridged_graph) File ".pyenv/versions/3.8.5/lib/python3.8/site-packages/unicycler/assembly_graph.py", line 1526, in get_usedupness_score depth_fraction_used = depth_used / original_depth ZeroDivisionError: float division by zero

tougai avatar Jan 08 '24 15:01 tougai