-
Notifications
You must be signed in to change notification settings - Fork 3
/
psiblast.cwl
341 lines (293 loc) · 8.56 KB
/
psiblast.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
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
#!/usr/bin/env cwl-runner
# Copyright (C) 2019 - 2024 EMBL - European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
cwlVersion: v1.0
class: CommandLineTool
label: "PSI-Blast"
id: "psiblast"
baseCommand: psiblast.py
hints:
DockerRequirement:
dockerPull: ebiwp/webservice-clients
inputs:
# Web Service Clients: Common Entries
email:
type: string?
doc: "E-mail address"
inputBinding:
prefix: --email
position: 2
title:
type: string?
doc: "Job title"
inputBinding:
prefix: --title
position: 3
jobid:
type: string?
doc: "Job identifier"
inputBinding:
prefix: --jobid
position: 1
polljob:
type: boolean?
doc: "Get job result"
inputBinding:
prefix: --polljob
position: 2
outfile:
type: string?
doc: "File name for results"
inputBinding:
prefix: --outfile
position: 4
outformat:
type: string?
doc: "Output format for results"
inputBinding:
prefix: --outformat
position: 5
pollfreq:
type: int?
doc: "Poll frequency in seconds (default 3s)"
inputBinding:
prefix: --pollFreq
position: 6
params:
type: boolean?
doc: "List input parameters"
inputBinding:
prefix: --params
position: 1
paramdetails:
type: string?
doc: "Get details for parameter"
inputBinding:
prefix: --paramDetail
position: 1
resultTypes:
type: string?
doc: "Get result types"
inputBinding:
prefix: --resultTypes
position: 1
asyncjob:
type: boolean?
doc: "Asynchronous mode"
inputBinding:
prefix: --asyncjob
position: 2
status:
type: boolean?
doc: "Get job status"
inputBinding:
prefix: --status
position: 2
version:
type: boolean?
doc: "Prints out the version of the Client and exit"
inputBinding:
prefix: --version
position: 1
baseUrl:
type: string?
doc: "Base URL for service"
inputBinding:
prefix: --baseUrl
position: 7
multifasta:
type: boolean?
doc: "Treat input as a set of fasta formatted sequences"
inputBinding:
prefix: --multifasta
position: 8
useSeqId:
type: boolean?
doc: "Use sequence identifiers for output filenames. Only available in multi-fasta and multi-identifier modes"
inputBinding:
prefix: --useSeqId
position: 9
maxJobs:
type: int?
doc: "Maximum number of concurrent jobs. Only available in multifasta or list file modes (default 20 jobs)"
inputBinding:
prefix: --maxJobs
position: 10
# Web Service Clients: Different Entries
sequence:
type: string?
label: "Input sequence"
doc: "Sequence filename or ID"
inputBinding:
prefix: --sequence
position: 8
matrix:
type: string?
label: Matrix
doc: "The comparison matrix to be used to score alignments when searching the database"
inputBinding:
prefix: --matrix
position: 9
default: "BLOSUM62"
gapopen:
type: string?
label: Gap open
doc: "Penalty taken away from the score when a gap is created in sequence. Increasing the gap openning penalty will decrease the number of gaps in the final alignment."
inputBinding:
prefix: --gapopen
position: 10
default: "11"
gapext:
type: string?
label: Gap extend
doc: "Penalty taken away from the score for each base or residue in the gap. Increasing the gap extension penalty favors short gaps in the final alignment, conversly decreasing the gap extension penalty favors long gaps in the final alignment."
inputBinding:
prefix: --gapext
position: 11
default: "1"
expthr:
type: string?
label: Results E() Limit
doc: "Limits the number of scores and alignments reported based on the expectation value. This is the maximum number of times the match is expected to occur by chance."
inputBinding:
prefix: --expthr
position: 12
default: "10.0"
psithr:
type: string?
label: PSSM E-Value cut-off
doc: "Expectation value threshold for automatic selection of matched sequences for inclusion in PSSM at each iteration."
inputBinding:
prefix: --psithr
position: 13
default: "1.0e-3"
scores:
type: string?
label: Scores
doc: "Maximum number of match score summaries reported in the result output."
inputBinding:
prefix: --scores
position: 14
default: "500"
alignments:
type: string?
label: Alignments
doc: "Maximum number of match alignments reported in the result output."
inputBinding:
prefix: --alignments
position: 15
default: "500"
alignView:
type: string?
label: Align views
doc: "Formating for the alignments"
inputBinding:
prefix: --alignView
position: 16
default: "0"
dropoff:
type: string?
label: Dropoff
doc: "The amount a score can drop before extension of word hits is halted"
inputBinding:
prefix: --dropoff
position: 17
default: "15"
finaldropoff:
type: string?
label: Final Dropoff
doc: "Dropoff value for final gapped alignment"
inputBinding:
prefix: --finaldropoff
position: 18
default: "25"
filter:
type: string?
label: Filter
doc: "Filter regions of low sequence complexity. This can avoid issues with low complexity sequences where matches are found due to composition rather than meaningful sequence similarity. However in some cases filtering also masks regions of interest and so should be used with caution."
inputBinding:
prefix: --filter
position: 19
default: "no"
seqrange:
type: string?
label: Sequence range
doc: "Specify a range or section of the input sequence to use in the search. Example: Specifying '34-89' in an input sequence of total length 100, will tell BLAST to only use residues 34 to 89, inclusive."
inputBinding:
prefix: --seqrange
position: 20
database:
type: string?
label: Database
doc: "The databases to run the sequence similarity search against. Multiple databases can be used at the same time"
inputBinding:
prefix: --database
position: 21
previousjobid:
type: string?
label: Previous Iteration Job Id
doc: "The job identifier for the previous PSI-BLAST iteration."
inputBinding:
prefix: --previousjobid
position: 22
selectedHits:
type: string?
label: Selected Hits
doc: "List of identifiers of the hits from the previous iteration to use to construct the search PSSM for this iteration."
inputBinding:
prefix: --selectedHits
position: 23
cpfile:
type: string?
label: Checkpoint File
doc: "Checkpoint file from the previous iteration. Must be in ASN.1 Binary Format."
inputBinding:
prefix: --cpfile
position: 24
patfile:
type: string?
label: Pattern File
doc: "Pattern file for PHI-BLAST functionality. This file needs to be in the style of a prosite entry file, with at least an ID line, PA line and optional HI line."
inputBinding:
prefix: --patfile
position: 25
outputs:
all:
type: File[]
streamable: true
outputBinding:
glob: "*"
$schemas:
- https://schema.org/version/latest/schemaorg-current-https.rdf
$namespaces:
s: http://schema.org/
edam: http://edamontology.org/
s:author:
- class: s:Person
s:identifier: https://orcid.org/0000-0001-8728-9449
s:email: mailto:www-prod@ebi.ac.uk
s:name: Fábio Madeira (Web Production)
s:worksFor:
- class: s:Organization
s:name: EMBL - European Bioinformatics Institute
s:location: Hinxton, Cambridgeshire, CB10 1SD, UK
s:department:
- class: s:Organization
s:name: Web Production
# s:citation: https://dx.doi.org/10.6084/m9.figshare.3115156.v2
# s:codeRepository: https://github.com/common-workflow-language/common-workflow-language
s:dateCreated: "2018-08-03"
# s:license:
s:license:
- https://www.apache.org/licenses/LICENSE-2.0
- https://spdx.org/licenses/Apache-2.0
s:copyrightHolder: "EMBL - European Bioinformatics Institute"