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

Problem with DRAM databases installation #322

Open
apazminov opened this issue Dec 18, 2023 · 0 comments
Open

Problem with DRAM databases installation #322

apazminov opened this issue Dec 18, 2023 · 0 comments

Comments

@apazminov
Copy link

Hello,

I am having some issues with the database installation process. I was using the following command: DRAM-setup.py prepare_databases --output_dir DRAM_data.

The process was going well, but I got this error:
Processing uniref
2023-12-17 09:16:39,817 - The subcommand ['mmseqs', 'createindex', 'DRAM_data/uniref90.20231217.mmsdb', 'DRAM_data/tmp', '--threads', '10'] experienced an error: Could not create symlink of DRAM_data/tmp/18059588701634138799!
Traceback (most recent call last):
File "/home/biotechlab/anaconda3/envs/DRAM/bin/DRAM-setup.py", line 184, in
args.func(**args_dict)
File "/home/biotechlab/anaconda3/envs/DRAM/lib/python3.10/site-packages/mag_annotator/database_processing.py", line 555, in prepare_databases
processed_locs = process_functions[i](locs[i], output_dir, LOGGER,
File "/home/biotechlab/anaconda3/envs/DRAM/lib/python3.10/site-packages/mag_annotator/database_processing.py", line 262, in process_uniref
make_mmseqs_db(uniref_fasta_zipped, uniref_mmseqs_db, logger, create_index=True, threads=threads, verbose=verbose)
File "/home/biotechlab/anaconda3/envs/DRAM/lib/python3.10/site-packages/mag_annotator/utils.py", line 98, in make_mmseqs_db
run_process(['mmseqs', 'createindex', output_loc, tmp_dir, '--threads', str(threads)], logger, verbose=verbose)
File "/home/biotechlab/anaconda3/envs/DRAM/lib/python3.10/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.20231217.mmsdb DRAM_data/tmp --threads 10 experienced an error, see the log for more info.

It seems it could be related to an issue with some of the scripts used during this process, as the log file gives no further information.

I am using dram 1.4.6

Please if you could look into this issue, it would be much appreciated.

Thank you very much,
Miguel

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

1 participant