parse_steps: Parse the steps of the CWL workflow into a data frame

View source: R/parse.R

parse_stepsR Documentation

Parse the steps of the CWL workflow into a data frame

Description

Parse the steps of the CWL workflow into a data frame

Usage

parse_steps(x)

Arguments

x

CWL object

Value

List or data frame of steps

Examples

# steps represented by a dictionary
system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>%
  read_cwl_json() %>%
  parse_steps() %>%
  nrow()

# steps represented by a list
system.file("cwl/sbg/workflow/rnaseq-salmon.cwl", package = "tidycwl") %>%
  read_cwl_yaml() %>%
  parse_steps() %>%
  length()

tidycwl documentation built on May 3, 2022, 9:07 a.m.