@genome-spy/core 0.31.2 → 0.32.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/index.es.js +18480 -7056
- package/dist/index.js +237 -50
- package/dist/schema.json +147 -23
- package/package.json +7 -2
- package/LICENSE +0 -21
package/dist/schema.json
CHANGED
|
@@ -306,6 +306,36 @@
|
|
|
306
306
|
],
|
|
307
307
|
"type": "object"
|
|
308
308
|
},
|
|
309
|
+
"BamData": {
|
|
310
|
+
"additionalProperties": false,
|
|
311
|
+
"properties": {
|
|
312
|
+
"channel": {
|
|
313
|
+
"$ref": "#/definitions/PrimaryPositionalChannel",
|
|
314
|
+
"description": "Which channel's scale domain to monitor.\n\n__Default value:__ `\"x\"`"
|
|
315
|
+
},
|
|
316
|
+
"indexUrl": {
|
|
317
|
+
"description": "URL of the index file.\n\n__Default value:__ `url` + `\".bai\"`.",
|
|
318
|
+
"type": "string"
|
|
319
|
+
},
|
|
320
|
+
"type": {
|
|
321
|
+
"const": "bam",
|
|
322
|
+
"type": "string"
|
|
323
|
+
},
|
|
324
|
+
"url": {
|
|
325
|
+
"description": "URL of the BigBed file.",
|
|
326
|
+
"type": "string"
|
|
327
|
+
},
|
|
328
|
+
"windowSize": {
|
|
329
|
+
"description": "Size of each chunk when fetching the BigBed file. Data is only fetched when the length of the visible domain smaller than the window size.\n\n__Default value:__ `10000`",
|
|
330
|
+
"type": "number"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"required": [
|
|
334
|
+
"type",
|
|
335
|
+
"url"
|
|
336
|
+
],
|
|
337
|
+
"type": "object"
|
|
338
|
+
},
|
|
309
339
|
"Baseline": {
|
|
310
340
|
"enum": [
|
|
311
341
|
"top",
|
|
@@ -315,6 +345,58 @@
|
|
|
315
345
|
],
|
|
316
346
|
"type": "string"
|
|
317
347
|
},
|
|
348
|
+
"BigBedData": {
|
|
349
|
+
"additionalProperties": false,
|
|
350
|
+
"properties": {
|
|
351
|
+
"channel": {
|
|
352
|
+
"$ref": "#/definitions/PrimaryPositionalChannel",
|
|
353
|
+
"description": "Which channel's scale domain to monitor.\n\n__Default value:__ `\"x\"`"
|
|
354
|
+
},
|
|
355
|
+
"type": {
|
|
356
|
+
"const": "bigbed",
|
|
357
|
+
"type": "string"
|
|
358
|
+
},
|
|
359
|
+
"url": {
|
|
360
|
+
"description": "URL of the BigBed file.",
|
|
361
|
+
"type": "string"
|
|
362
|
+
},
|
|
363
|
+
"windowSize": {
|
|
364
|
+
"description": "Size of each chunk when fetching the BigBed file. Data is only fetched when the length of the visible domain smaller than the window size.\n\n__Default value:__ `1000000`",
|
|
365
|
+
"type": "number"
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
"required": [
|
|
369
|
+
"type",
|
|
370
|
+
"url"
|
|
371
|
+
],
|
|
372
|
+
"type": "object"
|
|
373
|
+
},
|
|
374
|
+
"BigWigData": {
|
|
375
|
+
"additionalProperties": false,
|
|
376
|
+
"properties": {
|
|
377
|
+
"channel": {
|
|
378
|
+
"$ref": "#/definitions/PrimaryPositionalChannel",
|
|
379
|
+
"description": "Which channel's scale domain to monitor.\n\n__Default value:__ `\"x\"`"
|
|
380
|
+
},
|
|
381
|
+
"pixelsPerBin": {
|
|
382
|
+
"description": "The approximate minimum width of each data bin, in pixels.\n\n__Default value:__ `2`",
|
|
383
|
+
"type": "number"
|
|
384
|
+
},
|
|
385
|
+
"type": {
|
|
386
|
+
"const": "bigwig",
|
|
387
|
+
"type": "string"
|
|
388
|
+
},
|
|
389
|
+
"url": {
|
|
390
|
+
"description": "URL of the BigWig file.",
|
|
391
|
+
"type": "string"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
"required": [
|
|
395
|
+
"type",
|
|
396
|
+
"url"
|
|
397
|
+
],
|
|
398
|
+
"type": "object"
|
|
399
|
+
},
|
|
318
400
|
"Channel": {
|
|
319
401
|
"anyOf": [
|
|
320
402
|
{
|
|
@@ -827,7 +909,7 @@
|
|
|
827
909
|
"$ref": "#/definitions/DynamicCallbackData"
|
|
828
910
|
},
|
|
829
911
|
{
|
|
830
|
-
"$ref": "#/definitions/
|
|
912
|
+
"$ref": "#/definitions/LazyData"
|
|
831
913
|
}
|
|
832
914
|
]
|
|
833
915
|
},
|
|
@@ -883,28 +965,6 @@
|
|
|
883
965
|
],
|
|
884
966
|
"type": "object"
|
|
885
967
|
},
|
|
886
|
-
"DynamicData": {
|
|
887
|
-
"additionalProperties": false,
|
|
888
|
-
"properties": {
|
|
889
|
-
"dynamic": {
|
|
890
|
-
"$ref": "#/definitions/DynamicDataParams"
|
|
891
|
-
}
|
|
892
|
-
},
|
|
893
|
-
"required": [
|
|
894
|
-
"dynamic"
|
|
895
|
-
],
|
|
896
|
-
"type": "object"
|
|
897
|
-
},
|
|
898
|
-
"DynamicDataParams": {
|
|
899
|
-
"anyOf": [
|
|
900
|
-
{
|
|
901
|
-
"$ref": "#/definitions/AxisTicksData"
|
|
902
|
-
},
|
|
903
|
-
{
|
|
904
|
-
"$ref": "#/definitions/AxisGenomeData"
|
|
905
|
-
}
|
|
906
|
-
]
|
|
907
|
-
},
|
|
908
968
|
"DynamicOpacity": {
|
|
909
969
|
"additionalProperties": false,
|
|
910
970
|
"description": "DynamicOpacity specifies a zoom-dependent behavior for view opacity. The opacity is interpolated between the specified stops.",
|
|
@@ -1538,6 +1598,36 @@
|
|
|
1538
1598
|
],
|
|
1539
1599
|
"type": "object"
|
|
1540
1600
|
},
|
|
1601
|
+
"IndexedFastaData": {
|
|
1602
|
+
"additionalProperties": false,
|
|
1603
|
+
"properties": {
|
|
1604
|
+
"channel": {
|
|
1605
|
+
"$ref": "#/definitions/PrimaryPositionalChannel",
|
|
1606
|
+
"description": "Which channel's scale domain to monitor.\n\n__Default value:__ `\"x\"`"
|
|
1607
|
+
},
|
|
1608
|
+
"indexUrl": {
|
|
1609
|
+
"description": "URL of the index file.\n\n__Default value:__ `url` + `\".fai\"`.",
|
|
1610
|
+
"type": "string"
|
|
1611
|
+
},
|
|
1612
|
+
"type": {
|
|
1613
|
+
"const": "indexedFasta",
|
|
1614
|
+
"type": "string"
|
|
1615
|
+
},
|
|
1616
|
+
"url": {
|
|
1617
|
+
"description": "URL of the fasta file.",
|
|
1618
|
+
"type": "string"
|
|
1619
|
+
},
|
|
1620
|
+
"windowSize": {
|
|
1621
|
+
"description": "Size of each chunk when fetching the fasta file. Data is only fetched when the length of the visible domain smaller than the window size.\n\n__Default value:__ `7000`",
|
|
1622
|
+
"type": "number"
|
|
1623
|
+
}
|
|
1624
|
+
},
|
|
1625
|
+
"required": [
|
|
1626
|
+
"type",
|
|
1627
|
+
"url"
|
|
1628
|
+
],
|
|
1629
|
+
"type": "object"
|
|
1630
|
+
},
|
|
1541
1631
|
"InlineData": {
|
|
1542
1632
|
"additionalProperties": false,
|
|
1543
1633
|
"properties": {
|
|
@@ -1777,6 +1867,40 @@
|
|
|
1777
1867
|
],
|
|
1778
1868
|
"type": "object"
|
|
1779
1869
|
},
|
|
1870
|
+
"LazyData": {
|
|
1871
|
+
"additionalProperties": false,
|
|
1872
|
+
"properties": {
|
|
1873
|
+
"lazy": {
|
|
1874
|
+
"$ref": "#/definitions/LazyDataParams"
|
|
1875
|
+
}
|
|
1876
|
+
},
|
|
1877
|
+
"required": [
|
|
1878
|
+
"lazy"
|
|
1879
|
+
],
|
|
1880
|
+
"type": "object"
|
|
1881
|
+
},
|
|
1882
|
+
"LazyDataParams": {
|
|
1883
|
+
"anyOf": [
|
|
1884
|
+
{
|
|
1885
|
+
"$ref": "#/definitions/AxisTicksData"
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"$ref": "#/definitions/AxisGenomeData"
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"$ref": "#/definitions/IndexedFastaData"
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"$ref": "#/definitions/BigWigData"
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
"$ref": "#/definitions/BigBedData"
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
"$ref": "#/definitions/BamData"
|
|
1901
|
+
}
|
|
1902
|
+
]
|
|
1903
|
+
},
|
|
1780
1904
|
"LinearizeGenomicCoordinateParams": {
|
|
1781
1905
|
"additionalProperties": false,
|
|
1782
1906
|
"properties": {
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"contributors": [],
|
|
9
9
|
"license": "MIT",
|
|
10
|
-
"version": "0.
|
|
10
|
+
"version": "0.32.0",
|
|
11
11
|
"main": "dist/index.js",
|
|
12
12
|
"module": "dist/index.es.js",
|
|
13
13
|
"exports": {
|
|
@@ -37,12 +37,17 @@
|
|
|
37
37
|
"build:schema": "mkdir -p dist && ts-json-schema-generator --path 'src/spec/*.ts' --type RootSpec > dist/schema.json"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
+
"@gmod/bam": "^1.1.18",
|
|
41
|
+
"@gmod/bbi": "^4.0.0",
|
|
42
|
+
"@gmod/bed": "^2.1.2",
|
|
43
|
+
"@gmod/indexedfasta": "^2.0.4",
|
|
40
44
|
"@types/d3-array": "^3.0.2",
|
|
41
45
|
"@types/d3-dsv": "^3.0.0",
|
|
42
46
|
"@types/d3-ease": "^3.0.0",
|
|
43
47
|
"@types/d3-format": "^3.0.1",
|
|
44
48
|
"@types/d3-interpolate": "^3.0.1",
|
|
45
49
|
"@types/d3-scale": "^4.0.2",
|
|
50
|
+
"buffer": "^6.0.3",
|
|
46
51
|
"d3-array": "^3.1.1",
|
|
47
52
|
"d3-color": "^3.0.1",
|
|
48
53
|
"d3-ease": "^3.0.1",
|
|
@@ -56,5 +61,5 @@
|
|
|
56
61
|
"vega-scale": "^7.1.1",
|
|
57
62
|
"vega-util": "^1.16.0"
|
|
58
63
|
},
|
|
59
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "09fe8c737a955ef4351be6f4c6a5d1c18c8be237"
|
|
60
65
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2018-2023 Kari Lavikka
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|