-
Notifications
You must be signed in to change notification settings - Fork 36
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
ValueError: invalid literal for int() with base 10: '5_42' #96
Comments
I meet the same error. Do you have solution? |
I'm sorry I can't help you. I don't solve this problem now. |
I have solved my problem. Because my tree file has extra "." . I checked your input file. Maybe you can replace the species name with no dots, and remove the other information except |
Hi all, Until the report analysis script is fixed, there are two solutions:
|
Thank you
Thank you for your reply. I will replace the species name with no dots , such as replace "Cicerarietinum.representative.pep" with "Cicerarietinum_pep" . But i don't know how to "remove the other information except time" , could you give me a example ? Thank you very much. |
tree (((((acch:74.8509,(((rhde:7.0997,rhwi:7.0997):3.6345,rhsi:10.7342):00.8280,rhov:11.5623):63.2887):8.2057,casi:83.0566):0.056636,dilo:88.7201):18.2580,prvu:106.9782):4.1897,soly:111.1678) This is an example. 我再用中文解释一下,去掉所有空格和bootstrap的信息,仅保留时间信息。看上面@gwct的评论也是这个意思,计算扩张收缩的基因家族数量没有问题,但是如果要用report这个汇总的脚本就需要对把树上多余的标签信息去掉, |
非常感谢您的回复,以下是我改好的输入文件 filtered.cafe.input.tsv 和 cafetutorial_run1.sh,请帮我看一下是否还存在格式上的问题。 filtered.cafe.input.tsv如下: Desc Orthogroup ArabidopsisthalianaAraport11representativepep Cicerarietinumrepresentativepep Gmax275Wm82longestprotein Medicagotruncatularepresentativepep NN1138longestpep Nelumbonucifera11longestpep SoyL01longestProtein SoyW01longestProtein ZH13longestprotein araduV14167gnm1ann1cxSMprotein cafetutorial_run1.sh如下: #!/gss1/home/hjb20181119/panyongpeng/NN1138-2/03.orthofinder_data/04.between_species_cafe/CAFE-4.2/CAFE/release/cafe load -i filtered.cafe.input.tsv -t 4 -l ./reports/log_run1.txt -p 0.05 |
脚本cafetutorial_report_analysis.py正常运行了,非常感谢。 |
Hi, I want to use cafe to do gene family study but when I run cafetutorial_report_analysis.py script , I met an error .
Here is my script :
$PYTHON cafetutorial_report_analysis.py -i report_run2.cafe -o summary20220113
Here is my error:
[*-------------------------------------------------] 0.033% complete.Traceback (most recent call last):
File "cafetutorial_report_analysis.py", line 371, in
results_main, node_fams_main = cra(inlines_main, results_main, node_fams_main, linestart_main, ancfilename, sorted_nodes, 1);
File "cafetutorial_report_analysis.py", line 193, in cra
anccount = int(tlinfo[curanc][4]);
ValueError: invalid literal for int() with base 10: '5_42'
Here is my input file:
report_run2.zip
Could you help me fix it? Thank you very much. By the way, is cafe has some article to cite?
The text was updated successfully, but these errors were encountered: