Read CWL Function to read CWL command or workflow files.

readCWL(cwlfile)

Arguments

cwlfile

The cwl file to read.

Value

A object of class `cwlProcess` or `cwlWorkflow`.

Examples

input1 <- InputParam(id = "sth") echo <- cwlProcess(baseCommand = "echo", inputs = InputParamList(input1)) tf <- writeCWL(echo) readCWL(tf[1])
#> class: cwlProcess #> cwlClass: CommandLineTool #> cwlVersion: v1.0 #> baseCommand: echo #> inputs: #> sth (string): #> outputs: #> output: #> type: stdout