read_cwl: Read a CWL file into a list

View source: R/read.R

read_cwlR Documentation

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

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")

sbg/tidycwl documentation built on April 2, 2022, 3:29 a.m.