Skip to content

Generalise base.configs #310

@jfy133

Description

@jfy133

Is your feature request related to a problem? Please describe.

Base config is quite long at the moment with default resource settings for every process.

@maxulysse suggested to generalise the resources using labels.

i.e. in the base_config set the following

  withLabel:cpus_1 {
    cpus = {check_resource(1)}
  }

(https://github.com/nf-core/sarek/blob/4bdff8eed3e4bf1a4393b226d2e87f09c2346d35/conf/base.config#L22-L24)

And then in the main, add the label:

process FastQCFQ {
    label 'cpus_2'


    tag {idPatient + "-" + idRun}

Processes that still require very special resources (e.g. MALT) can still use the withName process selector

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions