Parse Snakemake's input and output files as nodes in a DAG.
snakemake --detailed-summary -c | python3 fileDAG.py > dag.html
Alternatively, you can set up an alias in your .bashrc
, .bash_profile
, .zshrc
, etc.
fileDAG() {
python3 /absolute/path/to/fileDAG.py "$@"
}
and call the command below:
snakemake --detailed-summary -c | fileDAG > dag.html
Also, hover on the nodes to see what happens!
- pydot
dot
(graphviz) available from the command line