@galaxy-tool-util/schema 1.2.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +32 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +31 -1
- package/dist/index.js.map +1 -1
- package/dist/schema/parsed-tool.d.ts +3 -0
- package/dist/schema/parsed-tool.d.ts.map +1 -1
- package/dist/user-tool-parse/index.d.ts +12 -0
- package/dist/user-tool-parse/index.d.ts.map +1 -0
- package/dist/user-tool-parse/index.js +12 -0
- package/dist/user-tool-parse/index.js.map +1 -0
- package/dist/user-tool-parse/inputs.d.ts +13 -0
- package/dist/user-tool-parse/inputs.d.ts.map +1 -0
- package/dist/user-tool-parse/inputs.js +565 -0
- package/dist/user-tool-parse/inputs.js.map +1 -0
- package/dist/user-tool-parse/outputs.d.ts +10 -0
- package/dist/user-tool-parse/outputs.d.ts.map +1 -0
- package/dist/user-tool-parse/outputs.js +231 -0
- package/dist/user-tool-parse/outputs.js.map +1 -0
- package/dist/user-tool-parse/parse.d.ts +12 -0
- package/dist/user-tool-parse/parse.d.ts.map +1 -0
- package/dist/user-tool-parse/parse.js +98 -0
- package/dist/user-tool-parse/parse.js.map +1 -0
- package/dist/user-tool-source/index.d.ts +3 -0
- package/dist/user-tool-source/index.d.ts.map +1 -0
- package/dist/user-tool-source/index.js +3 -0
- package/dist/user-tool-source/index.js.map +1 -0
- package/dist/user-tool-source/schema.generated.d.ts +7298 -0
- package/dist/user-tool-source/schema.generated.d.ts.map +1 -0
- package/dist/user-tool-source/schema.generated.js +8851 -0
- package/dist/user-tool-source/schema.generated.js.map +1 -0
- package/dist/user-tool-source/semantic.d.ts +14 -0
- package/dist/user-tool-source/semantic.d.ts.map +1 -0
- package/dist/user-tool-source/semantic.js +137 -0
- package/dist/user-tool-source/semantic.js.map +1 -0
- package/dist/user-tool-source/validate.d.ts +37 -0
- package/dist/user-tool-source/validate.d.ts.map +1 -0
- package/dist/user-tool-source/validate.js +54 -0
- package/dist/user-tool-source/validate.js.map +1 -0
- package/dist/workflow/draft-checks.d.ts +205 -0
- package/dist/workflow/draft-checks.d.ts.map +1 -0
- package/dist/workflow/draft-checks.js +1151 -0
- package/dist/workflow/draft-checks.js.map +1 -0
- package/dist/workflow/index.d.ts +4 -2
- package/dist/workflow/index.d.ts.map +1 -1
- package/dist/workflow/index.js +4 -2
- package/dist/workflow/index.js.map +1 -1
- package/dist/workflow/normalized/format2.d.ts +1 -0
- package/dist/workflow/normalized/format2.d.ts.map +1 -1
- package/dist/workflow/normalized/format2.js +15 -2
- package/dist/workflow/normalized/format2.js.map +1 -1
- package/dist/workflow/normalized/native.d.ts +1 -1
- package/dist/workflow/normalized/toNative.js +29 -4
- package/dist/workflow/normalized/toNative.js.map +1 -1
- package/dist/workflow/promote-draft.d.ts +53 -0
- package/dist/workflow/promote-draft.d.ts.map +1 -0
- package/dist/workflow/promote-draft.js +133 -0
- package/dist/workflow/promote-draft.js.map +1 -0
- package/dist/workflow/raw/gxformat2-draft.d.ts +688 -0
- package/dist/workflow/raw/gxformat2-draft.d.ts.map +1 -0
- package/dist/workflow/raw/gxformat2-draft.effect.d.ts +4607 -0
- package/dist/workflow/raw/gxformat2-draft.effect.d.ts.map +1 -0
- package/dist/workflow/raw/gxformat2-draft.effect.js +778 -0
- package/dist/workflow/raw/gxformat2-draft.effect.js.map +1 -0
- package/dist/workflow/raw/gxformat2-draft.js +20 -0
- package/dist/workflow/raw/gxformat2-draft.js.map +1 -0
- package/dist/workflow/raw/gxformat2.d.ts +237 -13
- package/dist/workflow/raw/gxformat2.d.ts.map +1 -1
- package/dist/workflow/raw/gxformat2.effect.d.ts +1375 -177
- package/dist/workflow/raw/gxformat2.effect.d.ts.map +1 -1
- package/dist/workflow/raw/gxformat2.effect.js +355 -108
- package/dist/workflow/raw/gxformat2.effect.js.map +1 -1
- package/dist/workflow/raw/gxformat2.js +18 -1
- package/dist/workflow/raw/gxformat2.js.map +1 -1
- package/dist/workflow/raw/index.d.ts +2 -0
- package/dist/workflow/raw/index.d.ts.map +1 -1
- package/dist/workflow/raw/index.js +1 -0
- package/dist/workflow/raw/index.js.map +1 -1
- package/dist/workflow/raw/native.d.ts +51 -2
- package/dist/workflow/raw/native.d.ts.map +1 -1
- package/dist/workflow/raw/native.effect.d.ts +82 -30
- package/dist/workflow/raw/native.effect.d.ts.map +1 -1
- package/dist/workflow/raw/native.effect.js +67 -18
- package/dist/workflow/raw/native.effect.js.map +1 -1
- package/dist/workflow/raw/native.js.map +1 -1
- package/dist/workflow/report-models.d.ts +102 -0
- package/dist/workflow/report-models.d.ts.map +1 -1
- package/dist/workflow/report-models.js +98 -0
- package/dist/workflow/report-models.js.map +1 -1
- package/dist/workflow/semantic-validators.d.ts +18 -0
- package/dist/workflow/semantic-validators.d.ts.map +1 -0
- package/dist/workflow/semantic-validators.js +137 -0
- package/dist/workflow/semantic-validators.js.map +1 -0
- package/dist/workflow/validators.d.ts.map +1 -1
- package/dist/workflow/validators.js +7 -2
- package/dist/workflow/validators.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,688 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Salad data types are based on Avro schema declarations. Refer to the
|
|
3
|
+
[Avro schema declaration documentation](https://avro.apache.org/docs/current/spec.html#schemas) for
|
|
4
|
+
detailed information.
|
|
5
|
+
|
|
6
|
+
null: no value
|
|
7
|
+
boolean: a binary value
|
|
8
|
+
int: 32-bit signed integer
|
|
9
|
+
long: 64-bit signed integer
|
|
10
|
+
float: single precision (32-bit) IEEE 754 floating-point number
|
|
11
|
+
double: double precision (64-bit) IEEE 754 floating-point number
|
|
12
|
+
string: Unicode character sequence
|
|
13
|
+
*/
|
|
14
|
+
export type PrimitiveType = "null" | "boolean" | "int" | "long" | "float" | "double" | "string";
|
|
15
|
+
/**
|
|
16
|
+
* Extends primitive types with the native Galaxy concepts such as datasets and collections.
|
|
17
|
+
Normalized gxformat2 workflow input declaration spellings are ``data``, ``collection``, ``string``, ``int``, ``float``, and ``boolean``. Other spellings are accepted as compatibility aliases on import but normalized gxformat2 output emits the normalized spellings.
|
|
18
|
+
data: one Galaxy dataset input. Native Galaxy ``data_input`` converts to this spelling.
|
|
19
|
+
File: accepted alias for ``data``, but normalized gxformat2 output emits ``data``. Note: workflow **test job** YAML uses ``type: File`` to mean 'stage this file as test input data', which is a separate concept from workflow input declaration.
|
|
20
|
+
collection: one Galaxy dataset collection input. Native Galaxy ``data_collection_input`` converts to this spelling.
|
|
21
|
+
string: normalized gxformat2 spelling for native Galaxy text workflow parameters.
|
|
22
|
+
text: accepted alias for ``string`` because native Galaxy parameter state and Galaxy tool XML terminology use ``text``.
|
|
23
|
+
int: normalized gxformat2 spelling for native Galaxy integer workflow parameters.
|
|
24
|
+
integer: accepted alias for ``int`` because native Galaxy parameter state and Galaxy tool XML terminology use ``integer``.
|
|
25
|
+
*/
|
|
26
|
+
export type GalaxyType = "null" | "boolean" | "int" | "long" | "float" | "double" | "string" | "integer" | "text" | "File" | "data" | "collection";
|
|
27
|
+
/**
|
|
28
|
+
* Module types used by Galaxy steps. Galaxy's native format allows additional types such as data_input, data_input_collection, and parameter_type
|
|
29
|
+
but these should be represented as ``inputs`` in Format2.
|
|
30
|
+
|
|
31
|
+
tool: Run a tool.
|
|
32
|
+
subworkflow: Run a subworkflow.
|
|
33
|
+
pause: Pause computation on this branch of workflow until user allows it to continue.
|
|
34
|
+
pick_value: Select the first non-null value from multiple inputs. Used to merge branches of conditional or optional workflow paths.
|
|
35
|
+
*/
|
|
36
|
+
export type WorkflowStepType = "tool" | "subworkflow" | "pause" | "pick_value";
|
|
37
|
+
export interface Documented {
|
|
38
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
39
|
+
doc?: null | string | Array<string>;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A field of a record.
|
|
43
|
+
*/
|
|
44
|
+
export interface RecordField extends Documented {
|
|
45
|
+
/** The name of the field */
|
|
46
|
+
name: string;
|
|
47
|
+
/** The field type */
|
|
48
|
+
type: PrimitiveType | RecordSchema | EnumSchema | ArraySchema | string | Array<PrimitiveType | RecordSchema | EnumSchema | ArraySchema | string>;
|
|
49
|
+
}
|
|
50
|
+
export interface RecordSchema {
|
|
51
|
+
/** Defines the fields of the record. */
|
|
52
|
+
fields?: null | Array<RecordField>;
|
|
53
|
+
/** Must be `record` */
|
|
54
|
+
type: "record";
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Define an enumerated type.
|
|
58
|
+
*/
|
|
59
|
+
export interface EnumSchema {
|
|
60
|
+
/** Defines the set of valid symbols. */
|
|
61
|
+
symbols: Array<string>;
|
|
62
|
+
/** Must be `enum` */
|
|
63
|
+
type: "enum";
|
|
64
|
+
}
|
|
65
|
+
export interface ArraySchema {
|
|
66
|
+
/** Defines the type of the array elements. */
|
|
67
|
+
items: PrimitiveType | RecordSchema | EnumSchema | ArraySchema | string | Array<PrimitiveType | RecordSchema | EnumSchema | ArraySchema | string>;
|
|
68
|
+
/** Must be `array` */
|
|
69
|
+
type: "array";
|
|
70
|
+
}
|
|
71
|
+
export interface Labeled {
|
|
72
|
+
/** A short, human-readable label of this object. */
|
|
73
|
+
label?: null | string;
|
|
74
|
+
}
|
|
75
|
+
export interface Identified {
|
|
76
|
+
/** The unique identifier for this object. */
|
|
77
|
+
id?: null | string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Define an input or output parameter to a process.
|
|
81
|
+
*/
|
|
82
|
+
export interface Parameter extends Labeled, Documented, Identified {
|
|
83
|
+
}
|
|
84
|
+
export interface InputParameter extends Parameter {
|
|
85
|
+
/** The unique identifier for this object. */
|
|
86
|
+
id?: null | string;
|
|
87
|
+
/** A short, human-readable label of this object. */
|
|
88
|
+
label?: null | string;
|
|
89
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
90
|
+
doc?: null | string | Array<string>;
|
|
91
|
+
/** The default value to use for this parameter if the parameter is missing from the input object, or if the value of the parameter in the input object is `null`. Default values are applied before eva... */
|
|
92
|
+
default?: null | unknown;
|
|
93
|
+
}
|
|
94
|
+
export interface OutputParameter extends Parameter {
|
|
95
|
+
/** The unique identifier for this object. */
|
|
96
|
+
id?: null | string;
|
|
97
|
+
/** A short, human-readable label of this object. */
|
|
98
|
+
label?: null | string;
|
|
99
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
100
|
+
doc?: null | string | Array<string>;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* The base executable type in CWL is the `Process` object defined by the
|
|
104
|
+
document. Note that the `Process` object is abstract and cannot be
|
|
105
|
+
directly executed.
|
|
106
|
+
*/
|
|
107
|
+
export interface Process extends Identified, Labeled, Documented {
|
|
108
|
+
/** Defines the input parameters of the process. The process is ready to run when all required input parameters are associated with concrete values. Input parameters include a schema for each paramet... */
|
|
109
|
+
inputs: Array<WorkflowDataParameter | WorkflowCollectionParameter | WorkflowIntegerParameter | WorkflowFloatParameter | WorkflowTextParameter | WorkflowBooleanParameter> | Record<string, WorkflowDataParameter | WorkflowCollectionParameter | WorkflowIntegerParameter | WorkflowFloatParameter | WorkflowTextParameter | WorkflowBooleanParameter | string> | Record<string, unknown>;
|
|
110
|
+
/** Defines the parameters representing the output of the process. May be used to generate and/or validate the output object. */
|
|
111
|
+
outputs: Array<WorkflowOutputParameter> | Record<string, WorkflowOutputParameter | string> | Record<string, unknown>;
|
|
112
|
+
}
|
|
113
|
+
export interface HasUUID {
|
|
114
|
+
/** UUID uniquely representing this element. */
|
|
115
|
+
uuid?: null | string;
|
|
116
|
+
}
|
|
117
|
+
export interface HasStepErrors {
|
|
118
|
+
/** During Galaxy export there may be some problem validating the tool state, tool used, etc.. that will be indicated by this field. The Galaxy user should be warned of these problems before the workfl... */
|
|
119
|
+
errors?: null | string;
|
|
120
|
+
}
|
|
121
|
+
export interface HasStepPosition {
|
|
122
|
+
position?: null | StepPosition;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* This field specifies the location of the step's node when rendered in the workflow editor.
|
|
126
|
+
*/
|
|
127
|
+
export interface StepPosition {
|
|
128
|
+
/** Relative vertical position of the step's node when rendered in the workflow editor. */
|
|
129
|
+
top: number;
|
|
130
|
+
/** Relative horizontal position of the step's node when rendered in the workflow editor. */
|
|
131
|
+
left: number;
|
|
132
|
+
}
|
|
133
|
+
export interface ReferencesTool {
|
|
134
|
+
/** The tool ID used to run this step of the workflow (e.g. 'cat1' or 'toolshed.g2.bx.psu.edu/repos/nml/collapse_collections/collapse_dataset/4.0'). */
|
|
135
|
+
tool_id?: null | string;
|
|
136
|
+
/** The Galaxy Tool Shed repository that should be installed in order to use this tool. */
|
|
137
|
+
tool_shed_repository?: null | ToolShedRepository;
|
|
138
|
+
/** The tool version corresponding used to run this step of the workflow. For tool shed installed tools, the ID generally uniquely specifies a version and this field is optional. */
|
|
139
|
+
tool_version?: null | string;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Describes one column of a sample-sheet collection input.
|
|
143
|
+
Used in `column_definitions` on a `collection_type: sample_sheet[:<type>]`
|
|
144
|
+
workflow input.
|
|
145
|
+
*/
|
|
146
|
+
export interface SampleSheetColumnDefinition {
|
|
147
|
+
/** Column name. Must not contain special characters (matches `^[\w\-_ \?]*$`). */
|
|
148
|
+
name: string;
|
|
149
|
+
/** Optional human-readable column description. */
|
|
150
|
+
description?: null | string;
|
|
151
|
+
/** Value type for this column. One of `string`, `int`, `float`, `boolean`, or `element_identifier`. Mirrors Galaxy's runtime `SampleSheetColumnType`. */
|
|
152
|
+
type: "string" | "int" | "float" | "boolean" | "element_identifier";
|
|
153
|
+
/** If true, rows may omit a value for this column. */
|
|
154
|
+
optional: boolean;
|
|
155
|
+
/** Default value used when a row omits this column. Type must be compatible with `type` - validated by the pydantic post-validator. */
|
|
156
|
+
default_value?: null | string | number | boolean;
|
|
157
|
+
/** Galaxy-style parameter validators. Modelled as opaque records here - full validator schema lives in galaxy.tool_util_models. */
|
|
158
|
+
validators?: null | Array<unknown>;
|
|
159
|
+
/** Closed set of permitted values for this column. Item type must be compatible with the column `type` (post-validated). */
|
|
160
|
+
restrictions?: null | Array<string | number | number | boolean>;
|
|
161
|
+
/** Open suggestion list for this column. */
|
|
162
|
+
suggestions?: null | Array<string | number | number | boolean>;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Describes one field of a `record` collection input.
|
|
166
|
+
Used in `fields` on a `collection_type` containing `record` (e.g.
|
|
167
|
+
`record`, `list:record`, `sample_sheet:record`). Mirrors a subset of
|
|
168
|
+
the CWL `InputRecordSchema` shape that Galaxy persists on
|
|
169
|
+
`DatasetCollection.fields`.
|
|
170
|
+
*/
|
|
171
|
+
export interface RecordFieldDefinition {
|
|
172
|
+
/** Field name. Must equal the corresponding element identifier in the materialized record collection. */
|
|
173
|
+
name: string;
|
|
174
|
+
/** Field value type. A subset of the CWL primitive types: `File`, `null`, `boolean`, `int`, `float`, `string`. May be a list to express a union (e.g. `["File", "null"]` for an optional file). */
|
|
175
|
+
type: "File" | "null" | "boolean" | "int" | "float" | "string" | Array<"File" | "null" | "boolean" | "int" | "float" | "string">;
|
|
176
|
+
/** Optional Galaxy datatype hint for `File`-typed fields. */
|
|
177
|
+
format?: null | string;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* A `{value, label}` option used in `restrictions` or `suggestions` on a
|
|
181
|
+
text workflow parameter. Plain strings are also accepted in those
|
|
182
|
+
arrays as shorthand for `{value: <str>, label: <str>}`.
|
|
183
|
+
*/
|
|
184
|
+
export interface WorkflowTextOption {
|
|
185
|
+
/** Machine value submitted to the connected tool input. */
|
|
186
|
+
value: string;
|
|
187
|
+
/** Human label shown in Galaxy. Defaults to `value` when omitted. */
|
|
188
|
+
label?: null | string;
|
|
189
|
+
}
|
|
190
|
+
export interface ToolShedRepository {
|
|
191
|
+
/** The name of the tool shed repository this tool can be found in. */
|
|
192
|
+
name: string;
|
|
193
|
+
/** The revision of the tool shed repository this tool can be found in. */
|
|
194
|
+
changeset_revision: string;
|
|
195
|
+
/** The owner of the tool shed repository this tool can be found in. */
|
|
196
|
+
owner: string;
|
|
197
|
+
/** The URI of the tool shed containing the repository this tool can be found in - typically this should be toolshed.g2.bx.psu.edu. */
|
|
198
|
+
tool_shed: string;
|
|
199
|
+
}
|
|
200
|
+
export interface BaseInputParameter extends InputParameter, HasStepPosition {
|
|
201
|
+
/** The unique identifier for this object. */
|
|
202
|
+
id?: null | string;
|
|
203
|
+
/** A short, human-readable label of this object. */
|
|
204
|
+
label?: null | string;
|
|
205
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
206
|
+
doc?: null | string | Array<string>;
|
|
207
|
+
/** Controls whether Galaxy allows invocation of the workflow without a user-supplied value for this input. If ``true``, the input may be omitted at invocation time. ``optional`` and ``default`` are in... */
|
|
208
|
+
optional?: boolean | null;
|
|
209
|
+
}
|
|
210
|
+
export interface BaseDataParameter extends BaseInputParameter {
|
|
211
|
+
/** The unique identifier for this object. */
|
|
212
|
+
id?: null | string;
|
|
213
|
+
/** A short, human-readable label of this object. */
|
|
214
|
+
label?: null | string;
|
|
215
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
216
|
+
doc?: null | string | Array<string>;
|
|
217
|
+
/** The default value to use for this parameter if the parameter is missing from the input object, or if the value of the parameter in the input object is `null`. Default values are applied before eva... */
|
|
218
|
+
default?: null | unknown;
|
|
219
|
+
position?: null | StepPosition;
|
|
220
|
+
/** Specify datatype extensions for valid input datasets. */
|
|
221
|
+
format?: null | Array<string>;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* A data input parameter for a Galaxy workflow. Represents one Galaxy dataset.
|
|
225
|
+
Normalized gxformat2 output uses ``type: data``. ``type: File`` is accepted as
|
|
226
|
+
an alias, but should not be confused with workflow test job syntax where
|
|
227
|
+
``type: File`` means stage a file as test input data.
|
|
228
|
+
*/
|
|
229
|
+
export interface WorkflowDataParameter extends BaseDataParameter {
|
|
230
|
+
/** The unique identifier for this object. */
|
|
231
|
+
id?: null | string;
|
|
232
|
+
/** A short, human-readable label of this object. */
|
|
233
|
+
label?: null | string;
|
|
234
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
235
|
+
doc?: null | string | Array<string>;
|
|
236
|
+
/** The default value to use for this parameter if the parameter is missing from the input object, or if the value of the parameter in the input object is `null`. Default values are applied before eva... */
|
|
237
|
+
default?: null | unknown;
|
|
238
|
+
position?: null | StepPosition;
|
|
239
|
+
/** Controls whether Galaxy allows invocation of the workflow without a user-supplied value for this input. If ``true``, the input may be omitted at invocation time. ``optional`` and ``default`` are in... */
|
|
240
|
+
optional?: boolean | null;
|
|
241
|
+
/** Specify valid types of data that may be assigned to this parameter. */
|
|
242
|
+
type?: "data" | "File" | null;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* A collection input parameter for a Galaxy workflow - represents a dataset collection.
|
|
246
|
+
*/
|
|
247
|
+
export interface WorkflowCollectionParameter extends BaseDataParameter {
|
|
248
|
+
/** The unique identifier for this object. */
|
|
249
|
+
id?: null | string;
|
|
250
|
+
/** A short, human-readable label of this object. */
|
|
251
|
+
label?: null | string;
|
|
252
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
253
|
+
doc?: null | string | Array<string>;
|
|
254
|
+
/** The default value to use for this parameter if the parameter is missing from the input object, or if the value of the parameter in the input object is `null`. Default values are applied before eva... */
|
|
255
|
+
default?: null | unknown;
|
|
256
|
+
position?: null | StepPosition;
|
|
257
|
+
/** Controls whether Galaxy allows invocation of the workflow without a user-supplied value for this input. If ``true``, the input may be omitted at invocation time. ``optional`` and ``default`` are in... */
|
|
258
|
+
optional?: boolean | null;
|
|
259
|
+
/** Must be ``collection``. */
|
|
260
|
+
type: "collection";
|
|
261
|
+
/** Collection type (defaults to `list` if `type` is `collection`). Nested collection types are separated with colons, e.g. `list:list:paired`. */
|
|
262
|
+
collection_type?: null | string;
|
|
263
|
+
/** Column schema for sample-sheet collection inputs. Only meaningful when `collection_type` begins with `sample_sheet` - cross-field validation is applied in the pydantic post-validator. */
|
|
264
|
+
column_definitions?: null | Array<SampleSheetColumnDefinition>;
|
|
265
|
+
/** Field schema for `record` collection inputs. Only meaningful when `collection_type` contains `record` (e.g. `record`, `list:record`, `sample_sheet:record`). */
|
|
266
|
+
fields?: null | Array<RecordFieldDefinition>;
|
|
267
|
+
}
|
|
268
|
+
export interface MinMax {
|
|
269
|
+
/** Minimum allowed value (inclusive). */
|
|
270
|
+
min?: number | null;
|
|
271
|
+
/** Maximum allowed value (inclusive). */
|
|
272
|
+
max?: number | null;
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* A scalar integer workflow parameter. Normalized gxformat2 output uses
|
|
276
|
+
``type: int``. ``type: integer`` is accepted for compatibility with native
|
|
277
|
+
Galaxy parameter state and Galaxy tool XML terminology.
|
|
278
|
+
*/
|
|
279
|
+
export interface WorkflowIntegerParameter extends BaseInputParameter, MinMax {
|
|
280
|
+
/** The unique identifier for this object. */
|
|
281
|
+
id?: null | string;
|
|
282
|
+
/** A short, human-readable label of this object. */
|
|
283
|
+
label?: null | string;
|
|
284
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
285
|
+
doc?: null | string | Array<string>;
|
|
286
|
+
/** The default value to use for this parameter if the parameter is missing from the input object, or if the value of the parameter in the input object is `null`. Default values are applied before eva... */
|
|
287
|
+
default?: null | unknown;
|
|
288
|
+
position?: null | StepPosition;
|
|
289
|
+
/** Must be ``integer`` or ``int``. */
|
|
290
|
+
type: "integer" | "int";
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* A float input parameter for a Galaxy workflow.
|
|
294
|
+
*/
|
|
295
|
+
export interface WorkflowFloatParameter extends BaseInputParameter, MinMax {
|
|
296
|
+
/** The unique identifier for this object. */
|
|
297
|
+
id?: null | string;
|
|
298
|
+
/** A short, human-readable label of this object. */
|
|
299
|
+
label?: null | string;
|
|
300
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
301
|
+
doc?: null | string | Array<string>;
|
|
302
|
+
/** The default value to use for this parameter if the parameter is missing from the input object, or if the value of the parameter in the input object is `null`. Default values are applied before eva... */
|
|
303
|
+
default?: null | unknown;
|
|
304
|
+
position?: null | StepPosition;
|
|
305
|
+
/** Must be ``float``. */
|
|
306
|
+
type: "float";
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* A scalar text workflow parameter. Normalized gxformat2 output uses
|
|
310
|
+
``type: string``. ``type: text`` is accepted for compatibility with native
|
|
311
|
+
Galaxy parameter state and Galaxy tool XML terminology.
|
|
312
|
+
*/
|
|
313
|
+
export interface WorkflowTextParameter extends BaseInputParameter {
|
|
314
|
+
/** The unique identifier for this object. */
|
|
315
|
+
id?: null | string;
|
|
316
|
+
/** A short, human-readable label of this object. */
|
|
317
|
+
label?: null | string;
|
|
318
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
319
|
+
doc?: null | string | Array<string>;
|
|
320
|
+
/** The default value to use for this parameter if the parameter is missing from the input object, or if the value of the parameter in the input object is `null`. Default values are applied before eva... */
|
|
321
|
+
default?: null | unknown;
|
|
322
|
+
position?: null | StepPosition;
|
|
323
|
+
/** Must be ``text`` or ``string``. */
|
|
324
|
+
type: "text" | "string";
|
|
325
|
+
/** Closed set of permitted values. When present, Galaxy renders the runtime input as a select. Items may be plain strings or `{value, label}` records. */
|
|
326
|
+
restrictions?: null | Array<string | WorkflowTextOption>;
|
|
327
|
+
/** Open suggestion list. Galaxy still treats the input as text but offers these as suggestions. */
|
|
328
|
+
suggestions?: null | Array<string | WorkflowTextOption>;
|
|
329
|
+
/** Ask Galaxy to derive valid choices from connected tool or subworkflow select inputs at runtime. Falls back to free text when derivation fails. */
|
|
330
|
+
restrictOnConnections?: null | boolean;
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* A boolean input parameter for a Galaxy workflow.
|
|
334
|
+
*/
|
|
335
|
+
export interface WorkflowBooleanParameter extends BaseInputParameter {
|
|
336
|
+
/** The unique identifier for this object. */
|
|
337
|
+
id?: null | string;
|
|
338
|
+
/** A short, human-readable label of this object. */
|
|
339
|
+
label?: null | string;
|
|
340
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
341
|
+
doc?: null | string | Array<string>;
|
|
342
|
+
/** The default value to use for this parameter if the parameter is missing from the input object, or if the value of the parameter in the input object is `null`. Default values are applied before eva... */
|
|
343
|
+
default?: null | unknown;
|
|
344
|
+
position?: null | StepPosition;
|
|
345
|
+
/** Must be ``boolean``. */
|
|
346
|
+
type: "boolean";
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* An input parameter to a Galaxy workflow. This is the catch-all type used
|
|
350
|
+
by the Schema Salad codegen. The pydantic layer uses a discriminated union
|
|
351
|
+
of the specific parameter types instead.
|
|
352
|
+
*/
|
|
353
|
+
export interface WorkflowInputParameter extends BaseDataParameter, MinMax {
|
|
354
|
+
/** The unique identifier for this object. */
|
|
355
|
+
id?: null | string;
|
|
356
|
+
/** A short, human-readable label of this object. */
|
|
357
|
+
label?: null | string;
|
|
358
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
359
|
+
doc?: null | string | Array<string>;
|
|
360
|
+
/** The default value to use for this parameter if the parameter is missing from the input object, or if the value of the parameter in the input object is `null`. Default values are applied before eva... */
|
|
361
|
+
default?: null | unknown;
|
|
362
|
+
position?: null | StepPosition;
|
|
363
|
+
/** Controls whether Galaxy allows invocation of the workflow without a user-supplied value for this input. If ``true``, the input may be omitted at invocation time. ``optional`` and ``default`` are in... */
|
|
364
|
+
optional?: boolean | null;
|
|
365
|
+
/** Specify valid types of data that may be assigned to this parameter. */
|
|
366
|
+
type?: GalaxyType | null | Array<GalaxyType>;
|
|
367
|
+
/** Collection type (defaults to `list` if `type` is `collection`). Nested collection types are separated with colons, e.g. `list:list:paired`. */
|
|
368
|
+
collection_type?: null | string;
|
|
369
|
+
/** Column schema for sample-sheet collection inputs. Only meaningful when `collection_type` begins with `sample_sheet`. */
|
|
370
|
+
column_definitions?: null | Array<SampleSheetColumnDefinition>;
|
|
371
|
+
/** Field schema for `record` collection inputs. Only meaningful when `collection_type` contains `record`. */
|
|
372
|
+
fields?: null | Array<RecordFieldDefinition>;
|
|
373
|
+
/** Closed set of permitted values for text-typed inputs. See `WorkflowTextParameter.restrictions`. */
|
|
374
|
+
restrictions?: null | Array<string | WorkflowTextOption>;
|
|
375
|
+
/** Open suggestion list for text-typed inputs. */
|
|
376
|
+
suggestions?: null | Array<string | WorkflowTextOption>;
|
|
377
|
+
/** For text-typed inputs - derive runtime choices from connected tool/subworkflow select inputs. */
|
|
378
|
+
restrictOnConnections?: null | boolean;
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* Describe an output parameter of a workflow. The parameter must be
|
|
382
|
+
connected to one parameter defined in the workflow that
|
|
383
|
+
will provide the value of the output parameter. It is legal to
|
|
384
|
+
connect a WorkflowInputParameter to a WorkflowOutputParameter.
|
|
385
|
+
*/
|
|
386
|
+
export interface WorkflowOutputParameter extends OutputParameter {
|
|
387
|
+
/** The unique identifier for this object. */
|
|
388
|
+
id?: null | string;
|
|
389
|
+
/** A short, human-readable label of this object. */
|
|
390
|
+
label?: null | string;
|
|
391
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
392
|
+
doc?: null | string | Array<string>;
|
|
393
|
+
/** Specifies workflow parameter that supply the value of to the output parameter. */
|
|
394
|
+
outputSource?: null | string;
|
|
395
|
+
/** Specify valid types of data that may be assigned to this parameter. */
|
|
396
|
+
type?: null | GalaxyType;
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* This represents a non-input step a Galaxy Workflow.
|
|
400
|
+
|
|
401
|
+
# A note about `state` and `tool_state` fields.
|
|
402
|
+
|
|
403
|
+
Only one or the other should be specified. These are two ways to represent the "state"
|
|
404
|
+
of a tool at this workflow step. Both are essentially maps from parameter names to
|
|
405
|
+
parameter values.
|
|
406
|
+
|
|
407
|
+
`tool_state` is much more low-level and expects a flat dictionary with each value a JSON
|
|
408
|
+
dump. Nested tool structures such as conditionals and repeats should have all their values
|
|
409
|
+
in the JSON dumped string. In general `tool_state` may be present in workflows exported from
|
|
410
|
+
Galaxy but shouldn't be written by humans.
|
|
411
|
+
|
|
412
|
+
`state` can contained a typed map. Repeat values can be represented as YAML arrays. An alternative
|
|
413
|
+
to representing `state` this way is defining inputs with default values.
|
|
414
|
+
*/
|
|
415
|
+
export interface WorkflowStep extends Identified, Labeled, Documented, HasStepPosition, ReferencesTool, HasStepErrors, HasUUID {
|
|
416
|
+
/** Defines the input parameters of the workflow step. The process is ready to run when all required input parameters are associated with concrete values. Input parameters include a schema for each p... */
|
|
417
|
+
in?: Array<WorkflowStepInput> | Record<string, WorkflowStepInput | string | Array<string>> | null;
|
|
418
|
+
/** Defines the parameters representing the output of the process. May be used to generate and/or validate the output object. This can also be called 'outputs' for legacy reasons - but the resulting ... */
|
|
419
|
+
out?: Array<WorkflowStepOutput | string> | Record<string, WorkflowStepOutput | string> | null;
|
|
420
|
+
/** Structured tool state. */
|
|
421
|
+
state?: Record<string, unknown> | null;
|
|
422
|
+
/** Unstructured tool state. */
|
|
423
|
+
tool_state?: string | Record<string, unknown> | null;
|
|
424
|
+
/** Optional dict of post-job actions keyed by ``{ActionType}{OutputName}`` compound strings. Same shape as the native ``post_job_actions`` field; each value is a record with ``action_type``, ``output... */
|
|
425
|
+
post_job_actions?: Record<string, unknown> | null;
|
|
426
|
+
/** Workflow step module's type (defaults to 'tool'). */
|
|
427
|
+
type?: null | WorkflowStepType;
|
|
428
|
+
/** Specifies a subworkflow to run. May be an inline workflow definition, a URL string, or an @import reference dict. */
|
|
429
|
+
run?: GalaxyWorkflow | string | Record<string, unknown> | null;
|
|
430
|
+
runtime_inputs?: null | Array<string>;
|
|
431
|
+
/** If defined, only run the step when the expression evaluates to `true`. If `false` the step is skipped. A skipped step produces a `null` on each output. Expression should be an ecma5.1 expression. */
|
|
432
|
+
when?: null | string;
|
|
433
|
+
}
|
|
434
|
+
export interface Sink {
|
|
435
|
+
/** Specifies one or more workflow parameters that will provide input to the underlying step parameter. */
|
|
436
|
+
source?: null | string | Array<string>;
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* TODO:
|
|
440
|
+
*/
|
|
441
|
+
export interface WorkflowStepInput extends Identified, Sink, Labeled {
|
|
442
|
+
/** The default value for this parameter to use if either there is no `source` field, or the value produced by the `source` is `null`. The default must be applied prior to scattering or evaluating `va... */
|
|
443
|
+
default?: null | unknown;
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* Definition of an invocation report for this workflow. Currently the only
|
|
447
|
+
field is 'markdown'.
|
|
448
|
+
*/
|
|
449
|
+
export interface Report {
|
|
450
|
+
/** Galaxy flavored Markdown to define an invocation report. */
|
|
451
|
+
markdown: string;
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* Associate an output parameter of the underlying process with a workflow
|
|
455
|
+
parameter. The workflow parameter (given in the `id` field) be may be used
|
|
456
|
+
as a `source` to connect with input parameters of other workflow steps, or
|
|
457
|
+
with an output parameter of the process.
|
|
458
|
+
|
|
459
|
+
A unique identifier for this workflow output parameter. This is
|
|
460
|
+
the identifier to use in the `source` field of `WorkflowStepInput`
|
|
461
|
+
to connect the output value to downstream parameters.
|
|
462
|
+
*/
|
|
463
|
+
export interface WorkflowStepOutput extends Identified {
|
|
464
|
+
add_tags?: null | Array<string>;
|
|
465
|
+
change_datatype?: null | string;
|
|
466
|
+
delete_intermediate_datasets?: null | boolean;
|
|
467
|
+
hide?: null | boolean;
|
|
468
|
+
remove_tags?: null | Array<string>;
|
|
469
|
+
rename?: null | string;
|
|
470
|
+
set_columns?: Record<string, unknown> | null;
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* Base fields shared by all comment types.
|
|
474
|
+
*/
|
|
475
|
+
export interface BaseComment {
|
|
476
|
+
/** Position of the comment on the editor canvas as ``[x, y]`` coordinates. */
|
|
477
|
+
position?: Array<number> | null;
|
|
478
|
+
/** Size of the comment as ``[width, height]``. */
|
|
479
|
+
size?: Array<number> | null;
|
|
480
|
+
/** Display color of the comment (e.g. ``"none"``, ``"blue"``). */
|
|
481
|
+
color?: null | string;
|
|
482
|
+
/** Optional label for referencing this comment from frame ``contains_comments`` fields or for use as a map key when comments are represented as a mapping. */
|
|
483
|
+
label?: null | string;
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* A plain text annotation in the workflow editor.
|
|
487
|
+
*/
|
|
488
|
+
export interface TextComment extends BaseComment {
|
|
489
|
+
/** Comment type (``text``). */
|
|
490
|
+
type: "text";
|
|
491
|
+
/** The text content. */
|
|
492
|
+
text?: null | string;
|
|
493
|
+
/** Whether the text is displayed in bold. */
|
|
494
|
+
bold?: null | boolean;
|
|
495
|
+
/** Whether the text is displayed in italic. */
|
|
496
|
+
italic?: null | boolean;
|
|
497
|
+
/** Font size of the text. */
|
|
498
|
+
text_size?: null | number;
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* A Markdown-rendered annotation in the workflow editor.
|
|
502
|
+
*/
|
|
503
|
+
export interface MarkdownComment extends BaseComment {
|
|
504
|
+
/** Comment type (``markdown``). */
|
|
505
|
+
type: "markdown";
|
|
506
|
+
/** Markdown content. */
|
|
507
|
+
text?: null | string;
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* A rectangular grouping box that visually contains steps and other comments.
|
|
511
|
+
*/
|
|
512
|
+
export interface FrameComment extends BaseComment {
|
|
513
|
+
/** Comment type (``frame``). */
|
|
514
|
+
type: "frame";
|
|
515
|
+
/** Title displayed on the frame header. */
|
|
516
|
+
title?: null | string;
|
|
517
|
+
/** Step labels or indices contained within this frame. */
|
|
518
|
+
contains_steps?: null | Array<string | number>;
|
|
519
|
+
/** Comment labels or indices contained within this frame. */
|
|
520
|
+
contains_comments?: null | Array<string | number>;
|
|
521
|
+
}
|
|
522
|
+
/**
|
|
523
|
+
* A freehand drawn line on the editor canvas.
|
|
524
|
+
*/
|
|
525
|
+
export interface FreehandComment extends BaseComment {
|
|
526
|
+
/** Comment type (``freehand``). */
|
|
527
|
+
type: "freehand";
|
|
528
|
+
/** Line thickness. */
|
|
529
|
+
thickness?: null | number;
|
|
530
|
+
/** Array of ``[x, y]`` coordinate pairs defining the freehand line path. */
|
|
531
|
+
line?: Array<Array<number>> | null;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Base fields shared by all creator types, corresponding to schema.org
|
|
535
|
+
Thing properties common to both Person and Organization.
|
|
536
|
+
*/
|
|
537
|
+
export interface BaseCreator {
|
|
538
|
+
/** Full name of the person or organization. */
|
|
539
|
+
name?: null | string;
|
|
540
|
+
/** Persistent identifier, typically an ORCID URL (e.g. ``https://orcid.org/0000-0001-2345-6789``) or bare ORCID. */
|
|
541
|
+
identifier?: null | string;
|
|
542
|
+
/** Website or profile URL. */
|
|
543
|
+
url?: null | string;
|
|
544
|
+
/** Email address. May include a ``mailto:`` prefix. */
|
|
545
|
+
email?: null | string;
|
|
546
|
+
/** URL to an image or avatar. */
|
|
547
|
+
image?: null | string;
|
|
548
|
+
/** Physical or mailing address. */
|
|
549
|
+
address?: null | string;
|
|
550
|
+
/** An alternate name or alias. */
|
|
551
|
+
alternateName?: null | string;
|
|
552
|
+
/** Telephone number. */
|
|
553
|
+
telephone?: null | string;
|
|
554
|
+
/** Fax number. */
|
|
555
|
+
faxNumber?: null | string;
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
* A person who created or contributed to the workflow.
|
|
559
|
+
Corresponds to a `schema.org Person <https://schema.org/Person>`_.
|
|
560
|
+
*/
|
|
561
|
+
export interface CreatorPerson extends BaseCreator {
|
|
562
|
+
/** Creator type discriminator (``Person``). */
|
|
563
|
+
class: "Person";
|
|
564
|
+
/** Given (first) name. */
|
|
565
|
+
givenName?: null | string;
|
|
566
|
+
/** Family (last) name. */
|
|
567
|
+
familyName?: null | string;
|
|
568
|
+
/** Honorific prefix (e.g. ``Dr``, ``Prof``). */
|
|
569
|
+
honorificPrefix?: null | string;
|
|
570
|
+
/** Honorific suffix (e.g. ``M.D.``, ``PhD``). */
|
|
571
|
+
honorificSuffix?: null | string;
|
|
572
|
+
/** Job title or role. */
|
|
573
|
+
jobTitle?: null | string;
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* An organization that created or contributed to the workflow.
|
|
577
|
+
Corresponds to a `schema.org Organization <https://schema.org/Organization>`_.
|
|
578
|
+
*/
|
|
579
|
+
export interface CreatorOrganization extends BaseCreator {
|
|
580
|
+
/** Creator type discriminator (``Organization``). */
|
|
581
|
+
class: "Organization";
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* A Galaxy workflow description. This record corresponds to the description of a workflow that should be executable
|
|
585
|
+
on a Galaxy server that includes the contained tool definitions.
|
|
586
|
+
|
|
587
|
+
The workflows API or the user interface of Galaxy instances that are of version 19.09 or newer should be able to
|
|
588
|
+
import a document defining this record.
|
|
589
|
+
|
|
590
|
+
## A note about `label` field.
|
|
591
|
+
|
|
592
|
+
This is the name of the workflow in the Galaxy user interface. This is the mechanism that
|
|
593
|
+
users will primarily identify the workflow using. Legacy support - this may also be called 'name' and Galaxy will
|
|
594
|
+
consume the workflow document fine and treat this attribute correctly - however in order to validate against this
|
|
595
|
+
workflow definition schema the attribute should be called `label`.
|
|
596
|
+
*/
|
|
597
|
+
export interface GalaxyWorkflow extends Process, HasUUID {
|
|
598
|
+
/** The unique identifier for this object. */
|
|
599
|
+
id?: null | string;
|
|
600
|
+
class: "GalaxyWorkflow";
|
|
601
|
+
/** A short, human-readable label of this object. */
|
|
602
|
+
label?: null | string;
|
|
603
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
604
|
+
doc?: null | string | Array<string>;
|
|
605
|
+
/** The individual steps that make up the workflow. Each step is executed when all of its input data links are fulfilled. */
|
|
606
|
+
steps: Array<WorkflowStep> | Record<string, WorkflowStep>;
|
|
607
|
+
/** Workflow invocation report template. */
|
|
608
|
+
report?: null | Report;
|
|
609
|
+
/** Tags for the workflow. */
|
|
610
|
+
tags?: Array<string> | null;
|
|
611
|
+
/** Visual annotations for the workflow editor canvas. Comments are non-functional and do not affect workflow execution. May be specified as a list or as a mapping keyed by label. */
|
|
612
|
+
comments?: Array<TextComment | MarkdownComment | FrameComment | FreehandComment> | Record<string, TextComment | MarkdownComment | FrameComment | FreehandComment> | null;
|
|
613
|
+
/** Workflow creators. Can be schema.org Person (https://schema.org/Person) or Organization (https://schema.org/Organization) entities. */
|
|
614
|
+
creator?: Array<CreatorPerson | CreatorOrganization> | null;
|
|
615
|
+
/** Must be a valid license listed at https://spdx.org/licenses/ */
|
|
616
|
+
license?: null | string;
|
|
617
|
+
/** If listed should correspond to the release of the workflow in its source reposiory. */
|
|
618
|
+
release?: null | string;
|
|
619
|
+
}
|
|
620
|
+
/**
|
|
621
|
+
* A workflow step in a draft Galaxy workflow. This extends the normal
|
|
622
|
+
gxformat2 workflow step shape with draft-only planning fields used while
|
|
623
|
+
wrapper selection, parameter binding, and wrapper port names are still
|
|
624
|
+
unresolved.
|
|
625
|
+
*/
|
|
626
|
+
export interface DraftWorkflowStep extends WorkflowStep {
|
|
627
|
+
/** The unique identifier for this object. */
|
|
628
|
+
id?: null | string;
|
|
629
|
+
/** A short, human-readable label of this object. */
|
|
630
|
+
label?: null | string;
|
|
631
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
632
|
+
doc?: null | string | Array<string>;
|
|
633
|
+
position?: null | StepPosition;
|
|
634
|
+
/** The tool ID used to run this step of the workflow (e.g. 'cat1' or 'toolshed.g2.bx.psu.edu/repos/nml/collapse_collections/collapse_dataset/4.0'). */
|
|
635
|
+
tool_id?: null | string;
|
|
636
|
+
/** The Galaxy Tool Shed repository that should be installed in order to use this tool. */
|
|
637
|
+
tool_shed_repository?: null | ToolShedRepository;
|
|
638
|
+
/** The tool version corresponding used to run this step of the workflow. For tool shed installed tools, the ID generally uniquely specifies a version and this field is optional. */
|
|
639
|
+
tool_version?: null | string;
|
|
640
|
+
/** During Galaxy export there may be some problem validating the tool state, tool used, etc.. that will be indicated by this field. The Galaxy user should be warned of these problems before the workfl... */
|
|
641
|
+
errors?: null | string;
|
|
642
|
+
/** UUID uniquely representing this element. */
|
|
643
|
+
uuid?: null | string;
|
|
644
|
+
/** Draft-only free-text parameter binding intent for this step. This field must be removed before the workflow is treated as runnable gxformat2. */
|
|
645
|
+
_plan_state?: null | string;
|
|
646
|
+
/** Draft-only free-text wrapper selection context for this step, such as source command details, conda packages, containers, environment variables, and pre/postconditions. This field must be removed b... */
|
|
647
|
+
_plan_context?: null | string;
|
|
648
|
+
/** Draft-only free-text wrapper input-port mapping intent for this step. This field must be removed before the workflow is treated as runnable gxformat2. */
|
|
649
|
+
_plan_in?: null | string;
|
|
650
|
+
/** Draft-only free-text wrapper output-surface intent for this step. This field must be removed before the workflow is treated as runnable gxformat2. */
|
|
651
|
+
_plan_out?: null | string;
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* A draft Galaxy workflow description. A draft workflow has concrete workflow
|
|
655
|
+
topology but may contain draft-only wrapper-tier TODO sentinels and
|
|
656
|
+
per-step ``_plan_*`` fields. It is not a runnable gxformat2 workflow until
|
|
657
|
+
all TODO sentinels and planning fields have been resolved and stripped.
|
|
658
|
+
*/
|
|
659
|
+
export interface GalaxyWorkflowDraft extends Process, HasUUID {
|
|
660
|
+
/** The unique identifier for this object. */
|
|
661
|
+
id?: null | string;
|
|
662
|
+
class: "GalaxyWorkflowDraft";
|
|
663
|
+
/** A short, human-readable label of this object. */
|
|
664
|
+
label?: null | string;
|
|
665
|
+
/** A documentation string for this object, or an array of strings which should be concatenated. */
|
|
666
|
+
doc?: null | string | Array<string>;
|
|
667
|
+
/** The individual steps that make up the workflow. Each step is executed when all of its input data links are fulfilled. */
|
|
668
|
+
steps: Array<DraftWorkflowStep> | Record<string, DraftWorkflowStep>;
|
|
669
|
+
/** Workflow invocation report template. */
|
|
670
|
+
report?: null | Report;
|
|
671
|
+
/** Tags for the workflow. */
|
|
672
|
+
tags?: Array<string> | null;
|
|
673
|
+
/** Visual annotations for the workflow editor canvas. Comments are non-functional and do not affect workflow execution. May be specified as a list or as a mapping keyed by label. */
|
|
674
|
+
comments?: Array<TextComment | MarkdownComment | FrameComment | FreehandComment> | Record<string, TextComment | MarkdownComment | FrameComment | FreehandComment> | null;
|
|
675
|
+
/** Workflow creators. Can be schema.org Person (https://schema.org/Person) or Organization entities. */
|
|
676
|
+
creator?: Array<CreatorPerson | CreatorOrganization> | null;
|
|
677
|
+
/** Must be a valid license listed at https://spdx.org/licenses/ */
|
|
678
|
+
license?: null | string;
|
|
679
|
+
/** If listed should correspond to the release of the workflow in its source reposiory. */
|
|
680
|
+
release?: null | string;
|
|
681
|
+
}
|
|
682
|
+
export declare function isWorkflowDataParameter(v: WorkflowDataParameter | WorkflowCollectionParameter | WorkflowIntegerParameter | WorkflowTextParameter | WorkflowFloatParameter | WorkflowBooleanParameter): v is WorkflowDataParameter;
|
|
683
|
+
export declare function isWorkflowCollectionParameter(v: WorkflowDataParameter | WorkflowCollectionParameter | WorkflowIntegerParameter | WorkflowTextParameter | WorkflowFloatParameter | WorkflowBooleanParameter): v is WorkflowCollectionParameter;
|
|
684
|
+
export declare function isWorkflowIntegerParameter(v: WorkflowDataParameter | WorkflowCollectionParameter | WorkflowIntegerParameter | WorkflowTextParameter | WorkflowFloatParameter | WorkflowBooleanParameter): v is WorkflowIntegerParameter;
|
|
685
|
+
export declare function isWorkflowTextParameter(v: WorkflowDataParameter | WorkflowCollectionParameter | WorkflowIntegerParameter | WorkflowTextParameter | WorkflowFloatParameter | WorkflowBooleanParameter): v is WorkflowTextParameter;
|
|
686
|
+
export declare function isWorkflowFloatParameter(v: WorkflowDataParameter | WorkflowCollectionParameter | WorkflowIntegerParameter | WorkflowTextParameter | WorkflowFloatParameter | WorkflowBooleanParameter): v is WorkflowFloatParameter;
|
|
687
|
+
export declare function isWorkflowBooleanParameter(v: WorkflowDataParameter | WorkflowCollectionParameter | WorkflowIntegerParameter | WorkflowTextParameter | WorkflowFloatParameter | WorkflowBooleanParameter): v is WorkflowBooleanParameter;
|
|
688
|
+
//# sourceMappingURL=gxformat2-draft.d.ts.map
|