CWL: Can we create a workflow model without the need for execution of the scripts?
2
1
Entering edit mode
6.8 years ago

Hi Guys,

I am new to CWL, and trying to create a workflow for one of my existing project in it. My project is created using Rscript and I would like to model the graph using the CWL viewer without execution of the script.

Would it be possible to do it in CWL and if yes, could you please share any pointers?

Thanks in Advance! -- Pratik

CWL • 1.7k views
ADD COMMENT
2
Entering edit mode
6.6 years ago

Yes, this is completely possible. For example you can use the Rabix composer tool to map out the nodes and connections. This gives you a visual depiction of the workflow, which you can then export to json CWL representation.

ADD COMMENT
1
Entering edit mode
6.6 years ago

The best way to do it is to load the workflow using Rabix Composer (http://rabix.io/) as you can both see the graph and edit (add or remove steps).

The cwltool (https://github.com/common-workflow-language/cwltool) also has some options to print a visual presentation of the graph. Here's something from the tool help

 --print-rdf           Print corresponding RDF graph for workflow and exit
 --print-dot           Print workflow visualization in graphviz format and exit
ADD COMMENT
0
Entering edit mode

Also found cwlviewer, though I haven't used it yet

ADD REPLY

Login before adding your answer.

Traffic: 1133 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