Question: How to plot workflow as image
1
gravatar for ngsbioinformatics
2.6 years ago by
United States
ngsbioinformatics30 wrote:

I see cwltool has an option '--print-dot', but it doesn't seem to print anything. I'm trying to use this with my workflow that works:

cwltool --print-dot bwa-mapping-workflow.cwl bwa-mapping-workflow-input.yml

and

cwltool --print-dot bwa-mapping-workflow.cwl

Is there a way to get a plot of the workflow?

cwl • 1.1k views
ADD COMMENTlink modified 2.1 years ago by Michael R. Crusoe1.2k • written 2.6 years ago by ngsbioinformatics30

It looks like DOT is printed to standard output (https://github.com/common-workflow-language/cwltool/blob/07859d962f93bfbed39f6ec4910a6fb71c654979/cwltool/cwlrdf.py#L150), so perhaps just redirect the output to a file and open that with GraphViz or another DOT-rendering utility.

ADD REPLYlink written 2.6 years ago by Alex Reynolds27k
3
gravatar for Michael R. Crusoe
2.1 years ago by
currently based out of Vilnius, Lithuania / Common Workflow Language project
Michael R. Crusoe1.2k wrote:

Try the new CWL viewer:

https://view.commonwl.org/workflows/github.com/common-workflow-language/workflows/tree/master/workflows/lobSTR

ADD COMMENTlink written 2.1 years ago by Michael R. Crusoe1.2k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1058 users visited in the last hour