2021-06-11 19:50:58 +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/'
|
|
|
|
singularity_cache_dir = '/scratch/applied-genomics/singularity'
|
|
|
|
}
|
|
|
|
|
|
|
|
env {
|
|
|
|
TMPDIR = '/home/$USER/scratch/tmp'
|
|
|
|
}
|
|
|
|
|
|
|
|
singularity {
|
|
|
|
enabled = true
|
|
|
|
envWhitelist='SINGULARITY_BINDPATH'
|
|
|
|
autoMounts = true
|
|
|
|
cacheDir = params.singularity_cache_dir
|
|
|
|
}
|
|
|
|
|
|
|
|
process {
|
|
|
|
beforeScript = 'module load singularity/3.4.1'
|
|
|
|
executor = 'slurm'
|
|
|
|
queue = { task.memory >= 30.GB && task.cpu <= 16 ? 'normal': 'smallmem' }
|
|
|
|
|
|
|
|
|
|
|
|
withLabel:process_high {
|
|
|
|
cpus = { check_max( 16 * task.attempt, 'cpus' ) }
|
2021-06-17 02:17:40 +00:00
|
|
|
memory = { check_max( 60.GB * task.attempt, 'memory' ) }
|
2021-06-11 19:50:58 +00:00
|
|
|
time = { check_max( 16.h * task.attempt, 'time' ) }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
params {
|
2021-06-17 02:18:28 +00:00
|
|
|
// TODO Need to initialize this
|
|
|
|
// igenomes_base = '/scratch/applied-genomics/references/iGenomes/references/'
|
2021-06-11 19:50:58 +00:00
|
|
|
max_memory = 90.GB
|
|
|
|
max_cpus = 16
|
|
|
|
max_time = 96.h
|
|
|
|
}
|