You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to snakevision! Before getting started, we highly recommend reading through our documentation below.
13
15
14
-
**`./snakevision`** provides a simplified command-line interface to visualize Snakemake DAGs or rule graphs. If you are familiar with other existing tools to visualize DAGs like [graphviz](https://graphviz.org/), getting started with `snakevision` should be a breeze.
16
+
**`./snakevision`** provides a simplified command-line interface to visualize Snakemake DAGs or rule graphs. If you are familiar with other existing tools to visualize DAGs like [graphviz](https://graphviz.org/), getting started with `snakevision` should be a breeze.
15
17
16
18
## Examples
17
19
@@ -36,40 +38,45 @@ Here are a few Snakemake rule graphs rendered by snakevision. These DAGs come fr
36
38
</p>
37
39
38
40
## Dependencies
41
+
39
42
**Requires:**`snakemake``python>=3.7`
40
43
41
-
At the current moment, the tool is designed to visualize rule graphs of existing snakemake pipelines. As so, [Snakemake<sup>1</sup>](https://snakemake.readthedocs.io/en/stable/) and any dependencies of the pipeline should be installed on the target system. This tool relies on a few 3rd-party pypi python packages which can be installed via pip from the provided [requirements.txt](https://github.com/OpenOmics/snakevision/blob/main/requirements.txt).
44
+
At the current moment, the tool is designed to visualize rule graphs of existing snakemake pipelines. As so, [Snakemake<sup>1</sup>](https://snakemake.readthedocs.io/en/stable/) and any dependencies of the pipeline should be installed on the target system. This tool relies on a few 3rd-party pypi python packages which can be installed via pip from the provided [requirements.txt](https://github.com/OpenOmics/snakevision/blob/main/requirements.txt).
42
45
43
46
Please follow the instructions directly below to install snakevision on your local system.
44
47
45
48
## Installation
49
+
50
+
### Github
51
+
46
52
Please clone this repository to your local filesystem using the following command:
Snakevision can read an input snakemake rulegraph via an input file or via standard input directly from a pipe. To create an input rule graph to the `snakevision`, please run snakemake with the `--rulegraph` and `--forceall` options.
This site is a living document, created for and by members like you. snakevision is maintained by the members of OpenOmics and is improved by continuous feedback! We encourage you to contribute new content and make improvements to existing content via pull requests to our [GitHub repository](https://github.com/OpenOmics/snakevision).
98
+
### Customize DAG
99
+
100
+
Snakevision provides a few options to customize the style of the DAG output.
101
+
You can specify these options using the `-y` or `--styles` flag followed by the key-value pairs.
102
+
Use `-y` multiple times to specify multiple style attributes.
103
+
For example, you can change the size of the nodes and edges in the DAG by using the following command:
104
+
105
+
```bash
106
+
snakevision \
107
+
-y node_radius=10.0 \
108
+
-y edge_stroke_width=8.0 \
109
+
-o pipeline_rulegraph.svg \
110
+
pipeline_rulegraph.dot
111
+
```
112
+
113
+
For the full list of available options, run `snakevision -h`.
93
114
115
+
## Contribute
116
+
117
+
This site is a living document, created for and by members like you. snakevision is maintained by the members of OpenOmics and is improved by continuous feedback! We encourage you to contribute new content and make improvements to existing content via pull requests to our [GitHub repository](https://github.com/OpenOmics/snakevision).
94
118
95
119
## Cite
96
120
97
-
If you use this software, please cite it as below:
121
+
If you use this software, please cite it as below:
98
122
99
123
<details>
100
124
<summary><b><i>@BibText</i></b></summary>
@@ -115,4 +139,5 @@ Citation coming soon!
115
139
</details>
116
140
117
141
## References
118
-
<sup>**1.** Koster, J. and S. Rahmann (2018). "Snakemake-a scalable bioinformatics workflow engine." Bioinformatics 34(20): 3600.</sup>
142
+
143
+
<sup>**1.** Koster, J. and S. Rahmann (2018). "Snakemake-a scalable bioinformatics workflow engine." Bioinformatics 34(20): 3600.</sup>
0 commit comments