1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 08:29:54 +00:00

feat(utd): Add initial sysbio config

This commit is contained in:
Edmund Miller 2021-06-11 14:50:58 -05:00
parent 9cca0eaf85
commit 2b58a62a9b
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D

38
conf/utd_sysbio.config Normal file
View file

@ -0,0 +1,38 @@
//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' ) }
memory = { check_max( 62.GB * task.attempt, 'memory' ) }
time = { check_max( 16.h * task.attempt, 'time' ) }
}
}
params {
igenomes_base = '/scratch/applied-genomics/references/iGenomes/references/'
max_memory = 90.GB
max_cpus = 16
max_time = 96.h
}