Arkadiy-Garber / FeGenie

HMM-based identification and categorization of iron genes and iron gene operons in genomes and metagenomes
GNU Affero General Public License v3.0
53 stars 10 forks source link

Permission denied when moving files #36

Open aidanfoo96 opened 2 years ago

aidanfoo96 commented 2 years ago

Hi Arkadiy, thanks very much for developing this great tool :)

I'm trying to implement FeGenie, however, near the end of the analysis this error is raised:

`Pre-processing of final outout file Counting heme-binding motifs mv: cannot move '../results/fegenie/FeGenie-summary-blasthits.csv/FeGenie-summary-blasthits.csv' to '../results/fegenie/FeGenie-summary-blasthits.csv/FeGenie-summary.csv': Permission denied Final processing of output

Traceback (most recent call last): File "/home/fooa/miniconda3/envs/fegenie/bin/FeGenie.py", line 3020, in main() File "/home/fooa/miniconda3/envs/fegenie/bin/FeGenie.py", line 1641, in main infile = open(outDirectory + "/FeGenie-summary.csv") FileNotFoundError: [Errno 2] No such file or directory: '../results/fegenie/FeGenie-summary-blasthits.csv/FeGenie-summary.csv'`

I still get the cluster.csv file but the summary.csv file is empty. I have a feeling this might be due to the server I'm using at my uni, but wondering if this is a problem you've encountered before or might have a solution for?

Thanks

Aidan

Arkadiy-Garber commented 2 years ago

Hi Aidan,

Thanks for your interest in FeGenie! This looks like an interesting error, which I've never encountered before.

It looks like a permissions thing, so if you try running on this a personal machine, then you might avoid running into this. In any case, could you please paste into chat the command that you used for this run.

Thanks! Arkadiy

DrRumble commented 2 years ago

Hi! I am having nearly the exact same issue except I am on my personal laptop and not a cluster. I don't know what's wron g here exactly so any help would be appreciated!!!

Arkadiy-Garber commented 2 years ago

Thanks DrRumble, could you please share the command that you used for your FeGenie run?