apb-export 0.2.2__py3-none-any.whl
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.
- apb_export/__init__.py +1 -0
- apb_export/api.py +98 -0
- apb_export/cli.py +562 -0
- apb_export/computed.py +135 -0
- apb_export/engine.py +717 -0
- apb_export/export_rules/__init__.py +0 -0
- apb_export/export_rules/documents/_schema/document.schema.json +1280 -0
- apb_export/export_rules/documents/_schema/rule.schema.json +1454 -0
- apb_export/export_rules/documents/alphapepttools/v0_4/rules.json +98 -0
- apb_export/export_rules/documents/explorede/v1_0/rules.json +197 -0
- apb_export/export_rules/documents/msmu/v0_4/rules.json +127 -0
- apb_export/export_rules/documents/msstats/v4_20/rules.json +66 -0
- apb_export/export_rules/documents/perseus/v2/rules.json +59 -0
- apb_export/export_rules/documents/prolfqua/v2_11/rules.json +223 -0
- apb_export/export_rules/documents/proteopy/v0_1/rules.json +53 -0
- apb_export/export_rules/documents/proteopy_ion/v0_1/rules.json +62 -0
- apb_export/export_rules/documents/qfeatures/v1_22/rules.json +98 -0
- apb_export/export_rules/documents/qpx/v1_1/rules.json +110 -0
- apb_export/export_rules/layout.py +60 -0
- apb_export/export_rules/loader.py +208 -0
- apb_export/export_rules/schema.py +502 -0
- apb_export/export_rules/schema_artifact.py +40 -0
- apb_export/long_table.py +75 -0
- apb_export/outputs.py +90 -0
- apb_export/perseus_table.py +100 -0
- apb_export/py.typed +1 -0
- apb_export/qpx/LICENSE.qpx +81 -0
- apb_export/qpx/__init__.py +0 -0
- apb_export/qpx/output.py +215 -0
- apb_export/qpx/schema.json +662 -0
- apb_export/qpx/schema.py +32 -0
- apb_export/rows.py +72 -0
- apb_export/sources.py +415 -0
- apb_export-0.2.2.dist-info/METADATA +159 -0
- apb_export-0.2.2.dist-info/RECORD +39 -0
- apb_export-0.2.2.dist-info/WHEEL +4 -0
- apb_export-0.2.2.dist-info/entry_points.txt +3 -0
- apb_export-0.2.2.dist-info/licenses/LICENSE +21 -0
- apb_export-0.2.2.dist-info/licenses/src/apb_export/qpx/LICENSE.qpx +81 -0
|
@@ -0,0 +1,1280 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$defs": {
|
|
3
|
+
"Accessions": {
|
|
4
|
+
"additionalProperties": false,
|
|
5
|
+
"description": "Protein-group members rewritten by a named ``accession_syntax``.",
|
|
6
|
+
"properties": {
|
|
7
|
+
"name": {
|
|
8
|
+
"description": "The target field; apb2's rules name APB fields.",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"title": "Name",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"type": {
|
|
14
|
+
"$ref": "#/$defs/ColumnType",
|
|
15
|
+
"default": "string"
|
|
16
|
+
},
|
|
17
|
+
"width": {
|
|
18
|
+
"anyOf": [
|
|
19
|
+
{
|
|
20
|
+
"$ref": "#/$defs/FloatWidth"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "null"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"default": null,
|
|
27
|
+
"description": "Float width of a number entry; 64 when omitted."
|
|
28
|
+
},
|
|
29
|
+
"required": {
|
|
30
|
+
"default": true,
|
|
31
|
+
"description": "An absent source is an error; when false, the entry is skipped or filled.",
|
|
32
|
+
"title": "Required",
|
|
33
|
+
"type": "boolean"
|
|
34
|
+
},
|
|
35
|
+
"fill_value": {
|
|
36
|
+
"$ref": "#/$defs/Scalar",
|
|
37
|
+
"default": null,
|
|
38
|
+
"description": "Written when an optional source is absent; \"NaN\" for numbers."
|
|
39
|
+
},
|
|
40
|
+
"drop_missing": {
|
|
41
|
+
"default": false,
|
|
42
|
+
"description": "A var entry: features whose value is missing or empty are left out and counted, as prolfquapp and msmu need a protein for every feature.",
|
|
43
|
+
"title": "Drop Missing",
|
|
44
|
+
"type": "boolean"
|
|
45
|
+
},
|
|
46
|
+
"source": {
|
|
47
|
+
"$ref": "#/$defs/Reference",
|
|
48
|
+
"description": "The APB field; apb2's rules name a vendor column here."
|
|
49
|
+
},
|
|
50
|
+
"fallback": {
|
|
51
|
+
"description": "Tried in order when the result lacks the source; one that answers is logged.",
|
|
52
|
+
"items": {
|
|
53
|
+
"$ref": "#/$defs/Reference"
|
|
54
|
+
},
|
|
55
|
+
"title": "Fallback",
|
|
56
|
+
"type": "array"
|
|
57
|
+
},
|
|
58
|
+
"how": {
|
|
59
|
+
"const": "accessions",
|
|
60
|
+
"title": "How",
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"syntax": {
|
|
64
|
+
"minLength": 1,
|
|
65
|
+
"title": "Syntax",
|
|
66
|
+
"type": "string"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"required": [
|
|
70
|
+
"name",
|
|
71
|
+
"source",
|
|
72
|
+
"how",
|
|
73
|
+
"syntax"
|
|
74
|
+
],
|
|
75
|
+
"title": "Accessions",
|
|
76
|
+
"type": "object"
|
|
77
|
+
},
|
|
78
|
+
"AnnotationMap": {
|
|
79
|
+
"additionalProperties": false,
|
|
80
|
+
"description": "Every obs annotation column mapped to its own name; ``uns`` only.",
|
|
81
|
+
"properties": {
|
|
82
|
+
"name": {
|
|
83
|
+
"description": "The target field; apb2's rules name APB fields.",
|
|
84
|
+
"minLength": 1,
|
|
85
|
+
"title": "Name",
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"type": {
|
|
89
|
+
"$ref": "#/$defs/ColumnType",
|
|
90
|
+
"default": "string"
|
|
91
|
+
},
|
|
92
|
+
"width": {
|
|
93
|
+
"anyOf": [
|
|
94
|
+
{
|
|
95
|
+
"$ref": "#/$defs/FloatWidth"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "null"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"default": null,
|
|
102
|
+
"description": "Float width of a number entry; 64 when omitted."
|
|
103
|
+
},
|
|
104
|
+
"required": {
|
|
105
|
+
"default": true,
|
|
106
|
+
"description": "An absent source is an error; when false, the entry is skipped or filled.",
|
|
107
|
+
"title": "Required",
|
|
108
|
+
"type": "boolean"
|
|
109
|
+
},
|
|
110
|
+
"fill_value": {
|
|
111
|
+
"$ref": "#/$defs/Scalar",
|
|
112
|
+
"default": null,
|
|
113
|
+
"description": "Written when an optional source is absent; \"NaN\" for numbers."
|
|
114
|
+
},
|
|
115
|
+
"drop_missing": {
|
|
116
|
+
"default": false,
|
|
117
|
+
"description": "A var entry: features whose value is missing or empty are left out and counted, as prolfquapp and msmu need a protein for every feature.",
|
|
118
|
+
"title": "Drop Missing",
|
|
119
|
+
"type": "boolean"
|
|
120
|
+
},
|
|
121
|
+
"how": {
|
|
122
|
+
"const": "annotation_map",
|
|
123
|
+
"title": "How",
|
|
124
|
+
"type": "string"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"required": [
|
|
128
|
+
"name",
|
|
129
|
+
"how"
|
|
130
|
+
],
|
|
131
|
+
"title": "AnnotationMap",
|
|
132
|
+
"type": "object"
|
|
133
|
+
},
|
|
134
|
+
"AxisSource": {
|
|
135
|
+
"additionalProperties": false,
|
|
136
|
+
"description": "The level's observation or variable key column; a composite key is refused.",
|
|
137
|
+
"properties": {
|
|
138
|
+
"axis": {
|
|
139
|
+
"enum": [
|
|
140
|
+
"obs_key",
|
|
141
|
+
"var_key"
|
|
142
|
+
],
|
|
143
|
+
"title": "Axis",
|
|
144
|
+
"type": "string"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"required": [
|
|
148
|
+
"axis"
|
|
149
|
+
],
|
|
150
|
+
"title": "AxisSource",
|
|
151
|
+
"type": "object"
|
|
152
|
+
},
|
|
153
|
+
"CatalogueLayer": {
|
|
154
|
+
"additionalProperties": false,
|
|
155
|
+
"description": "A catalogued layer: ``{\"catalog\": \"confidence_alpha\", \"layers\": \"q_value\"}``.",
|
|
156
|
+
"properties": {
|
|
157
|
+
"catalog": {
|
|
158
|
+
"minLength": 1,
|
|
159
|
+
"title": "Catalog",
|
|
160
|
+
"type": "string"
|
|
161
|
+
},
|
|
162
|
+
"qualifiers": {
|
|
163
|
+
"additionalProperties": {
|
|
164
|
+
"type": "string"
|
|
165
|
+
},
|
|
166
|
+
"description": "Further qualifiers of the request, besides those its key fixes, such as a retention time's unit.",
|
|
167
|
+
"title": "Qualifiers",
|
|
168
|
+
"type": "object"
|
|
169
|
+
},
|
|
170
|
+
"from_level": {
|
|
171
|
+
"anyOf": [
|
|
172
|
+
{
|
|
173
|
+
"const": "protein",
|
|
174
|
+
"type": "string"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"type": "null"
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
"default": null,
|
|
181
|
+
"description": "Read the field from this level through each variable's protein_assignment, as a layer: a cell takes its protein group's value in its run; a var column's value repeats in every run. The assignment names its group whole, or else the group it leads, as MaxQuant's razor protein does. A group the level lacks reads as missing.",
|
|
182
|
+
"title": "From Level"
|
|
183
|
+
},
|
|
184
|
+
"accept": {
|
|
185
|
+
"default": "present",
|
|
186
|
+
"description": "nonzero rejects a layer or var column holding no finite nonzero value, such as DIA-NN's library q-value without match-between-runs.",
|
|
187
|
+
"enum": [
|
|
188
|
+
"present",
|
|
189
|
+
"nonzero"
|
|
190
|
+
],
|
|
191
|
+
"title": "Accept",
|
|
192
|
+
"type": "string"
|
|
193
|
+
},
|
|
194
|
+
"layers": {
|
|
195
|
+
"description": "The set's key.",
|
|
196
|
+
"minLength": 1,
|
|
197
|
+
"title": "Layers",
|
|
198
|
+
"type": "string"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"required": [
|
|
202
|
+
"catalog",
|
|
203
|
+
"layers"
|
|
204
|
+
],
|
|
205
|
+
"title": "CatalogueLayer",
|
|
206
|
+
"type": "object"
|
|
207
|
+
},
|
|
208
|
+
"CatalogueObs": {
|
|
209
|
+
"additionalProperties": false,
|
|
210
|
+
"description": "A catalogued obs column: ``{\"catalog\": \"obs_annotation_alpha\", \"obs\": \"group\"}``.",
|
|
211
|
+
"properties": {
|
|
212
|
+
"catalog": {
|
|
213
|
+
"minLength": 1,
|
|
214
|
+
"title": "Catalog",
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
217
|
+
"qualifiers": {
|
|
218
|
+
"additionalProperties": {
|
|
219
|
+
"type": "string"
|
|
220
|
+
},
|
|
221
|
+
"description": "Further qualifiers of the request, besides those its key fixes, such as a retention time's unit.",
|
|
222
|
+
"title": "Qualifiers",
|
|
223
|
+
"type": "object"
|
|
224
|
+
},
|
|
225
|
+
"obs": {
|
|
226
|
+
"description": "The set's key.",
|
|
227
|
+
"minLength": 1,
|
|
228
|
+
"title": "Obs",
|
|
229
|
+
"type": "string"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"required": [
|
|
233
|
+
"catalog",
|
|
234
|
+
"obs"
|
|
235
|
+
],
|
|
236
|
+
"title": "CatalogueObs",
|
|
237
|
+
"type": "object"
|
|
238
|
+
},
|
|
239
|
+
"CatalogueVar": {
|
|
240
|
+
"additionalProperties": false,
|
|
241
|
+
"description": "A catalogued var column: ``{\"catalog\": \"apb_alpha\", \"var\": \"protein_assignment\"}``.",
|
|
242
|
+
"properties": {
|
|
243
|
+
"catalog": {
|
|
244
|
+
"minLength": 1,
|
|
245
|
+
"title": "Catalog",
|
|
246
|
+
"type": "string"
|
|
247
|
+
},
|
|
248
|
+
"qualifiers": {
|
|
249
|
+
"additionalProperties": {
|
|
250
|
+
"type": "string"
|
|
251
|
+
},
|
|
252
|
+
"description": "Further qualifiers of the request, besides those its key fixes, such as a retention time's unit.",
|
|
253
|
+
"title": "Qualifiers",
|
|
254
|
+
"type": "object"
|
|
255
|
+
},
|
|
256
|
+
"from_level": {
|
|
257
|
+
"anyOf": [
|
|
258
|
+
{
|
|
259
|
+
"const": "protein",
|
|
260
|
+
"type": "string"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"type": "null"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"default": null,
|
|
267
|
+
"description": "Read the field from this level through each variable's protein_assignment, as a layer: a cell takes its protein group's value in its run; a var column's value repeats in every run. The assignment names its group whole, or else the group it leads, as MaxQuant's razor protein does. A group the level lacks reads as missing.",
|
|
268
|
+
"title": "From Level"
|
|
269
|
+
},
|
|
270
|
+
"accept": {
|
|
271
|
+
"default": "present",
|
|
272
|
+
"description": "nonzero rejects a layer or var column holding no finite nonzero value, such as DIA-NN's library q-value without match-between-runs.",
|
|
273
|
+
"enum": [
|
|
274
|
+
"present",
|
|
275
|
+
"nonzero"
|
|
276
|
+
],
|
|
277
|
+
"title": "Accept",
|
|
278
|
+
"type": "string"
|
|
279
|
+
},
|
|
280
|
+
"var": {
|
|
281
|
+
"description": "The set's key.",
|
|
282
|
+
"minLength": 1,
|
|
283
|
+
"title": "Var",
|
|
284
|
+
"type": "string"
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
"required": [
|
|
288
|
+
"catalog",
|
|
289
|
+
"var"
|
|
290
|
+
],
|
|
291
|
+
"title": "CatalogueVar",
|
|
292
|
+
"type": "object"
|
|
293
|
+
},
|
|
294
|
+
"ColumnEntry": {
|
|
295
|
+
"anyOf": [
|
|
296
|
+
{
|
|
297
|
+
"$ref": "#/$defs/SourcedEntry"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"$ref": "#/$defs/ComputedEntry"
|
|
301
|
+
}
|
|
302
|
+
]
|
|
303
|
+
},
|
|
304
|
+
"ColumnType": {
|
|
305
|
+
"enum": [
|
|
306
|
+
"string",
|
|
307
|
+
"integer",
|
|
308
|
+
"number",
|
|
309
|
+
"boolean"
|
|
310
|
+
],
|
|
311
|
+
"type": "string"
|
|
312
|
+
},
|
|
313
|
+
"ComputedEntry": {
|
|
314
|
+
"discriminator": {
|
|
315
|
+
"mapping": {
|
|
316
|
+
"accessions": "#/$defs/Accessions",
|
|
317
|
+
"annotation_map": "#/$defs/AnnotationMap",
|
|
318
|
+
"constant": "#/$defs/Constant",
|
|
319
|
+
"contaminant": "#/$defs/Contaminant",
|
|
320
|
+
"join_nonempty": "#/$defs/JoinNonempty",
|
|
321
|
+
"layer_minimum": "#/$defs/LayerMinimum",
|
|
322
|
+
"lowercase": "#/$defs/Lowercase",
|
|
323
|
+
"proforma_charge": "#/$defs/ProformaCharge",
|
|
324
|
+
"sequence_length": "#/$defs/SequenceLength",
|
|
325
|
+
"short_name": "#/$defs/ShortName",
|
|
326
|
+
"single_accession": "#/$defs/SingleAccession"
|
|
327
|
+
},
|
|
328
|
+
"propertyName": "how"
|
|
329
|
+
},
|
|
330
|
+
"oneOf": [
|
|
331
|
+
{
|
|
332
|
+
"$ref": "#/$defs/Constant"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"$ref": "#/$defs/JoinNonempty"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"$ref": "#/$defs/ProformaCharge"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"$ref": "#/$defs/SequenceLength"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"$ref": "#/$defs/Accessions"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"$ref": "#/$defs/SingleAccession"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"$ref": "#/$defs/Contaminant"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"$ref": "#/$defs/Lowercase"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"$ref": "#/$defs/ShortName"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"$ref": "#/$defs/AnnotationMap"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"$ref": "#/$defs/LayerMinimum"
|
|
363
|
+
}
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
"Constant": {
|
|
367
|
+
"additionalProperties": false,
|
|
368
|
+
"description": "The same value everywhere.",
|
|
369
|
+
"properties": {
|
|
370
|
+
"name": {
|
|
371
|
+
"description": "The target field; apb2's rules name APB fields.",
|
|
372
|
+
"minLength": 1,
|
|
373
|
+
"title": "Name",
|
|
374
|
+
"type": "string"
|
|
375
|
+
},
|
|
376
|
+
"type": {
|
|
377
|
+
"$ref": "#/$defs/ColumnType",
|
|
378
|
+
"default": "string"
|
|
379
|
+
},
|
|
380
|
+
"width": {
|
|
381
|
+
"anyOf": [
|
|
382
|
+
{
|
|
383
|
+
"$ref": "#/$defs/FloatWidth"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"type": "null"
|
|
387
|
+
}
|
|
388
|
+
],
|
|
389
|
+
"default": null,
|
|
390
|
+
"description": "Float width of a number entry; 64 when omitted."
|
|
391
|
+
},
|
|
392
|
+
"required": {
|
|
393
|
+
"default": true,
|
|
394
|
+
"description": "An absent source is an error; when false, the entry is skipped or filled.",
|
|
395
|
+
"title": "Required",
|
|
396
|
+
"type": "boolean"
|
|
397
|
+
},
|
|
398
|
+
"fill_value": {
|
|
399
|
+
"$ref": "#/$defs/Scalar",
|
|
400
|
+
"default": null,
|
|
401
|
+
"description": "Written when an optional source is absent; \"NaN\" for numbers."
|
|
402
|
+
},
|
|
403
|
+
"drop_missing": {
|
|
404
|
+
"default": false,
|
|
405
|
+
"description": "A var entry: features whose value is missing or empty are left out and counted, as prolfquapp and msmu need a protein for every feature.",
|
|
406
|
+
"title": "Drop Missing",
|
|
407
|
+
"type": "boolean"
|
|
408
|
+
},
|
|
409
|
+
"how": {
|
|
410
|
+
"const": "constant",
|
|
411
|
+
"title": "How",
|
|
412
|
+
"type": "string"
|
|
413
|
+
},
|
|
414
|
+
"value": {
|
|
415
|
+
"$ref": "#/$defs/JsonValue",
|
|
416
|
+
"description": "Any JSON in uns; a scalar in columns."
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"required": [
|
|
420
|
+
"name",
|
|
421
|
+
"how",
|
|
422
|
+
"value"
|
|
423
|
+
],
|
|
424
|
+
"title": "Constant",
|
|
425
|
+
"type": "object"
|
|
426
|
+
},
|
|
427
|
+
"Contaminant": {
|
|
428
|
+
"additionalProperties": false,
|
|
429
|
+
"description": "Whether the row is a contaminant: apb2's ``apb_Contaminant``, the contaminants the\nsoftware flags or adds itself, or apb-fasta's FASTA contaminant match where the result\nwas FASTA-checked.",
|
|
430
|
+
"properties": {
|
|
431
|
+
"name": {
|
|
432
|
+
"description": "The target field; apb2's rules name APB fields.",
|
|
433
|
+
"minLength": 1,
|
|
434
|
+
"title": "Name",
|
|
435
|
+
"type": "string"
|
|
436
|
+
},
|
|
437
|
+
"type": {
|
|
438
|
+
"$ref": "#/$defs/ColumnType",
|
|
439
|
+
"default": "string"
|
|
440
|
+
},
|
|
441
|
+
"width": {
|
|
442
|
+
"anyOf": [
|
|
443
|
+
{
|
|
444
|
+
"$ref": "#/$defs/FloatWidth"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"type": "null"
|
|
448
|
+
}
|
|
449
|
+
],
|
|
450
|
+
"default": null,
|
|
451
|
+
"description": "Float width of a number entry; 64 when omitted."
|
|
452
|
+
},
|
|
453
|
+
"required": {
|
|
454
|
+
"default": true,
|
|
455
|
+
"description": "An absent source is an error; when false, the entry is skipped or filled.",
|
|
456
|
+
"title": "Required",
|
|
457
|
+
"type": "boolean"
|
|
458
|
+
},
|
|
459
|
+
"fill_value": {
|
|
460
|
+
"$ref": "#/$defs/Scalar",
|
|
461
|
+
"default": null,
|
|
462
|
+
"description": "Written when an optional source is absent; \"NaN\" for numbers."
|
|
463
|
+
},
|
|
464
|
+
"drop_missing": {
|
|
465
|
+
"default": false,
|
|
466
|
+
"description": "A var entry: features whose value is missing or empty are left out and counted, as prolfquapp and msmu need a protein for every feature.",
|
|
467
|
+
"title": "Drop Missing",
|
|
468
|
+
"type": "boolean"
|
|
469
|
+
},
|
|
470
|
+
"how": {
|
|
471
|
+
"const": "contaminant",
|
|
472
|
+
"title": "How",
|
|
473
|
+
"type": "string"
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
"required": [
|
|
477
|
+
"name",
|
|
478
|
+
"how"
|
|
479
|
+
],
|
|
480
|
+
"title": "Contaminant",
|
|
481
|
+
"type": "object"
|
|
482
|
+
},
|
|
483
|
+
"FeatureLink": {
|
|
484
|
+
"additionalProperties": false,
|
|
485
|
+
"description": "A directed ``.h5mu`` relation between modalities, written to the MuData's ``varp``.\n\nEach feature of a modality holding ``column`` maps to the ``target`` modality's feature whose\nkey equals its value: rows are the mapped features, columns the target's, values 1.0.",
|
|
486
|
+
"properties": {
|
|
487
|
+
"name": {
|
|
488
|
+
"minLength": 1,
|
|
489
|
+
"title": "Name",
|
|
490
|
+
"type": "string"
|
|
491
|
+
},
|
|
492
|
+
"column": {
|
|
493
|
+
"minLength": 1,
|
|
494
|
+
"title": "Column",
|
|
495
|
+
"type": "string"
|
|
496
|
+
},
|
|
497
|
+
"target": {
|
|
498
|
+
"minLength": 1,
|
|
499
|
+
"title": "Target",
|
|
500
|
+
"type": "string"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"required": [
|
|
504
|
+
"name",
|
|
505
|
+
"column",
|
|
506
|
+
"target"
|
|
507
|
+
],
|
|
508
|
+
"title": "FeatureLink",
|
|
509
|
+
"type": "object"
|
|
510
|
+
},
|
|
511
|
+
"FloatWidth": {
|
|
512
|
+
"enum": [
|
|
513
|
+
32,
|
|
514
|
+
64
|
|
515
|
+
],
|
|
516
|
+
"type": "integer"
|
|
517
|
+
},
|
|
518
|
+
"JoinNonempty": {
|
|
519
|
+
"additionalProperties": false,
|
|
520
|
+
"description": "Non-empty input values joined with a separator, as apb2's ``join_nonempty``.",
|
|
521
|
+
"properties": {
|
|
522
|
+
"name": {
|
|
523
|
+
"description": "The target field; apb2's rules name APB fields.",
|
|
524
|
+
"minLength": 1,
|
|
525
|
+
"title": "Name",
|
|
526
|
+
"type": "string"
|
|
527
|
+
},
|
|
528
|
+
"type": {
|
|
529
|
+
"$ref": "#/$defs/ColumnType",
|
|
530
|
+
"default": "string"
|
|
531
|
+
},
|
|
532
|
+
"width": {
|
|
533
|
+
"anyOf": [
|
|
534
|
+
{
|
|
535
|
+
"$ref": "#/$defs/FloatWidth"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"type": "null"
|
|
539
|
+
}
|
|
540
|
+
],
|
|
541
|
+
"default": null,
|
|
542
|
+
"description": "Float width of a number entry; 64 when omitted."
|
|
543
|
+
},
|
|
544
|
+
"required": {
|
|
545
|
+
"default": true,
|
|
546
|
+
"description": "An absent source is an error; when false, the entry is skipped or filled.",
|
|
547
|
+
"title": "Required",
|
|
548
|
+
"type": "boolean"
|
|
549
|
+
},
|
|
550
|
+
"fill_value": {
|
|
551
|
+
"$ref": "#/$defs/Scalar",
|
|
552
|
+
"default": null,
|
|
553
|
+
"description": "Written when an optional source is absent; \"NaN\" for numbers."
|
|
554
|
+
},
|
|
555
|
+
"drop_missing": {
|
|
556
|
+
"default": false,
|
|
557
|
+
"description": "A var entry: features whose value is missing or empty are left out and counted, as prolfquapp and msmu need a protein for every feature.",
|
|
558
|
+
"title": "Drop Missing",
|
|
559
|
+
"type": "boolean"
|
|
560
|
+
},
|
|
561
|
+
"how": {
|
|
562
|
+
"const": "join_nonempty",
|
|
563
|
+
"title": "How",
|
|
564
|
+
"type": "string"
|
|
565
|
+
},
|
|
566
|
+
"inputs": {
|
|
567
|
+
"description": "APB references, not entries.",
|
|
568
|
+
"items": {
|
|
569
|
+
"$ref": "#/$defs/Reference"
|
|
570
|
+
},
|
|
571
|
+
"minItems": 2,
|
|
572
|
+
"title": "Inputs",
|
|
573
|
+
"type": "array"
|
|
574
|
+
},
|
|
575
|
+
"separator": {
|
|
576
|
+
"minLength": 1,
|
|
577
|
+
"title": "Separator",
|
|
578
|
+
"type": "string"
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
"required": [
|
|
582
|
+
"name",
|
|
583
|
+
"how",
|
|
584
|
+
"inputs",
|
|
585
|
+
"separator"
|
|
586
|
+
],
|
|
587
|
+
"title": "JoinNonempty",
|
|
588
|
+
"type": "object"
|
|
589
|
+
},
|
|
590
|
+
"JsonValue": {},
|
|
591
|
+
"LayerMinimum": {
|
|
592
|
+
"additionalProperties": false,
|
|
593
|
+
"description": "An exported layer's smallest value per variable across observations, missing values left\nout, as one q-value per ion from a per-run layer.",
|
|
594
|
+
"properties": {
|
|
595
|
+
"name": {
|
|
596
|
+
"description": "The target field; apb2's rules name APB fields.",
|
|
597
|
+
"minLength": 1,
|
|
598
|
+
"title": "Name",
|
|
599
|
+
"type": "string"
|
|
600
|
+
},
|
|
601
|
+
"type": {
|
|
602
|
+
"$ref": "#/$defs/ColumnType",
|
|
603
|
+
"default": "string"
|
|
604
|
+
},
|
|
605
|
+
"width": {
|
|
606
|
+
"anyOf": [
|
|
607
|
+
{
|
|
608
|
+
"$ref": "#/$defs/FloatWidth"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"type": "null"
|
|
612
|
+
}
|
|
613
|
+
],
|
|
614
|
+
"default": null,
|
|
615
|
+
"description": "Float width of a number entry; 64 when omitted."
|
|
616
|
+
},
|
|
617
|
+
"required": {
|
|
618
|
+
"default": true,
|
|
619
|
+
"description": "An absent source is an error; when false, the entry is skipped or filled.",
|
|
620
|
+
"title": "Required",
|
|
621
|
+
"type": "boolean"
|
|
622
|
+
},
|
|
623
|
+
"fill_value": {
|
|
624
|
+
"$ref": "#/$defs/Scalar",
|
|
625
|
+
"default": null,
|
|
626
|
+
"description": "Written when an optional source is absent; \"NaN\" for numbers."
|
|
627
|
+
},
|
|
628
|
+
"drop_missing": {
|
|
629
|
+
"default": false,
|
|
630
|
+
"description": "A var entry: features whose value is missing or empty are left out and counted, as prolfquapp and msmu need a protein for every feature.",
|
|
631
|
+
"title": "Drop Missing",
|
|
632
|
+
"type": "boolean"
|
|
633
|
+
},
|
|
634
|
+
"how": {
|
|
635
|
+
"const": "layer_minimum",
|
|
636
|
+
"title": "How",
|
|
637
|
+
"type": "string"
|
|
638
|
+
},
|
|
639
|
+
"layer": {
|
|
640
|
+
"description": "A measurement layer of the same level.",
|
|
641
|
+
"minLength": 1,
|
|
642
|
+
"title": "Layer",
|
|
643
|
+
"type": "string"
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
"required": [
|
|
647
|
+
"name",
|
|
648
|
+
"how",
|
|
649
|
+
"layer"
|
|
650
|
+
],
|
|
651
|
+
"title": "LayerMinimum",
|
|
652
|
+
"type": "object"
|
|
653
|
+
},
|
|
654
|
+
"Lowercase": {
|
|
655
|
+
"additionalProperties": false,
|
|
656
|
+
"description": "The input text in lower case.",
|
|
657
|
+
"properties": {
|
|
658
|
+
"name": {
|
|
659
|
+
"description": "The target field; apb2's rules name APB fields.",
|
|
660
|
+
"minLength": 1,
|
|
661
|
+
"title": "Name",
|
|
662
|
+
"type": "string"
|
|
663
|
+
},
|
|
664
|
+
"type": {
|
|
665
|
+
"$ref": "#/$defs/ColumnType",
|
|
666
|
+
"default": "string"
|
|
667
|
+
},
|
|
668
|
+
"width": {
|
|
669
|
+
"anyOf": [
|
|
670
|
+
{
|
|
671
|
+
"$ref": "#/$defs/FloatWidth"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"type": "null"
|
|
675
|
+
}
|
|
676
|
+
],
|
|
677
|
+
"default": null,
|
|
678
|
+
"description": "Float width of a number entry; 64 when omitted."
|
|
679
|
+
},
|
|
680
|
+
"required": {
|
|
681
|
+
"default": true,
|
|
682
|
+
"description": "An absent source is an error; when false, the entry is skipped or filled.",
|
|
683
|
+
"title": "Required",
|
|
684
|
+
"type": "boolean"
|
|
685
|
+
},
|
|
686
|
+
"fill_value": {
|
|
687
|
+
"$ref": "#/$defs/Scalar",
|
|
688
|
+
"default": null,
|
|
689
|
+
"description": "Written when an optional source is absent; \"NaN\" for numbers."
|
|
690
|
+
},
|
|
691
|
+
"drop_missing": {
|
|
692
|
+
"default": false,
|
|
693
|
+
"description": "A var entry: features whose value is missing or empty are left out and counted, as prolfquapp and msmu need a protein for every feature.",
|
|
694
|
+
"title": "Drop Missing",
|
|
695
|
+
"type": "boolean"
|
|
696
|
+
},
|
|
697
|
+
"source": {
|
|
698
|
+
"$ref": "#/$defs/Reference",
|
|
699
|
+
"description": "The APB field; apb2's rules name a vendor column here."
|
|
700
|
+
},
|
|
701
|
+
"fallback": {
|
|
702
|
+
"description": "Tried in order when the result lacks the source; one that answers is logged.",
|
|
703
|
+
"items": {
|
|
704
|
+
"$ref": "#/$defs/Reference"
|
|
705
|
+
},
|
|
706
|
+
"title": "Fallback",
|
|
707
|
+
"type": "array"
|
|
708
|
+
},
|
|
709
|
+
"how": {
|
|
710
|
+
"const": "lowercase",
|
|
711
|
+
"title": "How",
|
|
712
|
+
"type": "string"
|
|
713
|
+
}
|
|
714
|
+
},
|
|
715
|
+
"required": [
|
|
716
|
+
"name",
|
|
717
|
+
"source",
|
|
718
|
+
"how"
|
|
719
|
+
],
|
|
720
|
+
"title": "Lowercase",
|
|
721
|
+
"type": "object"
|
|
722
|
+
},
|
|
723
|
+
"MeasurementSource": {
|
|
724
|
+
"additionalProperties": false,
|
|
725
|
+
"description": "The level's primary layer, or the abundance layer the caller picks.",
|
|
726
|
+
"properties": {
|
|
727
|
+
"measurements": {
|
|
728
|
+
"const": "primary_layer",
|
|
729
|
+
"title": "Measurements",
|
|
730
|
+
"type": "string"
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
"required": [
|
|
734
|
+
"measurements"
|
|
735
|
+
],
|
|
736
|
+
"title": "MeasurementSource",
|
|
737
|
+
"type": "object"
|
|
738
|
+
},
|
|
739
|
+
"ObsSource": {
|
|
740
|
+
"additionalProperties": false,
|
|
741
|
+
"description": "An observation annotation column, by its name in the result, such as an SDRF column\napb2's sample annotation added; absent when the result was not annotated with it.",
|
|
742
|
+
"properties": {
|
|
743
|
+
"obs": {
|
|
744
|
+
"minLength": 1,
|
|
745
|
+
"title": "Obs",
|
|
746
|
+
"type": "string"
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
"required": [
|
|
750
|
+
"obs"
|
|
751
|
+
],
|
|
752
|
+
"title": "ObsSource",
|
|
753
|
+
"type": "object"
|
|
754
|
+
},
|
|
755
|
+
"Output": {
|
|
756
|
+
"enum": [
|
|
757
|
+
".h5mu",
|
|
758
|
+
".h5ad",
|
|
759
|
+
".h5ads",
|
|
760
|
+
".csv",
|
|
761
|
+
".txt",
|
|
762
|
+
".qpx"
|
|
763
|
+
],
|
|
764
|
+
"type": "string"
|
|
765
|
+
},
|
|
766
|
+
"ProformaCharge": {
|
|
767
|
+
"additionalProperties": false,
|
|
768
|
+
"description": "The charge of a ProForma ion, ``SEQ/2`` giving 2.",
|
|
769
|
+
"properties": {
|
|
770
|
+
"name": {
|
|
771
|
+
"description": "The target field; apb2's rules name APB fields.",
|
|
772
|
+
"minLength": 1,
|
|
773
|
+
"title": "Name",
|
|
774
|
+
"type": "string"
|
|
775
|
+
},
|
|
776
|
+
"type": {
|
|
777
|
+
"$ref": "#/$defs/ColumnType",
|
|
778
|
+
"default": "string"
|
|
779
|
+
},
|
|
780
|
+
"width": {
|
|
781
|
+
"anyOf": [
|
|
782
|
+
{
|
|
783
|
+
"$ref": "#/$defs/FloatWidth"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"type": "null"
|
|
787
|
+
}
|
|
788
|
+
],
|
|
789
|
+
"default": null,
|
|
790
|
+
"description": "Float width of a number entry; 64 when omitted."
|
|
791
|
+
},
|
|
792
|
+
"required": {
|
|
793
|
+
"default": true,
|
|
794
|
+
"description": "An absent source is an error; when false, the entry is skipped or filled.",
|
|
795
|
+
"title": "Required",
|
|
796
|
+
"type": "boolean"
|
|
797
|
+
},
|
|
798
|
+
"fill_value": {
|
|
799
|
+
"$ref": "#/$defs/Scalar",
|
|
800
|
+
"default": null,
|
|
801
|
+
"description": "Written when an optional source is absent; \"NaN\" for numbers."
|
|
802
|
+
},
|
|
803
|
+
"drop_missing": {
|
|
804
|
+
"default": false,
|
|
805
|
+
"description": "A var entry: features whose value is missing or empty are left out and counted, as prolfquapp and msmu need a protein for every feature.",
|
|
806
|
+
"title": "Drop Missing",
|
|
807
|
+
"type": "boolean"
|
|
808
|
+
},
|
|
809
|
+
"source": {
|
|
810
|
+
"$ref": "#/$defs/Reference",
|
|
811
|
+
"description": "The APB field; apb2's rules name a vendor column here."
|
|
812
|
+
},
|
|
813
|
+
"fallback": {
|
|
814
|
+
"description": "Tried in order when the result lacks the source; one that answers is logged.",
|
|
815
|
+
"items": {
|
|
816
|
+
"$ref": "#/$defs/Reference"
|
|
817
|
+
},
|
|
818
|
+
"title": "Fallback",
|
|
819
|
+
"type": "array"
|
|
820
|
+
},
|
|
821
|
+
"how": {
|
|
822
|
+
"const": "proforma_charge",
|
|
823
|
+
"title": "How",
|
|
824
|
+
"type": "string"
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
"required": [
|
|
828
|
+
"name",
|
|
829
|
+
"source",
|
|
830
|
+
"how"
|
|
831
|
+
],
|
|
832
|
+
"title": "ProformaCharge",
|
|
833
|
+
"type": "object"
|
|
834
|
+
},
|
|
835
|
+
"Reference": {
|
|
836
|
+
"anyOf": [
|
|
837
|
+
{
|
|
838
|
+
"$ref": "#/$defs/AxisSource"
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"$ref": "#/$defs/MeasurementSource"
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"$ref": "#/$defs/RuleSource"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"$ref": "#/$defs/CatalogueLayer"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"$ref": "#/$defs/CatalogueVar"
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"$ref": "#/$defs/CatalogueObs"
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"$ref": "#/$defs/ObsSource"
|
|
857
|
+
}
|
|
858
|
+
]
|
|
859
|
+
},
|
|
860
|
+
"RuleSource": {
|
|
861
|
+
"additionalProperties": false,
|
|
862
|
+
"description": "A top-level field of the apb2 rule stored with the level, such as ``software_name``.",
|
|
863
|
+
"properties": {
|
|
864
|
+
"rule": {
|
|
865
|
+
"minLength": 1,
|
|
866
|
+
"title": "Rule",
|
|
867
|
+
"type": "string"
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
"required": [
|
|
871
|
+
"rule"
|
|
872
|
+
],
|
|
873
|
+
"title": "RuleSource",
|
|
874
|
+
"type": "object"
|
|
875
|
+
},
|
|
876
|
+
"Scalar": {
|
|
877
|
+
"anyOf": [
|
|
878
|
+
{
|
|
879
|
+
"type": "string"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"type": "integer"
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"type": "number"
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"type": "boolean"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"type": "null"
|
|
892
|
+
}
|
|
893
|
+
]
|
|
894
|
+
},
|
|
895
|
+
"SchemaVersion": {
|
|
896
|
+
"const": "0.5",
|
|
897
|
+
"type": "string"
|
|
898
|
+
},
|
|
899
|
+
"SequenceLength": {
|
|
900
|
+
"additionalProperties": false,
|
|
901
|
+
"description": "The number of characters of a sequence.",
|
|
902
|
+
"properties": {
|
|
903
|
+
"name": {
|
|
904
|
+
"description": "The target field; apb2's rules name APB fields.",
|
|
905
|
+
"minLength": 1,
|
|
906
|
+
"title": "Name",
|
|
907
|
+
"type": "string"
|
|
908
|
+
},
|
|
909
|
+
"type": {
|
|
910
|
+
"$ref": "#/$defs/ColumnType",
|
|
911
|
+
"default": "string"
|
|
912
|
+
},
|
|
913
|
+
"width": {
|
|
914
|
+
"anyOf": [
|
|
915
|
+
{
|
|
916
|
+
"$ref": "#/$defs/FloatWidth"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"type": "null"
|
|
920
|
+
}
|
|
921
|
+
],
|
|
922
|
+
"default": null,
|
|
923
|
+
"description": "Float width of a number entry; 64 when omitted."
|
|
924
|
+
},
|
|
925
|
+
"required": {
|
|
926
|
+
"default": true,
|
|
927
|
+
"description": "An absent source is an error; when false, the entry is skipped or filled.",
|
|
928
|
+
"title": "Required",
|
|
929
|
+
"type": "boolean"
|
|
930
|
+
},
|
|
931
|
+
"fill_value": {
|
|
932
|
+
"$ref": "#/$defs/Scalar",
|
|
933
|
+
"default": null,
|
|
934
|
+
"description": "Written when an optional source is absent; \"NaN\" for numbers."
|
|
935
|
+
},
|
|
936
|
+
"drop_missing": {
|
|
937
|
+
"default": false,
|
|
938
|
+
"description": "A var entry: features whose value is missing or empty are left out and counted, as prolfquapp and msmu need a protein for every feature.",
|
|
939
|
+
"title": "Drop Missing",
|
|
940
|
+
"type": "boolean"
|
|
941
|
+
},
|
|
942
|
+
"source": {
|
|
943
|
+
"$ref": "#/$defs/Reference",
|
|
944
|
+
"description": "The APB field; apb2's rules name a vendor column here."
|
|
945
|
+
},
|
|
946
|
+
"fallback": {
|
|
947
|
+
"description": "Tried in order when the result lacks the source; one that answers is logged.",
|
|
948
|
+
"items": {
|
|
949
|
+
"$ref": "#/$defs/Reference"
|
|
950
|
+
},
|
|
951
|
+
"title": "Fallback",
|
|
952
|
+
"type": "array"
|
|
953
|
+
},
|
|
954
|
+
"how": {
|
|
955
|
+
"const": "sequence_length",
|
|
956
|
+
"title": "How",
|
|
957
|
+
"type": "string"
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
"required": [
|
|
961
|
+
"name",
|
|
962
|
+
"source",
|
|
963
|
+
"how"
|
|
964
|
+
],
|
|
965
|
+
"title": "SequenceLength",
|
|
966
|
+
"type": "object"
|
|
967
|
+
},
|
|
968
|
+
"ShortName": {
|
|
969
|
+
"additionalProperties": false,
|
|
970
|
+
"description": "Per row, the first input holding a non-empty value, cut to its first ``separator``\nmember and, for a ``db|ACC|NAME`` member, to ``NAME``; ``append`` follows after ``_``.\n\nAn input the result does not carry, such as a FASTA column without a FASTA check, is passed\nover; ``append`` is required.",
|
|
971
|
+
"properties": {
|
|
972
|
+
"name": {
|
|
973
|
+
"description": "The target field; apb2's rules name APB fields.",
|
|
974
|
+
"minLength": 1,
|
|
975
|
+
"title": "Name",
|
|
976
|
+
"type": "string"
|
|
977
|
+
},
|
|
978
|
+
"type": {
|
|
979
|
+
"$ref": "#/$defs/ColumnType",
|
|
980
|
+
"default": "string"
|
|
981
|
+
},
|
|
982
|
+
"width": {
|
|
983
|
+
"anyOf": [
|
|
984
|
+
{
|
|
985
|
+
"$ref": "#/$defs/FloatWidth"
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"type": "null"
|
|
989
|
+
}
|
|
990
|
+
],
|
|
991
|
+
"default": null,
|
|
992
|
+
"description": "Float width of a number entry; 64 when omitted."
|
|
993
|
+
},
|
|
994
|
+
"required": {
|
|
995
|
+
"default": true,
|
|
996
|
+
"description": "An absent source is an error; when false, the entry is skipped or filled.",
|
|
997
|
+
"title": "Required",
|
|
998
|
+
"type": "boolean"
|
|
999
|
+
},
|
|
1000
|
+
"fill_value": {
|
|
1001
|
+
"$ref": "#/$defs/Scalar",
|
|
1002
|
+
"default": null,
|
|
1003
|
+
"description": "Written when an optional source is absent; \"NaN\" for numbers."
|
|
1004
|
+
},
|
|
1005
|
+
"drop_missing": {
|
|
1006
|
+
"default": false,
|
|
1007
|
+
"description": "A var entry: features whose value is missing or empty are left out and counted, as prolfquapp and msmu need a protein for every feature.",
|
|
1008
|
+
"title": "Drop Missing",
|
|
1009
|
+
"type": "boolean"
|
|
1010
|
+
},
|
|
1011
|
+
"how": {
|
|
1012
|
+
"const": "short_name",
|
|
1013
|
+
"title": "How",
|
|
1014
|
+
"type": "string"
|
|
1015
|
+
},
|
|
1016
|
+
"inputs": {
|
|
1017
|
+
"description": "Candidates per row, in order.",
|
|
1018
|
+
"items": {
|
|
1019
|
+
"$ref": "#/$defs/Reference"
|
|
1020
|
+
},
|
|
1021
|
+
"minItems": 1,
|
|
1022
|
+
"title": "Inputs",
|
|
1023
|
+
"type": "array"
|
|
1024
|
+
},
|
|
1025
|
+
"separator": {
|
|
1026
|
+
"default": ";",
|
|
1027
|
+
"description": "Between group members.",
|
|
1028
|
+
"minLength": 1,
|
|
1029
|
+
"title": "Separator",
|
|
1030
|
+
"type": "string"
|
|
1031
|
+
},
|
|
1032
|
+
"append": {
|
|
1033
|
+
"anyOf": [
|
|
1034
|
+
{
|
|
1035
|
+
"$ref": "#/$defs/Reference"
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"type": "null"
|
|
1039
|
+
}
|
|
1040
|
+
],
|
|
1041
|
+
"default": null
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
"required": [
|
|
1045
|
+
"name",
|
|
1046
|
+
"how",
|
|
1047
|
+
"inputs"
|
|
1048
|
+
],
|
|
1049
|
+
"title": "ShortName",
|
|
1050
|
+
"type": "object"
|
|
1051
|
+
},
|
|
1052
|
+
"SingleAccession": {
|
|
1053
|
+
"additionalProperties": false,
|
|
1054
|
+
"description": "The accession a feature names when its protein list holds exactly one; otherwise missing.\n\nProteoPy's peptide-level data takes one protein per feature; with ``drop_missing`` the\nfeatures naming several proteins are left out, as ProteoPy's own DIA-NN reader does.",
|
|
1055
|
+
"properties": {
|
|
1056
|
+
"name": {
|
|
1057
|
+
"description": "The target field; apb2's rules name APB fields.",
|
|
1058
|
+
"minLength": 1,
|
|
1059
|
+
"title": "Name",
|
|
1060
|
+
"type": "string"
|
|
1061
|
+
},
|
|
1062
|
+
"type": {
|
|
1063
|
+
"$ref": "#/$defs/ColumnType",
|
|
1064
|
+
"default": "string"
|
|
1065
|
+
},
|
|
1066
|
+
"width": {
|
|
1067
|
+
"anyOf": [
|
|
1068
|
+
{
|
|
1069
|
+
"$ref": "#/$defs/FloatWidth"
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"type": "null"
|
|
1073
|
+
}
|
|
1074
|
+
],
|
|
1075
|
+
"default": null,
|
|
1076
|
+
"description": "Float width of a number entry; 64 when omitted."
|
|
1077
|
+
},
|
|
1078
|
+
"required": {
|
|
1079
|
+
"default": true,
|
|
1080
|
+
"description": "An absent source is an error; when false, the entry is skipped or filled.",
|
|
1081
|
+
"title": "Required",
|
|
1082
|
+
"type": "boolean"
|
|
1083
|
+
},
|
|
1084
|
+
"fill_value": {
|
|
1085
|
+
"$ref": "#/$defs/Scalar",
|
|
1086
|
+
"default": null,
|
|
1087
|
+
"description": "Written when an optional source is absent; \"NaN\" for numbers."
|
|
1088
|
+
},
|
|
1089
|
+
"drop_missing": {
|
|
1090
|
+
"default": false,
|
|
1091
|
+
"description": "A var entry: features whose value is missing or empty are left out and counted, as prolfquapp and msmu need a protein for every feature.",
|
|
1092
|
+
"title": "Drop Missing",
|
|
1093
|
+
"type": "boolean"
|
|
1094
|
+
},
|
|
1095
|
+
"source": {
|
|
1096
|
+
"$ref": "#/$defs/Reference",
|
|
1097
|
+
"description": "The APB field; apb2's rules name a vendor column here."
|
|
1098
|
+
},
|
|
1099
|
+
"fallback": {
|
|
1100
|
+
"description": "Tried in order when the result lacks the source; one that answers is logged.",
|
|
1101
|
+
"items": {
|
|
1102
|
+
"$ref": "#/$defs/Reference"
|
|
1103
|
+
},
|
|
1104
|
+
"title": "Fallback",
|
|
1105
|
+
"type": "array"
|
|
1106
|
+
},
|
|
1107
|
+
"how": {
|
|
1108
|
+
"const": "single_accession",
|
|
1109
|
+
"title": "How",
|
|
1110
|
+
"type": "string"
|
|
1111
|
+
},
|
|
1112
|
+
"separator": {
|
|
1113
|
+
"default": ";",
|
|
1114
|
+
"description": "The list's separator.",
|
|
1115
|
+
"minLength": 1,
|
|
1116
|
+
"title": "Separator",
|
|
1117
|
+
"type": "string"
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
"required": [
|
|
1121
|
+
"name",
|
|
1122
|
+
"source",
|
|
1123
|
+
"how"
|
|
1124
|
+
],
|
|
1125
|
+
"title": "SingleAccession",
|
|
1126
|
+
"type": "object"
|
|
1127
|
+
},
|
|
1128
|
+
"SourcedEntry": {
|
|
1129
|
+
"additionalProperties": false,
|
|
1130
|
+
"description": "A target field read from one APB source.",
|
|
1131
|
+
"properties": {
|
|
1132
|
+
"name": {
|
|
1133
|
+
"description": "The target field; apb2's rules name APB fields.",
|
|
1134
|
+
"minLength": 1,
|
|
1135
|
+
"title": "Name",
|
|
1136
|
+
"type": "string"
|
|
1137
|
+
},
|
|
1138
|
+
"type": {
|
|
1139
|
+
"$ref": "#/$defs/ColumnType",
|
|
1140
|
+
"default": "string"
|
|
1141
|
+
},
|
|
1142
|
+
"width": {
|
|
1143
|
+
"anyOf": [
|
|
1144
|
+
{
|
|
1145
|
+
"$ref": "#/$defs/FloatWidth"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"type": "null"
|
|
1149
|
+
}
|
|
1150
|
+
],
|
|
1151
|
+
"default": null,
|
|
1152
|
+
"description": "Float width of a number entry; 64 when omitted."
|
|
1153
|
+
},
|
|
1154
|
+
"required": {
|
|
1155
|
+
"default": true,
|
|
1156
|
+
"description": "An absent source is an error; when false, the entry is skipped or filled.",
|
|
1157
|
+
"title": "Required",
|
|
1158
|
+
"type": "boolean"
|
|
1159
|
+
},
|
|
1160
|
+
"fill_value": {
|
|
1161
|
+
"$ref": "#/$defs/Scalar",
|
|
1162
|
+
"default": null,
|
|
1163
|
+
"description": "Written when an optional source is absent; \"NaN\" for numbers."
|
|
1164
|
+
},
|
|
1165
|
+
"drop_missing": {
|
|
1166
|
+
"default": false,
|
|
1167
|
+
"description": "A var entry: features whose value is missing or empty are left out and counted, as prolfquapp and msmu need a protein for every feature.",
|
|
1168
|
+
"title": "Drop Missing",
|
|
1169
|
+
"type": "boolean"
|
|
1170
|
+
},
|
|
1171
|
+
"source": {
|
|
1172
|
+
"$ref": "#/$defs/Reference",
|
|
1173
|
+
"description": "The APB field; apb2's rules name a vendor column here."
|
|
1174
|
+
},
|
|
1175
|
+
"fallback": {
|
|
1176
|
+
"description": "Tried in order when the result lacks the source; one that answers is logged.",
|
|
1177
|
+
"items": {
|
|
1178
|
+
"$ref": "#/$defs/Reference"
|
|
1179
|
+
},
|
|
1180
|
+
"title": "Fallback",
|
|
1181
|
+
"type": "array"
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
"required": [
|
|
1185
|
+
"name",
|
|
1186
|
+
"source"
|
|
1187
|
+
],
|
|
1188
|
+
"title": "SourcedEntry",
|
|
1189
|
+
"type": "object"
|
|
1190
|
+
},
|
|
1191
|
+
"Table": {
|
|
1192
|
+
"additionalProperties": false,
|
|
1193
|
+
"description": "One output and the levels it reads; each level's block merges into ``base``: its entries\nreplace the base's of the same name, and the others are added.",
|
|
1194
|
+
"properties": {
|
|
1195
|
+
"output": {
|
|
1196
|
+
"$ref": "#/$defs/Output"
|
|
1197
|
+
},
|
|
1198
|
+
"base": {
|
|
1199
|
+
"additionalProperties": {
|
|
1200
|
+
"$ref": "#/$defs/JsonValue"
|
|
1201
|
+
},
|
|
1202
|
+
"title": "Base",
|
|
1203
|
+
"type": "object"
|
|
1204
|
+
},
|
|
1205
|
+
"levels": {
|
|
1206
|
+
"additionalProperties": {
|
|
1207
|
+
"additionalProperties": {
|
|
1208
|
+
"$ref": "#/$defs/JsonValue"
|
|
1209
|
+
},
|
|
1210
|
+
"type": "object"
|
|
1211
|
+
},
|
|
1212
|
+
"minProperties": 1,
|
|
1213
|
+
"title": "Levels",
|
|
1214
|
+
"type": "object"
|
|
1215
|
+
},
|
|
1216
|
+
"uns": {
|
|
1217
|
+
"description": "Dataset entries: the file's own uns beside each level's, from constants and the stored apb2 rule of the first level written.",
|
|
1218
|
+
"items": {
|
|
1219
|
+
"$ref": "#/$defs/ColumnEntry"
|
|
1220
|
+
},
|
|
1221
|
+
"title": "Uns",
|
|
1222
|
+
"type": "array"
|
|
1223
|
+
},
|
|
1224
|
+
"feature_links": {
|
|
1225
|
+
"items": {
|
|
1226
|
+
"$ref": "#/$defs/FeatureLink"
|
|
1227
|
+
},
|
|
1228
|
+
"title": "Feature Links",
|
|
1229
|
+
"type": "array"
|
|
1230
|
+
}
|
|
1231
|
+
},
|
|
1232
|
+
"required": [
|
|
1233
|
+
"output",
|
|
1234
|
+
"levels"
|
|
1235
|
+
],
|
|
1236
|
+
"title": "Table",
|
|
1237
|
+
"type": "object"
|
|
1238
|
+
}
|
|
1239
|
+
},
|
|
1240
|
+
"additionalProperties": false,
|
|
1241
|
+
"description": "One target's export rule file.",
|
|
1242
|
+
"properties": {
|
|
1243
|
+
"schema_version": {
|
|
1244
|
+
"$ref": "#/$defs/SchemaVersion"
|
|
1245
|
+
},
|
|
1246
|
+
"file_version": {
|
|
1247
|
+
"minLength": 1,
|
|
1248
|
+
"title": "File Version",
|
|
1249
|
+
"type": "string"
|
|
1250
|
+
},
|
|
1251
|
+
"target_name": {
|
|
1252
|
+
"minLength": 1,
|
|
1253
|
+
"title": "Target Name",
|
|
1254
|
+
"type": "string"
|
|
1255
|
+
},
|
|
1256
|
+
"target_version_pattern": {
|
|
1257
|
+
"description": "Target releases the rule was checked against; recorded only.",
|
|
1258
|
+
"minLength": 1,
|
|
1259
|
+
"title": "Target Version Pattern",
|
|
1260
|
+
"type": "string"
|
|
1261
|
+
},
|
|
1262
|
+
"tables": {
|
|
1263
|
+
"items": {
|
|
1264
|
+
"$ref": "#/$defs/Table"
|
|
1265
|
+
},
|
|
1266
|
+
"minItems": 1,
|
|
1267
|
+
"title": "Tables",
|
|
1268
|
+
"type": "array"
|
|
1269
|
+
}
|
|
1270
|
+
},
|
|
1271
|
+
"required": [
|
|
1272
|
+
"schema_version",
|
|
1273
|
+
"file_version",
|
|
1274
|
+
"target_name",
|
|
1275
|
+
"target_version_pattern",
|
|
1276
|
+
"tables"
|
|
1277
|
+
],
|
|
1278
|
+
"title": "ExportRuleDocument",
|
|
1279
|
+
"type": "object"
|
|
1280
|
+
}
|