Hi, @LKremer
I am trying to use CAFE_fig to visualize the results from CAFE, but I encountered some problems.
Here is my running: python3 ./CAFE_fig/CAFE_fig.py cafe_result.cafe -c asc=vL, da -pb 0.05 -pf 0.05 --dump test/ -g .pdf --count_all_expansions
And these are output:
Traceback (most recent call last):
File "./CAFE_fig/CAFE_fig.py", line 517, in
main(**vars(args))
File "./CAFE_fig/CAFE_fig.py", line 458, in main
c = CAFE_fig(report_cafe, families, clades, pb, pf, dump, gfx_output_format, count_all_expansions)
File "./CAFE_fig/CAFE_fig.py", line 86, in init
self.parse_tree()
File "./CAFE_fig/CAFE_fig.py", line 136, in parse_tree
self.parse_lambdas(line)
File "./CAFE_fig/CAFE_fig.py", line 209, in parse_lambdas
self.lambda_colors[i] = to_rgb(math.log(lambda_), min_l, max_l)
File "./CAFE_fig/CAFE_fig.py", line 62, in to_rgb
v = (v_abs - min_v) / (max_v - min_v) # scaled to a value between 0 and 1
ZeroDivisionError: float division by zero
Could you help with this? I appreciate your help. Thanks!
Fei