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
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
(https://github.com/nf-core/sarek/blob/4bdff8eed3e4bf1a4393b226d2e87f09c2346d35/conf/base.config#L22-L24)
And then in the main, add the label:
Processes that still require very special resources (e.g. MALT) can still use the
withNameprocess selector