submit: Submit a workflow for execution

Description Usage Arguments Value Examples

View source: R/submit.R

Description

Submits a workflow to Cromwell Server.

Usage

1
submit(x, workflow, inputs, options = NULL, labels = NULL, version = "v1")

Arguments

x

Cromwell API endpoint.

workflow

The workflow source file to submit for execution.

inputs

JSON or YAML file containing the inputs as an object.

options

JSON file containing configuration options for the execution of this workflow.

labels

JSON file containing a set of collection of key/value pairs for labels to apply to this workflow.

version

Cromwell API Version.

Value

WorkflowIdAndStatus object containing status and id.

Examples

1
2
3
4
5
6
7
## Not run: 
host <- "http://localhost:8000"
workflow <- system.file("extdata/workflow.wdl", package = "CromwellClient")
inputs <- system.file("extdata/inputs.json", package = "CromwellClient")
submit(host, workflow, inputs)

## End(Not run)

labbcb/CromwellClient documentation built on Aug. 16, 2020, 9:11 p.m.