add message for dag rule
This commit is contained in:
parent
76dcf43993
commit
6763dbaacc
23
Snakefile
23
Snakefile
@ -69,14 +69,15 @@ rule purge:
|
|||||||
|
|
||||||
|
|
||||||
rule dag:
|
rule dag:
|
||||||
output:
|
message: "Creating DAG of workflow."
|
||||||
dot=RESOURCES + "dag.dot",
|
output:
|
||||||
pdf=RESOURCES + "dag.pdf",
|
dot=RESOURCES + "dag.dot",
|
||||||
png=RESOURCES + "dag.png"
|
pdf=RESOURCES + "dag.pdf",
|
||||||
conda: "envs/environment.yaml"
|
png=RESOURCES + "dag.png"
|
||||||
shell:
|
conda: "envs/environment.yaml"
|
||||||
"""
|
shell:
|
||||||
snakemake --rulegraph all | sed -n "/digraph/,\$p" > {output.dot}
|
"""
|
||||||
dot -Tpdf -o {output.pdf} {output.dot}
|
snakemake --rulegraph all | sed -n "/digraph/,\$p" > {output.dot}
|
||||||
dot -Tpng -o {output.png} {output.dot}
|
dot -Tpdf -o {output.pdf} {output.dot}
|
||||||
"""
|
dot -Tpng -o {output.png} {output.dot}
|
||||||
|
"""
|
Loading…
Reference in New Issue
Block a user