Entering edit mode
8.3 years ago
ngsbioinformatics
▴
60
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?
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.