module snakemake.config_file_processor
¶
Snakemake config file processor.
class ConfigFileProcessor
¶
Write Snakemake configuration files.
Args:
content
: Configuration file contents.
Attributes:
content
: Configuration file contents.
method __init__
¶
__init__() → None
Class constructor method.
method set_content
¶
set_content(content: ConfigFileContent) → None
Set content from object.
Args:
content
:ConfigFileContent
object.
method write
¶
write(path, exclude_none=False) → None
Write Snakemake configuration file in YAML format.
Args:
path
: Path to run configuration file.exclude_none
: Do not write fields that are set toNone
.