Skip to content

Commit 4e925d2

Browse files
committed
add resource defaults
1 parent 1f42f23 commit 4e925d2

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

recipes/agora1/agora1.nf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ workflow {
2727

2828
process ConvertToRefseq {
2929
cpus 1
30+
memory 4.GB
31+
time 1.h
3032
publishDir "${params.out}/manifests", mode: "copy", overwrite: true
3133

3234
input:
@@ -51,6 +53,8 @@ process ConvertToRefseq {
5153

5254
process DownloadGtdbTables {
5355
cpus 1
56+
memory 8.GB
57+
time 8.h
5458
errorStrategy 'retry'
5559
maxRetries 3
5660

@@ -68,6 +72,8 @@ process DownloadGtdbTables {
6872

6973
process ConvertToGtdb {
7074
cpus 1
75+
memory 4.GB
76+
time 1.h
7177
publishDir "${params.out}/manifests", mode: "copy", overwrite: true
7278

7379
input:
@@ -115,6 +121,8 @@ process ConvertToGtdb {
115121
process BuildDb {
116122
publishDir "${params.out}/databases", mode: "copy", overwrite: true
117123
cpus 12
124+
memory 16.GB
125+
time 8.h
118126

119127
input:
120128
tuple val(level), val(db), val(ver), path(manifest)
@@ -134,6 +142,8 @@ process BuildDb {
134142

135143
process GetManifest {
136144
cpus 1
145+
memory 4.GB
146+
time 1.h
137147
publishDir "${params.out}/manifests", mode: "copy", overwrite: true
138148

139149
input:

recipes/agora2/agora2.nf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ workflow {
2626

2727
process ConvertToRefseq {
2828
cpus 1
29+
memory 4.GB
30+
time 1.h
2931

3032
input:
3133
val(level)
@@ -53,6 +55,8 @@ process ConvertToRefseq {
5355

5456
process DownloadGtdbTables {
5557
cpus 1
58+
memory 8.GB
59+
time 8.h
5660
errorStrategy 'retry'
5761
maxRetries 3
5862

@@ -70,6 +74,8 @@ process DownloadGtdbTables {
7074

7175
process ConvertToGtdb {
7276
cpus 1
77+
memory 4.GB
78+
time 1.h
7379

7480
input:
7581
tuple val(level), val(db), val(ver), path(manifest)
@@ -116,6 +122,8 @@ process ConvertToGtdb {
116122
process BuildDB {
117123
publishDir "${params.out}/databases", mode: "copy", overwrite: true
118124
cpus 12
125+
memory 16.GB
126+
time 8.h
119127

120128
input:
121129
tuple val(level), val(db), val(ver), path(manifest)
@@ -135,6 +143,8 @@ process BuildDB {
135143

136144
process GetManifest {
137145
cpus 1
146+
memory 4.GB
147+
time 1.h
138148
publishDir "${params.out}/manifests", mode: "copy", overwrite: true
139149

140150
input:

recipes/uhgg/uhgg.nf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ workflow {
2626

2727
process ConvertToGtdb {
2828
cpus 1
29+
memory 4.GB
30+
time 1.h
2931
publishDir "${params.out}/manifests", mode: "copy", overwrite: true
3032

3133
input:
@@ -55,6 +57,8 @@ process ConvertToGtdb {
5557

5658
process DownloadGtdbTables {
5759
cpus 1
60+
memory 8.GB
61+
time 8.h
5862
errorStrategy 'retry'
5963
maxRetries 3
6064

@@ -72,6 +76,8 @@ process DownloadGtdbTables {
7276

7377
process ConvertToRefseq {
7478
cpus 1
79+
memory 4.GB
80+
time 1.h
7581
publishDir "${params.out}/manifests", mode: "copy", overwrite: true
7682

7783
input:
@@ -119,6 +125,8 @@ process ConvertToRefseq {
119125
process BuildDb {
120126
publishDir "${params.out}/databases", mode: "copy", overwrite: true
121127
cpus 12
128+
memory 16.GB
129+
time 8.h
122130

123131
input:
124132
tuple val(level), val(db), val(ver), path(manifest)
@@ -138,6 +146,8 @@ process BuildDb {
138146

139147
process GetManifest {
140148
cpus 1
149+
memory 4.GB
150+
time 1.h
141151
publishDir "${params.out}/manifests", mode: "copy", overwrite: true
142152

143153
input:

0 commit comments

Comments
 (0)