2020-03-09 21:18:41 +00:00
|
|
|
//Profile config names for nf-core/configs
|
|
|
|
params {
|
|
|
|
config_profile_description = 'University of Texas at Dallas HPC cluster profile provided by nf-core/configs'
|
|
|
|
config_profile_contact = 'Edmund Miller(@emiller88)'
|
|
|
|
config_profile_url = 'http://docs.oithpc.utdallas.edu/'
|
|
|
|
}
|
|
|
|
|
2021-03-22 02:45:39 +00:00
|
|
|
env {
|
|
|
|
TMPDIR = '/home/$USER/scratch/tmp'
|
|
|
|
SINGULARITY_CACHEDIR = '/home/$USER/scratch/tmp'
|
|
|
|
}
|
|
|
|
|
2020-03-09 21:18:41 +00:00
|
|
|
singularity {
|
|
|
|
enabled = true
|
|
|
|
envWhitelist='SINGULARITY_BINDPATH'
|
|
|
|
autoMounts = true
|
|
|
|
}
|
|
|
|
|
|
|
|
process {
|
2020-09-14 01:26:45 +00:00
|
|
|
beforeScript = 'module load singularity/3.2.1'
|
2020-03-09 21:18:41 +00:00
|
|
|
executor = 'slurm'
|
2020-09-14 01:45:34 +00:00
|
|
|
queue = { task.memory >= 32.GB && task.cpu <= 12 ? 'Kim': task.memory <= 24.GB && task.cpu <= 8 ? 'smallmem' : 'genomics' }
|
2021-03-22 02:46:25 +00:00
|
|
|
|
|
|
|
withName:TRIMGALORE {
|
|
|
|
memory = 31.GB
|
|
|
|
}
|
|
|
|
|
|
|
|
withLabel:process_low {
|
|
|
|
cpus = { check_max( 2 * task.attempt, 'cpus' ) }
|
|
|
|
memory = { check_max( 12.GB * task.attempt, 'memory' ) }
|
|
|
|
time = { check_max( 6.h * task.attempt, 'time' ) }
|
|
|
|
}
|
|
|
|
|
|
|
|
withLabel:process_medium {
|
|
|
|
cpus = { check_max( 16 * task.attempt, 'cpus' ) }
|
|
|
|
memory = { check_max( 31.GB * task.attempt, 'memory' ) }
|
|
|
|
time = { check_max( 8.h * task.attempt, 'time' ) }
|
|
|
|
}
|
|
|
|
|
2021-03-22 17:42:56 +00:00
|
|
|
withLabel:process_high {
|
2021-03-22 02:46:25 +00:00
|
|
|
cpus = { check_max( 12 * task.attempt, 'cpus' ) }
|
2021-03-22 17:42:56 +00:00
|
|
|
memory = { check_max( 120.GB * task.attempt, 'memory' ) }
|
2021-03-22 02:46:25 +00:00
|
|
|
time = { check_max( 16.h * task.attempt, 'time' ) }
|
|
|
|
}
|
2020-03-09 21:18:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
params {
|
2020-09-14 01:26:45 +00:00
|
|
|
max_memory = 128.GB
|
2020-03-09 21:18:41 +00:00
|
|
|
max_cpus = 16
|
2020-09-14 01:26:45 +00:00
|
|
|
max_time = 96.h
|
2020-03-09 21:18:41 +00:00
|
|
|
}
|