Learn R Programming

tidycwl (version 1.0.7)

parse_type: 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

Run this code
# NOT RUN {
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()
# }

Run the code above in your browser using DataLab