bobeobibo / phigaro

Phigaro is a scalable command-line tool for predicting phages and prophages
MIT License
46 stars 15 forks source link

Can the location where the intermediate file is generated be changed to be inside the output file? #44

Closed Dx-wmc closed 8 months ago

Dx-wmc commented 1 year ago

Hi, when I tried to run multiple Phigaro processes in parallel, I found that they only generated one intermediate directory 'proc'. This means that the output of the results will overlap and cause errors. Can you modify the program so that the intermediate directory is located in each outdir?

PollyTikhonova commented 1 year ago

Hi @Dx-wmc ! That's a good suggestion! I'll definetely try and implement the feature that you suggested, but, unfortunately, it will take time. As a temporarily decision, I would suggest to launch Phigaro from different folders, e.g. create folder for each task. Sorry for inconvenience...

Dx-wmc commented 1 year ago

Thank you for your consideration, I am looking forward to seeing this update in future versions.

PollyTikhonova commented 8 months ago

@Dx-wmc as I reviewed the issue, actually, despite the fact of only one folder generated, each run has it's unique token attached to the name of the input file, which prevents overwriting.