-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpsisearch.cwl
368 lines (318 loc) · 9.59 KB
/
psisearch.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
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
#!/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-Search"
id: "psisearch"
baseCommand: python
inputs:
# Web Service Clients: Common Entries
command:
type: File
inputBinding:
position: 0
default:
class: File
location: ../../webservice-clients/python/psisearch.py
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_file:
type: File?
label: "Input sequence"
doc: "Sequence filename or ID"
inputBinding:
prefix: --sequence
position: 8
sequence_string:
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 opening 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 favours short gaps in the final alignment, conversly, decreasing the gap extension penalty favours 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 value is the maximum number of times the match is expected to occur by chance."
inputBinding:
prefix: --expthr
position: 12
default: "10.0"
mask:
type: string?
label: HOE Region masking
doc: "Turn on/off the sequence masking for HOEs in PSSM constructions. This option allows you to mask sequence characters beyond the alignment region when constructing the PSSM, reducing over-extension errors."
inputBinding:
prefix: --mask
position: 13
default: "true"
psithr:
type: string?
label: PSSM E-Value cut-off
doc: "Expectation value threshold for automatic selection of matched sequences for inclusion in the PSSM at each iteration."
inputBinding:
prefix: --psithr
position: 14
default: "1.0e-3"
scores:
type: string?
label: Scores
doc: "Maximum number of alignment score summaries reported in the result output."
inputBinding:
prefix: --scores
position: 15
default: "500"
alignments:
type: string?
label: Alignments
doc: "Maximum number of alignments reported in the result output."
inputBinding:
prefix: --alignments
position: 16
default: "500"
hsps:
type: string?
label: Display of multiple high-scoring alignments (HSPs)
doc: "Turn on/off the display of all significant alignments between query and database sequence."
inputBinding:
prefix: --hsps
position: 17
default: "false"
scoreformat:
type: string?
label: Score formats
doc: "Different score formats."
inputBinding:
prefix: --scoreformat
position: 18
default: "default"
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 then 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: "none"
hist:
type: string?
label: Histogram
doc: "Turn on/off the histogram in the PSI-Search result. The histogram gives a qualitative view of how well the statistical theory fits the similarity scores calculated by the program."
inputBinding:
prefix: --hist
position: 20
default: "false"
annotfeats:
type: string?
label: Annotation Features
doc: "Turn on/off annotation features.
Annotation features shows features from UniProtKB, such as variants, active sites, phospho-sites and binding sites that have
been found in the aligned region of the database hit. To see the annotation features in the results after this has been enabled,
select sequences of interest and click to 'Show' Alignments. This option also enables a new result tab (Domain Diagrams) that highlights
domain regions.
"
inputBinding:
prefix: --annotfeats
position: 21
default: "false"
database:
type: string?
label: Database
doc: "The databases to run the sequence similarity search against. Multiple databases can be selected at the same time."
inputBinding:
prefix: --database
position: 22
previousjobid:
type: string?
label: Previous Iteration Job Id
doc: "The job identifier for the previous PSI-Search iteration."
inputBinding:
prefix: --previousjobid
position: 23
selectedHits:
type: string?
label: Selected Hits
doc: "List of identifiers from the hits of the previous iteration to use to construct the search PSSM for this iteration."
inputBinding:
prefix: --selectedHits
position: 24
bdrfile:
type: string?
label: Boundary File
doc: "Boundary file containing boundary information for pre-selected sequences.Used for hardmask to clean HOEs. "
inputBinding:
prefix: --bdrfile
position: 25
cpfile:
type: string?
label: Checkpoint File
doc: "Checkpoint file from the previous iteration. Must be in ASN.1 Binary Format."
inputBinding:
prefix: --cpfile
position: 26
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:[email protected]
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"