How to plot workflow as image
1
1
Entering edit mode
8.3 years ago

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 • 2.4k views
ADD COMMENT
0
Entering edit mode

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 REPLY

Login before adding your answer.

Traffic: 1873 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6