Russel88 / CRISPRCasTyper

CCTyper: Automatic detection and subtyping of CRISPR-Cas operons
https://typer.crispr.dk
MIT License
89 stars 16 forks source link

Creating empty files when there's no data #39

Open nataquinones opened 1 year ago

nataquinones commented 1 year ago

Hello, First of all, fantastic software! I've been trying it out and it's super cool. I have a suggestion regarding the output files. As you mention in the README: files are only created if there is any data. I was wondering why not generating an empty file instead, maybe with the header only. The main reason for this, is that it would be better for integrating it with workflow management systems, like snakemake, which expect an output file as success of the run. In general, I think it easier to deal with files that indicate no results than with absent files.

Russel88 commented 1 year ago

Great suggestion, I will look into that