Parse a CWL workflow and return the metadata, inputs, outputs, and steps in a list.

parse_cwl(x)

Arguments

x

CWL object

Value

List of CWL metadata, inputs, outputs, and steps

Examples

system.file("cwl/sbg/workflow/rnaseq-salmon.cwl", package = "tidycwl") %>%
  read_cwl_yaml() %>%
  parse_cwl() %>%
  names()
#> [1] "meta"    "steps"   "inputs"  "outputs"