@genome-spy/core 0.34.0 → 0.35.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/schema.json CHANGED
@@ -1253,6 +1253,52 @@
1253
1253
  ],
1254
1254
  "type": "object"
1255
1255
  },
1256
+ "FlattenParams": {
1257
+ "additionalProperties": false,
1258
+ "properties": {
1259
+ "as": {
1260
+ "anyOf": [
1261
+ {
1262
+ "items": {
1263
+ "type": "string"
1264
+ },
1265
+ "type": "array"
1266
+ },
1267
+ {
1268
+ "type": "string"
1269
+ }
1270
+ ],
1271
+ "description": "The output field name(s) for the flattened field.\n\n**Default:** the input fields."
1272
+ },
1273
+ "fields": {
1274
+ "anyOf": [
1275
+ {
1276
+ "items": {
1277
+ "$ref": "#/definitions/Field"
1278
+ },
1279
+ "type": "array"
1280
+ },
1281
+ {
1282
+ "$ref": "#/definitions/Field"
1283
+ }
1284
+ ],
1285
+ "description": "The field(s) to flatten. If no field is defined, the data object itself is treated as an array to be flattened."
1286
+ },
1287
+ "index": {
1288
+ "description": "The output field name for the zero-based index of the array values. If unspecified, an index field is not added.",
1289
+ "type": "string"
1290
+ },
1291
+ "type": {
1292
+ "const": "flatten",
1293
+ "description": "The type of the transform to be applied",
1294
+ "type": "string"
1295
+ }
1296
+ },
1297
+ "required": [
1298
+ "type"
1299
+ ],
1300
+ "type": "object"
1301
+ },
1256
1302
  "FlattenSequenceParams": {
1257
1303
  "additionalProperties": false,
1258
1304
  "properties": {
@@ -1373,6 +1419,40 @@
1373
1419
  ],
1374
1420
  "type": "object"
1375
1421
  },
1422
+ "Gff3Data": {
1423
+ "additionalProperties": false,
1424
+ "properties": {
1425
+ "channel": {
1426
+ "$ref": "#/definitions/PrimaryPositionalChannel",
1427
+ "description": "Which channel's scale domain to monitor.\n\n__Default value:__ `\"x\"`"
1428
+ },
1429
+ "debounceDomainChange": {
1430
+ "description": "The debounce time for domain changes, in milliseconds. Debouncing prevents data fetches while the user is still panning around.\n\n__Default value:__ `200`",
1431
+ "type": "number"
1432
+ },
1433
+ "indexUrl": {
1434
+ "description": "Url of the tabix index file.\n\n__Default value:__ `url` + `\".tbi\"`.",
1435
+ "type": "string"
1436
+ },
1437
+ "type": {
1438
+ "const": "gff3",
1439
+ "type": "string"
1440
+ },
1441
+ "url": {
1442
+ "description": "Url of the bgzip compressed file.",
1443
+ "type": "string"
1444
+ },
1445
+ "windowSize": {
1446
+ "description": "Size of each chunk when fetching the Tabix file. Data is only fetched when the length of the visible domain smaller than the window size.\n\n__Default value:__ `30000000`",
1447
+ "type": "number"
1448
+ }
1449
+ },
1450
+ "required": [
1451
+ "type",
1452
+ "url"
1453
+ ],
1454
+ "type": "object"
1455
+ },
1376
1456
  "HConcatSpec": {
1377
1457
  "additionalProperties": false,
1378
1458
  "properties": {
@@ -1878,6 +1958,9 @@
1878
1958
  },
1879
1959
  {
1880
1960
  "$ref": "#/definitions/BamData"
1961
+ },
1962
+ {
1963
+ "$ref": "#/definitions/Gff3Data"
1881
1964
  }
1882
1965
  ]
1883
1966
  },
@@ -5025,6 +5108,9 @@
5025
5108
  {
5026
5109
  "$ref": "#/definitions/FilterScoredLabelsParams"
5027
5110
  },
5111
+ {
5112
+ "$ref": "#/definitions/FlattenParams"
5113
+ },
5028
5114
  {
5029
5115
  "$ref": "#/definitions/FlattenCompressedExonsParams"
5030
5116
  },
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "contributors": [],
9
9
  "license": "MIT",
10
- "version": "0.34.0",
10
+ "version": "0.35.0",
11
11
  "main": "dist/index.js",
12
12
  "module": "dist/index.es.js",
13
13
  "exports": {
@@ -39,7 +39,9 @@
39
39
  "@gmod/bam": "^1.1.18",
40
40
  "@gmod/bbi": "^4.0.0",
41
41
  "@gmod/bed": "^2.1.2",
42
+ "@gmod/gff": "^1.3.0",
42
43
  "@gmod/indexedfasta": "^2.0.4",
44
+ "@gmod/tabix": "^1.5.10",
43
45
  "@types/d3-array": "^3.0.2",
44
46
  "@types/d3-dsv": "^3.0.0",
45
47
  "@types/d3-ease": "^3.0.0",
@@ -51,6 +53,7 @@
51
53
  "d3-color": "^3.0.1",
52
54
  "d3-ease": "^3.0.1",
53
55
  "d3-format": "^3.0.1",
56
+ "events": "^3.3.0",
54
57
  "flatqueue": "^2.0.3",
55
58
  "internmap": "^2.0.3",
56
59
  "lit-html": "^2.4.0",
@@ -60,5 +63,5 @@
60
63
  "vega-scale": "^7.1.1",
61
64
  "vega-util": "^1.16.0"
62
65
  },
63
- "gitHead": "98fa42af4321cdf388facd721812325533f1d57b"
66
+ "gitHead": "b6431429a95053a55ca1223ace74a83b4b6c55f5"
64
67
  }