crim-ca / weaver

Weaver: Workflow Execution Management Service (EMS); Application, Deployment and Execution Service (ADES); OGC API - Processes; WPS; CWL Application Package
https://pavics-weaver.readthedocs.io
Apache License 2.0
26 stars 6 forks source link

[Feature] Graph image rendering of contained CWL #213

Open fmigneault opened 3 years ago

fmigneault commented 3 years ago

We could provide a visual rendering of process Application Package and workflows using these tools.

Directly with cwltool! https://github.com/common-workflow-language/cwltool/commit/cbc33f3ee9cbec5357b017e39fd317eb7ed1df5b

More info / updates / guides to run: https://www.biostars.org/p/366246/

Original sources (but somewhat not maintained): https://github.com/giannisdoukas/pycwlviewer https://github.com/common-workflow-language/cwlviewer

fmigneault commented 5 months ago

CWL Example: https://view.commonwl.org/workflows/github.com/genome/analysis-workflows/blob/0b6e8fd8ead7644cf5398395b76af5cf4011686f/definitions/subworkflows/sequence_align_and_tag_adapter.cwl SVG Result: https://view.commonwl.org/git/0b6e8fd8ead7644cf5398395b76af5cf4011686f/definitions/subworkflows/sequence_align_and_tag_adapter.cwl?format=svg (note: many other formats available at bottom of the page)