Open zhuoyeh opened 1 year ago
Although this is a private repository for internal usage, I will try to help.
I am not sure about your problem with which one.
The above error caused by anvi-run-ncbi-cogs: should be because of the lack of config database The below error ConnectionResetError and Config Error caused by anvi-setup-ncbi-cogs: seems to be the problem with your failed connection to the ncbi server, resulting in the failed download of the reference databases.
Thank you for your answer. So how should I be able to connect to the ncbi database? Do you have any solution?
Sorry, sometimes it depends on your internet/IP address, you can keep trying to connect using different internet or ask your manager...
ok, thank you so much. I'll try other Internet...
When I try to run anvi-run-ncbi-cogs (COG20) It has 'Config Error' anvi-run-ncbi-cogs usage: anvi-run-ncbi-cogs [-h] -c CONTIGS_DB [--cog-version COG_VERSION] [--cog-data-dir COG_DATA_DIR] [-T NUM_THREADS] [--sensitive] [--temporary-dir-path PATH] [--search-with SEARCH_METHOD] anvi-run-ncbi-cogs: error: the following arguments are required: -c/--contigs-db (anvio-7.1) zhuoye@zhuoye-virtual-machine:~/miniconda3/envs/anvio-7.1$ ^C (anvio-7.1) zhuoye@zhuoye-virtual-machine:~/miniconda3/envs/anvio-7.1$ anvi-setup-ncbi-cogs COG version ..................................: COG20 COG data source ..............................: The anvi'o default. COG base directory ...........................: /home/zhuoye/miniconda3/envs/anvio-7.1/lib/python3.6/site-packages/anvio/data/misc/COG
WARNING
This program will first check whether you have all the raw files, and then will attempt to regenerate everything that is necessary from them.
Config Error: Something went wrong with your download attempt. Here is the problem for the url ftp://ftp.ncbi.nih.gov/pub/COG/COG2020/data/cog-20.cog.csv: '<urlopen error ftp error: ConnectionResetError(104, 'Connection reset by peer')>'
What is this problem?