@sjcrh/proteinpaint-types 2.124.0 → 2.126.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/brainImaging.js +1 -1
- package/dist/{chunk-NCFUZ5VV.js → chunk-2S4T3WUF.js} +790 -386
- package/dist/{chunk-XPOHYEAY.js → chunk-537XOM43.js} +584 -382
- package/dist/{chunk-LBGUOJR3.js → chunk-5O422YU6.js} +343 -141
- package/dist/{chunk-SQBZAOWB.js → chunk-7IRM7OKB.js} +343 -141
- package/dist/{chunk-XZAH6P4D.js → chunk-A3XJW6BZ.js} +5 -1
- package/dist/{chunk-3ZT4UCFM.js → chunk-BXPSDGWG.js} +343 -141
- package/dist/{chunk-QMWUUGEK.js → chunk-CJC7ZHSZ.js} +376 -174
- package/dist/{chunk-F64WJMRL.js → chunk-DJCPG2RT.js} +817 -413
- package/dist/{chunk-ZMOSABYP.js → chunk-GZCIY2WK.js} +584 -382
- package/dist/{chunk-K7P6C6KU.js → chunk-LVXO4MLR.js} +586 -384
- package/dist/chunk-NWEXA2YB.js +308 -0
- package/dist/{chunk-AGSW7G4T.js → chunk-O4RAE6UJ.js} +582 -380
- package/dist/chunk-RPX4TVMD.js +14 -0
- package/dist/{chunk-KRYTJ2SL.js → chunk-RWMZSRX7.js} +2 -2
- package/dist/chunk-SMS3Y2XZ.js +75 -0
- package/dist/{chunk-RX5EB2HL.js → chunk-VSNV3MLV.js} +343 -141
- package/dist/{chunk-5HL5BPE5.js → chunk-W6NLM363.js} +2 -2
- package/dist/{chunk-WQGLAGSY.js → chunk-YGX6BZZY.js} +4 -4
- package/dist/{chunk-5XRJ5ATE.js → chunk-YOS2YTCE.js} +584 -382
- package/dist/clearwsisession.js +3 -13
- package/dist/clearwsisessions.js +13 -0
- package/dist/correlationVolcano.js +1 -1
- package/dist/gdc.grin2.js +17 -0
- package/dist/genesetEnrichment.js +1 -1
- package/dist/healthcheck.js +1 -1
- package/dist/index.js +89 -65
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topMutatedGenes.js +5 -5
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/dist/wsisamples.js +3 -3
- package/package.json +1 -1
- package/src/dataset.ts +6 -0
- package/src/index.ts +1 -0
- package/src/routes/gdc.grin2.ts +101 -0
- package/src/routes/genesetEnrichment.ts +2 -0
- package/src/terms/geneVariant.ts +1 -0
package/dist/clearwsisession.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
clearWSImagesSessionsPayload
|
|
3
|
+
} from "./chunk-RPX4TVMD.js";
|
|
1
4
|
import {
|
|
2
5
|
__toESM,
|
|
3
6
|
require_lib
|
|
@@ -5,19 +8,6 @@ import {
|
|
|
5
8
|
|
|
6
9
|
// dist/clearwsisession.ts
|
|
7
10
|
var import_typia = __toESM(require_lib(), 1);
|
|
8
|
-
|
|
9
|
-
// src/routes/clearwsisessions.ts
|
|
10
|
-
var clearWSImagesSessionsPayload = {
|
|
11
|
-
request: {
|
|
12
|
-
typeId: "ClearWSImagesSessionsRequest"
|
|
13
|
-
},
|
|
14
|
-
response: {
|
|
15
|
-
typeId: "ClearWSImagesSessionsResponse"
|
|
16
|
-
}
|
|
17
|
-
// examples: []
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
// dist/clearwsisession.ts
|
|
21
11
|
var validClearWSImagesSessionsRequest = (input) => {
|
|
22
12
|
const errors = [];
|
|
23
13
|
const __is = (input2) => {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
validClearWSImagesSessionsRequest,
|
|
3
|
+
validClearWSImagesSessionsResponse
|
|
4
|
+
} from "./chunk-SMS3Y2XZ.js";
|
|
5
|
+
import {
|
|
6
|
+
clearWSImagesSessionsPayload
|
|
7
|
+
} from "./chunk-RPX4TVMD.js";
|
|
8
|
+
import "./chunk-CNSSF43V.js";
|
|
9
|
+
export {
|
|
10
|
+
clearWSImagesSessionsPayload,
|
|
11
|
+
validClearWSImagesSessionsRequest,
|
|
12
|
+
validClearWSImagesSessionsResponse
|
|
13
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
gdcGRIN2Payload,
|
|
3
|
+
runGRIN2Payload,
|
|
4
|
+
validGdcGRIN2listRequest,
|
|
5
|
+
validGdcGRIN2listResponse,
|
|
6
|
+
validRunGRIN2Request,
|
|
7
|
+
validRunGRIN2Response
|
|
8
|
+
} from "./chunk-NWEXA2YB.js";
|
|
9
|
+
import "./chunk-CNSSF43V.js";
|
|
10
|
+
export {
|
|
11
|
+
gdcGRIN2Payload,
|
|
12
|
+
runGRIN2Payload,
|
|
13
|
+
validGdcGRIN2listRequest,
|
|
14
|
+
validGdcGRIN2listResponse,
|
|
15
|
+
validRunGRIN2Request,
|
|
16
|
+
validRunGRIN2Response
|
|
17
|
+
};
|
package/dist/healthcheck.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,48 +1,68 @@
|
|
|
1
|
+
import {
|
|
2
|
+
validWSImagesRequest,
|
|
3
|
+
validWSImagesResponse,
|
|
4
|
+
wsImagesPayload
|
|
5
|
+
} from "./chunk-UZH5HOBP.js";
|
|
6
|
+
import {
|
|
7
|
+
validWSISamplesRequest,
|
|
8
|
+
validWSISamplesResponse,
|
|
9
|
+
wsiSamplesPayload
|
|
10
|
+
} from "./chunk-W6NLM363.js";
|
|
11
|
+
import {
|
|
12
|
+
termdbSingleCellSamplesPayload,
|
|
13
|
+
validTermdbSingleCellSamplesRequest,
|
|
14
|
+
validTermdbSingleCellSamplesResponse
|
|
15
|
+
} from "./chunk-LPBYQJG4.js";
|
|
16
|
+
import {
|
|
17
|
+
termChildrenPayload,
|
|
18
|
+
validTermChildrenRequest,
|
|
19
|
+
validTermChildrenResponse
|
|
20
|
+
} from "./chunk-HKGWC7OO.js";
|
|
1
21
|
import {
|
|
2
22
|
termsByIdsPayload,
|
|
3
23
|
validTermsByIdsRequest,
|
|
4
24
|
validTermsByIdsResponse
|
|
5
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-O4RAE6UJ.js";
|
|
6
26
|
import {
|
|
7
27
|
topMutatedGenePayload,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
28
|
+
validtopMutatedGeneRequest,
|
|
29
|
+
validtopMutatedGeneResponse
|
|
30
|
+
} from "./chunk-YGX6BZZY.js";
|
|
11
31
|
import {
|
|
12
32
|
termdbTopTermsByTypePayload,
|
|
13
33
|
validTermdbTopTermsByTypeRequest,
|
|
14
34
|
validTermdbTopTermsByTypeResponse
|
|
15
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-2S4T3WUF.js";
|
|
16
36
|
import {
|
|
17
37
|
termdbTopVariablyExpressedGenesPayload,
|
|
18
38
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
19
39
|
validTermdbTopVariablyExpressedGenesResponse
|
|
20
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-7IRM7OKB.js";
|
|
21
41
|
import {
|
|
22
42
|
validViolinRequest,
|
|
23
43
|
validViolinResponse,
|
|
24
44
|
violinPayload
|
|
25
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-VSNV3MLV.js";
|
|
26
46
|
import {
|
|
27
47
|
tilePayload,
|
|
28
48
|
validTileRequest,
|
|
29
49
|
validTileResponse
|
|
30
50
|
} from "./chunk-KFVYRW7D.js";
|
|
31
51
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./chunk-
|
|
52
|
+
descrStatsPayload,
|
|
53
|
+
validDescrStatsRequest,
|
|
54
|
+
validDescrStatsResponse
|
|
55
|
+
} from "./chunk-YOS2YTCE.js";
|
|
36
56
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
57
|
+
numericCategoriesPayload,
|
|
58
|
+
validNumericCategoriesRequest,
|
|
59
|
+
validNumericCategoriesResponse
|
|
60
|
+
} from "./chunk-5O422YU6.js";
|
|
41
61
|
import {
|
|
42
62
|
percentilePayload,
|
|
43
63
|
validPercentileRequest,
|
|
44
64
|
validPercentileResponse
|
|
45
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-BXPSDGWG.js";
|
|
46
66
|
import {
|
|
47
67
|
rootTermPayload,
|
|
48
68
|
validRootTermRequest,
|
|
@@ -69,15 +89,15 @@ import {
|
|
|
69
89
|
validTermdbSingleCellDataResponse
|
|
70
90
|
} from "./chunk-ZAMCS7PC.js";
|
|
71
91
|
import {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./chunk-
|
|
92
|
+
sampleWSImagesPayload,
|
|
93
|
+
validSampleWSImagesRequest,
|
|
94
|
+
validSampleWSImagesResponse
|
|
95
|
+
} from "./chunk-D5OG676D.js";
|
|
76
96
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
} from "./chunk-
|
|
97
|
+
snpPayload,
|
|
98
|
+
validSnpRequest,
|
|
99
|
+
validSnpResponse
|
|
100
|
+
} from "./chunk-J4QAF4EU.js";
|
|
81
101
|
import {
|
|
82
102
|
diffExpPayload,
|
|
83
103
|
validDERequest,
|
|
@@ -87,17 +107,17 @@ import {
|
|
|
87
107
|
boxplotPayload,
|
|
88
108
|
validBoxPlotRequest,
|
|
89
109
|
validBoxPlotResponse
|
|
90
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-537XOM43.js";
|
|
91
111
|
import {
|
|
92
112
|
termdbCategoriesPayload,
|
|
93
113
|
validCategoriesRequest,
|
|
94
114
|
validCategoriesResponse
|
|
95
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-GZCIY2WK.js";
|
|
96
116
|
import {
|
|
97
117
|
termdbClusterPayload,
|
|
98
118
|
validTermdbClusterRequest,
|
|
99
119
|
validTermdbClusterResponse
|
|
100
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-DJCPG2RT.js";
|
|
101
121
|
import {
|
|
102
122
|
termdbCohortSummaryPayload,
|
|
103
123
|
validTermdbCohortSummaryRequest,
|
|
@@ -109,15 +129,15 @@ import {
|
|
|
109
129
|
validTermdbCohortsResponse
|
|
110
130
|
} from "./chunk-EH7VAE5S.js";
|
|
111
131
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
132
|
+
hicdataPayload,
|
|
133
|
+
validHicdataRequest,
|
|
134
|
+
validHicdataResponse
|
|
135
|
+
} from "./chunk-VKBTOKI2.js";
|
|
116
136
|
import {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
} from "./chunk-
|
|
137
|
+
hicGenomePayload,
|
|
138
|
+
validHicGenomeRequest,
|
|
139
|
+
validHicGenomeResponse
|
|
140
|
+
} from "./chunk-I2KWGMNM.js";
|
|
121
141
|
import {
|
|
122
142
|
hicstatPayload,
|
|
123
143
|
validHicstatRequest,
|
|
@@ -144,15 +164,18 @@ import {
|
|
|
144
164
|
validPdomainResponse
|
|
145
165
|
} from "./chunk-L5DFYFWX.js";
|
|
146
166
|
import {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
} from "./chunk-
|
|
167
|
+
dzImagesPayload,
|
|
168
|
+
validDZImagesRequest,
|
|
169
|
+
validDZImagesResponse
|
|
170
|
+
} from "./chunk-XT2IWGYK.js";
|
|
151
171
|
import {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
172
|
+
gdcGRIN2Payload,
|
|
173
|
+
runGRIN2Payload,
|
|
174
|
+
validGdcGRIN2listRequest,
|
|
175
|
+
validGdcGRIN2listResponse,
|
|
176
|
+
validRunGRIN2Request,
|
|
177
|
+
validRunGRIN2Response
|
|
178
|
+
} from "./chunk-NWEXA2YB.js";
|
|
156
179
|
import {
|
|
157
180
|
gdcMafPayload,
|
|
158
181
|
validGdcMafRequest,
|
|
@@ -172,7 +195,7 @@ import {
|
|
|
172
195
|
genesetEnrichmentPayload,
|
|
173
196
|
validGenesetEnrichmentRequest,
|
|
174
197
|
validGenesetEnrichmentResponse
|
|
175
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-A3XJW6BZ.js";
|
|
176
199
|
import {
|
|
177
200
|
genesetOverrepresentationPayload,
|
|
178
201
|
validGenesetOverrepresentationRequest,
|
|
@@ -182,22 +205,12 @@ import {
|
|
|
182
205
|
healthcheckPayload,
|
|
183
206
|
validHealthCheckRequest,
|
|
184
207
|
validHealthCheckResponse
|
|
185
|
-
} from "./chunk-
|
|
186
|
-
import {
|
|
187
|
-
hicdataPayload,
|
|
188
|
-
validHicdataRequest,
|
|
189
|
-
validHicdataResponse
|
|
190
|
-
} from "./chunk-VKBTOKI2.js";
|
|
191
|
-
import {
|
|
192
|
-
hicGenomePayload,
|
|
193
|
-
validHicGenomeRequest,
|
|
194
|
-
validHicGenomeResponse
|
|
195
|
-
} from "./chunk-I2KWGMNM.js";
|
|
208
|
+
} from "./chunk-RWMZSRX7.js";
|
|
196
209
|
import {
|
|
197
210
|
brainImagingPayload,
|
|
198
211
|
validBrainImagingRequest,
|
|
199
212
|
validBrainImagingResponse
|
|
200
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-CJC7ZHSZ.js";
|
|
201
214
|
import {
|
|
202
215
|
brainImagingSamplesPayload,
|
|
203
216
|
validBrainImagingSamplesRequest,
|
|
@@ -208,11 +221,18 @@ import {
|
|
|
208
221
|
validBurdenRequest,
|
|
209
222
|
validBurdenResponse
|
|
210
223
|
} from "./chunk-ZVTZJRGS.js";
|
|
224
|
+
import {
|
|
225
|
+
validClearWSImagesSessionsRequest,
|
|
226
|
+
validClearWSImagesSessionsResponse
|
|
227
|
+
} from "./chunk-SMS3Y2XZ.js";
|
|
228
|
+
import {
|
|
229
|
+
clearWSImagesSessionsPayload
|
|
230
|
+
} from "./chunk-RPX4TVMD.js";
|
|
211
231
|
import {
|
|
212
232
|
CorrelationVolcanoPayload,
|
|
213
233
|
validCorrelationVolcanoRequest,
|
|
214
234
|
validCorrelationVolcanoResponse
|
|
215
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-LVXO4MLR.js";
|
|
216
236
|
import {
|
|
217
237
|
datasetPayload,
|
|
218
238
|
validDatasetRequest,
|
|
@@ -223,11 +243,6 @@ import {
|
|
|
223
243
|
validDsDataRequest,
|
|
224
244
|
validDsDataResponse
|
|
225
245
|
} from "./chunk-4GCROGGK.js";
|
|
226
|
-
import {
|
|
227
|
-
dzImagesPayload,
|
|
228
|
-
validDZImagesRequest,
|
|
229
|
-
validDZImagesResponse
|
|
230
|
-
} from "./chunk-XT2IWGYK.js";
|
|
231
246
|
import "./chunk-CNSSF43V.js";
|
|
232
247
|
export {
|
|
233
248
|
CorrelationVolcanoPayload,
|
|
@@ -236,11 +251,13 @@ export {
|
|
|
236
251
|
brainImagingPayload,
|
|
237
252
|
brainImagingSamplesPayload,
|
|
238
253
|
burdenPayload,
|
|
254
|
+
clearWSImagesSessionsPayload,
|
|
239
255
|
datasetPayload,
|
|
240
256
|
descrStatsPayload,
|
|
241
257
|
diffExpPayload,
|
|
242
258
|
dsDataPayload,
|
|
243
259
|
dzImagesPayload,
|
|
260
|
+
gdcGRIN2Payload,
|
|
244
261
|
gdcMafPayload,
|
|
245
262
|
geneLookupPayload,
|
|
246
263
|
genesetEnrichmentPayload,
|
|
@@ -256,6 +273,7 @@ export {
|
|
|
256
273
|
pdomainPayload,
|
|
257
274
|
percentilePayload,
|
|
258
275
|
rootTermPayload,
|
|
276
|
+
runGRIN2Payload,
|
|
259
277
|
sampleWSImagesPayload,
|
|
260
278
|
snpPayload,
|
|
261
279
|
termChildrenPayload,
|
|
@@ -283,6 +301,8 @@ export {
|
|
|
283
301
|
validBurdenResponse,
|
|
284
302
|
validCategoriesRequest,
|
|
285
303
|
validCategoriesResponse,
|
|
304
|
+
validClearWSImagesSessionsRequest,
|
|
305
|
+
validClearWSImagesSessionsResponse,
|
|
286
306
|
validCorrelationVolcanoRequest,
|
|
287
307
|
validCorrelationVolcanoResponse,
|
|
288
308
|
validDERequest,
|
|
@@ -295,6 +315,8 @@ export {
|
|
|
295
315
|
validDescrStatsResponse,
|
|
296
316
|
validDsDataRequest,
|
|
297
317
|
validDsDataResponse,
|
|
318
|
+
validGdcGRIN2listRequest,
|
|
319
|
+
validGdcGRIN2listResponse,
|
|
298
320
|
validGdcMafBuildRequest,
|
|
299
321
|
validGdcMafBuildResponse,
|
|
300
322
|
validGdcMafRequest,
|
|
@@ -325,6 +347,8 @@ export {
|
|
|
325
347
|
validPercentileResponse,
|
|
326
348
|
validRootTermRequest,
|
|
327
349
|
validRootTermResponse,
|
|
350
|
+
validRunGRIN2Request,
|
|
351
|
+
validRunGRIN2Response,
|
|
328
352
|
validSampleWSImagesRequest,
|
|
329
353
|
validSampleWSImagesResponse,
|
|
330
354
|
validSnpRequest,
|
|
@@ -355,16 +379,16 @@ export {
|
|
|
355
379
|
validTermsByIdsResponse,
|
|
356
380
|
validTileRequest,
|
|
357
381
|
validTileResponse,
|
|
358
|
-
validTopMutatedGeneRequest,
|
|
359
|
-
validTopMutatedGeneResponse,
|
|
360
382
|
validViolinRequest,
|
|
361
383
|
validViolinResponse,
|
|
362
384
|
validWSISamplesRequest,
|
|
385
|
+
validWSISamplesResponse,
|
|
363
386
|
validWSImagesRequest,
|
|
364
387
|
validWSImagesResponse,
|
|
365
|
-
validWSSamplesResponse,
|
|
366
388
|
validimgRequest,
|
|
367
389
|
validimgResponse,
|
|
390
|
+
validtopMutatedGeneRequest,
|
|
391
|
+
validtopMutatedGeneResponse,
|
|
368
392
|
violinPayload,
|
|
369
393
|
wsImagesPayload,
|
|
370
394
|
wsiSamplesPayload
|
package/dist/termdb.boxplot.js
CHANGED
package/dist/termdb.cluster.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
topMutatedGenePayload,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./chunk-
|
|
3
|
+
validtopMutatedGeneRequest,
|
|
4
|
+
validtopMutatedGeneResponse
|
|
5
|
+
} from "./chunk-YGX6BZZY.js";
|
|
6
6
|
import "./chunk-CNSSF43V.js";
|
|
7
7
|
export {
|
|
8
8
|
topMutatedGenePayload,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
validtopMutatedGeneRequest,
|
|
10
|
+
validtopMutatedGeneResponse
|
|
11
11
|
};
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
termdbTopVariablyExpressedGenesPayload,
|
|
3
3
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
4
4
|
validTermdbTopVariablyExpressedGenesResponse
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7IRM7OKB.js";
|
|
6
6
|
import "./chunk-CNSSF43V.js";
|
|
7
7
|
export {
|
|
8
8
|
termdbTopVariablyExpressedGenesPayload,
|
package/dist/termdb.violin.js
CHANGED
package/dist/wsisamples.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
validWSISamplesRequest,
|
|
3
|
-
|
|
3
|
+
validWSISamplesResponse,
|
|
4
4
|
wsiSamplesPayload
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-W6NLM363.js";
|
|
6
6
|
import "./chunk-CNSSF43V.js";
|
|
7
7
|
export {
|
|
8
8
|
validWSISamplesRequest,
|
|
9
|
-
|
|
9
|
+
validWSISamplesResponse,
|
|
10
10
|
wsiSamplesPayload
|
|
11
11
|
};
|
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -1966,6 +1966,12 @@ export type Mds3 = BaseMds & {
|
|
|
1966
1966
|
isMds3: boolean
|
|
1967
1967
|
loadWithoutBlocking?: boolean
|
|
1968
1968
|
preInit?: PreInit
|
|
1969
|
+
init?: {
|
|
1970
|
+
/** number of milliseconds to wait before calling th preInit.getStatus() again */
|
|
1971
|
+
retryDelay?: number
|
|
1972
|
+
/** maximum number of times to call preInit.getStatus() before giving up */
|
|
1973
|
+
retryMax?: number
|
|
1974
|
+
}
|
|
1969
1975
|
initErrorCallback?: (a: any) => void
|
|
1970
1976
|
viewModes?: ViewMode[]
|
|
1971
1977
|
dsinfo?: KeyVal[]
|
package/src/index.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from './routes/errorResponse.ts'
|
|
|
17
17
|
export * from './routes/filter.gdc.ts'
|
|
18
18
|
export * from './routes/gdc.maf.ts'
|
|
19
19
|
export * from './routes/gdc.mafBuild.ts'
|
|
20
|
+
export * from './routes/gdc.grin2.ts'
|
|
20
21
|
export * from './routes/termdb.topMutatedGenes.ts'
|
|
21
22
|
export * from './routes/genelookup.ts'
|
|
22
23
|
export * from './routes/genesetEnrichment.ts'
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import type { RoutePayload } from './routeApi.js'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents a file from GDC API (MAF)
|
|
5
|
+
*/
|
|
6
|
+
export type GdcGRIN2File = {
|
|
7
|
+
/** A string representing the file's UUID, can be accessed via https://api.gdc.cancer.gov/data/<uuid> */
|
|
8
|
+
id: string
|
|
9
|
+
/** A string representing a submitter ID for the case associated with this file */
|
|
10
|
+
case_submitter_id: string
|
|
11
|
+
/** Case UUID */
|
|
12
|
+
case_uuid: string
|
|
13
|
+
/** An integer as the byte size of this file, compressed */
|
|
14
|
+
file_size: number
|
|
15
|
+
/** Array of strings, each is 'tumor descriptor+tissue type', for all samples involved in generating the file */
|
|
16
|
+
sample_types: string[]
|
|
17
|
+
/** A string as the project id of the case */
|
|
18
|
+
project_id: string
|
|
19
|
+
/** The format of the file (MAF) */
|
|
20
|
+
file_format?: 'MAF'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
enum ExperimentalStrategy {
|
|
24
|
+
wxs = 'WXS'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Request parameters for GRIN2 file listing
|
|
29
|
+
*/
|
|
30
|
+
export type GdcGRIN2listRequest = {
|
|
31
|
+
/** Name of experimental strategy to get files for */
|
|
32
|
+
experimentalStrategy: ExperimentalStrategy
|
|
33
|
+
/** JSON, optional GDC cohort filter to restrict cases */
|
|
34
|
+
filter0?: any
|
|
35
|
+
/** Optional array of file types to include ('MAF') */
|
|
36
|
+
fileTypes?: Array<'MAF'>
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Response for GRIN2 file listing
|
|
41
|
+
*/
|
|
42
|
+
export type GdcGRIN2listResponse = {
|
|
43
|
+
/** List of file objects passing filter and to be displayed on client */
|
|
44
|
+
files: GdcGRIN2File[]
|
|
45
|
+
/** Total number of files found by API (in case bigger than files.length) */
|
|
46
|
+
filesTotal: number
|
|
47
|
+
/** Maximum total size of files allowed, for indicating on UI while selecting files */
|
|
48
|
+
maxTotalSizeCompressed: number
|
|
49
|
+
/** File counts by type */
|
|
50
|
+
fileCounts?: {
|
|
51
|
+
maf: number
|
|
52
|
+
}
|
|
53
|
+
/** Applied filters (for UI reference) */
|
|
54
|
+
appliedFilters?: {
|
|
55
|
+
fileTypes?: Array<'MAF'>
|
|
56
|
+
experimentalStrategy?: ExperimentalStrategy
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Parameters for running GRIN2 analysis
|
|
62
|
+
*/
|
|
63
|
+
export type RunGRIN2Request = {
|
|
64
|
+
[caseId: string]: { maf?: string }
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Response for GRIN2 analysis run
|
|
69
|
+
*/
|
|
70
|
+
export type RunGRIN2Response = {
|
|
71
|
+
/** Status of the analysis */
|
|
72
|
+
status: 'success' | 'error'
|
|
73
|
+
/** Error message if status is 'error' */
|
|
74
|
+
error?: string
|
|
75
|
+
/** Path to the generated image if status is 'success' */
|
|
76
|
+
imagestring?: string
|
|
77
|
+
/** Download status */
|
|
78
|
+
download?: any
|
|
79
|
+
/** Table of top genes indentified by analysis */
|
|
80
|
+
topgenetable?: any
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Route payload definitions for type checking
|
|
84
|
+
*/
|
|
85
|
+
export const gdcGRIN2Payload: RoutePayload = {
|
|
86
|
+
request: {
|
|
87
|
+
typeId: 'GdcGRIN2listRequest'
|
|
88
|
+
},
|
|
89
|
+
response: {
|
|
90
|
+
typeId: 'GdcGRIN2listResponse'
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export const runGRIN2Payload: RoutePayload = {
|
|
95
|
+
request: {
|
|
96
|
+
typeId: 'RunGRIN2Request'
|
|
97
|
+
},
|
|
98
|
+
response: {
|
|
99
|
+
typeId: 'RunGRIN2Response'
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -17,6 +17,8 @@ export type GenesetEnrichmentRequest = {
|
|
|
17
17
|
pickle_file?: string
|
|
18
18
|
/** Number of permutations to be carried out for GSEA analysis */
|
|
19
19
|
num_permutations: number
|
|
20
|
+
/** Method used for GSEA blitzgsea/cerno */
|
|
21
|
+
method: 'blitzgsea' | 'cerno'
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
type pathway_attributes = {
|