2022-08-12 14:43:22 +00:00
|
|
|
//Profile config names for nf-core/configs
|
|
|
|
params {
|
|
|
|
config_profile_description = 'Cancer Research UK Manchester Institute HPC cluster profile provided by nf-core/configs'
|
|
|
|
config_profile_contact = 'Stephen Kitcatt, Simon Pearce (@skitcattCRUKMI, @sppearce)'
|
|
|
|
config_profile_url = 'http://scicom.picr.man.ac.uk/projects/user-support/wiki'
|
|
|
|
}
|
|
|
|
|
|
|
|
env {
|
|
|
|
SINGULARITY_CACHEDIR = '/lmod/nextflow_software'
|
|
|
|
}
|
|
|
|
|
|
|
|
singularity {
|
|
|
|
enabled = true
|
|
|
|
autoMounts = true
|
|
|
|
}
|
|
|
|
|
|
|
|
process {
|
|
|
|
beforeScript = 'module load apps/singularity/3.8.0'
|
|
|
|
executor = 'pbs'
|
|
|
|
|
2022-08-15 10:35:59 +00:00
|
|
|
errorStrategy = {task.exitStatus in [143,137,104,134,139,140] ? 'retry' : 'finish'}
|
|
|
|
maxErrors = '-1'
|
|
|
|
maxRetries = 3
|
|
|
|
|
2022-08-12 14:43:22 +00:00
|
|
|
withLabel:process_low {
|
|
|
|
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
|
|
|
|
memory = { check_max( 5.GB * task.attempt, 'memory' ) }
|
|
|
|
}
|
|
|
|
|
|
|
|
withLabel:process_medium {
|
|
|
|
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
|
|
|
|
memory = { check_max( 20.GB * task.attempt, 'memory' ) }
|
|
|
|
}
|
|
|
|
|
|
|
|
withLabel:process_high {
|
|
|
|
cpus = { check_max( 16 * task.attempt, 'cpus' ) }
|
|
|
|
memory = { check_max( 80.GB * task.attempt, 'memory' ) }
|
|
|
|
}
|
|
|
|
|
2022-08-31 14:35:57 +00:00
|
|
|
}
|
2022-08-12 14:43:22 +00:00
|
|
|
|
2022-08-31 14:35:57 +00:00
|
|
|
executor {
|
|
|
|
name = 'pbs'
|
|
|
|
queueSize = 1000
|
|
|
|
pollInterval = '10 sec'
|
2022-08-12 14:43:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
params {
|
|
|
|
max_memory = 2000.GB
|
|
|
|
max_cpus = 32
|
|
|
|
max_time = 72.h
|
|
|
|
}
|