Parse the steps of the CWL workflow into a data frame
parse_steps(x)
CWL object
List or data frame of steps
# steps represented by a dictionary
system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>%
read_cwl_json() %>%
parse_steps() %>%
nrow()
#> [1] 5
# steps represented by a list
system.file("cwl/sbg/workflow/rnaseq-salmon.cwl", package = "tidycwl") %>%
read_cwl_yaml() %>%
parse_steps() %>%
length()
#> [1] 5