@jbrowse/plugin-bed 5.0.0-beta.1 → 5.0.0-beta.2

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.
@@ -16,6 +16,11 @@ export declare function normalizeSnapshot(snap: Record<string, unknown>): Record
16
16
  * ```
17
17
  */
18
18
  declare const BedTabixAdapter: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
19
+ readonly densityAdapter: {
20
+ readonly type: 'frozen';
21
+ readonly defaultValue: null;
22
+ readonly description: 'optional quantitative sub-adapter (e.g. a BigWigAdapter over a features-per-bin bigWig) drawn as a density band where the region is too large to fetch features; null disables it';
23
+ };
19
24
  /**
20
25
  * #slot
21
26
  * location of the bgzip-compressed BED, sorted by position. Must be bgzip
@@ -1,4 +1,5 @@
1
1
  import { ConfigurationSchema, expandTabixShorthand, tabixIndexFields, } from '@jbrowse/core/configuration';
2
+ import { densityAdapterConfigSchemaFields } from '@jbrowse/core/data_adapters/BaseAdapter';
2
3
  export function normalizeSnapshot(snap) {
3
4
  return expandTabixShorthand(snap, 'bedGzLocation');
4
5
  }
@@ -63,6 +64,7 @@ const BedTabixAdapter = ConfigurationSchema('BedTabixAdapter', {
63
64
  description: 'Disable the heuristic that auto-detects BED12 features as gene/transcript structures. Useful for files that have BED12-like structure but are not genes (e.g. tandem duplications)',
64
65
  defaultValue: false,
65
66
  },
67
+ ...densityAdapterConfigSchemaFields,
66
68
  }, {
67
69
  explicitlyTyped: true,
68
70
  /**
@@ -14,6 +14,11 @@ export declare function normalizeSnapshot(snap: Record<string, unknown>): Record
14
14
  * ```
15
15
  */
16
16
  declare const BigBedAdapter: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
17
+ readonly densityAdapter: {
18
+ readonly type: 'frozen';
19
+ readonly defaultValue: null;
20
+ readonly description: 'optional quantitative sub-adapter (e.g. a BigWigAdapter over a features-per-bin bigWig) drawn as a density band where the region is too large to fetch features; null disables it';
21
+ };
17
22
  /**
18
23
  * #slot
19
24
  * location of the BigBed file. It carries its own index and summary zoom
@@ -1,4 +1,5 @@
1
1
  import { ConfigurationSchema } from '@jbrowse/core/configuration';
2
+ import { densityAdapterConfigSchemaFields } from '@jbrowse/core/data_adapters/BaseAdapter';
2
3
  export function normalizeSnapshot(snap) {
3
4
  return snap.uri
4
5
  ? {
@@ -60,6 +61,7 @@ const BigBedAdapter = ConfigurationSchema('BigBedAdapter', {
60
61
  description: 'Disable the heuristic that auto-detects BED12 features as gene/transcript structures. Useful for files that have BED12-like structure but are not genes (e.g. tandem duplications)',
61
62
  defaultValue: false,
62
63
  },
64
+ ...densityAdapterConfigSchemaFields,
63
65
  }, {
64
66
  explicitlyTyped: true,
65
67
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-bed",
3
- "version": "5.0.0-beta.1",
3
+ "version": "5.0.0-beta.2",
4
4
  "type": "module",
5
5
  "description": "JBrowse 2 bed adapters, tracks, etc.",
6
6
  "keywords": [
@@ -27,7 +27,7 @@
27
27
  "@jbrowse/mobx-state-tree": "^6.5.1",
28
28
  "mobx": "^7.0.3",
29
29
  "rxjs": "^7.8.2",
30
- "@jbrowse/core": "^5.0.0-beta.1"
30
+ "@jbrowse/core": "^5.0.0-beta.2"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"