snakefmt
Format Snakemake files. More information: https://github.com/snakemake/snakefmt.
-
Format a specific Snakefile:
snakefmt {{path/to/snakefile}}
-
Format all Snakefiles recursively in a specific directory:
snakefmt {{path/to/directory}}
-
Format a file using a specific configuration file:
snakefmt --config {{path/to/config.toml}} {{path/to/snakefile}}
-
Format a file using a specific maximum line length:
snakefmt --line-length {{100}} {{path/to/snakefile}}
-
Display the changes that would be performed without performing them (dry-run):
snakefmt --diff {{path/to/snakefile}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.