mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-22 08:29:54 +00:00
fix(sysbio): Move rnaseq specific things to pipeline config
This commit is contained in:
parent
7ff1c6cc7d
commit
14a2106c63
2 changed files with 13 additions and 11 deletions
13
conf/pipeline/rnaseq/utd_sysbio.config
Normal file
13
conf/pipeline/rnaseq/utd_sysbio.config
Normal file
|
@ -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' ) }
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -21,17 +21,6 @@ process {
|
||||||
beforeScript = 'module load singularity/3.4.1'
|
beforeScript = 'module load singularity/3.4.1'
|
||||||
executor = 'slurm'
|
executor = 'slurm'
|
||||||
queue = { task.memory >= 30.GB && task.cpu <= 16 ? 'normal': 'smallmem' }
|
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 {
|
params {
|
||||||
|
|
Loading…
Reference in a new issue