From 4de9d962e9853469c1480f05119bade83a555028 Mon Sep 17 00:00:00 2001 From: Ally Hawkins <54039191+allyhawkins@users.noreply.github.com> Date: Thu, 7 Dec 2023 09:32:59 -0600 Subject: [PATCH 1/3] use 128 gb for cellassign --- config/process_base.config | 3 +++ modules/classify-celltypes.nf | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/process_base.config b/config/process_base.config index 4b6f612c..4b86bbe5 100644 --- a/config/process_base.config +++ b/config/process_base.config @@ -21,6 +21,9 @@ process{ withLabel: mem_32 { memory = {check_memory(32.GB * task.attempt)} } + withLabel: mem_128 { + memory = {check_memory(128.GB * task.attempt)} + } withLabel: cpus_2 { cpus = {check_cpus(2)} } diff --git a/modules/classify-celltypes.nf b/modules/classify-celltypes.nf index 8e8081bf..45fc6bb5 100644 --- a/modules/classify-celltypes.nf +++ b/modules/classify-celltypes.nf @@ -45,7 +45,7 @@ process classify_cellassign { mode: 'copy', pattern: "${cellassign_dir}" ) - label 'mem_32' + label 'mem_128' label 'cpus_12' tag "${meta.library_id}" input: From c29960a83b337948649f29876850116f08f8d32f Mon Sep 17 00:00:00 2001 From: Ally Hawkins Date: Thu, 7 Dec 2023 09:35:35 -0600 Subject: [PATCH 2/3] use 32 cpus --- config/process_base.config | 3 +++ modules/classify-celltypes.nf | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/process_base.config b/config/process_base.config index 4b86bbe5..8a836959 100644 --- a/config/process_base.config +++ b/config/process_base.config @@ -36,6 +36,9 @@ process{ withLabel: cpus_12 { cpus = {check_cpus(12)} } + withLabel: cpus_32 { + cpus = {check_cpus(32)} + } } diff --git a/modules/classify-celltypes.nf b/modules/classify-celltypes.nf index 45fc6bb5..9380450f 100644 --- a/modules/classify-celltypes.nf +++ b/modules/classify-celltypes.nf @@ -46,7 +46,7 @@ process classify_cellassign { pattern: "${cellassign_dir}" ) label 'mem_128' - label 'cpus_12' + label 'cpus_32' tag "${meta.library_id}" input: tuple val(meta), path(processed_rds), path(cellassign_reference_file) From d6f3a547f85cbff2d0cdf97520de067228e0147f Mon Sep 17 00:00:00 2001 From: Ally Hawkins Date: Thu, 7 Dec 2023 10:02:31 -0600 Subject: [PATCH 3/3] only 24 cpus --- config/process_base.config | 4 ++-- modules/classify-celltypes.nf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/process_base.config b/config/process_base.config index 8a836959..7b198202 100644 --- a/config/process_base.config +++ b/config/process_base.config @@ -36,8 +36,8 @@ process{ withLabel: cpus_12 { cpus = {check_cpus(12)} } - withLabel: cpus_32 { - cpus = {check_cpus(32)} + withLabel: cpus_24 { + cpus = {check_cpus(24)} } } diff --git a/modules/classify-celltypes.nf b/modules/classify-celltypes.nf index 9380450f..3719eb37 100644 --- a/modules/classify-celltypes.nf +++ b/modules/classify-celltypes.nf @@ -46,7 +46,7 @@ process classify_cellassign { pattern: "${cellassign_dir}" ) label 'mem_128' - label 'cpus_32' + label 'cpus_24' tag "${meta.library_id}" input: tuple val(meta), path(processed_rds), path(cellassign_reference_file)