LKremer / CAFE_fig

A tool to extract and visualize the results of CAFE (Computational Analysis of gene Family Evolution)
60 stars 16 forks source link

ValueError: could not convert string to float #10

Open Dawei-Xia opened 3 years ago

Dawei-Xia commented 3 years ago

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-master/CAFE_fig.py out.cafe And these are output: Traceback (most recent call last): File "./CAFE_fig-master/CAFE_fig.py", line 520, in main(**vars(args)) File "./CAFE_fig-master/CAFE_fig.py", line 461, in main c = CAFE_fig(report_cafe, families, clades, pb, pf, dump, gfx_output_format, count_all_expansions) File "./CAFE_fig-master/CAFE_fig.py", line 89, in init self.parse_tree() File "./CAFE_fig-master/CAFE_fig.py", line 163, in parse_tree for family in self: File "./CAFE_fig-master/CAFE_fig.py", line 334, in iter yield Family(line, self) File "./CAFE_fig-master/CAFE_fig.py", line 421, in init self.pvalue = float(values[2]) ValueError: could not convert string to float: '((Smoellendorffii_1:364.624,(Athaliana_5:314.68,(Earvense_6:251.574,(Dchinensis_2:209.164,(Afokiensis_7:179.207,(((LW_3:55.6774,ZXDS_1:55.6774)_2:46.7325,RS119_1:102.41)_2:39.5235,(Pnudum_4:42.3447,Ttannensis_4:42.3447)_4:99.5887)_3:37.2738)_3:29.9567)_3:42.4098)_3:63.1059)_3:49.944)_3:29.8768,Pp_4:394.5)_3' Could you help with this? I appreciate your help. Thanks! Xia