Thanks very much for your reply
I am runing the program on google colab. I Re-installing the program but does not work. Would you like to give me another suggestion?
This is the script in google colab:
Hi people,
I am new to bioinformatics
I'm trying to run a catastrophy program, but I get the following error.
Can someone help me? please
/root/.local/bin/catastrophy -f dbcan -o my_catastrophy_results.csv mp1.txt
Traceback (most recent call last):
File "/root/.local/bin/catastrophy", line 8, in <module>
sys.exit(main())
File "/root/.local/lib/python3.7/site-packages/catas/main.py", line 84, in main
with open(data.model_filepath(args.model_version), "rb") as handle:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.local/lib/python3.7/site-packages/catas/data/model_v8_20200114.npz'
The error message tells you that it can't find a certain model file, which is most likely a part of program's installation. Re-installing the program would probably fix it.
By the way, not a good idea to install conda packages as sudo/root, or to run them like that. Most people will tell you to run programs as a regular user.
Thanks very much for your reply
I am runing the program on google colab. I Re-installing the program but does not work. Would you like to give me another suggestion?
This is the script in google colab:
I would like to give you a different suggestion, as long as you give me a different error message.
There is nothing ambiguous about this error message: No such file or directory: '/root/.local/lib/python3.7/site-packages/catas/data/model_v8_20200114.npz'. The program can't find one of the files it needs, and it won't run. It's kind of like a baker not being able to make a quiche without eggs. You can look for other solutions, but it doesn't work without eggs. Same for your case.
Log in to answer this question.