-
Notifications
You must be signed in to change notification settings - Fork 2
/
sanger_lsf.config
executable file
·125 lines (118 loc) · 3.07 KB
/
sanger_lsf.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
manifest {
name = 'modified from The Wellcome Sanger Institute HPC cluster profile by Anthony Underwood (@aunderwo)'
description = 'original config by Anthony Underwood (@aunderwo) https://www.sanger.ac.uk/group/informatics-support-group/'
}
params {
max_memory = 128.GB
max_cpus = 64
max_time = 48.h
singularity_cachedir = "${projectDir}/singularity"
}
singularity {
enabled = true
cacheDir = params.singularity_cachedir
autoMounts = true
}
process {
executor = 'lsf'
errorStrategy = { task.attempt <= 5 ? "retry" : "finish" }
maxRetries = 5
withName: conpairPileup {
memory = '10 GB'
queue = 'normal'
cpus = 1
}
withName: verifyConcordance {
container = 'phuongle2510/lcm_py:0.1.1'
memory = '500 MB'
queue = 'normal'
cpus = 1
}
withName: conpairContamination {
container = 'phuongle2510/lcm_py:0.1.1'
memory = '1000 MB'
queue = 'normal'
cpus = 1
}
withName: conpairFilter {
container = 'phuongle2510/lcm_py:0.1.1'
memory = '1000 MB'
queue = 'normal'
cpus = 1
}
withName: hairpinFilter {
memory = '12 GB'
queue = 'long'
cpus = 1
}
withName: pindelFilter {
memory = '500 MB'
queue = 'normal'
cpus = 1
}
withName: cgpVaf {
memory = { 2000.MB * task.attempt }
queue = 'normal'
cpus = 1
}
withName: betaBinomFilterIndex {
container = 'phuongle2510/lcm_r:0.1.1'
memory = { 500.MB * task.attempt }
queue = 'normal'
cpus = 1
}
withName: betaBinomFilter {
memory = '100 MB'
queue = 'normal'
cpus = 1
}
withName: getPhylogeny {
container = 'phuongle2510/lcm_phylogeny:0.1.1'
memory = { 200.MB * task.attempt }
queue = 'normal'
cpus = 1
}
withName: mutToTree {
container = 'phuongle2510/lcm_phylogeny:0.1.1'
memory = '100 MB'
queue = 'normal'
cpus = 1
}
withName: matrixGeneratorOnSamples {
container = 'phuongle2510/sigprofiler_matrixgenerator:1.3.21'
memory = '500 MB'
queue = 'normal'
cpus = 2
}
withName: matrixGeneratorOnBranches {
container = 'phuongle2510/sigprofiler_matrixgenerator:1.3.21'
memory = '500 MB'
queue = 'normal'
cpus = 2
}
withName: concatMatrices {
container = 'phuongle2510/lcm_py:0.1.1'
memory = '500 MB'
queue = 'normal'
cpus = 1
}
withName: sigprofilerPlotSnpBySamples {
container = 'alextidd/sigprofiler_plotting:1.3.21'
memory = { 500.MB * task.attempt }
queue = 'normal'
cpus = 1
}
withName: sigprofilerPlotSnpByBranches {
container = 'alextidd/sigprofiler_plotting:1.3.21'
memory = { 1000.MB * task.attempt }
queue = 'normal'
cpus = 1
}
}
executor{
name = 'lsf'
perJobMemLimit = true
poolSize = 4
submitRateLimit = '5 sec'
killBatchSize = 50
}