parse_type {tidycwl}R 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()

[Package tidycwl version 1.0.7 Index]