cwl-utils: Get class from CWL JSON file

Description Usage Arguments Value Examples

Description

Get class from CWL JSON file

Usage

1

Arguments

input

cwl json file path

Value

character for cwl class "Workflow" or "CommandLineTool"

Examples

1
2
3
4
5
6
7
8
tool.in <- system.file("extdata/app", "tool_unpack_fastq.json", package = "sevenbridges")
flow.in <- system.file("extdata/app", "flow_star.json", package = "sevenbridges")
get_cwl_class(tool.in)
is_commandlinetool(tool.in)
is_workflow(tool.in)
get_cwl_class(flow.in)
is_commandlinetool(flow.in)
is_workflow(flow.in)

sbg/sevenbridges-r documentation built on March 26, 2021, 3:33 p.m.