From 14a2106c63c975eb8798525ed79593f714d00c7a Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Thu, 17 Jun 2021 08:06:24 -0500 Subject: [PATCH] fix(sysbio): Move rnaseq specific things to pipeline config --- conf/pipeline/rnaseq/utd_sysbio.config | 13 +++++++++++++ conf/utd_sysbio.config | 11 ----------- 2 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 conf/pipeline/rnaseq/utd_sysbio.config diff --git a/conf/pipeline/rnaseq/utd_sysbio.config b/conf/pipeline/rnaseq/utd_sysbio.config new file mode 100644 index 0000000..1af5ed1 --- /dev/null +++ b/conf/pipeline/rnaseq/utd_sysbio.config @@ -0,0 +1,13 @@ +process { + + withName : "STAR_ALIGN" { + memory = 36.GB + } + + withLabel:process_high { + cpus = { check_max( 16 * task.attempt, 'cpus' ) } + memory = { check_max( 60.GB * task.attempt, 'memory' ) } + time = { check_max( 16.h * task.attempt, 'time' ) } + } + +} diff --git a/conf/utd_sysbio.config b/conf/utd_sysbio.config index bd0eda8..5d02901 100644 --- a/conf/utd_sysbio.config +++ b/conf/utd_sysbio.config @@ -21,17 +21,6 @@ process { beforeScript = 'module load singularity/3.4.1' executor = 'slurm' queue = { task.memory >= 30.GB && task.cpu <= 16 ? 'normal': 'smallmem' } - - - withName:STAR_ALIGN { - memory = 36.GB - } - - withLabel:process_high { - cpus = { check_max( 16 * task.attempt, 'cpus' ) } - memory = { check_max( 60.GB * task.attempt, 'memory' ) } - time = { check_max( 16.h * task.attempt, 'time' ) } - } } params {