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

Errno 13 #295

Open Valentin-Bio opened 10 months ago

Valentin-Bio commented 10 months ago

Hello developer! I have previously ran DRAM on my HPC with no problems. Now I want to run it over a different set of genomes and I got the following error:

2023-08-29 17:10:36,350 - Merging ORF annotations 2023-08-29 17:11:36,883 - No rRNAs were detected, no rrnas.tsv file will be created. 2023-08-29 17:11:43,282 - Annotating cluster1_bin.86 2023-08-29 17:11:51,086 - Turning genes from prodigal to mmseqs2 db 2023-08-29 17:11:55,814 - Getting hits from kofam Traceback (most recent call last): File "path-to/miniconda3/envs/DRAM/bin/DRAM.py", line 207, in args.func(**args_dict) File "path-to/miniconda3/envs/DRAM/lib/python3.10/site-packages/mag_annotator/annotate_bins.py", line 1513, in annotate_bins all_annotations = annotate_fastas( File "path-to/miniconda3/envs/DRAM/lib/python3.10/site-packages/mag_annotator/annotate_bins.py", line 1394, in annotate_fastas annotate_fasta( File "path-to/miniconda3/envs/DRAM/lib/python3.10/site-packages/mag_annotator/annotate_bins.py", line 1239, in annotate_fasta annotations = annotate_orfs( File "path-to/miniconda3/envs/DRAM/lib/python3.10/site-packages/mag_annotator/annotate_bins.py", line 1009, in annotate_orfs run_hmmscan( File "path-to/miniconda3/envs/DRAM/lib/python3.10/site-packages/mag_annotator/utils.py", line 207, in run_hmmscan hits = parse_hmmsearch_domtblout(output) File "path-to/miniconda3/envs/DRAM/lib/python3.10/site-packages/mag_annotator/utils.py", line 82, in parse_hmmsearch_domtblout for line in open(file): PermissionError: [Errno 13] Permission denied: 'path-to/valentin/antarctic_metagenomes/cookings_mags/all_guys/bins/splitted_1/dram_annotation_splitted1/working_dir/cluster1_bin.86/tmp/kofam_hmm_results.unprocessed.b6'

what can be causing this? this is the way I ran DRAM:

DRAM.py annotate --threads 32 -i 'path-to/valentin/antarctic_metagenomes/cookings_mags/all_guys/bins/splitted_1/*.fa' -o ${dir}/dram_annotation_splitted1 --gtdb_taxonomy path-to/valentin/antarctic_metagenomes/cookings_mags/all_guys/bins/gtdbtk.bac120.summary.tsv --use_uniref