Read a CWL file into a list
read_cwl(file, format = c("json", "yaml"))
| file | A file path, character string, or connection. |
|---|---|
| format | CWL storage format. |
List representation of the input CWL
system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>% read_cwl(format = "json")#> Name: Salmon Workflow CWL 1.0 #> Class: Workflow #> CWL Version: v1.0system.file("cwl/sbg/workflow/rnaseq-salmon.cwl", package = "tidycwl") %>% read_cwl(format = "yaml")#> Name: Salmon Workflow CWL 1.0 #> Class: Workflow #> CWL Version: v1.0