WrightonLabCSU/DRAM

Fail in processing vogdb

ShangLiii opened this issue · 6 comments

I tried a lot of times to install dram (v.1.4.6) but failed at the step of vogdb.
the error is "subprocess.SubprocessError(f"The subcommand {' '.join(command)} experienced an error"
Does anyone know what is the problem and how to fix this?
Here is what I have got:

2024-04-01 14:16:54,384 - Processing vogdb
2024-04-01 14:17:24,864 - The subcommand ['hmmpress', '-f', './DRAM_db/vog_latest_hmms.txt'] experienced an error:
Error: File format problem in trying to open HMM file ./DRAM_db/vog_latest_hmms.txt.
File exists, but appears to be empty?

Traceback (most recent call last):
File "/data2/lishang/miniconda3/envs/DRAM/bin/DRAM-setup.py", line 184, in
File "/data2/lishang/miniconda3/envs/DRAM/lib/python3.9/site-packages/mag_annotator/database_processing.py", line 555, in prepare_databases
File "/data2/lishang/miniconda3/envs/DRAM/lib/python3.9/site-packages/mag_annotator/database_processing.py", line 317, in process_vogdb
File "/data2/lishang/miniconda3/envs/DRAM/lib/python3.9/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 hmmpress -f ./DRAM_db/vog_latest_hmms.txt experienced an error, see the log for more info.

I also meet this problem.

I'm facing the same problem when running DRAM through Atlas-Metagenome.

See my solution here:
#340

Seems to be linked to a directory structure mismatch

I also faced the same issue

I think we found an solution to this issue. metagenome-atlas/atlas#718

@WrightonLabAdmin would it be possible to release a v 1.4.7 with this small fix? It would solve some problems at metagenome atlas.

Actually, i was also able to solve the problem