@jbrowse/core 1.5.0 → 1.5.4
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/BaseFeatureWidget/BaseFeatureDetail.d.ts +4 -2
- package/BaseFeatureWidget/BaseFeatureDetail.js +43 -16
- package/BaseFeatureWidget/SequenceFeatureDetails.js +5 -4
- package/BaseFeatureWidget/index.js +1 -1
- package/BaseFeatureWidget/util.js +5 -5
- package/CorePlugin.d.ts +0 -1
- package/CorePlugin.js +13 -1
- package/PluginLoader.d.ts +25 -2
- package/PluginLoader.js +334 -47
- package/PluginManager.d.ts +9 -7
- package/PluginManager.js +1 -5
- package/ReExports/list.js +1 -1
- package/ReExports/material-ui-colors.js +38 -38
- package/ReExports/modules.d.ts +11 -13
- package/ReExports/modules.js +8 -2
- package/TextSearch/BaseResults.js +1 -1
- package/TextSearch/TextSearchManager.d.ts +2 -2
- package/TextSearch/TextSearchManager.js +0 -2
- package/assemblyManager/assembly.d.ts +21 -8
- package/assemblyManager/assembly.js +165 -122
- package/assemblyManager/assemblyConfigSchema.d.ts +3 -0
- package/assemblyManager/{assemblyConfigSchemas.js → assemblyConfigSchema.js} +35 -27
- package/assemblyManager/assemblyManager.d.ts +126 -45
- package/assemblyManager/index.d.ts +1 -1
- package/assemblyManager/index.js +5 -5
- package/configuration/configurationSchema.js +7 -7
- package/configuration/configurationSlot.js +3 -1
- package/configuration/index.js +4 -4
- package/configuration/util.js +2 -2
- package/data_adapters/BaseAdapter.d.ts +5 -5
- package/data_adapters/BaseAdapter.js +9 -18
- package/data_adapters/CytobandAdapter.d.ts +8 -0
- package/data_adapters/CytobandAdapter.js +128 -0
- package/data_adapters/dataAdapterCache.js +2 -2
- package/package.json +9 -8
- package/pluggableElementTypes/AdapterType.d.ts +9 -1
- package/pluggableElementTypes/AdapterType.js +23 -1
- package/pluggableElementTypes/ConnectionType.js +3 -1
- package/pluggableElementTypes/DisplayType.js +3 -1
- package/pluggableElementTypes/InternetAccountType.js +3 -1
- package/pluggableElementTypes/PluggableElementBase.js +4 -3
- package/pluggableElementTypes/RpcMethodType.js +2 -4
- package/pluggableElementTypes/TextSearchAdapterType.js +3 -1
- package/pluggableElementTypes/WidgetType.js +3 -1
- package/pluggableElementTypes/index.d.ts +6 -3
- package/pluggableElementTypes/index.js +127 -1
- package/pluggableElementTypes/models/BaseDisplayModel.js +2 -2
- package/pluggableElementTypes/models/BaseTrackModel.js +4 -3
- package/pluggableElementTypes/models/BaseViewModel.js +6 -2
- package/pluggableElementTypes/models/InternetAccountModel.d.ts +2 -2
- package/pluggableElementTypes/models/baseTrackConfig.js +2 -2
- package/pluggableElementTypes/models/index.js +14 -14
- package/pluggableElementTypes/renderers/BoxRendererType.js +3 -3
- package/pluggableElementTypes/renderers/CircularChordRendererType.js +3 -1
- package/pluggableElementTypes/renderers/ComparativeServerSideRendererType.js +2 -2
- package/pluggableElementTypes/renderers/FeatureRendererType.d.ts +1 -1
- package/pluggableElementTypes/renderers/FeatureRendererType.js +4 -4
- package/pluggableElementTypes/renderers/RendererType.js +3 -1
- package/pluggableElementTypes/renderers/ServerSideRendererType.js +2 -2
- package/pluggableElementTypes/renderers/index.d.ts +9 -0
- package/pluggableElementTypes/renderers/index.js +63 -0
- package/rpc/BaseRpcDriver.d.ts +1 -1
- package/rpc/BaseRpcDriver.js +3 -5
- package/rpc/BaseRpcDriver.test.js +1 -1
- package/rpc/RpcManager.d.ts +3 -3
- package/rpc/RpcManager.js +44 -22
- package/rpc/WebWorkerRpcDriver.d.ts +2 -2
- package/rpc/WebWorkerRpcDriver.js +5 -7
- package/rpc/coreRpcMethods.js +3 -3
- package/rpc/remoteAbortSignals.js +2 -2
- package/ui/App.js +13 -12
- package/ui/DrawerWidget.js +10 -3
- package/ui/EditableTypography.js +2 -2
- package/ui/ErrorMessage.d.ts +5 -0
- package/ui/ErrorMessage.js +54 -0
- package/ui/FileSelector/FileSelector.js +75 -100
- package/ui/Icons.js +4 -4
- package/ui/Logo.js +1 -1
- package/ui/Menu.js +2 -2
- package/ui/NewSessionCards.js +2 -2
- package/ui/PrerenderedCanvas.d.ts +1 -0
- package/ui/PrerenderedCanvas.js +6 -3
- package/ui/SanitizedHTML.js +1 -1
- package/ui/SnackbarModel.d.ts +16 -0
- package/ui/SnackbarModel.js +56 -0
- package/ui/ViewContainer.js +4 -3
- package/ui/index.js +24 -24
- package/ui/theme.js +7 -5
- package/util/Base1DViewModel.js +2 -2
- package/util/aborting.js +7 -4
- package/util/blockTypes.js +8 -11
- package/util/calculateDynamicBlocks.test.js +2 -2
- package/util/color/cssColorsLevel4.js +1 -1
- package/util/color/index.js +5 -5
- package/util/compositeMap.js +3 -11
- package/util/index.d.ts +3 -1
- package/util/index.js +75 -32
- package/util/index.test.js +2 -2
- package/util/io/RemoteFileWithRangeCache.js +3 -3
- package/util/io/index.js +1 -1
- package/util/jexl.js +4 -1
- package/util/layouts/BaseLayout.d.ts +3 -0
- package/util/layouts/GranularRectLayout.d.ts +19 -10
- package/util/layouts/GranularRectLayout.js +459 -100
- package/util/layouts/GranularRectLayout.test.js +57 -10
- package/util/layouts/MultiLayout.d.ts +1 -1
- package/util/layouts/MultiLayout.js +0 -2
- package/util/layouts/PrecomputedLayout.js +2 -1
- package/util/layouts/PrecomputedMultiLayout.js +5 -3
- package/util/layouts/SceneGraph.d.ts +3 -3
- package/util/layouts/SceneGraph.js +0 -14
- package/util/layouts/index.d.ts +7 -0
- package/util/layouts/index.js +68 -0
- package/util/mst-reflection.d.ts +3 -3
- package/util/mst-reflection.js +3 -3
- package/util/offscreenCanvasPonyfill.js +1 -1
- package/util/range.js +1 -1
- package/util/simpleFeature.js +3 -3
- package/util/stats.js +4 -4
- package/util/tracks.d.ts +30 -433
- package/util/tracks.js +72 -192
- package/util/types/index.d.ts +14 -2
- package/util/types/index.js +21 -18
- package/util/types/mst.js +6 -6
- package/assemblyManager/assemblyConfigSchemas.d.ts +0 -7
- package/value.d.ts +0 -1
- package/value.js +0 -10
package/util/tracks.d.ts
CHANGED
|
@@ -27,441 +27,38 @@ export declare function storeBlobLocation(location: PreFileLocation): import("./
|
|
|
27
27
|
blobId: string;
|
|
28
28
|
locationType: string;
|
|
29
29
|
};
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
locationType: string;
|
|
41
|
-
uri?: undefined;
|
|
42
|
-
};
|
|
43
|
-
indexType: string;
|
|
44
|
-
};
|
|
45
|
-
cramLocation?: undefined;
|
|
46
|
-
craiLocation?: undefined;
|
|
47
|
-
gffLocation?: undefined;
|
|
48
|
-
gffGzLocation?: undefined;
|
|
49
|
-
vcfLocation?: undefined;
|
|
50
|
-
vcfGzLocation?: undefined;
|
|
51
|
-
bedGzLocation?: undefined;
|
|
52
|
-
bigBedLocation?: undefined;
|
|
53
|
-
bigWigLocation?: undefined;
|
|
54
|
-
fastaLocation?: undefined;
|
|
55
|
-
faiLocation?: undefined;
|
|
56
|
-
gziLocation?: undefined;
|
|
57
|
-
twoBitLocation?: undefined;
|
|
58
|
-
rootUrlTemplate?: undefined;
|
|
59
|
-
endpoint?: undefined;
|
|
60
|
-
hicLocation?: undefined;
|
|
61
|
-
pafLocation?: undefined;
|
|
62
|
-
} | {
|
|
63
|
-
type: string;
|
|
64
|
-
cramLocation: FileLocation;
|
|
65
|
-
craiLocation: FileLocation | {
|
|
66
|
-
uri: string;
|
|
67
|
-
locationType: string;
|
|
68
|
-
localPath?: undefined;
|
|
69
|
-
} | {
|
|
70
|
-
localPath: string;
|
|
71
|
-
locationType: string;
|
|
72
|
-
uri?: undefined;
|
|
73
|
-
};
|
|
74
|
-
bamLocation?: undefined;
|
|
75
|
-
index?: undefined;
|
|
76
|
-
gffLocation?: undefined;
|
|
77
|
-
gffGzLocation?: undefined;
|
|
78
|
-
vcfLocation?: undefined;
|
|
79
|
-
vcfGzLocation?: undefined;
|
|
80
|
-
bedGzLocation?: undefined;
|
|
81
|
-
bigBedLocation?: undefined;
|
|
82
|
-
bigWigLocation?: undefined;
|
|
83
|
-
fastaLocation?: undefined;
|
|
84
|
-
faiLocation?: undefined;
|
|
85
|
-
gziLocation?: undefined;
|
|
86
|
-
twoBitLocation?: undefined;
|
|
87
|
-
rootUrlTemplate?: undefined;
|
|
88
|
-
endpoint?: undefined;
|
|
89
|
-
hicLocation?: undefined;
|
|
90
|
-
pafLocation?: undefined;
|
|
91
|
-
} | {
|
|
92
|
-
type: string;
|
|
93
|
-
gffLocation: FileLocation;
|
|
94
|
-
bamLocation?: undefined;
|
|
95
|
-
index?: undefined;
|
|
96
|
-
cramLocation?: undefined;
|
|
97
|
-
craiLocation?: undefined;
|
|
98
|
-
gffGzLocation?: undefined;
|
|
99
|
-
vcfLocation?: undefined;
|
|
100
|
-
vcfGzLocation?: undefined;
|
|
101
|
-
bedGzLocation?: undefined;
|
|
102
|
-
bigBedLocation?: undefined;
|
|
103
|
-
bigWigLocation?: undefined;
|
|
104
|
-
fastaLocation?: undefined;
|
|
105
|
-
faiLocation?: undefined;
|
|
106
|
-
gziLocation?: undefined;
|
|
107
|
-
twoBitLocation?: undefined;
|
|
108
|
-
rootUrlTemplate?: undefined;
|
|
109
|
-
endpoint?: undefined;
|
|
110
|
-
hicLocation?: undefined;
|
|
111
|
-
pafLocation?: undefined;
|
|
112
|
-
} | {
|
|
113
|
-
type: string;
|
|
114
|
-
gffGzLocation: FileLocation;
|
|
115
|
-
index: {
|
|
116
|
-
location: FileLocation | {
|
|
117
|
-
uri: string;
|
|
118
|
-
locationType: string;
|
|
119
|
-
localPath?: undefined;
|
|
120
|
-
} | {
|
|
121
|
-
localPath: string;
|
|
122
|
-
locationType: string;
|
|
123
|
-
uri?: undefined;
|
|
124
|
-
};
|
|
125
|
-
indexType: string;
|
|
126
|
-
};
|
|
127
|
-
bamLocation?: undefined;
|
|
128
|
-
cramLocation?: undefined;
|
|
129
|
-
craiLocation?: undefined;
|
|
130
|
-
gffLocation?: undefined;
|
|
131
|
-
vcfLocation?: undefined;
|
|
132
|
-
vcfGzLocation?: undefined;
|
|
133
|
-
bedGzLocation?: undefined;
|
|
134
|
-
bigBedLocation?: undefined;
|
|
135
|
-
bigWigLocation?: undefined;
|
|
136
|
-
fastaLocation?: undefined;
|
|
137
|
-
faiLocation?: undefined;
|
|
138
|
-
gziLocation?: undefined;
|
|
139
|
-
twoBitLocation?: undefined;
|
|
140
|
-
rootUrlTemplate?: undefined;
|
|
141
|
-
endpoint?: undefined;
|
|
142
|
-
hicLocation?: undefined;
|
|
143
|
-
pafLocation?: undefined;
|
|
144
|
-
} | {
|
|
145
|
-
type: string;
|
|
146
|
-
bamLocation?: undefined;
|
|
147
|
-
index?: undefined;
|
|
148
|
-
cramLocation?: undefined;
|
|
149
|
-
craiLocation?: undefined;
|
|
150
|
-
gffLocation?: undefined;
|
|
151
|
-
gffGzLocation?: undefined;
|
|
152
|
-
vcfLocation?: undefined;
|
|
153
|
-
vcfGzLocation?: undefined;
|
|
154
|
-
bedGzLocation?: undefined;
|
|
155
|
-
bigBedLocation?: undefined;
|
|
156
|
-
bigWigLocation?: undefined;
|
|
157
|
-
fastaLocation?: undefined;
|
|
158
|
-
faiLocation?: undefined;
|
|
159
|
-
gziLocation?: undefined;
|
|
160
|
-
twoBitLocation?: undefined;
|
|
161
|
-
rootUrlTemplate?: undefined;
|
|
162
|
-
endpoint?: undefined;
|
|
163
|
-
hicLocation?: undefined;
|
|
164
|
-
pafLocation?: undefined;
|
|
165
|
-
} | {
|
|
166
|
-
type: string;
|
|
167
|
-
vcfLocation: FileLocation;
|
|
168
|
-
bamLocation?: undefined;
|
|
169
|
-
index?: undefined;
|
|
170
|
-
cramLocation?: undefined;
|
|
171
|
-
craiLocation?: undefined;
|
|
172
|
-
gffLocation?: undefined;
|
|
173
|
-
gffGzLocation?: undefined;
|
|
174
|
-
vcfGzLocation?: undefined;
|
|
175
|
-
bedGzLocation?: undefined;
|
|
176
|
-
bigBedLocation?: undefined;
|
|
177
|
-
bigWigLocation?: undefined;
|
|
178
|
-
fastaLocation?: undefined;
|
|
179
|
-
faiLocation?: undefined;
|
|
180
|
-
gziLocation?: undefined;
|
|
181
|
-
twoBitLocation?: undefined;
|
|
182
|
-
rootUrlTemplate?: undefined;
|
|
183
|
-
endpoint?: undefined;
|
|
184
|
-
hicLocation?: undefined;
|
|
185
|
-
pafLocation?: undefined;
|
|
186
|
-
} | {
|
|
187
|
-
type: string;
|
|
188
|
-
vcfGzLocation: FileLocation;
|
|
189
|
-
index: {
|
|
190
|
-
location: FileLocation | {
|
|
191
|
-
uri: string;
|
|
192
|
-
locationType: string;
|
|
193
|
-
localPath?: undefined;
|
|
194
|
-
} | {
|
|
195
|
-
localPath: string;
|
|
196
|
-
locationType: string;
|
|
197
|
-
uri?: undefined;
|
|
198
|
-
};
|
|
199
|
-
indexType: string;
|
|
200
|
-
};
|
|
201
|
-
bamLocation?: undefined;
|
|
202
|
-
cramLocation?: undefined;
|
|
203
|
-
craiLocation?: undefined;
|
|
204
|
-
gffLocation?: undefined;
|
|
205
|
-
gffGzLocation?: undefined;
|
|
206
|
-
vcfLocation?: undefined;
|
|
207
|
-
bedGzLocation?: undefined;
|
|
208
|
-
bigBedLocation?: undefined;
|
|
209
|
-
bigWigLocation?: undefined;
|
|
210
|
-
fastaLocation?: undefined;
|
|
211
|
-
faiLocation?: undefined;
|
|
212
|
-
gziLocation?: undefined;
|
|
213
|
-
twoBitLocation?: undefined;
|
|
214
|
-
rootUrlTemplate?: undefined;
|
|
215
|
-
endpoint?: undefined;
|
|
216
|
-
hicLocation?: undefined;
|
|
217
|
-
pafLocation?: undefined;
|
|
218
|
-
} | {
|
|
219
|
-
type: string;
|
|
220
|
-
bedGzLocation: FileLocation;
|
|
221
|
-
index: {
|
|
222
|
-
location: FileLocation | {
|
|
223
|
-
uri: string;
|
|
224
|
-
locationType: string;
|
|
225
|
-
localPath?: undefined;
|
|
226
|
-
} | {
|
|
227
|
-
localPath: string;
|
|
228
|
-
locationType: string;
|
|
229
|
-
uri?: undefined;
|
|
230
|
-
};
|
|
231
|
-
indexType: string;
|
|
232
|
-
};
|
|
233
|
-
bamLocation?: undefined;
|
|
234
|
-
cramLocation?: undefined;
|
|
235
|
-
craiLocation?: undefined;
|
|
236
|
-
gffLocation?: undefined;
|
|
237
|
-
gffGzLocation?: undefined;
|
|
238
|
-
vcfLocation?: undefined;
|
|
239
|
-
vcfGzLocation?: undefined;
|
|
240
|
-
bigBedLocation?: undefined;
|
|
241
|
-
bigWigLocation?: undefined;
|
|
242
|
-
fastaLocation?: undefined;
|
|
243
|
-
faiLocation?: undefined;
|
|
244
|
-
gziLocation?: undefined;
|
|
245
|
-
twoBitLocation?: undefined;
|
|
246
|
-
rootUrlTemplate?: undefined;
|
|
247
|
-
endpoint?: undefined;
|
|
248
|
-
hicLocation?: undefined;
|
|
249
|
-
pafLocation?: undefined;
|
|
250
|
-
} | {
|
|
251
|
-
type: string;
|
|
252
|
-
bigBedLocation: FileLocation;
|
|
253
|
-
bamLocation?: undefined;
|
|
254
|
-
index?: undefined;
|
|
255
|
-
cramLocation?: undefined;
|
|
256
|
-
craiLocation?: undefined;
|
|
257
|
-
gffLocation?: undefined;
|
|
258
|
-
gffGzLocation?: undefined;
|
|
259
|
-
vcfLocation?: undefined;
|
|
260
|
-
vcfGzLocation?: undefined;
|
|
261
|
-
bedGzLocation?: undefined;
|
|
262
|
-
bigWigLocation?: undefined;
|
|
263
|
-
fastaLocation?: undefined;
|
|
264
|
-
faiLocation?: undefined;
|
|
265
|
-
gziLocation?: undefined;
|
|
266
|
-
twoBitLocation?: undefined;
|
|
267
|
-
rootUrlTemplate?: undefined;
|
|
268
|
-
endpoint?: undefined;
|
|
269
|
-
hicLocation?: undefined;
|
|
270
|
-
pafLocation?: undefined;
|
|
271
|
-
} | {
|
|
272
|
-
type: string;
|
|
273
|
-
bigWigLocation: FileLocation;
|
|
274
|
-
bamLocation?: undefined;
|
|
275
|
-
index?: undefined;
|
|
276
|
-
cramLocation?: undefined;
|
|
277
|
-
craiLocation?: undefined;
|
|
278
|
-
gffLocation?: undefined;
|
|
279
|
-
gffGzLocation?: undefined;
|
|
280
|
-
vcfLocation?: undefined;
|
|
281
|
-
vcfGzLocation?: undefined;
|
|
282
|
-
bedGzLocation?: undefined;
|
|
283
|
-
bigBedLocation?: undefined;
|
|
284
|
-
fastaLocation?: undefined;
|
|
285
|
-
faiLocation?: undefined;
|
|
286
|
-
gziLocation?: undefined;
|
|
287
|
-
twoBitLocation?: undefined;
|
|
288
|
-
rootUrlTemplate?: undefined;
|
|
289
|
-
endpoint?: undefined;
|
|
290
|
-
hicLocation?: undefined;
|
|
291
|
-
pafLocation?: undefined;
|
|
292
|
-
} | {
|
|
293
|
-
type: string;
|
|
294
|
-
fastaLocation: FileLocation;
|
|
295
|
-
faiLocation: FileLocation | {
|
|
296
|
-
uri: string;
|
|
297
|
-
locationType: string;
|
|
298
|
-
localPath?: undefined;
|
|
299
|
-
} | {
|
|
300
|
-
localPath: string;
|
|
301
|
-
locationType: string;
|
|
302
|
-
uri?: undefined;
|
|
303
|
-
};
|
|
304
|
-
bamLocation?: undefined;
|
|
305
|
-
index?: undefined;
|
|
306
|
-
cramLocation?: undefined;
|
|
307
|
-
craiLocation?: undefined;
|
|
308
|
-
gffLocation?: undefined;
|
|
309
|
-
gffGzLocation?: undefined;
|
|
310
|
-
vcfLocation?: undefined;
|
|
311
|
-
vcfGzLocation?: undefined;
|
|
312
|
-
bedGzLocation?: undefined;
|
|
313
|
-
bigBedLocation?: undefined;
|
|
314
|
-
bigWigLocation?: undefined;
|
|
315
|
-
gziLocation?: undefined;
|
|
316
|
-
twoBitLocation?: undefined;
|
|
317
|
-
rootUrlTemplate?: undefined;
|
|
318
|
-
endpoint?: undefined;
|
|
319
|
-
hicLocation?: undefined;
|
|
320
|
-
pafLocation?: undefined;
|
|
321
|
-
} | {
|
|
322
|
-
type: string;
|
|
323
|
-
fastaLocation: FileLocation;
|
|
324
|
-
faiLocation: import("./types").BlobLocation | {
|
|
325
|
-
uri: string;
|
|
326
|
-
locationType: string;
|
|
327
|
-
localPath?: undefined;
|
|
328
|
-
} | {
|
|
329
|
-
localPath: string;
|
|
330
|
-
locationType: string;
|
|
331
|
-
uri?: undefined;
|
|
332
|
-
};
|
|
333
|
-
gziLocation: import("./types").BlobLocation | {
|
|
334
|
-
uri: string;
|
|
335
|
-
locationType: string;
|
|
336
|
-
localPath?: undefined;
|
|
337
|
-
} | {
|
|
338
|
-
localPath: string;
|
|
339
|
-
locationType: string;
|
|
340
|
-
uri?: undefined;
|
|
341
|
-
};
|
|
342
|
-
bamLocation?: undefined;
|
|
343
|
-
index?: undefined;
|
|
344
|
-
cramLocation?: undefined;
|
|
345
|
-
craiLocation?: undefined;
|
|
346
|
-
gffLocation?: undefined;
|
|
347
|
-
gffGzLocation?: undefined;
|
|
348
|
-
vcfLocation?: undefined;
|
|
349
|
-
vcfGzLocation?: undefined;
|
|
350
|
-
bedGzLocation?: undefined;
|
|
351
|
-
bigBedLocation?: undefined;
|
|
352
|
-
bigWigLocation?: undefined;
|
|
353
|
-
twoBitLocation?: undefined;
|
|
354
|
-
rootUrlTemplate?: undefined;
|
|
355
|
-
endpoint?: undefined;
|
|
356
|
-
hicLocation?: undefined;
|
|
357
|
-
pafLocation?: undefined;
|
|
358
|
-
} | {
|
|
359
|
-
type: string;
|
|
360
|
-
twoBitLocation: FileLocation;
|
|
361
|
-
bamLocation?: undefined;
|
|
362
|
-
index?: undefined;
|
|
363
|
-
cramLocation?: undefined;
|
|
364
|
-
craiLocation?: undefined;
|
|
365
|
-
gffLocation?: undefined;
|
|
366
|
-
gffGzLocation?: undefined;
|
|
367
|
-
vcfLocation?: undefined;
|
|
368
|
-
vcfGzLocation?: undefined;
|
|
369
|
-
bedGzLocation?: undefined;
|
|
370
|
-
bigBedLocation?: undefined;
|
|
371
|
-
bigWigLocation?: undefined;
|
|
372
|
-
fastaLocation?: undefined;
|
|
373
|
-
faiLocation?: undefined;
|
|
374
|
-
gziLocation?: undefined;
|
|
375
|
-
rootUrlTemplate?: undefined;
|
|
376
|
-
endpoint?: undefined;
|
|
377
|
-
hicLocation?: undefined;
|
|
378
|
-
pafLocation?: undefined;
|
|
379
|
-
} | {
|
|
380
|
-
type: string;
|
|
381
|
-
rootUrlTemplate: FileLocation;
|
|
382
|
-
bamLocation?: undefined;
|
|
383
|
-
index?: undefined;
|
|
384
|
-
cramLocation?: undefined;
|
|
385
|
-
craiLocation?: undefined;
|
|
386
|
-
gffLocation?: undefined;
|
|
387
|
-
gffGzLocation?: undefined;
|
|
388
|
-
vcfLocation?: undefined;
|
|
389
|
-
vcfGzLocation?: undefined;
|
|
390
|
-
bedGzLocation?: undefined;
|
|
391
|
-
bigBedLocation?: undefined;
|
|
392
|
-
bigWigLocation?: undefined;
|
|
393
|
-
fastaLocation?: undefined;
|
|
394
|
-
faiLocation?: undefined;
|
|
395
|
-
gziLocation?: undefined;
|
|
396
|
-
twoBitLocation?: undefined;
|
|
397
|
-
endpoint?: undefined;
|
|
398
|
-
hicLocation?: undefined;
|
|
399
|
-
pafLocation?: undefined;
|
|
400
|
-
} | {
|
|
401
|
-
type: string;
|
|
402
|
-
endpoint: FileLocation;
|
|
403
|
-
bamLocation?: undefined;
|
|
404
|
-
index?: undefined;
|
|
405
|
-
cramLocation?: undefined;
|
|
406
|
-
craiLocation?: undefined;
|
|
407
|
-
gffLocation?: undefined;
|
|
408
|
-
gffGzLocation?: undefined;
|
|
409
|
-
vcfLocation?: undefined;
|
|
410
|
-
vcfGzLocation?: undefined;
|
|
411
|
-
bedGzLocation?: undefined;
|
|
412
|
-
bigBedLocation?: undefined;
|
|
413
|
-
bigWigLocation?: undefined;
|
|
414
|
-
fastaLocation?: undefined;
|
|
415
|
-
faiLocation?: undefined;
|
|
416
|
-
gziLocation?: undefined;
|
|
417
|
-
twoBitLocation?: undefined;
|
|
418
|
-
rootUrlTemplate?: undefined;
|
|
419
|
-
hicLocation?: undefined;
|
|
420
|
-
pafLocation?: undefined;
|
|
421
|
-
} | {
|
|
422
|
-
type: string;
|
|
423
|
-
hicLocation: FileLocation;
|
|
424
|
-
bamLocation?: undefined;
|
|
425
|
-
index?: undefined;
|
|
426
|
-
cramLocation?: undefined;
|
|
427
|
-
craiLocation?: undefined;
|
|
428
|
-
gffLocation?: undefined;
|
|
429
|
-
gffGzLocation?: undefined;
|
|
430
|
-
vcfLocation?: undefined;
|
|
431
|
-
vcfGzLocation?: undefined;
|
|
432
|
-
bedGzLocation?: undefined;
|
|
433
|
-
bigBedLocation?: undefined;
|
|
434
|
-
bigWigLocation?: undefined;
|
|
435
|
-
fastaLocation?: undefined;
|
|
436
|
-
faiLocation?: undefined;
|
|
437
|
-
gziLocation?: undefined;
|
|
438
|
-
twoBitLocation?: undefined;
|
|
439
|
-
rootUrlTemplate?: undefined;
|
|
440
|
-
endpoint?: undefined;
|
|
441
|
-
pafLocation?: undefined;
|
|
30
|
+
/**
|
|
31
|
+
* creates a new location from the provided location including the appropriate suffix and location type
|
|
32
|
+
* @param location - the FileLocation
|
|
33
|
+
* @param suffix - the file suffix (e.g. .bam)
|
|
34
|
+
* @returns the constructed location object from the provided prameters
|
|
35
|
+
*/
|
|
36
|
+
export declare function makeIndex(location: FileLocation, suffix: string): import("./types").BlobLocation | {
|
|
37
|
+
uri: string;
|
|
38
|
+
locationType: string;
|
|
39
|
+
localPath?: undefined;
|
|
442
40
|
} | {
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
index?: undefined;
|
|
447
|
-
cramLocation?: undefined;
|
|
448
|
-
craiLocation?: undefined;
|
|
449
|
-
gffLocation?: undefined;
|
|
450
|
-
gffGzLocation?: undefined;
|
|
451
|
-
vcfLocation?: undefined;
|
|
452
|
-
vcfGzLocation?: undefined;
|
|
453
|
-
bedGzLocation?: undefined;
|
|
454
|
-
bigBedLocation?: undefined;
|
|
455
|
-
bigWigLocation?: undefined;
|
|
456
|
-
fastaLocation?: undefined;
|
|
457
|
-
faiLocation?: undefined;
|
|
458
|
-
gziLocation?: undefined;
|
|
459
|
-
twoBitLocation?: undefined;
|
|
460
|
-
rootUrlTemplate?: undefined;
|
|
461
|
-
endpoint?: undefined;
|
|
462
|
-
hicLocation?: undefined;
|
|
41
|
+
localPath: string;
|
|
42
|
+
locationType: string;
|
|
43
|
+
uri?: undefined;
|
|
463
44
|
};
|
|
464
|
-
|
|
45
|
+
/**
|
|
46
|
+
* constructs a potential index file (with suffix) from the provided file name
|
|
47
|
+
* @param name - the name of the index file
|
|
48
|
+
* @param typeA - one option of a potential two file suffix (e.g. CSI, BAI)
|
|
49
|
+
* @param typeB - the second option of a potential two file suffix (e.g. CSI, BAI)
|
|
50
|
+
* @returns a likely name of the index file for a given filename
|
|
51
|
+
*/
|
|
52
|
+
export declare function makeIndexType(name: string | undefined, typeA: string, typeB: string): string;
|
|
53
|
+
export interface AdapterConfig {
|
|
54
|
+
type: string;
|
|
55
|
+
[key: string]: unknown;
|
|
56
|
+
}
|
|
57
|
+
export declare type AdapterGuesser = (file: FileLocation, index?: FileLocation, adapterHint?: string) => AdapterConfig | undefined;
|
|
58
|
+
export declare type TrackTypeGuesser = (adapterName: string) => string | undefined;
|
|
59
|
+
export declare function getFileName(track: FileLocation): string;
|
|
60
|
+
export declare function guessAdapter(file: FileLocation, index: FileLocation | undefined, adapterHint?: string, model?: IAnyStateTreeNode): AdapterConfig;
|
|
61
|
+
export declare function guessTrackType(adapterType: string, model?: IAnyStateTreeNode): string;
|
|
465
62
|
export declare function generateUnsupportedTrackConf(trackName: string, trackUrl: string, categories: string[] | undefined): {
|
|
466
63
|
type: string;
|
|
467
64
|
name: string;
|