Notes on snakemake
Re-starting a workflow
To start a workflow from the beginning, first delete all outputs related to that workflow. For example,
snakemake -s <workflow.snakefile> --delete-all-output --dry-run --cores 1
The above command will list the files that are going to be deleted but it will not actually delete those files.
Remove the option --dry-run
to actually excute the deletion.