Description

Make a GSEA class file (.cls) from tabular inputs

Input

name:type
description
pattern

meta

:map

Groovy Map containing metadata including an id, the sample sheet column used to define groups, and optionally a separator to override defaults e.g. [ id:‘test’, variable:‘treatment’, separator:’,’ ]. The way these values are passed to the associated module parameters is then defined via an ext.args specification for the process from the workflow, like: ext.args = { [ “separator”: “\t”, “variable”: “$meta.variable” ] } (‘variable’ is compulsory here).

samples

:file

Tabular (e.g. TSV/CSV) samples file with sample IDs by row and variables by column.

*.{csv,tsv}

Output

name:type
description
pattern

cls

meta

:map

Groovy Map containing metadata e.g. [ id:‘test’, variable:‘treatment’, separator:’,’ ]

*.cls

:file

A categorical class format file (.cls) as defined by the Broad documentation at https://software.broadinstitute.org/cancer/software/gsea/wiki/index.php/Data_formats

versions_mawk

${task.process}

:string

The name of the process

mawk

:string

The name of the tool

mawk --version | sed '1!d;s/mawk //;s/ .*//'

:eval

The expression to obtain the version of the tool

Topics

name:type
description
pattern

versions

${task.process}

:string

The name of the process

mawk

:string

The name of the tool

mawk --version | sed '1!d;s/mawk //;s/ .*//'

:eval

The expression to obtain the version of the tool