DRAM icon indicating copy to clipboard operation
DRAM copied to clipboard

Calling program has OMP_PROC_BIND set in its environment. Please unset OMP_PROC_BIND.

Open MonicaSteffi opened this issue 1 year ago • 2 comments

Dear All, I am trying to prepare databases for DRAM. I got the following error: DRAM-setup.py prepare_databases --output_dir DRAM_data /dss/dsshome1/0F/ra78zut/miniconda3/lib/python3.10/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) 2023-01-30 09:58:24,246 - Starting the process of downloading data 2023-01-30 09:58:24,246 - The kegg_loc argument was not used to specify a downloaded kegg file, and dram can not download it its self. So it is assumed that the user wants to set up DRAM without it 2023-01-30 09:58:24,246 - The gene_ko_link_loc argument was not used to specify a downloaded gene_ko_link file, and dram can not download it its self. So it is assumed that the user wants to set up DRAM without it 2023-01-30 09:58:24,247 - Database preparation started 2023-01-30 09:58:24,247 - Downloading kofam_hmm 2023-01-30 10:02:07,002 - Downloading kofam_ko_list 2023-01-30 10:02:09,498 - Downloading uniref 2023-01-31 10:58:31,363 - Downloading pfam 2023-01-31 11:08:06,871 - Downloading pfam_hmm 2023-01-31 11:08:07,261 - Downloading dbcan 2023-01-31 11:08:24,037 - Downloading dbcan_fam_activities 2023-01-31 11:08:24,037 - Downloading dbCAN family activities from : https://bcb.unl.edu/dbCAN2/download/Databases/V11/CAZyDB.08062022.fam-activities.txt 2023-01-31 11:08:24,741 - Downloading dbcan_subfam_ec 2023-01-31 11:08:24,742 - Downloading dbCAN sub-family encumber from : https://bcb.unl.edu/dbCAN2/download/Databases/V11/CAZyDB.08062022.fam.subfam.ec.txt 2023-01-31 11:08:25,865 - Downloading vogdb 2023-01-31 11:08:32,210 - Downloading vog_annotations 2023-01-31 11:08:32,390 - Downloading viral 2023-01-31 11:08:56,081 - Downloading peptidase 2023-01-31 11:09:06,384 - Downloading genome_summary_form 2023-01-31 11:09:06,774 - Downloading module_step_form 2023-01-31 11:09:07,038 - Downloading function_heatmap_form 2023-01-31 11:09:07,335 - Downloading amg_database 2023-01-31 11:09:07,545 - Downloading etc_module_database 2023-01-31 11:09:07,799 - All raw data files were downloaded successfully 2023-01-31 11:09:07,800 - Processing kofam_hmm 2023-01-31 11:14:39,238 - KOfam database processed 2023-01-31 11:14:39,530 - Moved kofam_hmm to final destination, configuration updated 2023-01-31 11:14:39,530 - Processing kofam_ko_list 2023-01-31 11:14:39,608 - KOfam ko list processed 2023-01-31 11:14:39,610 - Moved kofam_ko_list to final destination, configuration updated 2023-01-31 11:14:39,610 - Processing uniref 2023-01-31 11:34:24,433 - The subcommand ['mmseqs', 'createindex', 'DRAM_data/uniref90.20230131.mmsdb', 'DRAM_data/tmp', '--threads', '10'] experienced an error: Calling program has OMP_PROC_BIND set in its environment. Please unset OMP_PROC_BIND.

Traceback (most recent call last): File "/dss/dsshome1/0F/ra78zut/miniconda3/bin/DRAM-setup.py", line 184, in args.func(**args_dict) File "/dss/dsshome1/0F/ra78zut/miniconda3/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 "/dss/dsshome1/0F/ra78zut/miniconda3/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 "/dss/dsshome1/0F/ra78zut/miniconda3/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 "/dss/dsshome1/0F/ra78zut/miniconda3/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.20230131.mmsdb DRAM_data/tmp --threads 10 experienced an error, see the log for more info.

How do I rectify it? Any help would be appreciated. And also, if you have noticed, All raw data files were downloaded successfully. If I want to continue this preparing process, is there any way I can resume from this point? Downloading all the databases took forever for me.

Thank you in advance.

Regards Monica

MonicaSteffi avatar Jan 31 '23 12:01 MonicaSteffi