Skip to content

Commit

Permalink
Merge pull request #41 from matrulda/develop-1098_fix_seqreports_memo…
Browse files Browse the repository at this point in the history
…ry_problem

DEVELOP-1090: Add high memory label to MultiQC jobs
  • Loading branch information
b97pla authored May 26, 2021
2 parents ce9af28 + 80817f8 commit 02791ac
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
5 changes: 4 additions & 1 deletion config/compute_resources.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
process {
withName: 'fastq_screen' {
memory = '4 G'
memory = '4G'
}
withName: 'get_QC_thresholds' {
errorStrategy = 'ignore'
}
withLabel: 'high_memory' {
memory = '47G'
}
}
2 changes: 2 additions & 0 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ process interop_summary {
}

process multiqc_per_flowcell {
label 'high_memory'

input:
val runfolder_name // Run folder name
Expand Down Expand Up @@ -286,6 +287,7 @@ process multiqc_per_flowcell {
}

process multiqc_per_project {
label 'high_memory'

input:
val runfolder_name
Expand Down
9 changes: 8 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ manifest {
description = 'A Nextflow run folder QC pipeline for SciLifeLab SNP&SEQ platform'
mainScript = 'main.nf'
nextflowVersion = '!>=20.01.0'
version = '1.0'
version = '1.0.1'
}

profiles {
Expand All @@ -16,6 +16,13 @@ profiles {
executor.name = 'local'
executor.memory = '12G'
includeConfig "$baseDir/config/compute_resources.config"

// Overwrite high_memory label
process {
withLabel: 'high_memory' {
memory = '12G'
}
}
}

irma {
Expand Down

0 comments on commit 02791ac

Please sign in to comment.