You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have recently been using Unicycler because it's perfect for the relatively old data that I have of symbiont genomes. After the hybrid assembly stage using SPADes, Unicycler fails and returns the following errors:
File "/apps/eb/Unicycler/0.5.0-gompi-2019b-Python-3.7.4/bin/unicycler", line 10, in <module> sys.exit(main()) File "/apps/eb/Unicycler/0.5.0-gompi-2019b-Python-3.7.4/lib/python3.7/site-packages/unicycler/unicycler.py", line 156, in main args.min_dead_end_size, graph, anchor_segments) File "/apps/eb/Unicycler/0.5.0-gompi-2019b-Python-3.7.4/lib/python3.7/site-packages/unicycler/assembly_graph.py", line 1363, in clean$ usedupness_scores[seg_num] = self.get_usedupness_score(seg_num, unbridged_graph) File "/apps/eb/Unicycler/0.5.0-gompi-2019b-Python-3.7.4/lib/python3.7/site-packages/unicycler/assembly_graph.py", line 1526, in get_u$ depth_fraction_used = depth_used / original_depth ZeroDivisionError: float division by zero
I really want to use Unicycler for my dataset, and I've seen in the resolved issues tab that this problem has been addressed in other Unicycler python scripts. I was wondering if this could be a similar fix?
Thank you so much!
Corinne
The text was updated successfully, but these errors were encountered:
Saving /home/Unicycler/testUni/004_bridges_applied.gfa
Traceback (most recent call last):
File "/home/.local/bin/unicycler", line 33, in <module>
sys.exit(load_entry_point('unicycler==0.5.0', 'console_scripts', 'unicycler')())
File "/home/.local/lib/python3.9/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 "/home/.local/lib/python3.9/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 "/home/.local/lib/python3.9/site-packages/unicycler/assembly_graph.py", line 1526, in get_usedupness_score
depth_fraction_used = depth_used / original_depth
ZeroDivisionError: float division by zero
Hello,
I have recently been using Unicycler because it's perfect for the relatively old data that I have of symbiont genomes. After the hybrid assembly stage using SPADes, Unicycler fails and returns the following errors:
File "/apps/eb/Unicycler/0.5.0-gompi-2019b-Python-3.7.4/bin/unicycler", line 10, in <module> sys.exit(main()) File "/apps/eb/Unicycler/0.5.0-gompi-2019b-Python-3.7.4/lib/python3.7/site-packages/unicycler/unicycler.py", line 156, in main args.min_dead_end_size, graph, anchor_segments) File "/apps/eb/Unicycler/0.5.0-gompi-2019b-Python-3.7.4/lib/python3.7/site-packages/unicycler/assembly_graph.py", line 1363, in clean$ usedupness_scores[seg_num] = self.get_usedupness_score(seg_num, unbridged_graph) File "/apps/eb/Unicycler/0.5.0-gompi-2019b-Python-3.7.4/lib/python3.7/site-packages/unicycler/assembly_graph.py", line 1526, in get_u$ depth_fraction_used = depth_used / original_depth ZeroDivisionError: float division by zero
I really want to use Unicycler for my dataset, and I've seen in the resolved issues tab that this problem has been addressed in other Unicycler python scripts. I was wondering if this could be a similar fix?
Thank you so much!
Corinne
The text was updated successfully, but these errors were encountered: