Parse the outputs of the CWL workflow into a data frame

parse_outputs(x, simplify = TRUE)

Arguments

x

CWL object

simplify

Simplify the list as a data frame?

Value

List or data frame of outputs

Examples

system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>%
  read_cwl_json() %>%
  parse_outputs() %>%
  names()
#> [1] "description"        "sbg:fileTypes"      "type"              
#> [4] "outputSource"       "required"           "id"                
#> [7] "label"              "sbg:includeInPorts"

system.file("cwl/sbg/workflow/rnaseq-salmon.cwl", package = "tidycwl") %>%
  read_cwl_yaml() %>%
  parse_outputs() %>%
  names()
#> [1] "id"                 "outputSource"       "sbg:fileTypes"     
#> [4] "type"               "label"              "description"       
#> [7] "required"           "sbg:includeInPorts"