Skip to content

Update processes directives to use selectors. #118

@ODiogoSilva

Description

@ODiogoSilva

As of version 0.31.0, nextflow throws a warning when using the process.$<process_name>.<directive> = <value> notation:

WARN: Process configuration syntax $processName has been deprecated -- Replace `process.$trimmomatic_1_3 = <value>` with a process selector

And this syntax will be replaced with process selectors. Eventually, we'll need to update this, but doing so now would break pipelines running with nextflow <0.31.0.

The idea would be to replace the current syntax:

process.$fastqc.cpus = 4
process.$fastqc.memory = 4.GB

with something like:

process {
    withName: fastqc {
        cpus = 4
        memory = 8.GB
    }
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions