readCWL: Read CWL Function to read CWL command or workflow files.

Description Usage Arguments Value Examples

View source: R/readCWL.R

Description

Read CWL Function to read CWL command or workflow files.

Usage

1
readCWL(cwlfile)

Arguments

cwlfile

The cwl file to read.

Value

A object of class 'cwlParam' or 'cwlStepParam'.

Examples

1
2
3
4
5
6
input1 <- InputParam(id = "sth")
echo <- cwlParam(baseCommand = "echo",
                 inputs = InputParamList(input1))
tf <- tempfile()
writeCWL(echo, tf)
readCWL(paste0(tf, ".cwl"))

Rcwl documentation built on Nov. 8, 2020, 8:11 p.m.