ext properties/keys
Ext properties or keys are special process directives (See: ext directive ) that insert strings into the module scripts. For example, an nf-core module uses the string assigned to ext.args
( or ext.args2
, ext.args3
, … ) to insert tool specific options in a module script:
Example:
The configuration
inserts the string -T -K
as options to the module script:
so the script becomes:
The following table lists the available keys commonly used in nf-core modules.
Key | Description |
---|---|
ext.args | Additional arguments appended to command in module. |
ext.args2 | Second set of arguments appended to command in module. |
ext.args3 | Third set of arguments appended to command in module. |
ext.prefix | File name prefix for output files. |
Note
The order of the numeric ID of args
must match the order of the tools as used in the module.
To see some more advanced examples of these keys in use see: