merenlab / anvio

An analysis and visualization platform for 'omics data
http://merenlab.org/software/anvio
GNU General Public License v3.0
426 stars 145 forks source link

[BUG] Unable to build KEGG db in non-standard location. #2090

Closed ac-simpson closed 11 months ago

ac-simpson commented 1 year ago

Short description of the problem

Unable to build KEGG db in non-standard location.

anvi'o version

Anvi'o .......................................: hope (v7.1)

Profile database .............................: 38
Contigs database .............................: 20
Pan database .................................: 15
Genome data storage ..........................: 7
Auxiliary data storage .......................: 2
Structure database ...........................: 2
Metabolic modules database ...................: 2
tRNA-seq database ............................: 2

System info

Linux, conda installation

Detailed description of the issue

For space reasons, I can't have the KEGG database be set up in .local/lib/python3.6/site-packages/anvio/data/misc. When I create a folder called mydirectory and run

anvi-setup-kegg-kofams --kegg-data-dir mydirectory

I get the error message "You are attempting to set up KEGG from a KEGG data archive in a non-default data directory (mydirectory/) which already exists. To avoid automatically deleting a directory that may be important to you, anvi'o refuses to get rid of directories that have been specified with --kegg-data-dir." etc etc

However, if I run the command with the name of a directory that does not exist, I get the message that it " is not a directory..."

Am I running this command wrong?

meren commented 1 year ago

Can you please try installing anvio-dev?

ivagljiva commented 11 months ago

Yeah, I think this should be fixed in anvio-dev.

@ac-simpson, it would be great if you could update us and let us know whether this is still a problem. In the meantime I will close this issue now since it has had no activity for several months :)