Skip to content

Path to enable execution of PWD via CWL #90

@GeigerJ2

Description

@GeigerJ2

It would be nice if we, eventually, could make it possible to execute a workflow defined through our PWD via CWL. 1 We think this shouldn't be too difficult, and a possible approach could look like this:

  1. Having a converter from the PWD graph representation to CWL
  2. All processes of the workflow (executions of python code) are achieved via CWL’s CommandLineTool
  3. This CommandLineTool runs a python script (we provide) that takes inputs as pickled objects, unpickles them, runs the python code (our workflow functions, also pickled), and pickles the resulting outputs
  4. To achieve this, all pickled python objects could live in one directory and are named based on the respective IDs in the PWD (or similar identifiers that map the objects to the graph), such that the Python script can do the execution

This is more of a long-term vision, but we should at least add a section on comparison to CWL, or this proposed approach, in the paper.

Footnotes

  1. Naturally, the other direction, CWL -> PWD would be too complicated, as we would need to support all features of CWL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions