https://github.com/liao961120/filedag
Parse Snakemake's input and output files as nodes in a DAG.
https://github.com/liao961120/filedag
dag graphviz-dot pydot snakemake visualization
Last synced: 2 months ago
JSON representation
Parse Snakemake's input and output files as nodes in a DAG.
- Host: GitHub
- URL: https://github.com/liao961120/filedag
- Owner: liao961120
- License: mit
- Created: 2023-12-17T09:52:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-18T09:02:33.000Z (over 1 year ago)
- Last Synced: 2024-01-27T22:32:49.932Z (over 1 year ago)
- Topics: dag, graphviz-dot, pydot, snakemake, visualization
- Language: Python
- Homepage: https://yongfu.name/fileDAG/dag.html
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
fileDag
=======Parse Snakemake's input and output files as nodes in a DAG.
## Usage
```sh
snakemake --detailed-summary -c | python3 fileDAG.py > dag.html
```Alternatively, you can set up an alias in your `.bashrc`, `.bash_profile`, `.zshrc`, etc.
```sh
fileDAG() {
python3 /absolute/path/to/fileDAG.py "$@"
}
```and call the command below:
```sh
snakemake --detailed-summary -c | fileDAG > dag.html
```## Output

Also, [hover on the nodes](https://yongfu.name/fileDAG/dag.html) to see what happens!
## Dependencies
- [pydot](https://pypi.org/project/pydot)
- `dot` (graphviz) available from the command line