parse_type: Parse CWL content type

View source: R/parse.R

parse_typeR Documentation

Parse CWL content type

Description

Parse CWL content type

Usage

parse_type(x)

Arguments

x

CWL object

Value

CWL content type (Workflow or CommandLineTool)

Examples

system.file("cwl/sbg/workflow/gatk4-wgs.json", package = "tidycwl") %>%
  read_cwl(format = "json") %>%
  parse_type()

system.file("cwl/sbg/tool/bwa-mem.json", package = "tidycwl") %>%
  read_cwl(format = "json") %>%
  parse_type()

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