runCWLBatch: run CWL with batchtools

Description Usage Arguments Value

View source: R/runCWL.R

Description

run CWL with batchtools

Usage

1
2
3
4
5
6
7
8
runCWLBatch(
  cwl,
  outdir = getwd(),
  inputList,
  paramList = list(),
  BPPARAM = BatchtoolsParam(workers = lengths(inputList)[1]),
  ...
)

Arguments

cwl

A 'cwlParam' or 'cwlStepParam' object.

outdir

Directory to output results

inputList

An input list to run in parallel. The list names must be in the inputs of cwl. Jobs will be submitted in parallel for each element in the list. The output directory of each job will be made using the name of each element under the 'outdir'.

paramList

A parameter list for the cwl. The list names must be in the inputs of cwl.

BPPARAM

The options for 'BiocParallelParam'.

...

The options from runCWL.

Value

Results from computing nodes and logs from cwltool.


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