bihealth / digestiflow-demux

:spaghetti: Digestiflow Demultiplexing Tool
MIT License
2 stars 4 forks source link

Remove sample sheets in output directories before launching Snakemake #16

Closed messersc closed 5 years ago

messersc commented 5 years ago

Current behaviour

If, for whatever reason, different sample sheets are created for more than one tool (out of bcl2fastq, bcl2fastq2 or picard), snakemake does not know which rules to run.

Fix

Remove all sample sheets before writing a new one (the latter happens always).