@sjcrh/proteinpaint-types 2.152.0 → 2.152.1-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/{chunk-2WSENLMK.js → chunk-46YIGVUP.js} +44 -24
- package/dist/{chunk-MIOIOFBZ.js → chunk-TD4YLTHL.js} +17 -3
- package/dist/gdc.grin2.js +1 -1
- package/dist/gdc.maf.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/dataset.ts +7 -280
- package/src/routes/gdc.grin2.ts +2 -2
- package/src/routes/gdc.maf.ts +3 -3
|
@@ -28,9 +28,10 @@ var runGRIN2Payload = {
|
|
|
28
28
|
var validGdcGRIN2listRequest = (input) => {
|
|
29
29
|
const errors = [];
|
|
30
30
|
const __is = (input2) => {
|
|
31
|
-
const $io0 = (input3) => (void 0 === input3.mafOptions || "object" === typeof input3.mafOptions && null !== input3.mafOptions && $io1(input3.mafOptions)) && (void 0 === input3.cnvOptions || "object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) && $
|
|
32
|
-
const $io1 = (input3) => "
|
|
33
|
-
const $io2 = (input3) =>
|
|
31
|
+
const $io0 = (input3) => (void 0 === input3.mafOptions || "object" === typeof input3.mafOptions && null !== input3.mafOptions && $io1(input3.mafOptions)) && (void 0 === input3.cnvOptions || "object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) && $io3(input3.cnvOptions)) && true;
|
|
32
|
+
const $io1 = (input3) => "object" === typeof input3.experimentalStrategy && null !== input3.experimentalStrategy && $io2(input3.experimentalStrategy);
|
|
33
|
+
const $io2 = (input3) => "WXS" === input3.wxs;
|
|
34
|
+
const $io3 = (input3) => void 0 === input3.dataType || "string" === typeof input3.dataType;
|
|
34
35
|
return "object" === typeof input2 && null !== input2 && false === Array.isArray(input2) && $io0(input2);
|
|
35
36
|
};
|
|
36
37
|
if (false === __is(input)) {
|
|
@@ -48,17 +49,26 @@ var validGdcGRIN2listRequest = (input) => {
|
|
|
48
49
|
path: _path2 + ".cnvOptions",
|
|
49
50
|
expected: "(__type.o1 | undefined)",
|
|
50
51
|
value: input3.cnvOptions
|
|
51
|
-
})) && $
|
|
52
|
+
})) && $vo3(input3.cnvOptions, _path2 + ".cnvOptions", _exceptionable2) || $report(_exceptionable2, {
|
|
52
53
|
path: _path2 + ".cnvOptions",
|
|
53
54
|
expected: "(__type.o1 | undefined)",
|
|
54
55
|
value: input3.cnvOptions
|
|
55
56
|
}), true].every((flag) => flag);
|
|
56
|
-
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["
|
|
57
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.experimentalStrategy && null !== input3.experimentalStrategy || $report(_exceptionable2, {
|
|
57
58
|
path: _path2 + ".experimentalStrategy",
|
|
58
|
-
expected:
|
|
59
|
+
expected: "ExperimentalStrategy",
|
|
60
|
+
value: input3.experimentalStrategy
|
|
61
|
+
})) && $vo2(input3.experimentalStrategy, _path2 + ".experimentalStrategy", _exceptionable2) || $report(_exceptionable2, {
|
|
62
|
+
path: _path2 + ".experimentalStrategy",
|
|
63
|
+
expected: "ExperimentalStrategy",
|
|
59
64
|
value: input3.experimentalStrategy
|
|
60
65
|
})].every((flag) => flag);
|
|
61
|
-
const $vo2 = (input3, _path2, _exceptionable2 = true) => [
|
|
66
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["WXS" === input3.wxs || $report(_exceptionable2, {
|
|
67
|
+
path: _path2 + ".wxs",
|
|
68
|
+
expected: '"WXS"',
|
|
69
|
+
value: input3.wxs
|
|
70
|
+
})].every((flag) => flag);
|
|
71
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.dataType || "string" === typeof input3.dataType || $report(_exceptionable2, {
|
|
62
72
|
path: _path2 + ".dataType",
|
|
63
73
|
expected: "(string | undefined)",
|
|
64
74
|
value: input3.dataType
|
|
@@ -84,15 +94,16 @@ var validGdcGRIN2listRequest = (input) => {
|
|
|
84
94
|
var validGdcGRIN2listResponse = (input) => {
|
|
85
95
|
const errors = [];
|
|
86
96
|
const __is = (input2) => {
|
|
87
|
-
const $io0 = (input3) => (void 0 === input3.mafFiles || "object" === typeof input3.mafFiles && null !== input3.mafFiles && $io1(input3.mafFiles)) && (void 0 === input3.cnvFiles || "object" === typeof input3.cnvFiles && null !== input3.cnvFiles && $
|
|
88
|
-
const $io1 = (input3) => Array.isArray(input3.files) && input3.files.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)) && "number" === typeof input3.filesTotal && "number" === typeof input3.maxTotalSizeCompressed && (void 0 === input3.fileCounts || "object" === typeof input3.fileCounts && null !== input3.fileCounts && $io3(input3.fileCounts)) && (void 0 === input3.appliedFilters || "object" === typeof input3.appliedFilters && null !== input3.appliedFilters && false === Array.isArray(input3.appliedFilters) && $io4(input3.appliedFilters)) && (void 0 === input3.deduplicationStats || "object" === typeof input3.deduplicationStats && null !== input3.deduplicationStats && $
|
|
97
|
+
const $io0 = (input3) => (void 0 === input3.mafFiles || "object" === typeof input3.mafFiles && null !== input3.mafFiles && $io1(input3.mafFiles)) && (void 0 === input3.cnvFiles || "object" === typeof input3.cnvFiles && null !== input3.cnvFiles && $io9(input3.cnvFiles));
|
|
98
|
+
const $io1 = (input3) => Array.isArray(input3.files) && input3.files.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)) && "number" === typeof input3.filesTotal && "number" === typeof input3.maxTotalSizeCompressed && (void 0 === input3.fileCounts || "object" === typeof input3.fileCounts && null !== input3.fileCounts && $io3(input3.fileCounts)) && (void 0 === input3.appliedFilters || "object" === typeof input3.appliedFilters && null !== input3.appliedFilters && false === Array.isArray(input3.appliedFilters) && $io4(input3.appliedFilters)) && (void 0 === input3.deduplicationStats || "object" === typeof input3.deduplicationStats && null !== input3.deduplicationStats && $io6(input3.deduplicationStats));
|
|
89
99
|
const $io2 = (input3) => "string" === typeof input3.id && "string" === typeof input3.case_submitter_id && "string" === typeof input3.case_uuid && "number" === typeof input3.file_size && (Array.isArray(input3.sample_types) && input3.sample_types.every((elem) => "string" === typeof elem)) && "string" === typeof input3.project_id && (void 0 === input3.file_format || "MAF" === input3.file_format);
|
|
90
100
|
const $io3 = (input3) => "number" === typeof input3.maf;
|
|
91
|
-
const $io4 = (input3) => void 0 === input3.experimentalStrategy || "
|
|
92
|
-
const $io5 = (input3) => "
|
|
93
|
-
const $io6 = (input3) => "
|
|
94
|
-
const $io7 = (input3) => "string" === typeof input3.
|
|
95
|
-
const $io8 = (input3) =>
|
|
101
|
+
const $io4 = (input3) => void 0 === input3.experimentalStrategy || "object" === typeof input3.experimentalStrategy && null !== input3.experimentalStrategy && $io5(input3.experimentalStrategy);
|
|
102
|
+
const $io5 = (input3) => "WXS" === input3.wxs;
|
|
103
|
+
const $io6 = (input3) => "number" === typeof input3.originalFileCount && "number" === typeof input3.deduplicatedFileCount && "number" === typeof input3.duplicatesRemoved && (void 0 === input3.caseDetails || Array.isArray(input3.caseDetails) && input3.caseDetails.every((elem) => "object" === typeof elem && null !== elem && $io7(elem))) && (Array.isArray(input3.filteredFiles) && input3.filteredFiles.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)));
|
|
104
|
+
const $io7 = (input3) => "string" === typeof input3.caseName && "number" === typeof input3.fileCount && "number" === typeof input3.keptFileSize;
|
|
105
|
+
const $io8 = (input3) => "string" === typeof input3.fileId && "number" === typeof input3.fileSize && "string" === typeof input3.reason;
|
|
106
|
+
const $io9 = (input3) => Array.isArray(input3.files) && input3.files.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)) && "number" === typeof input3.maxTotalSizeCompressed;
|
|
96
107
|
return "object" === typeof input2 && null !== input2 && false === Array.isArray(input2) && $io0(input2);
|
|
97
108
|
};
|
|
98
109
|
if (false === __is(input)) {
|
|
@@ -110,7 +121,7 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
110
121
|
path: _path2 + ".cnvFiles",
|
|
111
122
|
expected: "(__type.o6 | undefined)",
|
|
112
123
|
value: input3.cnvFiles
|
|
113
|
-
})) && $
|
|
124
|
+
})) && $vo9(input3.cnvFiles, _path2 + ".cnvFiles", _exceptionable2) || $report(_exceptionable2, {
|
|
114
125
|
path: _path2 + ".cnvFiles",
|
|
115
126
|
expected: "(__type.o6 | undefined)",
|
|
116
127
|
value: input3.cnvFiles
|
|
@@ -159,7 +170,7 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
159
170
|
path: _path2 + ".deduplicationStats",
|
|
160
171
|
expected: "(__type.o3 | undefined)",
|
|
161
172
|
value: input3.deduplicationStats
|
|
162
|
-
})) && $
|
|
173
|
+
})) && $vo6(input3.deduplicationStats, _path2 + ".deduplicationStats", _exceptionable2) || $report(_exceptionable2, {
|
|
163
174
|
path: _path2 + ".deduplicationStats",
|
|
164
175
|
expected: "(__type.o3 | undefined)",
|
|
165
176
|
value: input3.deduplicationStats
|
|
@@ -206,12 +217,21 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
206
217
|
expected: "number",
|
|
207
218
|
value: input3.maf
|
|
208
219
|
})].every((flag) => flag);
|
|
209
|
-
const $vo4 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.experimentalStrategy || "
|
|
220
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.experimentalStrategy || ("object" === typeof input3.experimentalStrategy && null !== input3.experimentalStrategy || $report(_exceptionable2, {
|
|
210
221
|
path: _path2 + ".experimentalStrategy",
|
|
211
|
-
expected:
|
|
222
|
+
expected: "(ExperimentalStrategy | undefined)",
|
|
212
223
|
value: input3.experimentalStrategy
|
|
224
|
+
})) && $vo5(input3.experimentalStrategy, _path2 + ".experimentalStrategy", _exceptionable2) || $report(_exceptionable2, {
|
|
225
|
+
path: _path2 + ".experimentalStrategy",
|
|
226
|
+
expected: "(ExperimentalStrategy | undefined)",
|
|
227
|
+
value: input3.experimentalStrategy
|
|
228
|
+
})].every((flag) => flag);
|
|
229
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => ["WXS" === input3.wxs || $report(_exceptionable2, {
|
|
230
|
+
path: _path2 + ".wxs",
|
|
231
|
+
expected: '"WXS"',
|
|
232
|
+
value: input3.wxs
|
|
213
233
|
})].every((flag) => flag);
|
|
214
|
-
const $
|
|
234
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.originalFileCount || $report(_exceptionable2, {
|
|
215
235
|
path: _path2 + ".originalFileCount",
|
|
216
236
|
expected: "number",
|
|
217
237
|
value: input3.originalFileCount
|
|
@@ -231,7 +251,7 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
231
251
|
path: _path2 + ".caseDetails[" + _index3 + "]",
|
|
232
252
|
expected: "__type.o4",
|
|
233
253
|
value: elem
|
|
234
|
-
})) && $
|
|
254
|
+
})) && $vo7(elem, _path2 + ".caseDetails[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
235
255
|
path: _path2 + ".caseDetails[" + _index3 + "]",
|
|
236
256
|
expected: "__type.o4",
|
|
237
257
|
value: elem
|
|
@@ -247,7 +267,7 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
247
267
|
path: _path2 + ".filteredFiles[" + _index4 + "]",
|
|
248
268
|
expected: "__type.o5",
|
|
249
269
|
value: elem
|
|
250
|
-
})) && $
|
|
270
|
+
})) && $vo8(elem, _path2 + ".filteredFiles[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
251
271
|
path: _path2 + ".filteredFiles[" + _index4 + "]",
|
|
252
272
|
expected: "__type.o5",
|
|
253
273
|
value: elem
|
|
@@ -256,7 +276,7 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
256
276
|
expected: "Array<__type>.o1",
|
|
257
277
|
value: input3.filteredFiles
|
|
258
278
|
})].every((flag) => flag);
|
|
259
|
-
const $
|
|
279
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.caseName || $report(_exceptionable2, {
|
|
260
280
|
path: _path2 + ".caseName",
|
|
261
281
|
expected: "string",
|
|
262
282
|
value: input3.caseName
|
|
@@ -269,7 +289,7 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
269
289
|
expected: "number",
|
|
270
290
|
value: input3.keptFileSize
|
|
271
291
|
})].every((flag) => flag);
|
|
272
|
-
const $
|
|
292
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.fileId || $report(_exceptionable2, {
|
|
273
293
|
path: _path2 + ".fileId",
|
|
274
294
|
expected: "string",
|
|
275
295
|
value: input3.fileId
|
|
@@ -282,7 +302,7 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
282
302
|
expected: "string",
|
|
283
303
|
value: input3.reason
|
|
284
304
|
})].every((flag) => flag);
|
|
285
|
-
const $
|
|
305
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.files) || $report(_exceptionable2, {
|
|
286
306
|
path: _path2 + ".files",
|
|
287
307
|
expected: "Array<GdcGRIN2File>",
|
|
288
308
|
value: input3.files
|
|
@@ -21,17 +21,31 @@ var gdcMafPayload = {
|
|
|
21
21
|
var validGdcMafRequest = (input) => {
|
|
22
22
|
const errors = [];
|
|
23
23
|
const __is = (input2) => {
|
|
24
|
-
const $io0 = (input3) =>
|
|
24
|
+
const $io0 = (input3) => "object" === typeof input3.experimentalStrategy && null !== input3.experimentalStrategy && $io1(input3.experimentalStrategy) && true;
|
|
25
|
+
const $io1 = (input3) => "Targeted Sequencing" === input3.targeted && "WXS" === input3.wxs;
|
|
25
26
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
26
27
|
};
|
|
27
28
|
if (false === __is(input)) {
|
|
28
29
|
const $report = import_typia.createValidate.report(errors);
|
|
29
30
|
((input2, _path, _exceptionable = true) => {
|
|
30
|
-
const $vo0 = (input3, _path2, _exceptionable2 = true) => ["
|
|
31
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.experimentalStrategy && null !== input3.experimentalStrategy || $report(_exceptionable2, {
|
|
31
32
|
path: _path2 + ".experimentalStrategy",
|
|
32
|
-
expected:
|
|
33
|
+
expected: "ExperimentalStrategy",
|
|
34
|
+
value: input3.experimentalStrategy
|
|
35
|
+
})) && $vo1(input3.experimentalStrategy, _path2 + ".experimentalStrategy", _exceptionable2) || $report(_exceptionable2, {
|
|
36
|
+
path: _path2 + ".experimentalStrategy",
|
|
37
|
+
expected: "ExperimentalStrategy",
|
|
33
38
|
value: input3.experimentalStrategy
|
|
34
39
|
}), true].every((flag) => flag);
|
|
40
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["Targeted Sequencing" === input3.targeted || $report(_exceptionable2, {
|
|
41
|
+
path: _path2 + ".targeted",
|
|
42
|
+
expected: '"Targeted Sequencing"',
|
|
43
|
+
value: input3.targeted
|
|
44
|
+
}), "WXS" === input3.wxs || $report(_exceptionable2, {
|
|
45
|
+
path: _path2 + ".wxs",
|
|
46
|
+
expected: '"WXS"',
|
|
47
|
+
value: input3.wxs
|
|
48
|
+
})].every((flag) => flag);
|
|
35
49
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
36
50
|
path: _path + "",
|
|
37
51
|
expected: "GdcMafRequest",
|
package/dist/gdc.grin2.js
CHANGED
package/dist/gdc.maf.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
gdcMafPayload,
|
|
193
193
|
validGdcMafRequest,
|
|
194
194
|
validGdcMafResponse
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-TD4YLTHL.js";
|
|
196
196
|
import {
|
|
197
197
|
GdcMafPayload,
|
|
198
198
|
validGdcMafBuildRequest,
|
|
@@ -267,7 +267,7 @@ import {
|
|
|
267
267
|
validGdcGRIN2listResponse,
|
|
268
268
|
validRunGRIN2Request,
|
|
269
269
|
validRunGRIN2Response
|
|
270
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-46YIGVUP.js";
|
|
271
271
|
import {
|
|
272
272
|
aiProjectAdminPayload,
|
|
273
273
|
validAIProjectAdminRequest,
|
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -15,11 +15,6 @@ type KeyVal = {
|
|
|
15
15
|
v?: string
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
type KeyLabel = {
|
|
19
|
-
key: string
|
|
20
|
-
label: string
|
|
21
|
-
}
|
|
22
|
-
|
|
23
18
|
/** a set of categories about a vcf INFO field */
|
|
24
19
|
export type InfoFieldCategories = {
|
|
25
20
|
/** category key from an INFO field of a vcf file */
|
|
@@ -1062,7 +1057,7 @@ export type WSImages = {
|
|
|
1062
1057
|
/** ds supplied */
|
|
1063
1058
|
getAnnotationClasses?: (projectId: string) => Promise<WSIClass[] | undefined>
|
|
1064
1059
|
/** ds supplied */
|
|
1065
|
-
retrainModel?: (projectId: string) => Promise<void>
|
|
1060
|
+
retrainModel?: (projectId: string, wsimages: string[]) => Promise<void>
|
|
1066
1061
|
}
|
|
1067
1062
|
|
|
1068
1063
|
export type WSIClass = { id: number; key_shortcut: string; label: string; color: string }
|
|
@@ -1172,24 +1167,6 @@ type UiLabels = {
|
|
|
1172
1167
|
[propName: string]: string | { label: string; [otherAttr: string]: string }
|
|
1173
1168
|
}
|
|
1174
1169
|
|
|
1175
|
-
type SurvPlotsEntry = {
|
|
1176
|
-
name: string
|
|
1177
|
-
serialtimekey: string
|
|
1178
|
-
iscensoredkey: string
|
|
1179
|
-
timelabel: string
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
type SurvPlots = {
|
|
1183
|
-
[index: string]: SurvPlotsEntry
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
type sampleGroupAttrLstEntry = { key: string }
|
|
1187
|
-
|
|
1188
|
-
type SurvivalPlot = {
|
|
1189
|
-
plots: SurvPlots
|
|
1190
|
-
samplegroupattrlst: sampleGroupAttrLstEntry[]
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
1170
|
type TieBreakerFilterValuesEntry = {
|
|
1194
1171
|
dt: number
|
|
1195
1172
|
}
|
|
@@ -1778,257 +1755,6 @@ type Title = {
|
|
|
1778
1755
|
text: string
|
|
1779
1756
|
link?: string
|
|
1780
1757
|
}
|
|
1781
|
-
/*** types supporting MdsCohort type ***/
|
|
1782
|
-
type SampleAttribute = {
|
|
1783
|
-
attributes: Attributes
|
|
1784
|
-
}
|
|
1785
|
-
|
|
1786
|
-
type HierarchiesLstEntry = {
|
|
1787
|
-
name: string
|
|
1788
|
-
levels: KeyLabelFull[]
|
|
1789
|
-
}
|
|
1790
|
-
|
|
1791
|
-
type Hierarchies = {
|
|
1792
|
-
lst: HierarchiesLstEntry[]
|
|
1793
|
-
}
|
|
1794
|
-
|
|
1795
|
-
type SetSamples = {
|
|
1796
|
-
file: string
|
|
1797
|
-
valuename: string
|
|
1798
|
-
skipzero: boolean
|
|
1799
|
-
}
|
|
1800
|
-
|
|
1801
|
-
type SetSignatures = {
|
|
1802
|
-
[index: number]: { name: string; color: string }
|
|
1803
|
-
}
|
|
1804
|
-
|
|
1805
|
-
type MutSigSets = {
|
|
1806
|
-
[index: string]: {
|
|
1807
|
-
name: string
|
|
1808
|
-
samples: SetSamples
|
|
1809
|
-
signatures: SetSignatures
|
|
1810
|
-
}
|
|
1811
|
-
}
|
|
1812
|
-
|
|
1813
|
-
type MutationSignature = {
|
|
1814
|
-
sets: MutSigSets
|
|
1815
|
-
}
|
|
1816
|
-
|
|
1817
|
-
type MdsCohort = {
|
|
1818
|
-
//Does not apply to Mds3 or genomes!
|
|
1819
|
-
files: FileObj[]
|
|
1820
|
-
samplenamekey: string
|
|
1821
|
-
tohash: (item: any, ds: any) => void //Fix later
|
|
1822
|
-
sampleAttribute?: SampleAttribute
|
|
1823
|
-
hierarchies?: Hierarchies
|
|
1824
|
-
survivalplot?: SurvivalPlot
|
|
1825
|
-
mutation_signature?: MutationSignature
|
|
1826
|
-
//scatterplot - skipping b/c codes to the old scatterplot, not mass
|
|
1827
|
-
}
|
|
1828
|
-
|
|
1829
|
-
/*** types supporting MdsQueries type ***/
|
|
1830
|
-
type BaseTrack = {
|
|
1831
|
-
name?: string
|
|
1832
|
-
istrack?: boolean
|
|
1833
|
-
type?: string
|
|
1834
|
-
file?: string
|
|
1835
|
-
hideforthemoment?: number
|
|
1836
|
-
viewrangeupperlimit?: number
|
|
1837
|
-
}
|
|
1838
|
-
|
|
1839
|
-
type LegendVOrigin = {
|
|
1840
|
-
key: string
|
|
1841
|
-
somatic: string
|
|
1842
|
-
germline: string
|
|
1843
|
-
}
|
|
1844
|
-
|
|
1845
|
-
type GroupSampleByAttr = {
|
|
1846
|
-
attrlst: KeyLabelFull[]
|
|
1847
|
-
sortgroupby?: {
|
|
1848
|
-
key: string
|
|
1849
|
-
order: string[]
|
|
1850
|
-
}
|
|
1851
|
-
attrnamespacer?: string
|
|
1852
|
-
}
|
|
1853
|
-
|
|
1854
|
-
type Svcnv = BaseTrack & {
|
|
1855
|
-
valueCutoff: number
|
|
1856
|
-
bplengthUpperLimit: number
|
|
1857
|
-
segmeanValueCutoff?: number
|
|
1858
|
-
no_loh?: number
|
|
1859
|
-
lohLengthUpperLimit?: number
|
|
1860
|
-
hideLOHwithCNVoverlap?: boolean
|
|
1861
|
-
vcf_querykey?: string
|
|
1862
|
-
expressionrank_querykey?: string
|
|
1863
|
-
multihidelabel_vcf: boolean
|
|
1864
|
-
multihidelabel_fusion?: boolean
|
|
1865
|
-
multihidelabel_sv: boolean
|
|
1866
|
-
legend_vorigin?: LegendVOrigin
|
|
1867
|
-
groupsamplebyattr?: GroupSampleByAttr
|
|
1868
|
-
}
|
|
1869
|
-
|
|
1870
|
-
type KeyLabelFull = {
|
|
1871
|
-
/* Used in:
|
|
1872
|
-
queries.genefpkm.boxplotbysamplegroup.attributes
|
|
1873
|
-
cohort.hierarchies.lst[i].levels
|
|
1874
|
-
*/
|
|
1875
|
-
k: string
|
|
1876
|
-
label: string
|
|
1877
|
-
full?: string
|
|
1878
|
-
}
|
|
1879
|
-
|
|
1880
|
-
type ASE = {
|
|
1881
|
-
qvalue: number
|
|
1882
|
-
meandelta_monoallelic: number
|
|
1883
|
-
asemarkernumber_biallelic: number
|
|
1884
|
-
color_noinfo: string
|
|
1885
|
-
color_notsure: string
|
|
1886
|
-
color_biallelic: string
|
|
1887
|
-
color_monoallelic: string
|
|
1888
|
-
}
|
|
1889
|
-
|
|
1890
|
-
type GeneFpkmOutlier = {
|
|
1891
|
-
pvalue: number
|
|
1892
|
-
color: string
|
|
1893
|
-
}
|
|
1894
|
-
|
|
1895
|
-
type BoxPlotAdditionalsEntry = {
|
|
1896
|
-
label: string
|
|
1897
|
-
attributes: KeyVal[]
|
|
1898
|
-
}
|
|
1899
|
-
|
|
1900
|
-
type BoxPlotBySampleGroup = {
|
|
1901
|
-
attributes: KeyLabelFull[]
|
|
1902
|
-
additionals?: BoxPlotAdditionalsEntry[]
|
|
1903
|
-
}
|
|
1904
|
-
|
|
1905
|
-
type Fpkm = BaseTrack & {
|
|
1906
|
-
datatype: string
|
|
1907
|
-
itemcolor: string
|
|
1908
|
-
}
|
|
1909
|
-
|
|
1910
|
-
type GeneFpkm = Fpkm & {
|
|
1911
|
-
isgenenumeric: boolean
|
|
1912
|
-
boxplotbysamplegroup?: BoxPlotBySampleGroup
|
|
1913
|
-
ase?: ASE
|
|
1914
|
-
outlier?: GeneFpkmOutlier
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
|
-
type CutoffValueLstEntry = {
|
|
1918
|
-
/** '<' or '>' to add to the label */
|
|
1919
|
-
side: string
|
|
1920
|
-
value: number
|
|
1921
|
-
label: string
|
|
1922
|
-
}
|
|
1923
|
-
|
|
1924
|
-
type ValuePerSample = KeyLabel & {
|
|
1925
|
-
cutoffValueLst: CutoffValueLstEntry[]
|
|
1926
|
-
}
|
|
1927
|
-
|
|
1928
|
-
type InfoFilterCatEntry = {
|
|
1929
|
-
label: string
|
|
1930
|
-
color: string
|
|
1931
|
-
valuePerSample?: ValuePerSample
|
|
1932
|
-
}
|
|
1933
|
-
|
|
1934
|
-
type InfoFilterCat = {
|
|
1935
|
-
[index: string]: InfoFilterCatEntry
|
|
1936
|
-
}
|
|
1937
|
-
|
|
1938
|
-
type InfoFilterLstEntry = KeyLabel & {
|
|
1939
|
-
categories: InfoFilterCat
|
|
1940
|
-
hiddenCategories: { Unannotated: number }
|
|
1941
|
-
}
|
|
1942
|
-
|
|
1943
|
-
type InfoFilter = {
|
|
1944
|
-
lst: InfoFilterLstEntry[]
|
|
1945
|
-
}
|
|
1946
|
-
|
|
1947
|
-
type ReadCountBoxPlotPerCohort = {
|
|
1948
|
-
groups: KeyLabel[]
|
|
1949
|
-
}
|
|
1950
|
-
|
|
1951
|
-
type SingleJunctionSummary = {
|
|
1952
|
-
readcountboxplotpercohort: ReadCountBoxPlotPerCohort
|
|
1953
|
-
}
|
|
1954
|
-
|
|
1955
|
-
type Junction = BaseTrack & {
|
|
1956
|
-
readcountCutoff: number
|
|
1957
|
-
infoFilter: InfoFilter
|
|
1958
|
-
singlejunctionsummary: SingleJunctionSummary
|
|
1959
|
-
}
|
|
1960
|
-
|
|
1961
|
-
type MdsSnvindel = BaseTrack & {
|
|
1962
|
-
tracks: BaseTrack[]
|
|
1963
|
-
singlesamples?: {
|
|
1964
|
-
tablefile: string
|
|
1965
|
-
}
|
|
1966
|
-
}
|
|
1967
|
-
|
|
1968
|
-
type SomaticCnv = BaseTrack & {
|
|
1969
|
-
valueLabel: string
|
|
1970
|
-
valueCutoff: number
|
|
1971
|
-
bplengthUpperLimit: number
|
|
1972
|
-
}
|
|
1973
|
-
|
|
1974
|
-
type Vcf = BaseTrack & {
|
|
1975
|
-
tracks: BaseTrack[]
|
|
1976
|
-
}
|
|
1977
|
-
|
|
1978
|
-
type MdsQueries = {
|
|
1979
|
-
svcnv?: Svcnv
|
|
1980
|
-
genefpkm?: GeneFpkm
|
|
1981
|
-
junction?: Junction
|
|
1982
|
-
snvindel?: MdsSnvindel
|
|
1983
|
-
somaticcnv?: SomaticCnv
|
|
1984
|
-
vcf?: Vcf
|
|
1985
|
-
fpkm?: Fpkm
|
|
1986
|
-
}
|
|
1987
|
-
|
|
1988
|
-
type AttrValues = {
|
|
1989
|
-
[index: string]: {
|
|
1990
|
-
name?: string
|
|
1991
|
-
label?: string
|
|
1992
|
-
color?: string
|
|
1993
|
-
}
|
|
1994
|
-
}
|
|
1995
|
-
|
|
1996
|
-
type AttributesEntry = {
|
|
1997
|
-
label: string
|
|
1998
|
-
values?: AttrValues
|
|
1999
|
-
hidden?: number
|
|
2000
|
-
filter?: number
|
|
2001
|
-
appendto_link?: string
|
|
2002
|
-
isfloat?: number | boolean
|
|
2003
|
-
isinteger?: number | boolean
|
|
2004
|
-
clientnoshow?: number
|
|
2005
|
-
showintrack?: boolean
|
|
2006
|
-
}
|
|
2007
|
-
|
|
2008
|
-
type Attributes = {
|
|
2009
|
-
[index: string]: AttributesEntry
|
|
2010
|
-
}
|
|
2011
|
-
|
|
2012
|
-
type MutationAttribute = {
|
|
2013
|
-
attributes: Attributes
|
|
2014
|
-
}
|
|
2015
|
-
|
|
2016
|
-
type MutationTypesEntry = {
|
|
2017
|
-
db_col: string
|
|
2018
|
-
label?: string
|
|
2019
|
-
default: number
|
|
2020
|
-
sizecutoff?: string
|
|
2021
|
-
log2cutoff?: number
|
|
2022
|
-
}
|
|
2023
|
-
|
|
2024
|
-
type Gene2MutCount = {
|
|
2025
|
-
dbfile: string
|
|
2026
|
-
mutationTypes: MutationTypesEntry[]
|
|
2027
|
-
}
|
|
2028
|
-
|
|
2029
|
-
type LocusAttribute = {
|
|
2030
|
-
attributes: Attributes
|
|
2031
|
-
}
|
|
2032
1758
|
|
|
2033
1759
|
type ViewMode = {
|
|
2034
1760
|
byAttribute?: string
|
|
@@ -2043,17 +1769,18 @@ type BaseMds = {
|
|
|
2043
1769
|
}
|
|
2044
1770
|
|
|
2045
1771
|
export type Mds = BaseMds & {
|
|
1772
|
+
// replaced by mds3!!!
|
|
2046
1773
|
isMds: boolean
|
|
2047
1774
|
about?: KeyVal[]
|
|
2048
1775
|
sampleAssayTrack?: FileObj
|
|
2049
1776
|
singlesamplemutationjson?: FileObj
|
|
2050
|
-
cohort?:
|
|
2051
|
-
queries?:
|
|
2052
|
-
mutationAttribute?:
|
|
1777
|
+
cohort?: any
|
|
1778
|
+
queries?: any
|
|
1779
|
+
mutationAttribute?: any
|
|
2053
1780
|
dbFile?: string
|
|
2054
1781
|
version?: { label: string; link: string }
|
|
2055
|
-
gene2mutcount?:
|
|
2056
|
-
locusAttribute?:
|
|
1782
|
+
gene2mutcount?: any
|
|
1783
|
+
locusAttribute?: any
|
|
2057
1784
|
alleleAttribute?: {
|
|
2058
1785
|
attributes: {
|
|
2059
1786
|
[attrName: string]: {
|
package/src/routes/gdc.grin2.ts
CHANGED
package/src/routes/gdc.maf.ts
CHANGED
|
@@ -20,9 +20,9 @@ export type GdcMafFile = {
|
|
|
20
20
|
project_id: string
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
targeted
|
|
25
|
-
wxs
|
|
23
|
+
export type ExperimentalStrategy = {
|
|
24
|
+
targeted: 'Targeted Sequencing'
|
|
25
|
+
wxs: 'WXS'
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
export type GdcMafRequest = {
|