-
Notifications
You must be signed in to change notification settings - Fork 55
/
bakta.cwl
303 lines (291 loc) · 8.54 KB
/
bakta.cwl
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool
id: bakta
label: "Bakta: rapid & standardized annotation of bacterial genomes, MAGs & plasmids"
doc: |
The software and documentation can be found here:
https://github.com/oschwengers/bakta
Necessary database files can be found here:
https://doi.org/10.5281/zenodo.4247252
requirements:
InlineJavascriptRequirement: {}
ResourceRequirement:
ramMin: 4096
coresMin: 1
hints:
SoftwareRequirement:
packages:
bakta:
version: [ "1.10.1" ]
specs: ["https://github.com/oschwengers/bakta"]
DockerRequirement:
dockerPull: oschwengers/bakta:v1.10.1
#baseCommand: []
inputs:
- doc: Genome assembly in Fasta format
id: fasta_file
inputBinding: {position: 100}
type: File
- doc: Database path (default = <bakta_path>/db)
id: db
inputBinding: {prefix: --db}
type: Directory
- doc: Minimum contig size (default = 1; 200 in compliant mode)
id: min_contig_length
inputBinding: {prefix: --min-contig-length}
type: int?
- doc: Prefix for output files
id: prefix
inputBinding: {prefix: --prefix}
type: string?
- doc: Output directory (default = current working directory)
id: output
inputBinding: {prefix: --output}
type: Directory?
- doc: Force overwriting existing output folder (except for current working directory)
id: force
inputBinding: {prefix: --force}
default: true
type: boolean?
- doc: Genus name
id: genus
inputBinding: {prefix: --genus}
type: string?
- doc: Species name
id: species
inputBinding: {prefix: --species}
type: string?
- doc: Strain name
id: strain
inputBinding: {prefix: --strain}
type: string?
- doc: Plasmid name
id: plasmid
inputBinding: {prefix: --plasmid}
type: string?
- doc: All sequences are complete replicons (chromosome/plasmid[s])
id: complete
inputBinding: {prefix: --complete}
type: boolean?
- doc: Prodigal training file for CDS prediction
id: prodigal_tf_file
inputBinding: {prefix: --prodigal-tf}
type: File?
- doc: Translation table 11/4/25 (default = 11)
id: translation_table
inputBinding: {prefix: --translation-table}
type: int?
- doc: Gram type +/-/? (default = ?)
id: gram
inputBinding: {prefix: --gram}
type: string?
- doc: Locus prefix (default = contig)
id: locus
inputBinding: {prefix: --locus}
type: string?
- doc: Locus tag prefix (default = autogenerated)
id: locus_tag
inputBinding: {prefix: --locus-tag}
type: string?
- doc: Locus tag increment 1/5/10 (default = 1)
id: locus_tag
inputBinding: {prefix: --locus-tag-increment}
type: int?
- doc: Keep original contig headers
id: keep_contig_headers
inputBinding: {prefix: --keep-contig-headers}
type: boolean?
- doc: Force Genbank/ENA/DDJB compliance
id: compliant
inputBinding: {prefix: --compliant}
type: boolean?
- doc: Replicon information table (tsv/csv)
id: replicons
inputBinding: {prefix: --replicons}
type: File?
- doc: Genbank/GFF3 file of trusted regions for pre-detected feature coordinates
id: regions
inputBinding: {prefix: --regions}
type: File?
- doc: Fasta file of trusted protein sequences for CDS annotation
id: proteins
inputBinding: {prefix: --proteins}
type: File?
- doc: HMM file of trusted hidden markov models in HMMER format for CDS annotation
id: hmms
inputBinding: {prefix: --hmms}
type: File?
- doc: Run in metagenome mode
id: meta
inputBinding: {prefix: --meta}
type: boolean?
- doc: Skip tRNA detection & annotation
id: skip_tRNA
inputBinding: {prefix: --skip-trna}
type: boolean?
- doc: Skip tmRNA detection & annotation
id: skip_tmrna
inputBinding: {prefix: --skip-tmrna}
type: boolean?
- doc: Skip rRNA detection & annotation
id: skip_rrna
inputBinding: {prefix: --skip-rrna}
type: boolean?
- doc: Skip ncRNA detection & annotation
id: skip_ncrna
inputBinding: {prefix: --skip-ncrna}
type: boolean?
- doc: Skip ncRNA region detection & annotation
id: skip_ncrna_region
inputBinding: {prefix: --skip-ncrna-region}
type: boolean?
- doc: Skip CRISPR detection & annotation
id: skip_crispr
inputBinding: {prefix: --skip-crispr}
type: boolean?
- doc: Skip CDS detection & annotation
id: skip_cds
inputBinding: {prefix: --skip-cds}
type: boolean?
- doc: Skip Pseudogene detection & annotation
id: skip_pseudo
inputBinding: {prefix: --skip-pseudo}
type: boolean?
- doc: Skip sORF detection & annotation
id: skip_sorf
inputBinding: {prefix: --skip-sorf}
type: boolean?
- doc: Skip gap detection & annotation
id: skip_gap
inputBinding: {prefix: --skip-gap}
type: boolean?
- doc: Skip ori detection & annotation
id: skip_ori
inputBinding: {prefix: --skip-ori}
type: boolean?
- doc: Skip feature overlap filters
id: skip_filter
inputBinding: {prefix: --skip-filter}
type: boolean?
- doc: Skip genome plotting
id: skip_plot
inputBinding: {prefix: --skip-plot}
type: boolean?
- doc: Print verbose information
id: verbose
inputBinding: {prefix: --verbose}
default: true
type: boolean?
- doc: Run Bakta in debug mode
id: debug
inputBinding: {prefix: --debug}
type: boolean?
- doc: Threads
id: threads
inputBinding: {prefix: --threads}
type: int?
- doc: Directory for temporary files (default = system dependent auto detection)
id: tmp_dir
inputBinding: {prefix: --tmp-dir}
type: Directory?
outputs:
- doc: Hypothetical CDS AA sequences as Fasta
id: hypo_sequences_cds
type: File
format: edam:format_2200
outputBinding: {glob: '*.hypotheticals.faa'}
- doc: Information on hypothetical CDS as TSV
id: hypo_annotation_tsv
type: File
format: edam:format_3475
outputBinding: {glob: '*.hypotheticals.tsv'}
- doc: Annotation as TSV
id: annotation_tsv
type: File
format: edam:format_3475
outputBinding:
glob: ${
if (inputs.prefix !== null) {
return inputs.prefix + '.tsv';
} else{
return inputs.fasta_file.basename.replace(/\.[^/.]+$/, '') + '.tsv';
}
}
- doc: Inference metrics (score, evalue, coverage, identity) for annotated accessions
id: inference_tsv
type: File
format: edam:format_3475
outputBinding: {glob: '*.inference.tsv'}
- doc: Annotation summary as txt
id: summary_txt
type: File
format: edam:format_2330
outputBinding: {glob: '*.txt'}
- doc: Annotation as JSON
id: annotation_json
type: File
format: edam:format_3464
outputBinding: {glob: '*.json'}
- doc: Annotation as GFF3
id: annotation_gff3
type: File
format: edam:format_1939
outputBinding: {glob: '*.gff3'}
- doc: Annotation as GenBank
id: annotation_gbff
type: File
format: edam:format_1936
outputBinding: {glob: '*.gbff'}
- doc: Annotation as EMBL
id: annotation_embl
type: File
format: edam:format_1927
outputBinding: {glob: '*.embl'}
- doc: Genome Sequences as Fasta
id: sequences_fna
type: File
format: edam:format_2200
outputBinding: {glob: '*.fna'}
- doc: Gene DNA sequences as Fasta
id: sequences_ffn
type: File
format: edam:format_2200
outputBinding: {glob: '*.ffn'}
- doc: CDS AA sequences as Fasta
id: sequences_cds
type: File
format: edam:format_2200
outputBinding:
glob: ${
if (inputs.prefix !== null) {
return inputs.prefix + '.faa';
} else{
return inputs.fasta_file.basename.replace(/\.[^/.]+$/, '') + '.faa';
}
}
- doc: Circular genome plot as PNG
id: plot_png
type: File
format: edam:format_3603
outputBinding: {glob: '*.png'}
- doc: Circular genome plot as SVG
id: plot_svg
type: File
format: edam:format_3604
outputBinding: {glob: '*.svg'}
s:author:
- class: s:Person
s:identifier: https://orcid.org/0000-0003-4216-2721
s:email: mailto:[email protected]
s:name: Oliver Schwengers
s:citation: https://doi.org/10.1099/mgen.0.000685
s:codeRepository: https://github.com/oschwengers/bakta
s:license: https://spdx.org/licenses/GNU GPL3
s:programmingLanguage: Python
$namespaces:
s: https://schema.org/
edam: http://edamontology.org/
$schemas:
- https://schema.org/version/latest/schemaorg-current-https.rdf
- http://edamontology.org/EDAM_1.18.owl