@inflexa-ai/harness 0.28.1 → 0.30.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/agents/conversation-agent.js +7 -4
- package/dist/agents/report-session-agent.js +1 -1
- package/dist/agents/sandbox/data-profiler.js +0 -1
- package/dist/agents/sandbox/immune-profiling-agent.js +3 -1
- package/dist/agents/sandbox/network-agent.js +0 -1
- package/dist/agents/sandbox/types.d.ts +1 -1
- package/dist/agents/sandbox/types.js +1 -1
- package/dist/app/data-profile-orientation.d.ts +52 -27
- package/dist/app/data-profile-orientation.js +331 -92
- package/dist/app/data-profile-view.d.ts +70 -0
- package/dist/app/data-profile-view.js +123 -0
- package/dist/app/synthesize-run.js +1 -1
- package/dist/config/resource-limits.d.ts +1 -1
- package/dist/config/resource-limits.js +1 -1
- package/dist/contracts/data-profile.d.ts +276 -25
- package/dist/contracts/index.d.ts +3 -1
- package/dist/contracts/index.js +1 -0
- package/dist/contracts/profile-vocabulary.d.ts +103 -0
- package/dist/contracts/profile-vocabulary.js +449 -0
- package/dist/contracts/schemas/chat-parts.d.ts +12 -12
- package/dist/contracts/severity.d.ts +2 -2
- package/dist/contracts/target-dossier.d.ts +91 -91
- package/dist/data/safety-panel-schema.d.ts +4 -4
- package/dist/execution/input-signature.d.ts +16 -3
- package/dist/execution/input-signature.js +0 -0
- package/dist/execution/post-step-pipeline.js +1 -1
- package/dist/execution/staged-input.d.ts +4 -4
- package/dist/index.d.ts +7 -2
- package/dist/index.js +14 -0
- package/dist/input-scan/clustering.d.ts +63 -0
- package/dist/input-scan/clustering.js +208 -0
- package/dist/input-scan/companions.d.ts +30 -0
- package/dist/input-scan/companions.js +138 -0
- package/dist/input-scan/decoder/container_readout.py +171 -0
- package/dist/input-scan/detect-sets.d.ts +24 -0
- package/dist/input-scan/detect-sets.js +279 -0
- package/dist/input-scan/enrich.d.ts +62 -19
- package/dist/input-scan/enrich.js +132 -187
- package/dist/input-scan/formats.d.ts +13 -5
- package/dist/input-scan/formats.js +13 -5
- package/dist/input-scan/index.d.ts +10 -4
- package/dist/input-scan/index.js +7 -4
- package/dist/input-scan/markers.d.ts +21 -0
- package/dist/input-scan/markers.js +89 -0
- package/dist/input-scan/menu.d.ts +127 -0
- package/dist/input-scan/menu.js +0 -0
- package/dist/input-scan/quarantine.d.ts +17 -0
- package/dist/input-scan/quarantine.js +69 -0
- package/dist/input-scan/readout-budget.d.ts +32 -0
- package/dist/input-scan/readout-budget.js +61 -0
- package/dist/input-scan/readout.d.ts +33 -0
- package/dist/input-scan/readout.js +336 -0
- package/dist/input-scan/scan.d.ts +5 -4
- package/dist/input-scan/scan.js +5 -5
- package/dist/input-scan/set-types.d.ts +209 -0
- package/dist/input-scan/set-types.js +15 -0
- package/dist/input-scan/templates.d.ts +93 -0
- package/dist/input-scan/templates.js +369 -0
- package/dist/input-scan/tokens.d.ts +94 -0
- package/dist/input-scan/tokens.js +267 -0
- package/dist/input-scan/tuning.d.ts +55 -0
- package/dist/input-scan/tuning.js +55 -0
- package/dist/input-scan/types.d.ts +2 -2
- package/dist/loop/run-agent.d.ts +13 -1
- package/dist/loop/run-agent.js +2 -1
- package/dist/prompts/SOUL.d.ts +2 -2
- package/dist/prompts/SOUL.js +17 -1
- package/dist/prompts/conversation.d.ts +1 -1
- package/dist/prompts/conversation.js +45 -71
- package/dist/prompts/planner.js +57 -10
- package/dist/prompts/report-session.d.ts +1 -1
- package/dist/prompts/report-session.js +3 -2
- package/dist/prompts/sandbox/bulk-transcriptomics-agent.d.ts +1 -1
- package/dist/prompts/sandbox/bulk-transcriptomics-agent.js +3 -1
- package/dist/prompts/sandbox/data-profiler.d.ts +10 -1
- package/dist/prompts/sandbox/data-profiler.js +197 -53
- package/dist/prompts/sandbox/dna-methylation-agent.d.ts +1 -1
- package/dist/prompts/sandbox/dna-methylation-agent.js +18 -12
- package/dist/prompts/sandbox/immune-profiling-agent.d.ts +1 -1
- package/dist/prompts/sandbox/immune-profiling-agent.js +6 -2
- package/dist/prompts/sandbox/metabolomics-agent.d.ts +1 -1
- package/dist/prompts/sandbox/metabolomics-agent.js +8 -4
- package/dist/prompts/sandbox/microbiome-agent.d.ts +1 -1
- package/dist/prompts/sandbox/microbiome-agent.js +12 -6
- package/dist/prompts/sandbox/network-agent.d.ts +1 -1
- package/dist/prompts/sandbox/network-agent.js +9 -6
- package/dist/prompts/sandbox/spatial-omics-agent.d.ts +1 -1
- package/dist/prompts/sandbox/spatial-omics-agent.js +4 -2
- package/dist/prompts/sandbox-standards.d.ts +1 -1
- package/dist/prompts/sandbox-standards.js +10 -7
- package/dist/providers/ai-sdk.js +34 -1
- package/dist/providers/reasoning.d.ts +65 -0
- package/dist/providers/reasoning.js +81 -0
- package/dist/providers/types.d.ts +14 -0
- package/dist/schemas/data-profile-schemas.d.ts +947 -84
- package/dist/schemas/data-profile-schemas.js +300 -115
- package/dist/schemas/run-synthesis.d.ts +4 -4
- package/dist/state/data-profile.d.ts +1 -1
- package/dist/state/index.d.ts +1 -1
- package/dist/state/vector-store.d.ts +13 -0
- package/dist/state/vector-store.js +8 -0
- package/dist/tasks/data-profile-absorb.d.ts +78 -0
- package/dist/tasks/data-profile-absorb.js +285 -0
- package/dist/tasks/data-profile-index.d.ts +34 -25
- package/dist/tasks/data-profile-index.js +160 -59
- package/dist/tasks/data-profile-resolve.d.ts +72 -0
- package/dist/tasks/data-profile-resolve.js +639 -0
- package/dist/tasks/data-profile.d.ts +16 -5
- package/dist/tasks/data-profile.js +270 -131
- package/dist/tools/bio/chembl.d.ts +1 -1
- package/dist/tools/bio/chembl.js +15 -10
- package/dist/tools/bio/comptox.js +5 -1
- package/dist/tools/bio/drug-gene-interactions.js +5 -2
- package/dist/tools/bio/gene-disease-evidence.d.ts +19 -9
- package/dist/tools/bio/gene-disease-evidence.js +78 -22
- package/dist/tools/bio/gene-preclinical-profile.d.ts +33 -13
- package/dist/tools/bio/gene-preclinical-profile.js +63 -22
- package/dist/tools/bio/lookup-annotation.d.ts +1 -0
- package/dist/tools/bio/lookup-annotation.js +28 -10
- package/dist/tools/bio/opentargets.d.ts +10 -2
- package/dist/tools/bio/opentargets.js +42 -13
- package/dist/tools/bio/pubchem.js +5 -2
- package/dist/tools/bio/pubmed.js +9 -3
- package/dist/tools/bio/search-clinical-trials.d.ts +25 -25
- package/dist/tools/bio/search-clinical-trials.js +56 -18
- package/dist/tools/bio/search-faers.d.ts +26 -6
- package/dist/tools/bio/search-faers.js +70 -18
- package/dist/tools/bio/search-gene.d.ts +19 -3
- package/dist/tools/bio/search-gene.js +69 -12
- package/dist/tools/bio/search-geo-datasets.js +4 -1
- package/dist/tools/bio/search-interactions.js +6 -2
- package/dist/tools/bio/target-safety.d.ts +2 -2
- package/dist/tools/bio/target-safety.js +3 -2
- package/dist/tools/lib/cbioportal-client.js +25 -6
- package/dist/tools/lib/chembl-client.d.ts +3 -1
- package/dist/tools/lib/chembl-client.js +6 -1
- package/dist/tools/lib/gwas-catalog-client.d.ts +7 -6
- package/dist/tools/lib/gwas-catalog-client.js +18 -6
- package/dist/tools/lib/openfda-client.d.ts +7 -5
- package/dist/tools/lib/openfda-client.js +17 -9
- package/dist/tools/lib/opentargets-client.d.ts +20 -0
- package/dist/tools/lib/opentargets-client.js +45 -0
- package/dist/tools/lib/pathway-client.d.ts +7 -0
- package/dist/tools/lib/pathway-client.js +68 -1
- package/dist/tools/research/context7-docs.js +3 -3
- package/dist/tools/research/generate-analogy-report.js +2 -2
- package/dist/tools/research/generate-plan.d.ts +3 -0
- package/dist/tools/research/generate-plan.js +64 -5
- package/dist/tools/research/inspect-data-profile.d.ts +48 -22
- package/dist/tools/research/inspect-data-profile.js +73 -54
- package/dist/tools/research/resolve-citation.js +8 -3
- package/dist/tools/research/search-arxiv.js +8 -3
- package/dist/tools/research/search-semantic-scholar.js +10 -4
- package/dist/tools/workspace/scan-inputs.d.ts +4 -4
- package/dist/tools/workspace/scan-inputs.js +13 -14
- package/dist/tools/workspace/workspace-search.d.ts +11 -2
- package/dist/tools/workspace/workspace-search.js +44 -16
- package/dist/workflows/sandbox-step.d.ts +6 -0
- package/dist/workflows/sandbox-step.js +31 -14
- package/dist/workflows/target-assessment/assemblers/safety.d.ts +1 -1
- package/dist/workflows/target-assessment/phase4-assemble.d.ts +38 -38
- package/dist/workflows/target-assessment/schemas.d.ts +12 -12
- package/dist/workflows/target-assessment/steps/phase2-aggregate.d.ts +6 -6
- package/dist/workflows/target-assessment/steps/phase3-aggregate.d.ts +6 -6
- package/dist/workflows/target-assessment/synthesis/index.d.ts +12 -12
- package/package.json +5 -3
- package/dist/input-scan/coverage.d.ts +0 -22
- package/dist/input-scan/coverage.js +0 -85
|
@@ -1,22 +1,40 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* The profiler's authoring contract.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* What the agent submits is JUDGEMENT, never enumeration: operations on the scan's menu,
|
|
5
|
+
* what each resulting group means, and the dimensions it saw with the evidence it saw
|
|
6
|
+
* them in. Membership, counts, and display patterns are computed at resolution from the
|
|
7
|
+
* scanner's own templates, so no field here carries a count or a path pattern — those are
|
|
8
|
+
* unrepresentable rather than discouraged, because a discouraged field is a field that
|
|
9
|
+
* gets filled.
|
|
10
|
+
*
|
|
11
|
+
* Every array is bounded, and the bound is the enforcement: an over-long submission is a
|
|
12
|
+
* schema error the agent corrects, never a silent truncation. The governing invariant is
|
|
13
|
+
* that nothing the agent authors grows with the number of input files.
|
|
14
|
+
*
|
|
15
|
+
* The category enums are derived from the shipped vocabulary (`contracts/profile-vocabulary`),
|
|
16
|
+
* so the catalogue this validates against and the catalogue the prompt renders are one list.
|
|
6
17
|
*/
|
|
7
18
|
import { z } from "zod";
|
|
8
|
-
/**
|
|
9
|
-
export declare const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
/** Operations one submission may carry — the menu's own bound. */
|
|
20
|
+
export declare const MAX_OPERATIONS = 40;
|
|
21
|
+
/** Groups one split may produce. A slot needing more is an identifier, and identifiers are never split. */
|
|
22
|
+
export declare const MAX_SPLIT_GROUPS = 12;
|
|
23
|
+
/** Slot values one split group may name. */
|
|
24
|
+
export declare const MAX_SPLIT_VALUES = 50;
|
|
25
|
+
export declare const MAX_MERGE_SETS = 12;
|
|
26
|
+
/** Paths one explicit `group` may gather — the leftover aggregate, not the dataset. */
|
|
27
|
+
export declare const MAX_EXPLICIT_PATHS = 50;
|
|
28
|
+
/** Members of one group the agent may annotate individually. Never required to be exhaustive. */
|
|
29
|
+
export declare const MAX_MEMBER_ANNOTATIONS = 25;
|
|
30
|
+
/** Dataset-level dimensions. An experimental design with more varying dimensions is vanishingly rare. */
|
|
31
|
+
export declare const MAX_DIMENSIONS = 12;
|
|
32
|
+
export declare const MAX_OBSERVATIONS = 6;
|
|
33
|
+
export declare const MAX_RECONCILIATIONS = 4;
|
|
34
|
+
export declare const MAX_EXAMPLE_VALUES = 5;
|
|
35
|
+
/** Files a `not-found` probe may name as searched — the probe-searchable set is bounded by design. */
|
|
36
|
+
export declare const MAX_SEARCHED_FILES = 10;
|
|
37
|
+
export declare const MAX_CAVEATS = 10;
|
|
20
38
|
/**
|
|
21
39
|
* Where an extracted subject fact came from. Used so downstream agents can
|
|
22
40
|
* judge how much to trust a field and so this profiler can flag conflicts.
|
|
@@ -40,87 +58,935 @@ export declare const OrganismSchema: z.ZodObject<{
|
|
|
40
58
|
inferred: "inferred";
|
|
41
59
|
}>;
|
|
42
60
|
confidence: z.ZodEnum<{
|
|
43
|
-
high: "high";
|
|
44
|
-
medium: "medium";
|
|
45
61
|
low: "low";
|
|
62
|
+
medium: "medium";
|
|
63
|
+
high: "high";
|
|
46
64
|
}>;
|
|
47
65
|
notes: z.ZodOptional<z.ZodString>;
|
|
48
66
|
}, z.core.$strip>;
|
|
49
67
|
export type Organism = z.infer<typeof OrganismSchema>;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
* Individually described files an output may carry. `files` holds NOTABLE SINGLETONS
|
|
56
|
-
* — the metadata sheet, the README, the paper, an outlier that fits no kind — not the
|
|
57
|
-
* dataset's contents.
|
|
58
|
-
*/
|
|
59
|
-
export declare const MAX_NOTABLE_FILES = 50;
|
|
68
|
+
export declare const MemberAnnotationSchema: z.ZodObject<{
|
|
69
|
+
path: z.ZodString;
|
|
70
|
+
note: z.ZodString;
|
|
71
|
+
}, z.core.$strict>;
|
|
72
|
+
export type MemberAnnotation = z.infer<typeof MemberAnnotationSchema>;
|
|
60
73
|
/**
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* A kind is a claim about MEANING, so only the agent can author one: the input scan
|
|
64
|
-
* reports shapes (these filenames differ only here) and cannot establish that the
|
|
65
|
-
* files are the same sort of thing. Kinds need not correspond one-to-one with observed
|
|
66
|
-
* shapes — one kind may span several shapes, and one shape may split into several
|
|
67
|
-
* kinds.
|
|
74
|
+
* What a group IS, stated by the agent.
|
|
68
75
|
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
76
|
+
* `.strict()` because the fields NOT here are the point: a count, a path pattern, and a
|
|
77
|
+
* member list are all computed at resolution from the operation's own membership, and a
|
|
78
|
+
* submission that carries one is rejected rather than quietly overridden.
|
|
71
79
|
*/
|
|
72
|
-
export declare const
|
|
80
|
+
export declare const GroupAnnotationSchema: z.ZodObject<{
|
|
73
81
|
name: z.ZodString;
|
|
74
82
|
memberRepresents: z.ZodString;
|
|
75
83
|
description: z.ZodString;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
84
|
+
role: z.ZodEnum<{
|
|
85
|
+
metadata: "metadata";
|
|
86
|
+
data: "data";
|
|
87
|
+
index: "index";
|
|
88
|
+
reference: "reference";
|
|
89
|
+
documentation: "documentation";
|
|
90
|
+
}>;
|
|
91
|
+
category: z.ZodEnum<{
|
|
92
|
+
other: "other";
|
|
93
|
+
code: "code";
|
|
94
|
+
document: "document";
|
|
95
|
+
manifest: "manifest";
|
|
96
|
+
"chemical-structures": "chemical-structures";
|
|
97
|
+
"sequencing-reads": "sequencing-reads";
|
|
98
|
+
alignment: "alignment";
|
|
99
|
+
"variant-calls": "variant-calls";
|
|
100
|
+
"copy-number": "copy-number";
|
|
101
|
+
"structural-variants": "structural-variants";
|
|
102
|
+
"association-results": "association-results";
|
|
103
|
+
"regions-signal": "regions-signal";
|
|
104
|
+
"expression-matrix": "expression-matrix";
|
|
105
|
+
"single-cell-matrix": "single-cell-matrix";
|
|
106
|
+
methylation: "methylation";
|
|
107
|
+
proteomics: "proteomics";
|
|
108
|
+
metabolomics: "metabolomics";
|
|
109
|
+
cytometry: "cytometry";
|
|
110
|
+
imaging: "imaging";
|
|
111
|
+
"clinical-table": "clinical-table";
|
|
112
|
+
"sample-annotation": "sample-annotation";
|
|
113
|
+
"reference-data": "reference-data";
|
|
114
|
+
}>;
|
|
115
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
116
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
117
|
+
categoryReason: z.ZodOptional<z.ZodString>;
|
|
118
|
+
memberAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
119
|
+
path: z.ZodString;
|
|
120
|
+
note: z.ZodString;
|
|
121
|
+
}, z.core.$strict>>>;
|
|
122
|
+
}, z.core.$strict>;
|
|
123
|
+
export type GroupAnnotation = z.infer<typeof GroupAnnotationSchema>;
|
|
82
124
|
/**
|
|
83
|
-
*
|
|
125
|
+
* The four ways an agent expresses a grouping.
|
|
84
126
|
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
* evident from a metadata sheet but not from filenames belongs here too.
|
|
127
|
+
* Operations, not freehand patterns: a mistyped value is a rejectable error at submit
|
|
128
|
+
* rather than a silent zero-match, and every run starts from the same menu, so two runs
|
|
129
|
+
* over one tree can only differ where the judgement differs.
|
|
89
130
|
*/
|
|
90
|
-
export declare const
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
export type ProfilerAxis = z.infer<typeof AxisSchema>;
|
|
97
|
-
export declare const ProfilerOutputSchema: z.ZodObject<{
|
|
98
|
-
files: z.ZodArray<z.ZodObject<{
|
|
99
|
-
path: z.ZodString;
|
|
131
|
+
export declare const MenuOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
132
|
+
op: z.ZodLiteral<"use">;
|
|
133
|
+
setId: z.ZodString;
|
|
134
|
+
group: z.ZodObject<{
|
|
135
|
+
name: z.ZodString;
|
|
136
|
+
memberRepresents: z.ZodString;
|
|
100
137
|
description: z.ZodString;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
138
|
+
role: z.ZodEnum<{
|
|
139
|
+
metadata: "metadata";
|
|
140
|
+
data: "data";
|
|
141
|
+
index: "index";
|
|
142
|
+
reference: "reference";
|
|
143
|
+
documentation: "documentation";
|
|
144
|
+
}>;
|
|
145
|
+
category: z.ZodEnum<{
|
|
146
|
+
other: "other";
|
|
147
|
+
code: "code";
|
|
148
|
+
document: "document";
|
|
149
|
+
manifest: "manifest";
|
|
150
|
+
"chemical-structures": "chemical-structures";
|
|
151
|
+
"sequencing-reads": "sequencing-reads";
|
|
152
|
+
alignment: "alignment";
|
|
153
|
+
"variant-calls": "variant-calls";
|
|
154
|
+
"copy-number": "copy-number";
|
|
155
|
+
"structural-variants": "structural-variants";
|
|
156
|
+
"association-results": "association-results";
|
|
157
|
+
"regions-signal": "regions-signal";
|
|
158
|
+
"expression-matrix": "expression-matrix";
|
|
159
|
+
"single-cell-matrix": "single-cell-matrix";
|
|
160
|
+
methylation: "methylation";
|
|
161
|
+
proteomics: "proteomics";
|
|
162
|
+
metabolomics: "metabolomics";
|
|
163
|
+
cytometry: "cytometry";
|
|
164
|
+
imaging: "imaging";
|
|
165
|
+
"clinical-table": "clinical-table";
|
|
166
|
+
"sample-annotation": "sample-annotation";
|
|
167
|
+
"reference-data": "reference-data";
|
|
168
|
+
}>;
|
|
169
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
170
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
171
|
+
categoryReason: z.ZodOptional<z.ZodString>;
|
|
172
|
+
memberAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
173
|
+
path: z.ZodString;
|
|
174
|
+
note: z.ZodString;
|
|
175
|
+
}, z.core.$strict>>>;
|
|
176
|
+
}, z.core.$strict>;
|
|
177
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
178
|
+
op: z.ZodLiteral<"split">;
|
|
179
|
+
setId: z.ZodString;
|
|
180
|
+
by: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
181
|
+
kind: z.ZodLiteral<"slot">;
|
|
182
|
+
slotId: z.ZodString;
|
|
183
|
+
group: z.ZodObject<{
|
|
184
|
+
name: z.ZodString;
|
|
185
|
+
memberRepresents: z.ZodString;
|
|
186
|
+
description: z.ZodString;
|
|
187
|
+
role: z.ZodEnum<{
|
|
188
|
+
metadata: "metadata";
|
|
189
|
+
data: "data";
|
|
190
|
+
index: "index";
|
|
191
|
+
reference: "reference";
|
|
192
|
+
documentation: "documentation";
|
|
193
|
+
}>;
|
|
194
|
+
category: z.ZodEnum<{
|
|
195
|
+
other: "other";
|
|
196
|
+
code: "code";
|
|
197
|
+
document: "document";
|
|
198
|
+
manifest: "manifest";
|
|
199
|
+
"chemical-structures": "chemical-structures";
|
|
200
|
+
"sequencing-reads": "sequencing-reads";
|
|
201
|
+
alignment: "alignment";
|
|
202
|
+
"variant-calls": "variant-calls";
|
|
203
|
+
"copy-number": "copy-number";
|
|
204
|
+
"structural-variants": "structural-variants";
|
|
205
|
+
"association-results": "association-results";
|
|
206
|
+
"regions-signal": "regions-signal";
|
|
207
|
+
"expression-matrix": "expression-matrix";
|
|
208
|
+
"single-cell-matrix": "single-cell-matrix";
|
|
209
|
+
methylation: "methylation";
|
|
210
|
+
proteomics: "proteomics";
|
|
211
|
+
metabolomics: "metabolomics";
|
|
212
|
+
cytometry: "cytometry";
|
|
213
|
+
imaging: "imaging";
|
|
214
|
+
"clinical-table": "clinical-table";
|
|
215
|
+
"sample-annotation": "sample-annotation";
|
|
216
|
+
"reference-data": "reference-data";
|
|
217
|
+
}>;
|
|
218
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
219
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
220
|
+
categoryReason: z.ZodOptional<z.ZodString>;
|
|
221
|
+
memberAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
222
|
+
path: z.ZodString;
|
|
223
|
+
note: z.ZodString;
|
|
224
|
+
}, z.core.$strict>>>;
|
|
225
|
+
}, z.core.$strict>;
|
|
226
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
227
|
+
kind: z.ZodLiteral<"values">;
|
|
228
|
+
slotId: z.ZodString;
|
|
229
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
230
|
+
values: z.ZodArray<z.ZodString>;
|
|
231
|
+
group: z.ZodObject<{
|
|
232
|
+
name: z.ZodString;
|
|
233
|
+
memberRepresents: z.ZodString;
|
|
234
|
+
description: z.ZodString;
|
|
235
|
+
role: z.ZodEnum<{
|
|
236
|
+
metadata: "metadata";
|
|
237
|
+
data: "data";
|
|
238
|
+
index: "index";
|
|
239
|
+
reference: "reference";
|
|
240
|
+
documentation: "documentation";
|
|
241
|
+
}>;
|
|
242
|
+
category: z.ZodEnum<{
|
|
243
|
+
other: "other";
|
|
244
|
+
code: "code";
|
|
245
|
+
document: "document";
|
|
246
|
+
manifest: "manifest";
|
|
247
|
+
"chemical-structures": "chemical-structures";
|
|
248
|
+
"sequencing-reads": "sequencing-reads";
|
|
249
|
+
alignment: "alignment";
|
|
250
|
+
"variant-calls": "variant-calls";
|
|
251
|
+
"copy-number": "copy-number";
|
|
252
|
+
"structural-variants": "structural-variants";
|
|
253
|
+
"association-results": "association-results";
|
|
254
|
+
"regions-signal": "regions-signal";
|
|
255
|
+
"expression-matrix": "expression-matrix";
|
|
256
|
+
"single-cell-matrix": "single-cell-matrix";
|
|
257
|
+
methylation: "methylation";
|
|
258
|
+
proteomics: "proteomics";
|
|
259
|
+
metabolomics: "metabolomics";
|
|
260
|
+
cytometry: "cytometry";
|
|
261
|
+
imaging: "imaging";
|
|
262
|
+
"clinical-table": "clinical-table";
|
|
263
|
+
"sample-annotation": "sample-annotation";
|
|
264
|
+
"reference-data": "reference-data";
|
|
265
|
+
}>;
|
|
266
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
267
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
268
|
+
categoryReason: z.ZodOptional<z.ZodString>;
|
|
269
|
+
memberAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
270
|
+
path: z.ZodString;
|
|
271
|
+
note: z.ZodString;
|
|
272
|
+
}, z.core.$strict>>>;
|
|
273
|
+
}, z.core.$strict>;
|
|
274
|
+
}, z.core.$strict>>;
|
|
275
|
+
rest: z.ZodOptional<z.ZodObject<{
|
|
276
|
+
name: z.ZodString;
|
|
277
|
+
memberRepresents: z.ZodString;
|
|
278
|
+
description: z.ZodString;
|
|
279
|
+
role: z.ZodEnum<{
|
|
280
|
+
metadata: "metadata";
|
|
281
|
+
data: "data";
|
|
282
|
+
index: "index";
|
|
283
|
+
reference: "reference";
|
|
284
|
+
documentation: "documentation";
|
|
285
|
+
}>;
|
|
286
|
+
category: z.ZodEnum<{
|
|
287
|
+
other: "other";
|
|
288
|
+
code: "code";
|
|
289
|
+
document: "document";
|
|
290
|
+
manifest: "manifest";
|
|
291
|
+
"chemical-structures": "chemical-structures";
|
|
292
|
+
"sequencing-reads": "sequencing-reads";
|
|
293
|
+
alignment: "alignment";
|
|
294
|
+
"variant-calls": "variant-calls";
|
|
295
|
+
"copy-number": "copy-number";
|
|
296
|
+
"structural-variants": "structural-variants";
|
|
297
|
+
"association-results": "association-results";
|
|
298
|
+
"regions-signal": "regions-signal";
|
|
299
|
+
"expression-matrix": "expression-matrix";
|
|
300
|
+
"single-cell-matrix": "single-cell-matrix";
|
|
301
|
+
methylation: "methylation";
|
|
302
|
+
proteomics: "proteomics";
|
|
303
|
+
metabolomics: "metabolomics";
|
|
304
|
+
cytometry: "cytometry";
|
|
305
|
+
imaging: "imaging";
|
|
306
|
+
"clinical-table": "clinical-table";
|
|
307
|
+
"sample-annotation": "sample-annotation";
|
|
308
|
+
"reference-data": "reference-data";
|
|
309
|
+
}>;
|
|
310
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
311
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
312
|
+
categoryReason: z.ZodOptional<z.ZodString>;
|
|
313
|
+
memberAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
314
|
+
path: z.ZodString;
|
|
315
|
+
note: z.ZodString;
|
|
316
|
+
}, z.core.$strict>>>;
|
|
317
|
+
}, z.core.$strict>>;
|
|
318
|
+
}, z.core.$strict>], "kind">;
|
|
319
|
+
reason: z.ZodString;
|
|
320
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
321
|
+
op: z.ZodLiteral<"merge">;
|
|
322
|
+
setIds: z.ZodArray<z.ZodString>;
|
|
323
|
+
group: z.ZodObject<{
|
|
110
324
|
name: z.ZodString;
|
|
111
325
|
memberRepresents: z.ZodString;
|
|
112
326
|
description: z.ZodString;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
327
|
+
role: z.ZodEnum<{
|
|
328
|
+
metadata: "metadata";
|
|
329
|
+
data: "data";
|
|
330
|
+
index: "index";
|
|
331
|
+
reference: "reference";
|
|
332
|
+
documentation: "documentation";
|
|
333
|
+
}>;
|
|
334
|
+
category: z.ZodEnum<{
|
|
335
|
+
other: "other";
|
|
336
|
+
code: "code";
|
|
337
|
+
document: "document";
|
|
338
|
+
manifest: "manifest";
|
|
339
|
+
"chemical-structures": "chemical-structures";
|
|
340
|
+
"sequencing-reads": "sequencing-reads";
|
|
341
|
+
alignment: "alignment";
|
|
342
|
+
"variant-calls": "variant-calls";
|
|
343
|
+
"copy-number": "copy-number";
|
|
344
|
+
"structural-variants": "structural-variants";
|
|
345
|
+
"association-results": "association-results";
|
|
346
|
+
"regions-signal": "regions-signal";
|
|
347
|
+
"expression-matrix": "expression-matrix";
|
|
348
|
+
"single-cell-matrix": "single-cell-matrix";
|
|
349
|
+
methylation: "methylation";
|
|
350
|
+
proteomics: "proteomics";
|
|
351
|
+
metabolomics: "metabolomics";
|
|
352
|
+
cytometry: "cytometry";
|
|
353
|
+
imaging: "imaging";
|
|
354
|
+
"clinical-table": "clinical-table";
|
|
355
|
+
"sample-annotation": "sample-annotation";
|
|
356
|
+
"reference-data": "reference-data";
|
|
357
|
+
}>;
|
|
358
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
359
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
360
|
+
categoryReason: z.ZodOptional<z.ZodString>;
|
|
361
|
+
memberAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
362
|
+
path: z.ZodString;
|
|
363
|
+
note: z.ZodString;
|
|
364
|
+
}, z.core.$strict>>>;
|
|
365
|
+
}, z.core.$strict>;
|
|
366
|
+
reason: z.ZodString;
|
|
367
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
368
|
+
op: z.ZodLiteral<"group">;
|
|
369
|
+
paths: z.ZodArray<z.ZodString>;
|
|
370
|
+
group: z.ZodObject<{
|
|
371
|
+
name: z.ZodString;
|
|
372
|
+
memberRepresents: z.ZodString;
|
|
373
|
+
description: z.ZodString;
|
|
374
|
+
role: z.ZodEnum<{
|
|
375
|
+
metadata: "metadata";
|
|
376
|
+
data: "data";
|
|
377
|
+
index: "index";
|
|
378
|
+
reference: "reference";
|
|
379
|
+
documentation: "documentation";
|
|
380
|
+
}>;
|
|
381
|
+
category: z.ZodEnum<{
|
|
382
|
+
other: "other";
|
|
383
|
+
code: "code";
|
|
384
|
+
document: "document";
|
|
385
|
+
manifest: "manifest";
|
|
386
|
+
"chemical-structures": "chemical-structures";
|
|
387
|
+
"sequencing-reads": "sequencing-reads";
|
|
388
|
+
alignment: "alignment";
|
|
389
|
+
"variant-calls": "variant-calls";
|
|
390
|
+
"copy-number": "copy-number";
|
|
391
|
+
"structural-variants": "structural-variants";
|
|
392
|
+
"association-results": "association-results";
|
|
393
|
+
"regions-signal": "regions-signal";
|
|
394
|
+
"expression-matrix": "expression-matrix";
|
|
395
|
+
"single-cell-matrix": "single-cell-matrix";
|
|
396
|
+
methylation: "methylation";
|
|
397
|
+
proteomics: "proteomics";
|
|
398
|
+
metabolomics: "metabolomics";
|
|
399
|
+
cytometry: "cytometry";
|
|
400
|
+
imaging: "imaging";
|
|
401
|
+
"clinical-table": "clinical-table";
|
|
402
|
+
"sample-annotation": "sample-annotation";
|
|
403
|
+
"reference-data": "reference-data";
|
|
404
|
+
}>;
|
|
405
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
406
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
407
|
+
categoryReason: z.ZodOptional<z.ZodString>;
|
|
408
|
+
memberAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
409
|
+
path: z.ZodString;
|
|
410
|
+
note: z.ZodString;
|
|
411
|
+
}, z.core.$strict>>>;
|
|
412
|
+
}, z.core.$strict>;
|
|
413
|
+
}, z.core.$strict>], "op">;
|
|
414
|
+
export type MenuOperation = z.infer<typeof MenuOperationSchema>;
|
|
415
|
+
export declare const ObservationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
416
|
+
kind: z.ZodLiteral<"slot">;
|
|
417
|
+
setId: z.ZodString;
|
|
418
|
+
slotId: z.ZodString;
|
|
419
|
+
note: z.ZodOptional<z.ZodString>;
|
|
420
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
421
|
+
kind: z.ZodLiteral<"column">;
|
|
422
|
+
path: z.ZodString;
|
|
423
|
+
column: z.ZodString;
|
|
424
|
+
exampleValues: z.ZodArray<z.ZodString>;
|
|
425
|
+
distinctValues: z.ZodOptional<z.ZodNumber>;
|
|
426
|
+
checked: z.ZodOptional<z.ZodObject<{
|
|
427
|
+
matched: z.ZodNumber;
|
|
428
|
+
of: z.ZodNumber;
|
|
429
|
+
}, z.core.$strict>>;
|
|
430
|
+
checkedAgainst: z.ZodOptional<z.ZodString>;
|
|
431
|
+
note: z.ZodOptional<z.ZodString>;
|
|
432
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
433
|
+
kind: z.ZodLiteral<"document">;
|
|
434
|
+
path: z.ZodString;
|
|
435
|
+
citation: z.ZodString;
|
|
436
|
+
statesCardinality: z.ZodOptional<z.ZodNumber>;
|
|
437
|
+
checked: z.ZodOptional<z.ZodObject<{
|
|
438
|
+
matched: z.ZodNumber;
|
|
439
|
+
of: z.ZodNumber;
|
|
440
|
+
}, z.core.$strict>>;
|
|
441
|
+
checkedAgainst: z.ZodOptional<z.ZodString>;
|
|
442
|
+
note: z.ZodOptional<z.ZodString>;
|
|
443
|
+
}, z.core.$strict>], "kind">;
|
|
444
|
+
export type Observation = z.infer<typeof ObservationSchema>;
|
|
445
|
+
/**
|
|
446
|
+
* A dataset-level thing that varies, with where it was seen.
|
|
447
|
+
*
|
|
448
|
+
* At least one observation, always: a dimension without one is a claim, and a claim is
|
|
449
|
+
* what this schema exists to make unwritable. A slot binding is the ONLY way a group
|
|
450
|
+
* links to a dimension — there is no freehand "this group varies by X" field, so a
|
|
451
|
+
* per-subject dimension attached to a group whose template has no such slot cannot be
|
|
452
|
+
* written down.
|
|
453
|
+
*
|
|
454
|
+
* Naming a slot is not the same as promoting a dimension. Technical, single-set slots
|
|
455
|
+
* (shards, callers, lanes, read pairs) stay on the set; this list is reserved for
|
|
456
|
+
* biological or cross-set variation and must read as the design at a glance. A value
|
|
457
|
+
* constant across the dataset is not a dimension — it is an identity field.
|
|
458
|
+
*/
|
|
459
|
+
export declare const DimensionSchema: z.ZodObject<{
|
|
460
|
+
label: z.ZodString;
|
|
461
|
+
category: z.ZodEnum<{
|
|
462
|
+
other: "other";
|
|
463
|
+
sex: "sex";
|
|
464
|
+
subject: "subject";
|
|
465
|
+
sample: "sample";
|
|
466
|
+
"organism-species": "organism-species";
|
|
467
|
+
"model-system": "model-system";
|
|
468
|
+
"cohort-arm": "cohort-arm";
|
|
469
|
+
"disease-state": "disease-state";
|
|
470
|
+
treatment: "treatment";
|
|
471
|
+
timepoint: "timepoint";
|
|
472
|
+
"tissue-site": "tissue-site";
|
|
473
|
+
"cell-type": "cell-type";
|
|
474
|
+
"genetic-perturbation": "genetic-perturbation";
|
|
475
|
+
"age-group": "age-group";
|
|
476
|
+
"developmental-stage": "developmental-stage";
|
|
477
|
+
environment: "environment";
|
|
478
|
+
"assay-modality": "assay-modality";
|
|
479
|
+
"assay-target": "assay-target";
|
|
480
|
+
"variant-origin": "variant-origin";
|
|
481
|
+
"sample-pairing": "sample-pairing";
|
|
482
|
+
"processing-level": "processing-level";
|
|
483
|
+
"assay-version": "assay-version";
|
|
484
|
+
batch: "batch";
|
|
485
|
+
replicate: "replicate";
|
|
486
|
+
"tool-variant": "tool-variant";
|
|
487
|
+
"library-prep": "library-prep";
|
|
488
|
+
"data-partition": "data-partition";
|
|
489
|
+
}>;
|
|
490
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
491
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
492
|
+
biological: "biological";
|
|
493
|
+
technical: "technical";
|
|
494
|
+
}>>;
|
|
495
|
+
description: z.ZodOptional<z.ZodString>;
|
|
496
|
+
observations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
497
|
+
kind: z.ZodLiteral<"slot">;
|
|
498
|
+
setId: z.ZodString;
|
|
499
|
+
slotId: z.ZodString;
|
|
500
|
+
note: z.ZodOptional<z.ZodString>;
|
|
501
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
502
|
+
kind: z.ZodLiteral<"column">;
|
|
503
|
+
path: z.ZodString;
|
|
504
|
+
column: z.ZodString;
|
|
505
|
+
exampleValues: z.ZodArray<z.ZodString>;
|
|
506
|
+
distinctValues: z.ZodOptional<z.ZodNumber>;
|
|
507
|
+
checked: z.ZodOptional<z.ZodObject<{
|
|
508
|
+
matched: z.ZodNumber;
|
|
509
|
+
of: z.ZodNumber;
|
|
510
|
+
}, z.core.$strict>>;
|
|
511
|
+
checkedAgainst: z.ZodOptional<z.ZodString>;
|
|
512
|
+
note: z.ZodOptional<z.ZodString>;
|
|
513
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
514
|
+
kind: z.ZodLiteral<"document">;
|
|
515
|
+
path: z.ZodString;
|
|
516
|
+
citation: z.ZodString;
|
|
517
|
+
statesCardinality: z.ZodOptional<z.ZodNumber>;
|
|
518
|
+
checked: z.ZodOptional<z.ZodObject<{
|
|
519
|
+
matched: z.ZodNumber;
|
|
520
|
+
of: z.ZodNumber;
|
|
521
|
+
}, z.core.$strict>>;
|
|
522
|
+
checkedAgainst: z.ZodOptional<z.ZodString>;
|
|
523
|
+
note: z.ZodOptional<z.ZodString>;
|
|
524
|
+
}, z.core.$strict>], "kind">>;
|
|
525
|
+
reconciliations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
526
|
+
note: z.ZodString;
|
|
527
|
+
delta: z.ZodOptional<z.ZodNumber>;
|
|
528
|
+
}, z.core.$strict>>>;
|
|
529
|
+
nestsUnder: z.ZodOptional<z.ZodObject<{
|
|
530
|
+
dimension: z.ZodString;
|
|
531
|
+
evidence: z.ZodString;
|
|
532
|
+
}, z.core.$strict>>;
|
|
533
|
+
treatmentReason: z.ZodOptional<z.ZodString>;
|
|
534
|
+
}, z.core.$strict>;
|
|
535
|
+
export type ProfileDimension = z.infer<typeof DimensionSchema>;
|
|
536
|
+
/**
|
|
537
|
+
* One outcome per probe. "Not found after looking" is a correct, complete answer — that
|
|
538
|
+
* is what removes the completeness pressure that otherwise invents dimensions. An
|
|
539
|
+
* attested find is prose-only evidence and can never justify a split.
|
|
540
|
+
*/
|
|
541
|
+
export declare const ProbeReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
542
|
+
probe: z.ZodEnum<{
|
|
543
|
+
subject: "subject";
|
|
544
|
+
sample: "sample";
|
|
545
|
+
"cohort-arm": "cohort-arm";
|
|
546
|
+
timepoint: "timepoint";
|
|
547
|
+
batch: "batch";
|
|
548
|
+
}>;
|
|
549
|
+
outcome: z.ZodLiteral<"found">;
|
|
550
|
+
dimension: z.ZodString;
|
|
551
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
552
|
+
probe: z.ZodEnum<{
|
|
553
|
+
subject: "subject";
|
|
554
|
+
sample: "sample";
|
|
555
|
+
"cohort-arm": "cohort-arm";
|
|
556
|
+
timepoint: "timepoint";
|
|
557
|
+
batch: "batch";
|
|
558
|
+
}>;
|
|
559
|
+
outcome: z.ZodLiteral<"not-found">;
|
|
560
|
+
searched: z.ZodArray<z.ZodString>;
|
|
561
|
+
reason: z.ZodString;
|
|
562
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
563
|
+
probe: z.ZodEnum<{
|
|
564
|
+
subject: "subject";
|
|
565
|
+
sample: "sample";
|
|
566
|
+
"cohort-arm": "cohort-arm";
|
|
567
|
+
timepoint: "timepoint";
|
|
568
|
+
batch: "batch";
|
|
569
|
+
}>;
|
|
570
|
+
outcome: z.ZodLiteral<"found-but-constant">;
|
|
571
|
+
value: z.ZodString;
|
|
572
|
+
evidence: z.ZodString;
|
|
573
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
574
|
+
probe: z.ZodEnum<{
|
|
575
|
+
subject: "subject";
|
|
576
|
+
sample: "sample";
|
|
577
|
+
"cohort-arm": "cohort-arm";
|
|
578
|
+
timepoint: "timepoint";
|
|
579
|
+
batch: "batch";
|
|
580
|
+
}>;
|
|
581
|
+
outcome: z.ZodLiteral<"attested">;
|
|
582
|
+
citation: z.ZodString;
|
|
583
|
+
path: z.ZodString;
|
|
584
|
+
}, z.core.$strict>], "outcome">;
|
|
585
|
+
export type ProbeReport = z.infer<typeof ProbeReportSchema>;
|
|
586
|
+
export declare const ProfileSubmissionSchema: z.ZodObject<{
|
|
587
|
+
operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
588
|
+
op: z.ZodLiteral<"use">;
|
|
589
|
+
setId: z.ZodString;
|
|
590
|
+
group: z.ZodObject<{
|
|
591
|
+
name: z.ZodString;
|
|
592
|
+
memberRepresents: z.ZodString;
|
|
593
|
+
description: z.ZodString;
|
|
594
|
+
role: z.ZodEnum<{
|
|
595
|
+
metadata: "metadata";
|
|
596
|
+
data: "data";
|
|
597
|
+
index: "index";
|
|
598
|
+
reference: "reference";
|
|
599
|
+
documentation: "documentation";
|
|
600
|
+
}>;
|
|
601
|
+
category: z.ZodEnum<{
|
|
602
|
+
other: "other";
|
|
603
|
+
code: "code";
|
|
604
|
+
document: "document";
|
|
605
|
+
manifest: "manifest";
|
|
606
|
+
"chemical-structures": "chemical-structures";
|
|
607
|
+
"sequencing-reads": "sequencing-reads";
|
|
608
|
+
alignment: "alignment";
|
|
609
|
+
"variant-calls": "variant-calls";
|
|
610
|
+
"copy-number": "copy-number";
|
|
611
|
+
"structural-variants": "structural-variants";
|
|
612
|
+
"association-results": "association-results";
|
|
613
|
+
"regions-signal": "regions-signal";
|
|
614
|
+
"expression-matrix": "expression-matrix";
|
|
615
|
+
"single-cell-matrix": "single-cell-matrix";
|
|
616
|
+
methylation: "methylation";
|
|
617
|
+
proteomics: "proteomics";
|
|
618
|
+
metabolomics: "metabolomics";
|
|
619
|
+
cytometry: "cytometry";
|
|
620
|
+
imaging: "imaging";
|
|
621
|
+
"clinical-table": "clinical-table";
|
|
622
|
+
"sample-annotation": "sample-annotation";
|
|
623
|
+
"reference-data": "reference-data";
|
|
624
|
+
}>;
|
|
625
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
626
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
627
|
+
categoryReason: z.ZodOptional<z.ZodString>;
|
|
628
|
+
memberAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
629
|
+
path: z.ZodString;
|
|
630
|
+
note: z.ZodString;
|
|
631
|
+
}, z.core.$strict>>>;
|
|
632
|
+
}, z.core.$strict>;
|
|
633
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
634
|
+
op: z.ZodLiteral<"split">;
|
|
635
|
+
setId: z.ZodString;
|
|
636
|
+
by: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
637
|
+
kind: z.ZodLiteral<"slot">;
|
|
638
|
+
slotId: z.ZodString;
|
|
639
|
+
group: z.ZodObject<{
|
|
640
|
+
name: z.ZodString;
|
|
641
|
+
memberRepresents: z.ZodString;
|
|
642
|
+
description: z.ZodString;
|
|
643
|
+
role: z.ZodEnum<{
|
|
644
|
+
metadata: "metadata";
|
|
645
|
+
data: "data";
|
|
646
|
+
index: "index";
|
|
647
|
+
reference: "reference";
|
|
648
|
+
documentation: "documentation";
|
|
649
|
+
}>;
|
|
650
|
+
category: z.ZodEnum<{
|
|
651
|
+
other: "other";
|
|
652
|
+
code: "code";
|
|
653
|
+
document: "document";
|
|
654
|
+
manifest: "manifest";
|
|
655
|
+
"chemical-structures": "chemical-structures";
|
|
656
|
+
"sequencing-reads": "sequencing-reads";
|
|
657
|
+
alignment: "alignment";
|
|
658
|
+
"variant-calls": "variant-calls";
|
|
659
|
+
"copy-number": "copy-number";
|
|
660
|
+
"structural-variants": "structural-variants";
|
|
661
|
+
"association-results": "association-results";
|
|
662
|
+
"regions-signal": "regions-signal";
|
|
663
|
+
"expression-matrix": "expression-matrix";
|
|
664
|
+
"single-cell-matrix": "single-cell-matrix";
|
|
665
|
+
methylation: "methylation";
|
|
666
|
+
proteomics: "proteomics";
|
|
667
|
+
metabolomics: "metabolomics";
|
|
668
|
+
cytometry: "cytometry";
|
|
669
|
+
imaging: "imaging";
|
|
670
|
+
"clinical-table": "clinical-table";
|
|
671
|
+
"sample-annotation": "sample-annotation";
|
|
672
|
+
"reference-data": "reference-data";
|
|
673
|
+
}>;
|
|
674
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
675
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
676
|
+
categoryReason: z.ZodOptional<z.ZodString>;
|
|
677
|
+
memberAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
678
|
+
path: z.ZodString;
|
|
679
|
+
note: z.ZodString;
|
|
680
|
+
}, z.core.$strict>>>;
|
|
681
|
+
}, z.core.$strict>;
|
|
682
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
683
|
+
kind: z.ZodLiteral<"values">;
|
|
684
|
+
slotId: z.ZodString;
|
|
685
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
686
|
+
values: z.ZodArray<z.ZodString>;
|
|
687
|
+
group: z.ZodObject<{
|
|
688
|
+
name: z.ZodString;
|
|
689
|
+
memberRepresents: z.ZodString;
|
|
690
|
+
description: z.ZodString;
|
|
691
|
+
role: z.ZodEnum<{
|
|
692
|
+
metadata: "metadata";
|
|
693
|
+
data: "data";
|
|
694
|
+
index: "index";
|
|
695
|
+
reference: "reference";
|
|
696
|
+
documentation: "documentation";
|
|
697
|
+
}>;
|
|
698
|
+
category: z.ZodEnum<{
|
|
699
|
+
other: "other";
|
|
700
|
+
code: "code";
|
|
701
|
+
document: "document";
|
|
702
|
+
manifest: "manifest";
|
|
703
|
+
"chemical-structures": "chemical-structures";
|
|
704
|
+
"sequencing-reads": "sequencing-reads";
|
|
705
|
+
alignment: "alignment";
|
|
706
|
+
"variant-calls": "variant-calls";
|
|
707
|
+
"copy-number": "copy-number";
|
|
708
|
+
"structural-variants": "structural-variants";
|
|
709
|
+
"association-results": "association-results";
|
|
710
|
+
"regions-signal": "regions-signal";
|
|
711
|
+
"expression-matrix": "expression-matrix";
|
|
712
|
+
"single-cell-matrix": "single-cell-matrix";
|
|
713
|
+
methylation: "methylation";
|
|
714
|
+
proteomics: "proteomics";
|
|
715
|
+
metabolomics: "metabolomics";
|
|
716
|
+
cytometry: "cytometry";
|
|
717
|
+
imaging: "imaging";
|
|
718
|
+
"clinical-table": "clinical-table";
|
|
719
|
+
"sample-annotation": "sample-annotation";
|
|
720
|
+
"reference-data": "reference-data";
|
|
721
|
+
}>;
|
|
722
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
723
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
724
|
+
categoryReason: z.ZodOptional<z.ZodString>;
|
|
725
|
+
memberAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
726
|
+
path: z.ZodString;
|
|
727
|
+
note: z.ZodString;
|
|
728
|
+
}, z.core.$strict>>>;
|
|
729
|
+
}, z.core.$strict>;
|
|
730
|
+
}, z.core.$strict>>;
|
|
731
|
+
rest: z.ZodOptional<z.ZodObject<{
|
|
732
|
+
name: z.ZodString;
|
|
733
|
+
memberRepresents: z.ZodString;
|
|
734
|
+
description: z.ZodString;
|
|
735
|
+
role: z.ZodEnum<{
|
|
736
|
+
metadata: "metadata";
|
|
737
|
+
data: "data";
|
|
738
|
+
index: "index";
|
|
739
|
+
reference: "reference";
|
|
740
|
+
documentation: "documentation";
|
|
741
|
+
}>;
|
|
742
|
+
category: z.ZodEnum<{
|
|
743
|
+
other: "other";
|
|
744
|
+
code: "code";
|
|
745
|
+
document: "document";
|
|
746
|
+
manifest: "manifest";
|
|
747
|
+
"chemical-structures": "chemical-structures";
|
|
748
|
+
"sequencing-reads": "sequencing-reads";
|
|
749
|
+
alignment: "alignment";
|
|
750
|
+
"variant-calls": "variant-calls";
|
|
751
|
+
"copy-number": "copy-number";
|
|
752
|
+
"structural-variants": "structural-variants";
|
|
753
|
+
"association-results": "association-results";
|
|
754
|
+
"regions-signal": "regions-signal";
|
|
755
|
+
"expression-matrix": "expression-matrix";
|
|
756
|
+
"single-cell-matrix": "single-cell-matrix";
|
|
757
|
+
methylation: "methylation";
|
|
758
|
+
proteomics: "proteomics";
|
|
759
|
+
metabolomics: "metabolomics";
|
|
760
|
+
cytometry: "cytometry";
|
|
761
|
+
imaging: "imaging";
|
|
762
|
+
"clinical-table": "clinical-table";
|
|
763
|
+
"sample-annotation": "sample-annotation";
|
|
764
|
+
"reference-data": "reference-data";
|
|
765
|
+
}>;
|
|
766
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
767
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
768
|
+
categoryReason: z.ZodOptional<z.ZodString>;
|
|
769
|
+
memberAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
770
|
+
path: z.ZodString;
|
|
771
|
+
note: z.ZodString;
|
|
772
|
+
}, z.core.$strict>>>;
|
|
773
|
+
}, z.core.$strict>>;
|
|
774
|
+
}, z.core.$strict>], "kind">;
|
|
775
|
+
reason: z.ZodString;
|
|
776
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
777
|
+
op: z.ZodLiteral<"merge">;
|
|
778
|
+
setIds: z.ZodArray<z.ZodString>;
|
|
779
|
+
group: z.ZodObject<{
|
|
780
|
+
name: z.ZodString;
|
|
781
|
+
memberRepresents: z.ZodString;
|
|
782
|
+
description: z.ZodString;
|
|
783
|
+
role: z.ZodEnum<{
|
|
784
|
+
metadata: "metadata";
|
|
785
|
+
data: "data";
|
|
786
|
+
index: "index";
|
|
787
|
+
reference: "reference";
|
|
788
|
+
documentation: "documentation";
|
|
789
|
+
}>;
|
|
790
|
+
category: z.ZodEnum<{
|
|
791
|
+
other: "other";
|
|
792
|
+
code: "code";
|
|
793
|
+
document: "document";
|
|
794
|
+
manifest: "manifest";
|
|
795
|
+
"chemical-structures": "chemical-structures";
|
|
796
|
+
"sequencing-reads": "sequencing-reads";
|
|
797
|
+
alignment: "alignment";
|
|
798
|
+
"variant-calls": "variant-calls";
|
|
799
|
+
"copy-number": "copy-number";
|
|
800
|
+
"structural-variants": "structural-variants";
|
|
801
|
+
"association-results": "association-results";
|
|
802
|
+
"regions-signal": "regions-signal";
|
|
803
|
+
"expression-matrix": "expression-matrix";
|
|
804
|
+
"single-cell-matrix": "single-cell-matrix";
|
|
805
|
+
methylation: "methylation";
|
|
806
|
+
proteomics: "proteomics";
|
|
807
|
+
metabolomics: "metabolomics";
|
|
808
|
+
cytometry: "cytometry";
|
|
809
|
+
imaging: "imaging";
|
|
810
|
+
"clinical-table": "clinical-table";
|
|
811
|
+
"sample-annotation": "sample-annotation";
|
|
812
|
+
"reference-data": "reference-data";
|
|
813
|
+
}>;
|
|
814
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
815
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
816
|
+
categoryReason: z.ZodOptional<z.ZodString>;
|
|
817
|
+
memberAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
818
|
+
path: z.ZodString;
|
|
819
|
+
note: z.ZodString;
|
|
820
|
+
}, z.core.$strict>>>;
|
|
821
|
+
}, z.core.$strict>;
|
|
822
|
+
reason: z.ZodString;
|
|
823
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
824
|
+
op: z.ZodLiteral<"group">;
|
|
825
|
+
paths: z.ZodArray<z.ZodString>;
|
|
826
|
+
group: z.ZodObject<{
|
|
827
|
+
name: z.ZodString;
|
|
828
|
+
memberRepresents: z.ZodString;
|
|
829
|
+
description: z.ZodString;
|
|
830
|
+
role: z.ZodEnum<{
|
|
831
|
+
metadata: "metadata";
|
|
832
|
+
data: "data";
|
|
833
|
+
index: "index";
|
|
834
|
+
reference: "reference";
|
|
835
|
+
documentation: "documentation";
|
|
836
|
+
}>;
|
|
837
|
+
category: z.ZodEnum<{
|
|
838
|
+
other: "other";
|
|
839
|
+
code: "code";
|
|
840
|
+
document: "document";
|
|
841
|
+
manifest: "manifest";
|
|
842
|
+
"chemical-structures": "chemical-structures";
|
|
843
|
+
"sequencing-reads": "sequencing-reads";
|
|
844
|
+
alignment: "alignment";
|
|
845
|
+
"variant-calls": "variant-calls";
|
|
846
|
+
"copy-number": "copy-number";
|
|
847
|
+
"structural-variants": "structural-variants";
|
|
848
|
+
"association-results": "association-results";
|
|
849
|
+
"regions-signal": "regions-signal";
|
|
850
|
+
"expression-matrix": "expression-matrix";
|
|
851
|
+
"single-cell-matrix": "single-cell-matrix";
|
|
852
|
+
methylation: "methylation";
|
|
853
|
+
proteomics: "proteomics";
|
|
854
|
+
metabolomics: "metabolomics";
|
|
855
|
+
cytometry: "cytometry";
|
|
856
|
+
imaging: "imaging";
|
|
857
|
+
"clinical-table": "clinical-table";
|
|
858
|
+
"sample-annotation": "sample-annotation";
|
|
859
|
+
"reference-data": "reference-data";
|
|
860
|
+
}>;
|
|
861
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
862
|
+
subtype: z.ZodOptional<z.ZodString>;
|
|
863
|
+
categoryReason: z.ZodOptional<z.ZodString>;
|
|
864
|
+
memberAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
865
|
+
path: z.ZodString;
|
|
866
|
+
note: z.ZodString;
|
|
867
|
+
}, z.core.$strict>>>;
|
|
868
|
+
}, z.core.$strict>;
|
|
869
|
+
}, z.core.$strict>], "op">>;
|
|
870
|
+
dimensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
119
871
|
label: z.ZodString;
|
|
120
|
-
|
|
121
|
-
|
|
872
|
+
category: z.ZodEnum<{
|
|
873
|
+
other: "other";
|
|
874
|
+
sex: "sex";
|
|
875
|
+
subject: "subject";
|
|
876
|
+
sample: "sample";
|
|
877
|
+
"organism-species": "organism-species";
|
|
878
|
+
"model-system": "model-system";
|
|
879
|
+
"cohort-arm": "cohort-arm";
|
|
880
|
+
"disease-state": "disease-state";
|
|
881
|
+
treatment: "treatment";
|
|
882
|
+
timepoint: "timepoint";
|
|
883
|
+
"tissue-site": "tissue-site";
|
|
884
|
+
"cell-type": "cell-type";
|
|
885
|
+
"genetic-perturbation": "genetic-perturbation";
|
|
886
|
+
"age-group": "age-group";
|
|
887
|
+
"developmental-stage": "developmental-stage";
|
|
888
|
+
environment: "environment";
|
|
889
|
+
"assay-modality": "assay-modality";
|
|
890
|
+
"assay-target": "assay-target";
|
|
891
|
+
"variant-origin": "variant-origin";
|
|
892
|
+
"sample-pairing": "sample-pairing";
|
|
893
|
+
"processing-level": "processing-level";
|
|
894
|
+
"assay-version": "assay-version";
|
|
895
|
+
batch: "batch";
|
|
896
|
+
replicate: "replicate";
|
|
897
|
+
"tool-variant": "tool-variant";
|
|
898
|
+
"library-prep": "library-prep";
|
|
899
|
+
"data-partition": "data-partition";
|
|
900
|
+
}>;
|
|
901
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
902
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
903
|
+
biological: "biological";
|
|
904
|
+
technical: "technical";
|
|
905
|
+
}>>;
|
|
122
906
|
description: z.ZodOptional<z.ZodString>;
|
|
123
|
-
|
|
907
|
+
observations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
908
|
+
kind: z.ZodLiteral<"slot">;
|
|
909
|
+
setId: z.ZodString;
|
|
910
|
+
slotId: z.ZodString;
|
|
911
|
+
note: z.ZodOptional<z.ZodString>;
|
|
912
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
913
|
+
kind: z.ZodLiteral<"column">;
|
|
914
|
+
path: z.ZodString;
|
|
915
|
+
column: z.ZodString;
|
|
916
|
+
exampleValues: z.ZodArray<z.ZodString>;
|
|
917
|
+
distinctValues: z.ZodOptional<z.ZodNumber>;
|
|
918
|
+
checked: z.ZodOptional<z.ZodObject<{
|
|
919
|
+
matched: z.ZodNumber;
|
|
920
|
+
of: z.ZodNumber;
|
|
921
|
+
}, z.core.$strict>>;
|
|
922
|
+
checkedAgainst: z.ZodOptional<z.ZodString>;
|
|
923
|
+
note: z.ZodOptional<z.ZodString>;
|
|
924
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
925
|
+
kind: z.ZodLiteral<"document">;
|
|
926
|
+
path: z.ZodString;
|
|
927
|
+
citation: z.ZodString;
|
|
928
|
+
statesCardinality: z.ZodOptional<z.ZodNumber>;
|
|
929
|
+
checked: z.ZodOptional<z.ZodObject<{
|
|
930
|
+
matched: z.ZodNumber;
|
|
931
|
+
of: z.ZodNumber;
|
|
932
|
+
}, z.core.$strict>>;
|
|
933
|
+
checkedAgainst: z.ZodOptional<z.ZodString>;
|
|
934
|
+
note: z.ZodOptional<z.ZodString>;
|
|
935
|
+
}, z.core.$strict>], "kind">>;
|
|
936
|
+
reconciliations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
937
|
+
note: z.ZodString;
|
|
938
|
+
delta: z.ZodOptional<z.ZodNumber>;
|
|
939
|
+
}, z.core.$strict>>>;
|
|
940
|
+
nestsUnder: z.ZodOptional<z.ZodObject<{
|
|
941
|
+
dimension: z.ZodString;
|
|
942
|
+
evidence: z.ZodString;
|
|
943
|
+
}, z.core.$strict>>;
|
|
944
|
+
treatmentReason: z.ZodOptional<z.ZodString>;
|
|
945
|
+
}, z.core.$strict>>>;
|
|
946
|
+
probes: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
947
|
+
probe: z.ZodEnum<{
|
|
948
|
+
subject: "subject";
|
|
949
|
+
sample: "sample";
|
|
950
|
+
"cohort-arm": "cohort-arm";
|
|
951
|
+
timepoint: "timepoint";
|
|
952
|
+
batch: "batch";
|
|
953
|
+
}>;
|
|
954
|
+
outcome: z.ZodLiteral<"found">;
|
|
955
|
+
dimension: z.ZodString;
|
|
956
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
957
|
+
probe: z.ZodEnum<{
|
|
958
|
+
subject: "subject";
|
|
959
|
+
sample: "sample";
|
|
960
|
+
"cohort-arm": "cohort-arm";
|
|
961
|
+
timepoint: "timepoint";
|
|
962
|
+
batch: "batch";
|
|
963
|
+
}>;
|
|
964
|
+
outcome: z.ZodLiteral<"not-found">;
|
|
965
|
+
searched: z.ZodArray<z.ZodString>;
|
|
966
|
+
reason: z.ZodString;
|
|
967
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
968
|
+
probe: z.ZodEnum<{
|
|
969
|
+
subject: "subject";
|
|
970
|
+
sample: "sample";
|
|
971
|
+
"cohort-arm": "cohort-arm";
|
|
972
|
+
timepoint: "timepoint";
|
|
973
|
+
batch: "batch";
|
|
974
|
+
}>;
|
|
975
|
+
outcome: z.ZodLiteral<"found-but-constant">;
|
|
976
|
+
value: z.ZodString;
|
|
977
|
+
evidence: z.ZodString;
|
|
978
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
979
|
+
probe: z.ZodEnum<{
|
|
980
|
+
subject: "subject";
|
|
981
|
+
sample: "sample";
|
|
982
|
+
"cohort-arm": "cohort-arm";
|
|
983
|
+
timepoint: "timepoint";
|
|
984
|
+
batch: "batch";
|
|
985
|
+
}>;
|
|
986
|
+
outcome: z.ZodLiteral<"attested">;
|
|
987
|
+
citation: z.ZodString;
|
|
988
|
+
path: z.ZodString;
|
|
989
|
+
}, z.core.$strict>], "outcome">>>;
|
|
124
990
|
analysisSummary: z.ZodString;
|
|
125
991
|
domain: z.ZodString;
|
|
126
992
|
subtype: z.ZodOptional<z.ZodString>;
|
|
@@ -135,9 +1001,9 @@ export declare const ProfilerOutputSchema: z.ZodObject<{
|
|
|
135
1001
|
inferred: "inferred";
|
|
136
1002
|
}>;
|
|
137
1003
|
confidence: z.ZodEnum<{
|
|
138
|
-
high: "high";
|
|
139
|
-
medium: "medium";
|
|
140
1004
|
low: "low";
|
|
1005
|
+
medium: "medium";
|
|
1006
|
+
high: "high";
|
|
141
1007
|
}>;
|
|
142
1008
|
notes: z.ZodOptional<z.ZodString>;
|
|
143
1009
|
}, z.core.$strip>>;
|
|
@@ -146,9 +1012,6 @@ export declare const ProfilerOutputSchema: z.ZodObject<{
|
|
|
146
1012
|
condition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
147
1013
|
accessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
148
1014
|
experimentalDesign: z.ZodOptional<z.ZodString>;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}, z.core.$strip>>;
|
|
153
|
-
}, z.core.$strip>;
|
|
154
|
-
export type ProfilerOutput = z.infer<typeof ProfilerOutputSchema>;
|
|
1015
|
+
caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1016
|
+
}, z.core.$strict>;
|
|
1017
|
+
export type ProfileSubmission = z.infer<typeof ProfileSubmissionSchema>;
|