Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
amysiceloff opened this issue Jun 1, 2023 · 1 comment

Comments

@amysiceloff
Copy link

I'm running into the same error as described in issue #203 (#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 amysiceloff changed the title Illegal Divsision by Zero while Building long read bridges - continued error after update v0.5.0 Illegal Division by Zero while Building long read bridges - continued error after update v0.5.0 Jun 1, 2023
@tougai
Copy link

tougai commented Jan 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants