Project

General

Profile

Actions

Idea #8653

closed

[CWL SDK] cwl-runner can run a pipeline instance that was submitted by Workbench using a template from "cwl-runner --create-template"

Added by Brett Smith about 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
Story points:
0.5

Description

Add a tool to the CWL SDK called ??? that creates an Arvados pipeline template to run a CWL workflow.

  • It has a switch or optional position parameter to update an existing pipeline template identified by its UUID.

The tool must:

  • Where static files are identified in the workflow (including as defaults), upload them to collections.
  • Write a pipeline template to run the workflow with cwl-runner. Specific handling of inputs:
    • Where static files were inputs, change those inputs to refer to the corresponding collection portable data hashes.
    • Convert CWL input "label" to template "title".
    • Convert CWL input "description" to template "description".
    • Convert CWL input "default" to template "default". In this case, set "link_name" to give the default input a nice human-readable name.
    • When the CWL input is of a type that Workbench doesn't support (i.e., the type is not documented in the pipeline template API documentation), print a warning on stderr that the template isn't runnable through Workbench. (We'll adjust this warning in the future as we improve the Workbench input chooser.)

Subtasks 5 (0 open5 closed)

Task #9024: test wl with all inputs specifiedResolvedTom Clegg03/07/2016Actions
Task #9190: Update cwl-runner crunch scriptResolvedPeter Amstutz03/07/2016Actions
Task #9025: test wl with some inputs not specifiedResolvedTom Clegg03/07/2016Actions
Task #8986: Review 8653-cwl-to-templateResolvedTom Clegg03/07/2016Actions
Task #9192: Review 8653-cwl-runner-handle-filesResolvedRadhika Chippada03/07/2016Actions
Actions

Also available in: Atom PDF