allind / EukDetect

MIT License
43 stars 16 forks source link

Error: output files exist in output directory #2

Closed zhaoc1 closed 4 years ago

zhaoc1 commented 4 years ago

When I re-run the same command

eukdetect --mode runall --configfile my_configfile.yml --cores 8

I get the following messages:

7/21/2020 02:18:24:  Parsing config file ...
07/21/2020 02:18:24:  Error: output files exist in output directory...
07/21/2020 02:18:24:  /mnt/chunyu_6TB/EukDetect/tests/aln/RR057i_00136_J07_S106_48628_reads_nh_aln_q30_lenfilter.sorted.bam

As a user, instead of getting an error with existing output directory, I would prefer to either use the existing files or remove all existing files. This feature can be implemented by adding a --force option.

This is not a super important issue for now, and it would nice to add this feature in the future.

allind commented 4 years ago

Added --force option.