WrightonLabCSU / DRAM

Distilled and Refined Annotation of Metabolism: A tool for the annotation and curation of function for microbial and viral genomes
GNU General Public License v3.0
239 stars 50 forks source link

database_handler.py:123: UserWarning: Database does not exist at path None #302

Open wuhuiyun07 opened 9 months ago

wuhuiyun07 commented 9 months ago

Hi,

I am using DRAM version 1.4.6 and trying to set up the database.

I was running DRAM-setup.py prepare_databases --output_dir DRAM_data and encountered the following errors:

2023-09-23 06:20:38,159 - The subcommand ['mmseqs', 'createindex', 'DRAM_data/uniref90.20230923.mmsdb', 'DRAM_data/tmp', '--threads', '10'] experienced an error: Can not write to data file DRAM_data/uniref90.20230923.mmsdb.idx.14

site-packages/mag_annotator/utils.py", line 71, in run_process raise subprocess.SubprocessError(f"The subcommand {' '.join(command)} experienced an error, see the log for more info.") subprocess.SubprocessError: The subcommand mmseqs createindex DRAM_data/uniref90.20230923.mmsdb DRAM_data/tmp --threads 10 experienced an error, see the log for more info.

DRAM/lib/python3.8/site-packages/mag_annotator/database_handler.py:123: UserWarning: Database does not exist at path None warnings.warn("Database does not exist at path %s" % description_loc)