Skip to content

Commit 02791ac

Browse files
authored
Merge pull request #41 from matrulda/develop-1098_fix_seqreports_memory_problem
DEVELOP-1090: Add high memory label to MultiQC jobs
2 parents ce9af28 + 80817f8 commit 02791ac

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

config/compute_resources.config

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
process {
22
withName: 'fastq_screen' {
3-
memory = '4 G'
3+
memory = '4G'
44
}
55
withName: 'get_QC_thresholds' {
66
errorStrategy = 'ignore'
77
}
8+
withLabel: 'high_memory' {
9+
memory = '47G'
10+
}
811
}

main.nf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ process interop_summary {
255255
}
256256

257257
process multiqc_per_flowcell {
258+
label 'high_memory'
258259

259260
input:
260261
val runfolder_name // Run folder name
@@ -286,6 +287,7 @@ process multiqc_per_flowcell {
286287
}
287288

288289
process multiqc_per_project {
290+
label 'high_memory'
289291

290292
input:
291293
val runfolder_name

nextflow.config

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ manifest {
55
description = 'A Nextflow run folder QC pipeline for SciLifeLab SNP&SEQ platform'
66
mainScript = 'main.nf'
77
nextflowVersion = '!>=20.01.0'
8-
version = '1.0'
8+
version = '1.0.1'
99
}
1010

1111
profiles {
@@ -16,6 +16,13 @@ profiles {
1616
executor.name = 'local'
1717
executor.memory = '12G'
1818
includeConfig "$baseDir/config/compute_resources.config"
19+
20+
// Overwrite high_memory label
21+
process {
22+
withLabel: 'high_memory' {
23+
memory = '12G'
24+
}
25+
}
1926
}
2027

2128
irma {

0 commit comments

Comments
 (0)