writeCWL: Write CWL

Description Usage Arguments Value Examples

View source: R/writeCWL.R

Description

write 'cwlParam' to cwl and yml.

Usage

1
writeCWL(cwl, prefix, docker = TRUE, ...)

Arguments

cwl

A 'cwlParam' or 'cwlStepParam' object.

prefix

The prefix of 'cwl' and 'yml' file to write.

docker

Whether to use docker.

...

Other options from 'yaml::write_yaml'.

Value

A CWL file and A YML file.

Examples

1
2
3
4
5
input1 <- InputParam(id = "sth")
echo <- cwlParam(baseCommand = "echo",
                 inputs = InputParamList(input1))
tf <- tempfile()
writeCWL(echo, tf)

Rcwl documentation built on Nov. 8, 2020, 8:11 p.m.