-
Notifications
You must be signed in to change notification settings - Fork 276
/
ebi_codon.config
58 lines (54 loc) · 1.59 KB
/
ebi_codon.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nextflow config file for EMBL-EBI Codon Cluster
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Author: Saul Pierotti
Mail: [email protected]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
params {
config_profile_contact = "Saul Pierotti (@saulpierotti)"
config_profile_description = "The European Bioinformatics Institute HPC cluster (codon) profile"
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 {
queue = {
if (task.time > 7.day && task.memory > 300.GB) {
"long_bigmem"
}
else if (task.memory > 300.GB) {
"bigmem"
}
else if (task.time > 7.day) {
"long"
}
else if (task.time > 1.day) {
"research"
}
else {
"short"
}
}
// 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"
}
executor {
name = "lsf"
queueSize = 2000
submitRateLimit = "10/1sec"
exitReadTimeout = "30 min"
jobName = {
task.name
.replace("[", "(")
.replace("]", ")")
.replace(" ", "_")
}
}