1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-25 01:19:54 +00:00

fix(sysbio): Move rnaseq specific things to pipeline config

This commit is contained in:
Edmund Miller 2021-06-17 08:06:24 -05:00
parent 7ff1c6cc7d
commit 14a2106c63
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D
2 changed files with 13 additions and 11 deletions

View 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' ) }
}
}

View file

@ -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 {