liao961120 / fileDAG

Parse Snakemake's input and output files as nodes in a DAG.

Home Page:https://yongfu.name/fileDAG/dag.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fileDag

Parse Snakemake's input and output files as nodes in a DAG.

Usage

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

Output

Also, hover on the nodes to see what happens!

Dependencies

  • pydot
  • dot (graphviz) available from the command line

About

Parse Snakemake's input and output files as nodes in a DAG.

https://yongfu.name/fileDAG/dag.html

License:MIT License


Languages

Language:Python 100.0%