Skip to content
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

Database not installed properly #167

Open
Santhi17 opened this issue Jun 20, 2024 · 1 comment
Open

Database not installed properly #167

Santhi17 opened this issue Jun 20, 2024 · 1 comment

Comments

@Santhi17
Copy link

Screenshot from 2024-06-20 21-37-18

Kindly help me solve this error!!

Database is in the path as mentioned.

@kbessonov1984
Copy link
Collaborator

kbessonov1984 commented Oct 9, 2024

Hello,

There seem to be an issue with the database initialization. Try to run again mob_init. If does not help, check that you have MASH installed and download databases manually. If you need to have database in a separate location different from the default, you can run mob_init -d <path2folder>. MOB-Suite 3.1.9 database is located at https://zenodo.org/records/10304948/files/data.tar.gz?download=1 but needs to be initialized that includes running MASH and ETE3 taxonomy initialization. The successful database initialization ends by writing status.txt file with the download date and time info

usage: mob_init [-h] [-d DATABASE_DIRECTORY] [-v] [-V]

MOB-INIT: initialize databases version: 3.1.9

optional arguments:
  -h, --help            show this help message and exit
  -d DATABASE_DIRECTORY, --database_directory DATABASE_DIRECTORY
                        Directory to download databases to. Defaults to /Users/kirill/opt/miniconda3/envs/mob_suite_dev/lib/python3.8/site-packages/mob_suite/databases
  -v, --verbose         Set the verbosity level. Can by used multiple times
  -V, --version         show program's version number and exit

You can also run MOB-Suite in a container with all versions available at https://biocontainers.pro/tools/mob_suite. You can copy database folder from the image to your install directory and initialize database in this simple way. E.g. in my case mob_init reports that all my databases are located in /Users/kirill/opt/miniconda3/envs/mob_suite_dev/lib/python3.8/site-packages/mob_suite/databases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants