Learn R Programming

tidycwl (version 1.0.6)

read_cwl: Read a CWL file into a list

Description

Read a CWL file into a list

Usage

read_cwl(file, format = c("json", "yaml"))

Arguments

file

A file path, character string, or connection.

format

CWL storage format. "json" or "yaml".

Value

List representation of the input CWL

Examples

Run this code
# NOT RUN {
system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>%
  read_cwl(format = "json")

system.file("cwl/sbg/workflow/rnaseq-salmon.cwl", package = "tidycwl") %>%
  read_cwl(format = "yaml")
# }

Run the code above in your browser using DataLab