Skip to content
Snippets Groups Projects
Commit 926717b2 authored by Helene Rimbert's avatar Helene Rimbert
Browse files

add diagram and rulegraph in Snakefile

parent 56c7a454
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,13 @@ rule splitGffPerChrom: ...@@ -37,7 +37,13 @@ rule splitGffPerChrom:
""" """
fgrep {params} {input} 1> {output} 2> {log} fgrep {params} {input} 1> {output} 2> {log}
""" """
rule createDiagrams:
message: "Create dag and rulegraph of the pipeline"
shell:
"""
snakemake --dag |dot -T png > report/dag.png
snakemake --rulegraph |dot -T png > report/rulegraph.png
"""
include: "rules/preprocessISBP.smk" include: "rules/preprocessISBP.smk"
include: "rules/preprocessGenomes.smk" include: "rules/preprocessGenomes.smk"
include: "rules/bedtoolsClosest.smk" include: "rules/bedtoolsClosest.smk"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment