forked from nf-core/configs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ebi_codon_slurm.config
41 lines (37 loc) · 1.32 KB
/
ebi_codon_slurm.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nextflow config file for EMBL-EBI Codon Cluster for the SLURM login nodes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Author: Saul Pierotti
Mail: saul@ebi.ac.uk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
params {
config_profile_contact = "Saul Pierotti (@saulpierotti)"
config_profile_description = "The European Bioinformatics Institute HPC cluster (codon) profile for the SLURM login nodes"
config_profile_url = "https://www.ebi.ac.uk/"
}
singularity {
enabled = true
// the default is 20 minutes and fails with large images
pullTimeout = "3 hours"
}
process{
// this is to avoid errors for missing files due to shared filesystem latency
maxRetries = 3
errorStrategy = { ( task.exitStatus == 0 ) ? "retry" : "terminate" }
cache = "lenient"
afterScript = "sleep 60" // to avoid fail when using storeDir for missing output
}
executor {
name = "slurm"
queueSize = 2000
submitRateLimit = "10/1sec"
exitReadTimeout = "30 min"
jobName = {
task.name // [] and " " not allowed in lsf job names
.replace("[", "(")
.replace("]", ")")
.replace(" ", "_")
}
}