read_cwl {tidycwl}R 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")

[Package tidycwl version 1.0.7 Index]