Skip to content

Commit e381fbe

Browse files
committed
Merge branch 'dev' into combgc_new_input_param
2 parents 9986687 + c955fac commit e381fbe

File tree

2 files changed

+39
-32
lines changed

2 files changed

+39
-32
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
- [#251](https://github.com/nf-core/funcscan/pull/251) Added annotation tool: Pyrodigal. (by @jasmezz)
1414
- [#252](https://github.com/nf-core/funcscan/pull/252) Added a new parameter `-arg_rgi_savejson` that saves the file `<samplename>.json` in the RGI directory. The default ouput for RGI is now only `<samplename>.txt`. (by @darcy220606)
1515
- [#253](https://github.com/nf-core/funcscan/pull/253) Updated Prodigal to have compressed output files. (by @jasmezz)
16-
- [#258](https://github.com/nf-core/funcscan/pull/258) Added comBGC function to screen whole directory of antiSMASH output (one subfolder per sample). (by @jasmezz)
1716

1817
### `Fixed`
1918

@@ -23,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2322
- [#235](https://github.com/nf-core/funcscan/pull/235) Renamed parameter `annotation_bakta_db` to `annotation_bakta_db_localpath`. (by @jasmezz)
2423
- [#242](https://github.com/nf-core/funcscan/pull/242) Fixed MACREL '.faa' issue that was generated when it was run on its own and upgraded MACREL from version `1.1.0` to `1.2.0` (by @Darcy220606)
2524
- [#248](https://github.com/nf-core/funcscan/pull/248) Applied best-practice `error("message")` to all (sub)workflow files. (by @jasmezz)
25+
- [#254](https://github.com/nf-core/funcscan/pull/254) Further resource optimisation based on feedback from 'real world' datasets. (ongoing, reported by @alexhbnr and @Darcy220606, fix by @jfy133)
2626

2727
### `Dependencies`
2828

conf/base.config

+38-31
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ process {
4343
withLabel:process_high {
4444
cpus = { check_max( 12 * task.attempt, 'cpus' ) }
4545
memory = { check_max( 72.GB * task.attempt, 'memory' ) }
46-
time = { check_max( 1.h * task.attempt, 'time' ) }
46+
time = { check_max( 1.h * task.attempt, 'time' ) }
4747
}
4848
withLabel:process_long {
4949
time = { check_max( 20.h * task.attempt, 'time' ) }
@@ -67,12 +67,12 @@ process {
6767
*/
6868

6969
withName: GUNZIP {
70-
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
70+
memory = { check_max( 2.GB * task.attempt, 'memory' ) }
7171
cpus = 1
7272
}
7373

7474
withName: UNTAR {
75-
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
75+
memory = { check_max( 2.GB * task.attempt, 'memory' ) }
7676
cpus = 1
7777
}
7878

@@ -81,49 +81,55 @@ process {
8181
}
8282

8383
withName: PROKKA {
84-
memory = { check_max( 4.GB * task.attempt, 'memory' ) }
85-
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
86-
time = { check_max( 8.h * task.attempt, 'time' ) }
84+
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
85+
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
86+
time = { check_max( 8.h * task.attempt, 'time' ) }
8787
}
8888

8989
withName: PRODIGAL_GFF {
90-
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
90+
memory = { check_max( 2.GB * task.attempt, 'memory' ) }
9191
cpus = 1
9292
}
9393

9494
withName: PRODIGAL_GBK {
95-
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
95+
memory = { check_max( 2.GB * task.attempt, 'memory' ) }
9696
cpus = 1
9797
}
9898

99+
withName: BAKTA {
100+
memory = { check_max( 64.GB * task.attempt, 'memory' ) }
101+
cpus = { check_max( 8 * task.attempt, 'cpus' ) }
102+
time = { check_max( 8.h * task.attempt, 'time' ) }
103+
}
104+
99105
withName: ABRICATE_RUN {
100-
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
101-
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
106+
memory = { check_max( 2.GB * task.attempt, 'memory' ) }
107+
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
102108
}
103109

104110
withName: AMRFINDERPLUS_RUN {
105-
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
111+
memory = { check_max( 2.GB * task.attempt, 'memory' ) }
106112
cpus = 1
107113
}
108114

109115
withName: DEEPARG_DOWNLOADDATA {
110-
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
116+
memory = { check_max( 2.GB * task.attempt, 'memory' ) }
111117
cpus = 1
112118
}
113119

114120
withName: DEEPARG_PREDICT {
115-
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
121+
memory = { check_max( 2.GB * task.attempt, 'memory' ) }
116122
cpus = 1
117123
}
118124

119125
withName: FARGENE {
120-
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
121-
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
126+
memory = { check_max( 2.GB * task.attempt, 'memory' ) }
127+
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
122128
}
123129

124130
withName: RGI_MAIN {
125-
memory = { check_max( 12.GB * task.attempt, 'memory' ) }
126-
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
131+
memory = { check_max( 28.GB * task.attempt, 'memory' ) }
132+
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
127133
}
128134

129135
withName: AMPIR {
@@ -132,28 +138,28 @@ process {
132138
}
133139

134140
withName: AMPLIFY_PREDICT {
135-
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
141+
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
136142
cpus = 1
137-
time = { check_max( 8.h * task.attempt, 'time' ) }
143+
time = { check_max( 24.h * task.attempt, 'time' ) }
138144
}
139145

140146
withName: AMP_HMMER_HMMSEARCH {
141-
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
142-
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
147+
memory = { check_max( 2.GB * task.attempt, 'memory' ) }
148+
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
143149
}
144150

145151
withName: MACREL_CONTIGS {
146152
memory = { check_max( 4.GB * task.attempt, 'memory' ) }
147-
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
153+
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
148154
}
149155

150156
withName: BGC_HMMER_HMMSEARCH {
151-
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
152-
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
157+
memory = { check_max( 2.GB * task.attempt, 'memory' ) }
158+
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
153159
}
154160

155161
withName: ANTISMASH_ANTISMASHLITE {
156-
memory = { check_max( 64.GB * task.attempt, 'memory' ) }
162+
memory = { check_max( 64.GB * task.attempt, 'memory' ) }
157163
cpus = { check_max( 8 * task.attempt, 'cpus' ) }
158164
time = { check_max( 12.h * task.attempt, 'time' ) }
159165
}
@@ -164,19 +170,19 @@ process {
164170
}
165171

166172
withName: DEEPBGC_DOWNLOAD {
167-
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
173+
memory = { check_max( 2.GB * task.attempt, 'memory' ) }
168174
cpus = 1
169175
}
170176

171177
withName: DEEPBGC_PIPELINE {
172-
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
178+
memory = { check_max( 2.GB * task.attempt, 'memory' ) }
173179
cpus = 1
174-
time = { check_max( 12.h * task.attempt, 'time' ) }
180+
time = { check_max( 24.h * task.attempt, 'time' ) }
175181
}
176182

177183
withName: GECCO_RUN {
178-
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
179-
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
184+
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
185+
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
180186
}
181187

182188
withName: HAMRONIZATION_ABRICATE {
@@ -190,7 +196,7 @@ process {
190196
}
191197

192198
withName: HAMRONIZATION_DEEPARG {
193-
memory = { check_max( 4.GB * task.attempt, 'memory' ) }
199+
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
194200
cpus = 1
195201
}
196202

@@ -211,5 +217,6 @@ process {
211217

212218
withName: AMPCOMBI {
213219
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
220+
time = { check_max( 2.h * task.attempt, 'time' ) }
214221
}
215222
}

0 commit comments

Comments
 (0)