I want to rerun a Snakemake workflow, ignoring all previously produced intermediary outputs.
Snakemake has about 100 different flags. I just want to make it easier to find an answer to this. What's the syntax/CLI flag I need to add?
Bioinformatics Stack Exchange is a question and answer site for researchers, developers, students, teachers, and end users interested in bioinformatics. It only takes a minute to sign up.
Sign up to join this communityI want to rerun a Snakemake workflow, ignoring all previously produced intermediary outputs.
Snakemake has about 100 different flags. I just want to make it easier to find an answer to this. What's the syntax/CLI flag I need to add?
If you want Snakemake to ignore the previous output of all rules, add the flag --forceall
. Otherwise, if you just want to ignore the output of a specific rule to rerun that rule, add --force
:
snakemake --forceall -c1
The command line interface documentation is helpful as a reference: https://snakemake.readthedocs.io/en/stable/executing/cli.html#all-options