Replies: 3 comments
-
Hi Ron, Can you share what files you have here? It looks like your config path may have an additional |
Beta Was this translation helpful? Give feedback.
-
Thanks for the help this is the file I have there; and this is how the autometa-config --print look likes (autometa) [r.flatau@login-00 ~]$ autometa-config --print |
Beta Was this translation helpful? Give feedback.
-
Hi Ron, I apologize for the late reply. I am uncertain as to why you are encountering errors here. Could you try to configure your databases with a common database directory? For example
# This will set the base directory
autometa-config --section databases --option base --value /work/kraken1/RonFlatau/Discovery/AutometaDatabases Now the I.e.
However Since you have already configured each of the component databases respectively, this will not set each of these automagically. Therefore, in addition to the above command, you will need to update the component paths: NCBI# ncbi
autometa-config --section databases --option ncbi --value /work/kraken1/RonFlatau/Discovery/AutometaDatabases/ncbi GTDB# gtdb
autometa-config --section databases --option gtdb --value /work/kraken1/RonFlatau/Discovery/AutometaDatabases/gtdb markers# markers
autometa-config --section databases --option markers --value /work/kraken1/RonFlatau/Discovery/AutometaDatabases/markers Also, we have released v2.2.1 with a GTDB database setup bug fix. This is not yet available on bioconda, but should be available in less than 24hours. Can you give this a try and then re-perform the autometa-update-databases command? If you are still running in to errors can you reply with the updated config information and logs? autometa-config --print |
Beta Was this translation helpful? Give feedback.
-
I tried to use the automated installation for the database but I got the following error.
[08/03/2023 08:44:38 AM DEBUG] autometa.config.databases: MISSING: (ncbi,names)
[08/03/2023 08:44:38 AM DEBUG] autometa.config.databases: MISSING: (ncbi,merged)
[08/03/2023 08:44:38 AM DEBUG] autometa.config.databases: MISSING: (ncbi,nodes)
[08/03/2023 08:44:38 AM DEBUG] autometa.config.databases: MISSING: (ncbi,delnodes)
[08/03/2023 08:44:38 AM DEBUG] autometa.config.databases: UPDATE: (ncbi,taxdump): /work/kraken1/RonFlatau/Discovery/AutometaNCBI//taxdump.tar.gz
[08/03/2023 08:44:38 AM DEBUG] autometa.config.databases: starting taxdump download
Traceback (most recent call last):
File "/home/r.flatau/.conda/envs/autometa/bin/autometa-update-databases", line 10, in
sys.exit(main())
File "/home/r.flatau/.conda/envs/autometa/lib/python3.9/site-packages/autometa/config/databases.py", line 833, in main
config = dbs.configure(section=section, no_checksum=args.no_checksum)
File "/home/r.flatau/.conda/envs/autometa/lib/python3.9/site-packages/autometa/config/databases.py", line 707, in configure
self.download_missing(section=section)
File "/home/r.flatau/.conda/envs/autometa/lib/python3.9/site-packages/autometa/config/databases.py", line 575, in download_missing
dispatchersection
File "/home/r.flatau/.conda/envs/autometa/lib/python3.9/site-packages/autometa/config/databases.py", line 390, in download_ncbi_files
subprocess.run(
File "/home/r.flatau/.conda/envs/autometa/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['rsync', '--quiet', '--archive', 'rsync://ftp.ncbi.nlm.nih.gov/pub/taxonomy/taxdump.tar.gz', '/work/kraken1/RonFlatau/Discovery/AutometaNCBI//taxdump.tar.gz']' returned non-zero exit status 10.
Therefore, I download the file manually but I don't find any instruction on how to install the database from that point.
Thanks for the help
Beta Was this translation helpful? Give feedback.
All reactions