shahab-sarmashghi / RESPECT

Estimating repeat spectra and genome length from low-coverage genome skims
Other
11 stars 1 forks source link

Check whether output folder is empty #4

Closed hannesbecher closed 3 years ago

hannesbecher commented 3 years ago

Hi Shahab,

Here's another request (of low priority). If the output dir exists but is not empty, RESPECT overwrites the old output. It would be useful if that could be avoided, for instance by adding a prefix to the latest output files.

All the best, Hannes

shahab-sarmashghi commented 3 years ago

Hi Hannes,

Another good point, thanks. A counter is added to the file name if similar file names already exist.

Bests, Shahab.