@jbrowse/plugin-wiggle 2.1.7 → 2.2.1
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/BigWigAdapter/configSchema.d.ts +2 -2
- package/dist/BigWigAdapter/configSchema.js +12 -1
- package/dist/BigWigAdapter/configSchema.js.map +1 -1
- package/dist/DensityRenderer/configSchema.js +11 -1
- package/dist/DensityRenderer/configSchema.js.map +1 -1
- package/dist/LinePlotRenderer/configSchema.js +14 -1
- package/dist/LinePlotRenderer/configSchema.js.map +1 -1
- package/dist/LinearWiggleDisplay/components/Tooltip.d.ts +1 -1
- package/dist/LinearWiggleDisplay/models/configSchema.js +38 -1
- package/dist/LinearWiggleDisplay/models/configSchema.js.map +1 -1
- package/dist/LinearWiggleDisplay/models/model.d.ts +203 -10
- package/dist/LinearWiggleDisplay/models/model.js +588 -408
- package/dist/LinearWiggleDisplay/models/model.js.map +1 -1
- package/dist/MultiDensityRenderer/configSchema.js +11 -1
- package/dist/MultiDensityRenderer/configSchema.js.map +1 -1
- package/dist/MultiLineRenderer/configSchema.js +17 -1
- package/dist/MultiLineRenderer/configSchema.js.map +1 -1
- package/dist/MultiLinearWiggleDisplay/components/Tooltip.d.ts +1 -1
- package/dist/MultiLinearWiggleDisplay/models/configSchema.js +38 -1
- package/dist/MultiLinearWiggleDisplay/models/configSchema.js.map +1 -1
- package/dist/MultiLinearWiggleDisplay/models/model.d.ts +3 -3
- package/dist/MultiQuantitativeTrack/configSchema.d.ts +3 -0
- package/dist/MultiQuantitativeTrack/configSchema.js +18 -0
- package/dist/MultiQuantitativeTrack/configSchema.js.map +1 -0
- package/dist/MultiQuantitativeTrack/index.js +2 -2
- package/dist/MultiQuantitativeTrack/index.js.map +1 -1
- package/dist/MultiRowLineRenderer/configSchema.js +17 -1
- package/dist/MultiRowLineRenderer/configSchema.js.map +1 -1
- package/dist/MultiRowXYPlotRenderer/configSchema.js +23 -1
- package/dist/MultiRowXYPlotRenderer/configSchema.js.map +1 -1
- package/dist/MultiWiggleAdapter/configSchema.d.ts +2 -2
- package/dist/MultiWiggleAdapter/configSchema.js +14 -1
- package/dist/MultiWiggleAdapter/configSchema.js.map +1 -1
- package/dist/MultiXYPlotRenderer/configSchema.js +23 -1
- package/dist/MultiXYPlotRenderer/configSchema.js.map +1 -1
- package/dist/QuantitativeTrack/configSchema.d.ts +3 -0
- package/dist/QuantitativeTrack/configSchema.js +18 -0
- package/dist/QuantitativeTrack/configSchema.js.map +1 -0
- package/dist/QuantitativeTrack/index.js +2 -2
- package/dist/QuantitativeTrack/index.js.map +1 -1
- package/dist/Tooltip.d.ts +2 -2
- package/dist/WiggleBaseRenderer.d.ts +4 -0
- package/dist/XYPlotRenderer/configSchema.js +23 -1
- package/dist/XYPlotRenderer/configSchema.js.map +1 -1
- package/dist/configSchema.d.ts +2 -2
- package/dist/configSchema.js +25 -1
- package/dist/configSchema.js.map +1 -1
- package/dist/drawxy.js +4 -4
- package/dist/drawxy.js.map +1 -1
- package/dist/index.d.ts +3 -307
- package/esm/BigWigAdapter/configSchema.d.ts +2 -2
- package/esm/BigWigAdapter/configSchema.js +12 -1
- package/esm/BigWigAdapter/configSchema.js.map +1 -1
- package/esm/DensityRenderer/configSchema.js +12 -2
- package/esm/DensityRenderer/configSchema.js.map +1 -1
- package/esm/LinePlotRenderer/configSchema.js +15 -2
- package/esm/LinePlotRenderer/configSchema.js.map +1 -1
- package/esm/LinearWiggleDisplay/components/Tooltip.d.ts +1 -1
- package/esm/LinearWiggleDisplay/models/configSchema.js +38 -1
- package/esm/LinearWiggleDisplay/models/configSchema.js.map +1 -1
- package/esm/LinearWiggleDisplay/models/model.d.ts +203 -10
- package/esm/LinearWiggleDisplay/models/model.js +588 -408
- package/esm/LinearWiggleDisplay/models/model.js.map +1 -1
- package/esm/MultiDensityRenderer/configSchema.js +12 -2
- package/esm/MultiDensityRenderer/configSchema.js.map +1 -1
- package/esm/MultiLineRenderer/configSchema.js +18 -2
- package/esm/MultiLineRenderer/configSchema.js.map +1 -1
- package/esm/MultiLinearWiggleDisplay/components/Tooltip.d.ts +1 -1
- package/esm/MultiLinearWiggleDisplay/models/configSchema.js +38 -1
- package/esm/MultiLinearWiggleDisplay/models/configSchema.js.map +1 -1
- package/esm/MultiLinearWiggleDisplay/models/model.d.ts +3 -3
- package/esm/MultiQuantitativeTrack/configSchema.d.ts +3 -0
- package/esm/MultiQuantitativeTrack/configSchema.js +16 -0
- package/esm/MultiQuantitativeTrack/configSchema.js.map +1 -0
- package/esm/MultiQuantitativeTrack/index.js +3 -3
- package/esm/MultiQuantitativeTrack/index.js.map +1 -1
- package/esm/MultiRowLineRenderer/configSchema.js +18 -2
- package/esm/MultiRowLineRenderer/configSchema.js.map +1 -1
- package/esm/MultiRowXYPlotRenderer/configSchema.js +24 -2
- package/esm/MultiRowXYPlotRenderer/configSchema.js.map +1 -1
- package/esm/MultiWiggleAdapter/configSchema.d.ts +2 -2
- package/esm/MultiWiggleAdapter/configSchema.js +14 -1
- package/esm/MultiWiggleAdapter/configSchema.js.map +1 -1
- package/esm/MultiXYPlotRenderer/configSchema.js +24 -2
- package/esm/MultiXYPlotRenderer/configSchema.js.map +1 -1
- package/esm/QuantitativeTrack/configSchema.d.ts +3 -0
- package/esm/QuantitativeTrack/configSchema.js +16 -0
- package/esm/QuantitativeTrack/configSchema.js.map +1 -0
- package/esm/QuantitativeTrack/index.js +3 -3
- package/esm/QuantitativeTrack/index.js.map +1 -1
- package/esm/Tooltip.d.ts +2 -2
- package/esm/WiggleBaseRenderer.d.ts +4 -0
- package/esm/XYPlotRenderer/configSchema.js +24 -2
- package/esm/XYPlotRenderer/configSchema.js.map +1 -1
- package/esm/configSchema.d.ts +2 -2
- package/esm/configSchema.js +25 -1
- package/esm/configSchema.js.map +1 -1
- package/esm/drawxy.js +4 -4
- package/esm/drawxy.js.map +1 -1
- package/esm/index.d.ts +3 -307
- package/package.json +2 -2
- package/src/BigWigAdapter/__snapshots__/BigWigAdapter.test.ts.snap +14 -14
- package/src/BigWigAdapter/configSchema.ts +15 -1
- package/src/DensityRenderer/__snapshots__/DensityRenderer.test.js.snap +9 -3
- package/src/DensityRenderer/configSchema.ts +13 -2
- package/src/LinePlotRenderer/configSchema.ts +16 -2
- package/src/LinearWiggleDisplay/models/configSchema.ts +40 -2
- package/src/LinearWiggleDisplay/models/model.tsx +192 -12
- package/src/MultiDensityRenderer/configSchema.ts +13 -2
- package/src/MultiLineRenderer/configSchema.ts +18 -3
- package/src/MultiLinearWiggleDisplay/models/configSchema.ts +41 -1
- package/src/MultiQuantitativeTrack/configSchema.ts +23 -0
- package/src/MultiQuantitativeTrack/index.ts +3 -10
- package/src/MultiRowLineRenderer/configSchema.ts +19 -2
- package/src/MultiRowXYPlotRenderer/configSchema.ts +25 -2
- package/src/MultiWiggleAdapter/configSchema.ts +17 -1
- package/src/MultiXYPlotRenderer/configSchema.ts +25 -2
- package/src/QuantitativeTrack/configSchema.ts +23 -0
- package/src/QuantitativeTrack/index.ts +3 -10
- package/src/WiggleBaseRenderer.tsx +1 -1
- package/src/XYPlotRenderer/__snapshots__/XYPlotRenderer.test.js.snap +9 -3
- package/src/XYPlotRenderer/configSchema.ts +25 -2
- package/src/__snapshots__/index.test.js.snap +1 -1
- package/src/configSchema.ts +26 -1
- package/src/drawxy.ts +4 -4
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
export default
|
|
1
|
+
declare const BigWigAdapter: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2
|
+
export default BigWigAdapter;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* #config BigWigAdapter
|
|
6
|
+
*/
|
|
7
|
+
function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
8
|
+
const BigWigAdapter = (0, configuration_1.ConfigurationSchema)('BigWigAdapter', {
|
|
9
|
+
/**
|
|
10
|
+
* #slot
|
|
11
|
+
*/
|
|
5
12
|
bigWigLocation: {
|
|
6
13
|
type: 'fileLocation',
|
|
7
14
|
defaultValue: {
|
|
@@ -9,10 +16,14 @@ exports.default = (0, configuration_1.ConfigurationSchema)('BigWigAdapter', {
|
|
|
9
16
|
locationType: 'UriLocation',
|
|
10
17
|
},
|
|
11
18
|
},
|
|
19
|
+
/**
|
|
20
|
+
* #slot
|
|
21
|
+
*/
|
|
12
22
|
source: {
|
|
13
23
|
type: 'string',
|
|
14
24
|
defaultValue: '',
|
|
15
25
|
description: 'Used for multiwiggle',
|
|
16
26
|
},
|
|
17
27
|
}, { explicitlyTyped: true });
|
|
28
|
+
exports.default = BigWigAdapter;
|
|
18
29
|
//# sourceMappingURL=configSchema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/BigWigAdapter/configSchema.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AAEjE,
|
|
1
|
+
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/BigWigAdapter/configSchema.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AAEjE;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,aAAa,GAAG,IAAA,mCAAmB,EACvC,eAAe,EACf;IACE;;OAEG;IACH,cAAc,EAAE;QACd,IAAI,EAAE,cAAc;QACpB,YAAY,EAAE;YACZ,GAAG,EAAE,gBAAgB;YACrB,YAAY,EAAE,aAAa;SAC5B;KACF;IAED;;OAEG;IACH,MAAM,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,EAAE;QAChB,WAAW,EAAE,sBAAsB;KACpC;CACF,EACD,EAAE,eAAe,EAAE,IAAI,EAAE,CAC1B,CAAA;AAED,kBAAe,aAAa,CAAA"}
|
|
@@ -5,6 +5,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
7
7
|
const configSchema_1 = __importDefault(require("../configSchema"));
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* #config DensityRenderer
|
|
10
|
+
*/
|
|
11
|
+
function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
12
|
+
const configSchema = (0, configuration_1.ConfigurationSchema)('DensityRenderer', {}, {
|
|
13
|
+
/**
|
|
14
|
+
* #baseConfiguration
|
|
15
|
+
*/
|
|
16
|
+
baseConfiguration: configSchema_1.default,
|
|
17
|
+
explicitlyTyped: true,
|
|
18
|
+
});
|
|
9
19
|
exports.default = configSchema;
|
|
10
20
|
//# sourceMappingURL=configSchema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/DensityRenderer/configSchema.ts"],"names":[],"mappings":";;;;;AAAA,+DAAiE;AAEjE,
|
|
1
|
+
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/DensityRenderer/configSchema.ts"],"names":[],"mappings":";;;;;AAAA,+DAAiE;AAEjE,mEAA4D;AAE5D;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,YAAY,GAAG,IAAA,mCAAmB,EACtC,iBAAiB,EACjB,EAAE,EACF;IACE;;OAEG;IACH,iBAAiB,EAAE,sBAA8B;IACjD,eAAe,EAAE,IAAI;CACtB,CACF,CAAA;AAED,kBAAe,YAAY,CAAA"}
|
|
@@ -5,12 +5,25 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
7
7
|
const configSchema_1 = __importDefault(require("../configSchema"));
|
|
8
|
+
/**
|
|
9
|
+
* #config LinePlotRenderer
|
|
10
|
+
*/
|
|
11
|
+
function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
8
12
|
const configSchema = (0, configuration_1.ConfigurationSchema)('LinePlotRenderer', {
|
|
13
|
+
/**
|
|
14
|
+
* #slot
|
|
15
|
+
*/
|
|
9
16
|
displayCrossHatches: {
|
|
10
17
|
type: 'boolean',
|
|
11
18
|
description: 'choose to draw cross hatches (sideways lines)',
|
|
12
19
|
defaultValue: false,
|
|
13
20
|
},
|
|
14
|
-
}, {
|
|
21
|
+
}, {
|
|
22
|
+
/**
|
|
23
|
+
* #baseConfiguration
|
|
24
|
+
*/
|
|
25
|
+
baseConfiguration: configSchema_1.default,
|
|
26
|
+
explicitlyTyped: true,
|
|
27
|
+
});
|
|
15
28
|
exports.default = configSchema;
|
|
16
29
|
//# sourceMappingURL=configSchema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/LinePlotRenderer/configSchema.ts"],"names":[],"mappings":";;;;;AAAA,+DAAiE;AACjE,
|
|
1
|
+
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/LinePlotRenderer/configSchema.ts"],"names":[],"mappings":";;;;;AAAA,+DAAiE;AACjE,mEAA4D;AAE5D;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,YAAY,GAAG,IAAA,mCAAmB,EACtC,kBAAkB,EAClB;IACE;;OAEG;IACH,mBAAmB,EAAE;QACnB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,+CAA+C;QAC5D,YAAY,EAAE,KAAK;KACpB;CACF,EACD;IACE;;OAEG;IACH,iBAAiB,EAAE,sBAA8B;IACjD,eAAe,EAAE,IAAI;CACtB,CACF,CAAA;AAED,kBAAe,YAAY,CAAA"}
|
|
@@ -4,7 +4,7 @@ import Tooltip, { TooltipContentsComponent } from '../../Tooltip';
|
|
|
4
4
|
declare const TooltipContents: React.ForwardRefExoticComponent<{
|
|
5
5
|
feature: Feature;
|
|
6
6
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
|
|
7
|
+
type Coord = [number, number];
|
|
8
8
|
declare const WiggleTooltip: (props: {
|
|
9
9
|
model: {
|
|
10
10
|
featureUnderMouse: Feature;
|
|
@@ -3,11 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
4
4
|
const plugin_linear_genome_view_1 = require("@jbrowse/plugin-linear-genome-view");
|
|
5
5
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
6
|
+
/**
|
|
7
|
+
* #config LinearWiggleDisplay
|
|
8
|
+
*/
|
|
9
|
+
function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
6
10
|
function WiggleConfigFactory(pluginManager) {
|
|
7
11
|
const XYPlotRendererConfigSchema = pluginManager.getRendererType('XYPlotRenderer').configSchema;
|
|
8
12
|
const DensityRendererConfigSchema = pluginManager.getRendererType('DensityRenderer').configSchema;
|
|
9
13
|
const LinePlotRendererConfigSchema = pluginManager.getRendererType('LinePlotRenderer').configSchema;
|
|
10
14
|
return (0, configuration_1.ConfigurationSchema)('LinearWiggleDisplay', {
|
|
15
|
+
/**
|
|
16
|
+
* #slot
|
|
17
|
+
*/
|
|
11
18
|
autoscale: {
|
|
12
19
|
type: 'stringEnum',
|
|
13
20
|
defaultValue: 'local',
|
|
@@ -20,48 +27,78 @@ function WiggleConfigFactory(pluginManager) {
|
|
|
20
27
|
]),
|
|
21
28
|
description: 'global/local using their min/max values or w/ standard deviations (globalsd/localsd)',
|
|
22
29
|
},
|
|
30
|
+
/**
|
|
31
|
+
* #slot
|
|
32
|
+
*/
|
|
23
33
|
minimalTicks: {
|
|
24
34
|
type: 'boolean',
|
|
25
35
|
defaultValue: false,
|
|
26
36
|
description: 'use the minimal amount of ticks',
|
|
27
37
|
},
|
|
38
|
+
/**
|
|
39
|
+
* #slot
|
|
40
|
+
*/
|
|
28
41
|
minScore: {
|
|
29
42
|
type: 'number',
|
|
30
43
|
defaultValue: Number.MIN_VALUE,
|
|
31
44
|
description: 'minimum value for the y-scale',
|
|
32
45
|
},
|
|
46
|
+
/**
|
|
47
|
+
* #slot
|
|
48
|
+
*/
|
|
33
49
|
maxScore: {
|
|
34
50
|
type: 'number',
|
|
35
51
|
description: 'maximum value for the y-scale',
|
|
36
52
|
defaultValue: Number.MAX_VALUE,
|
|
37
53
|
},
|
|
54
|
+
/**
|
|
55
|
+
* #slot
|
|
56
|
+
*/
|
|
38
57
|
numStdDev: {
|
|
39
58
|
type: 'number',
|
|
40
59
|
description: 'number of standard deviations to use for autoscale types globalsd or localsd',
|
|
41
60
|
defaultValue: 3,
|
|
42
61
|
},
|
|
62
|
+
/**
|
|
63
|
+
* #slot
|
|
64
|
+
*/
|
|
43
65
|
scaleType: {
|
|
44
66
|
type: 'stringEnum',
|
|
45
67
|
model: mobx_state_tree_1.types.enumeration('Scale type', ['linear', 'log']),
|
|
46
68
|
description: 'The type of scale to use',
|
|
47
69
|
defaultValue: 'linear',
|
|
48
70
|
},
|
|
71
|
+
/**
|
|
72
|
+
* #slot
|
|
73
|
+
*/
|
|
49
74
|
inverted: {
|
|
50
75
|
type: 'boolean',
|
|
51
76
|
description: 'draw upside down',
|
|
52
77
|
defaultValue: false,
|
|
53
78
|
},
|
|
79
|
+
/**
|
|
80
|
+
* #slot
|
|
81
|
+
*/
|
|
54
82
|
defaultRendering: {
|
|
55
83
|
type: 'stringEnum',
|
|
56
84
|
model: mobx_state_tree_1.types.enumeration('Rendering', ['density', 'xyplot', 'line']),
|
|
57
85
|
defaultValue: 'xyplot',
|
|
58
86
|
},
|
|
87
|
+
/**
|
|
88
|
+
* #slot
|
|
89
|
+
*/
|
|
59
90
|
renderers: (0, configuration_1.ConfigurationSchema)('RenderersConfiguration', {
|
|
60
91
|
DensityRenderer: DensityRendererConfigSchema,
|
|
61
92
|
XYPlotRenderer: XYPlotRendererConfigSchema,
|
|
62
93
|
LinePlotRenderer: LinePlotRendererConfigSchema,
|
|
63
94
|
}),
|
|
64
|
-
}, {
|
|
95
|
+
}, {
|
|
96
|
+
/**
|
|
97
|
+
* #baseConfiguration
|
|
98
|
+
*/
|
|
99
|
+
baseConfiguration: plugin_linear_genome_view_1.baseLinearDisplayConfigSchema,
|
|
100
|
+
explicitlyTyped: true,
|
|
101
|
+
});
|
|
65
102
|
}
|
|
66
103
|
exports.default = WiggleConfigFactory;
|
|
67
104
|
//# sourceMappingURL=configSchema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../../src/LinearWiggleDisplay/models/configSchema.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AACjE,kFAAkF;AAClF,qDAAuC;AAGvC,SAAwB,mBAAmB,CAAC,aAA4B;IACtE,MAAM,0BAA0B,GAC9B,aAAa,CAAC,eAAe,CAAC,gBAAgB,CAAC,CAAC,YAAY,CAAA;IAC9D,MAAM,2BAA2B,GAC/B,aAAa,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAAC,YAAY,CAAA;IAC/D,MAAM,4BAA4B,GAChC,aAAa,CAAC,eAAe,CAAC,kBAAkB,CAAC,CAAC,YAAY,CAAA;IAEhE,OAAO,IAAA,mCAAmB,EACxB,qBAAqB,EACrB;QACE,SAAS,EAAE;YACT,IAAI,EAAE,YAAY;YAClB,YAAY,EAAE,OAAO;YACrB,KAAK,EAAE,uBAAK,CAAC,WAAW,CAAC,gBAAgB,EAAE;gBACzC,QAAQ;gBACR,OAAO;gBACP,UAAU;gBACV,SAAS;gBACT,QAAQ;aACT,CAAC;YACF,WAAW,EACT,sFAAsF;SACzF;
|
|
1
|
+
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../../src/LinearWiggleDisplay/models/configSchema.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AACjE,kFAAkF;AAClF,qDAAuC;AAGvC;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,SAAwB,mBAAmB,CAAC,aAA4B;IACtE,MAAM,0BAA0B,GAC9B,aAAa,CAAC,eAAe,CAAC,gBAAgB,CAAC,CAAC,YAAY,CAAA;IAC9D,MAAM,2BAA2B,GAC/B,aAAa,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAAC,YAAY,CAAA;IAC/D,MAAM,4BAA4B,GAChC,aAAa,CAAC,eAAe,CAAC,kBAAkB,CAAC,CAAC,YAAY,CAAA;IAEhE,OAAO,IAAA,mCAAmB,EACxB,qBAAqB,EACrB;QACE;;WAEG;QACH,SAAS,EAAE;YACT,IAAI,EAAE,YAAY;YAClB,YAAY,EAAE,OAAO;YACrB,KAAK,EAAE,uBAAK,CAAC,WAAW,CAAC,gBAAgB,EAAE;gBACzC,QAAQ;gBACR,OAAO;gBACP,UAAU;gBACV,SAAS;gBACT,QAAQ;aACT,CAAC;YACF,WAAW,EACT,sFAAsF;SACzF;QAED;;WAEG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,SAAS;YACf,YAAY,EAAE,KAAK;YACnB,WAAW,EAAE,iCAAiC;SAC/C;QAED;;WAEG;QACH,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,YAAY,EAAE,MAAM,CAAC,SAAS;YAC9B,WAAW,EAAE,+BAA+B;SAC7C;QACD;;WAEG;QACH,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,+BAA+B;YAC5C,YAAY,EAAE,MAAM,CAAC,SAAS;SAC/B;QACD;;WAEG;QACH,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,8EAA8E;YAChF,YAAY,EAAE,CAAC;SAChB;QACD;;WAEG;QACH,SAAS,EAAE;YACT,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,uBAAK,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;YACzD,WAAW,EAAE,0BAA0B;YACvC,YAAY,EAAE,QAAQ;SACvB;QACD;;WAEG;QACH,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,kBAAkB;YAC/B,YAAY,EAAE,KAAK;SACpB;QAED;;WAEG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,uBAAK,CAAC,WAAW,CAAC,WAAW,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;YACpE,YAAY,EAAE,QAAQ;SACvB;QACD;;WAEG;QACH,SAAS,EAAE,IAAA,mCAAmB,EAAC,wBAAwB,EAAE;YACvD,eAAe,EAAE,2BAA2B;YAC5C,cAAc,EAAE,0BAA0B;YAC1C,gBAAgB,EAAE,4BAA4B;SAC/C,CAAC;KACH,EACD;QACE;;WAEG;QACH,iBAAiB,EAAE,yDAA6B;QAChD,eAAe,EAAE,IAAI;KACtB,CACF,CAAA;AACH,CAAC;AAzGD,sCAyGC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
3
|
+
import { Feature } from '@jbrowse/core/util';
|
|
3
4
|
import { Instance } from 'mobx-state-tree';
|
|
4
5
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* #stateModel LinearWiggleDisplay
|
|
8
|
+
* Extends `BaseLinearDisplay`
|
|
9
|
+
*/
|
|
10
|
+
declare function stateModelFactory(pluginManager: PluginManager, configSchema: AnyConfigurationSchemaType): import("mobx-state-tree").IModelType<{
|
|
7
11
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
8
12
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
9
13
|
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
@@ -19,7 +23,9 @@ declare const stateModelFactory: (pluginManager: PluginManager, configSchema: An
|
|
|
19
23
|
} & {
|
|
20
24
|
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
21
25
|
}, {
|
|
22
|
-
setRefName(newRefName: string): void;
|
|
26
|
+
setRefName(newRefName: string): void; /**
|
|
27
|
+
* #property
|
|
28
|
+
*/
|
|
23
29
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
24
30
|
reloadFlag: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
25
31
|
isLeftEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -35,12 +41,16 @@ declare const stateModelFactory: (pluginManager: PluginManager, configSchema: An
|
|
|
35
41
|
message: string | undefined;
|
|
36
42
|
maxHeightReached: boolean;
|
|
37
43
|
ReactComponent: ({ model, }: {
|
|
38
|
-
model: any;
|
|
44
|
+
model: any; /**
|
|
45
|
+
* #property
|
|
46
|
+
*/
|
|
39
47
|
}) => any;
|
|
40
48
|
renderProps: any;
|
|
41
49
|
} & {
|
|
42
50
|
doReload(): void;
|
|
43
|
-
afterAttach(): void;
|
|
51
|
+
afterAttach(): void; /**
|
|
52
|
+
* #property
|
|
53
|
+
*/
|
|
44
54
|
setStatus(message: string): void;
|
|
45
55
|
setLoading(abortController: AbortController): void;
|
|
46
56
|
setMessage(messageText: string): void;
|
|
@@ -58,20 +68,65 @@ declare const stateModelFactory: (pluginManager: PluginManager, configSchema: An
|
|
|
58
68
|
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
59
69
|
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
60
70
|
} & {
|
|
71
|
+
/**
|
|
72
|
+
* #property
|
|
73
|
+
*/
|
|
61
74
|
type: import("mobx-state-tree").ISimpleType<"LinearWiggleDisplay">;
|
|
75
|
+
/**
|
|
76
|
+
* #property
|
|
77
|
+
*/
|
|
62
78
|
configuration: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
79
|
+
/**
|
|
80
|
+
* #property
|
|
81
|
+
*/
|
|
63
82
|
selectedRendering: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
83
|
+
/**
|
|
84
|
+
* #property
|
|
85
|
+
*/
|
|
64
86
|
resolution: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
87
|
+
/**
|
|
88
|
+
* #property
|
|
89
|
+
*/
|
|
65
90
|
fill: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
91
|
+
/**
|
|
92
|
+
* #property
|
|
93
|
+
*/
|
|
66
94
|
minSize: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
95
|
+
/**
|
|
96
|
+
* #property
|
|
97
|
+
*/
|
|
67
98
|
color: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
99
|
+
/**
|
|
100
|
+
* #property
|
|
101
|
+
*/
|
|
68
102
|
posColor: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
103
|
+
/**
|
|
104
|
+
* #property
|
|
105
|
+
*/
|
|
69
106
|
negColor: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
107
|
+
/**
|
|
108
|
+
* #property
|
|
109
|
+
*/
|
|
70
110
|
summaryScoreMode: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
111
|
+
/**
|
|
112
|
+
* #property
|
|
113
|
+
*/
|
|
71
114
|
rendererTypeNameState: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
115
|
+
/**
|
|
116
|
+
* #property
|
|
117
|
+
*/
|
|
72
118
|
scale: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
119
|
+
/**
|
|
120
|
+
* #property
|
|
121
|
+
*/
|
|
73
122
|
autoscale: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
123
|
+
/**
|
|
124
|
+
* #property
|
|
125
|
+
*/
|
|
74
126
|
displayCrossHatches: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
127
|
+
/**
|
|
128
|
+
* #property
|
|
129
|
+
*/
|
|
75
130
|
constraints: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
|
|
76
131
|
max: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
77
132
|
min: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
@@ -125,7 +180,9 @@ declare const stateModelFactory: (pluginManager: PluginManager, configSchema: An
|
|
|
125
180
|
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
126
181
|
regionCannotBeRendered(): undefined;
|
|
127
182
|
} & {
|
|
128
|
-
setError(error?: unknown): void;
|
|
183
|
+
setError(error?: unknown): void; /**
|
|
184
|
+
* #action
|
|
185
|
+
*/
|
|
129
186
|
setRpcDriverName(rpcDriverName: string): void;
|
|
130
187
|
reload(): void;
|
|
131
188
|
} & {
|
|
@@ -152,7 +209,9 @@ declare const stateModelFactory: (pluginManager: PluginManager, configSchema: An
|
|
|
152
209
|
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
153
210
|
readonly currentBytesRequested: number;
|
|
154
211
|
readonly currentFeatureScreenDensity: number;
|
|
155
|
-
readonly maxFeatureScreenDensity: any;
|
|
212
|
+
readonly maxFeatureScreenDensity: any; /**
|
|
213
|
+
* #getter
|
|
214
|
+
*/
|
|
156
215
|
readonly estimatedStatsReady: boolean;
|
|
157
216
|
readonly maxAllowableBytes: number;
|
|
158
217
|
} & {
|
|
@@ -209,46 +268,143 @@ declare const stateModelFactory: (pluginManager: PluginManager, configSchema: An
|
|
|
209
268
|
};
|
|
210
269
|
statsFetchInProgress: AbortController | undefined;
|
|
211
270
|
} & {
|
|
271
|
+
/**
|
|
272
|
+
* #action
|
|
273
|
+
*/
|
|
212
274
|
updateStats(stats: {
|
|
213
275
|
scoreMin: number;
|
|
214
276
|
scoreMax: number;
|
|
215
277
|
}): void;
|
|
278
|
+
/**
|
|
279
|
+
* #action
|
|
280
|
+
*/
|
|
216
281
|
setColor(color?: string): void;
|
|
282
|
+
/**
|
|
283
|
+
* #action
|
|
284
|
+
*/
|
|
217
285
|
setPosColor(color?: string): void;
|
|
286
|
+
/**
|
|
287
|
+
* #action
|
|
288
|
+
*/
|
|
218
289
|
setNegColor(color?: string): void;
|
|
290
|
+
/**
|
|
291
|
+
* #action
|
|
292
|
+
*/
|
|
219
293
|
setLoading(aborter: AbortController): void;
|
|
294
|
+
/**
|
|
295
|
+
* #action
|
|
296
|
+
* this overrides the BaseLinearDisplayModel to avoid popping up a
|
|
297
|
+
* feature detail display, but still sets the feature selection on the
|
|
298
|
+
* model so listeners can detect a click
|
|
299
|
+
*/
|
|
220
300
|
selectFeature(feature: Feature): void;
|
|
301
|
+
/**
|
|
302
|
+
* #action
|
|
303
|
+
*/
|
|
221
304
|
setResolution(res: number): void;
|
|
305
|
+
/**
|
|
306
|
+
* #action
|
|
307
|
+
*/
|
|
222
308
|
setFill(fill: number): void;
|
|
309
|
+
/**
|
|
310
|
+
* #action
|
|
311
|
+
*/
|
|
223
312
|
toggleLogScale(): void;
|
|
313
|
+
/**
|
|
314
|
+
* #action
|
|
315
|
+
*/
|
|
224
316
|
setScaleType(scale?: string): void;
|
|
317
|
+
/**
|
|
318
|
+
* #action
|
|
319
|
+
*/
|
|
225
320
|
setSummaryScoreMode(val: string): void;
|
|
321
|
+
/**
|
|
322
|
+
* #action
|
|
323
|
+
*/
|
|
226
324
|
setAutoscale(val: string): void;
|
|
325
|
+
/**
|
|
326
|
+
* #action
|
|
327
|
+
*/
|
|
227
328
|
setMaxScore(val?: number): void;
|
|
329
|
+
/**
|
|
330
|
+
* #action
|
|
331
|
+
*/
|
|
228
332
|
setRendererType(val: string): void;
|
|
333
|
+
/**
|
|
334
|
+
* #action
|
|
335
|
+
*/
|
|
229
336
|
setMinScore(val?: number): void;
|
|
337
|
+
/**
|
|
338
|
+
* #action
|
|
339
|
+
*/
|
|
230
340
|
toggleCrossHatches(): void;
|
|
341
|
+
/**
|
|
342
|
+
* #action
|
|
343
|
+
*/
|
|
231
344
|
setCrossHatches(cross: boolean): void;
|
|
232
345
|
} & {
|
|
346
|
+
/**
|
|
347
|
+
* #getter
|
|
348
|
+
*/
|
|
233
349
|
readonly TooltipComponent: React.FC<{}>;
|
|
350
|
+
/**
|
|
351
|
+
* #getter
|
|
352
|
+
*/
|
|
234
353
|
readonly adapterTypeName: any;
|
|
354
|
+
/**
|
|
355
|
+
* #getter
|
|
356
|
+
*/
|
|
235
357
|
readonly rendererTypeNameSimple: any;
|
|
358
|
+
/**
|
|
359
|
+
* #getter
|
|
360
|
+
*/
|
|
236
361
|
readonly rendererTypeName: string;
|
|
362
|
+
/**
|
|
363
|
+
* #getter
|
|
364
|
+
* subclasses can define these, as snpcoverage track does
|
|
365
|
+
*/
|
|
237
366
|
readonly filters: undefined;
|
|
367
|
+
/**
|
|
368
|
+
* #getter
|
|
369
|
+
*/
|
|
238
370
|
readonly scaleType: any;
|
|
371
|
+
/**
|
|
372
|
+
* #getter
|
|
373
|
+
*/
|
|
239
374
|
readonly maxScore: any;
|
|
375
|
+
/**
|
|
376
|
+
* #getter
|
|
377
|
+
*/
|
|
240
378
|
readonly minScore: any;
|
|
241
379
|
} & {
|
|
380
|
+
/**
|
|
381
|
+
* #getter
|
|
382
|
+
*/
|
|
242
383
|
readonly rendererConfig: {
|
|
243
384
|
[x: string]: any;
|
|
244
385
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
245
386
|
setSubschema(slotName: string, data: unknown): any;
|
|
246
387
|
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>;
|
|
247
388
|
} & {
|
|
389
|
+
/**
|
|
390
|
+
* #getter
|
|
391
|
+
*/
|
|
248
392
|
readonly filled: any;
|
|
393
|
+
/**
|
|
394
|
+
* #getter
|
|
395
|
+
*/
|
|
249
396
|
readonly summaryScoreModeSetting: any;
|
|
397
|
+
/**
|
|
398
|
+
* #getter
|
|
399
|
+
*/
|
|
250
400
|
readonly domain: number[];
|
|
401
|
+
/**
|
|
402
|
+
* #getter
|
|
403
|
+
*/
|
|
251
404
|
readonly needsScalebar: boolean;
|
|
405
|
+
/**
|
|
406
|
+
* #getter
|
|
407
|
+
*/
|
|
252
408
|
readonly scaleOpts: {
|
|
253
409
|
domain: number[];
|
|
254
410
|
stats: {
|
|
@@ -259,23 +415,53 @@ declare const stateModelFactory: (pluginManager: PluginManager, configSchema: An
|
|
|
259
415
|
scaleType: any;
|
|
260
416
|
inverted: any;
|
|
261
417
|
};
|
|
418
|
+
/**
|
|
419
|
+
* #getter
|
|
420
|
+
*/
|
|
262
421
|
readonly canHaveFill: boolean;
|
|
422
|
+
/**
|
|
423
|
+
* #getter
|
|
424
|
+
*/
|
|
263
425
|
readonly autoscaleType: any;
|
|
426
|
+
/**
|
|
427
|
+
* #getter
|
|
428
|
+
*/
|
|
264
429
|
readonly displayCrossHatchesSetting: any;
|
|
265
430
|
} & {
|
|
431
|
+
/**
|
|
432
|
+
* #getter
|
|
433
|
+
*/
|
|
266
434
|
readonly ticks: {
|
|
267
435
|
range: number[];
|
|
268
436
|
values: number[];
|
|
269
437
|
format: (d: import("d3-scale").NumberValue) => string;
|
|
270
438
|
position: import("d3-scale").ScaleLinear<number, number, never> | import("d3-scale").ScaleQuantize<number, never>;
|
|
271
439
|
};
|
|
440
|
+
/**
|
|
441
|
+
* #getter
|
|
442
|
+
*/
|
|
272
443
|
readonly adapterCapabilities: string[];
|
|
273
444
|
} & {
|
|
445
|
+
/**
|
|
446
|
+
* #method
|
|
447
|
+
*/
|
|
274
448
|
renderProps(): any;
|
|
449
|
+
/**
|
|
450
|
+
* #getter
|
|
451
|
+
*/
|
|
275
452
|
readonly hasResolution: boolean;
|
|
453
|
+
/**
|
|
454
|
+
* #getter
|
|
455
|
+
*/
|
|
276
456
|
readonly hasGlobalStats: boolean;
|
|
277
|
-
|
|
457
|
+
/**
|
|
458
|
+
* #getter
|
|
459
|
+
*/
|
|
460
|
+
readonly fillSetting: 1 | 2 | 0;
|
|
278
461
|
} & {
|
|
462
|
+
/**
|
|
463
|
+
* #method
|
|
464
|
+
*/
|
|
279
465
|
trackMenuItems(): (import("@jbrowse/core/ui").MenuDivider | import("@jbrowse/core/ui").MenuSubHeader | import("@jbrowse/core/ui").NormalMenuItem | import("@jbrowse/core/ui").CheckboxMenuItem | import("@jbrowse/core/ui").RadioMenuItem | import("@jbrowse/core/ui").SubMenuItem | {
|
|
280
466
|
label: string;
|
|
281
467
|
subMenu: {
|
|
@@ -295,8 +481,15 @@ declare const stateModelFactory: (pluginManager: PluginManager, configSchema: An
|
|
|
295
481
|
subMenu?: undefined;
|
|
296
482
|
})[];
|
|
297
483
|
} & {
|
|
484
|
+
/**
|
|
485
|
+
* #action
|
|
486
|
+
* re-runs stats and refresh whole display on reload
|
|
487
|
+
*/
|
|
298
488
|
reload(): Promise<void>;
|
|
299
489
|
afterAttach(): void;
|
|
490
|
+
/**
|
|
491
|
+
* #action
|
|
492
|
+
*/
|
|
300
493
|
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").ExportSvgOptions & {
|
|
301
494
|
overrideHeight: number;
|
|
302
495
|
}): Promise<JSX.Element>;
|
|
@@ -308,6 +501,6 @@ declare const stateModelFactory: (pluginManager: PluginManager, configSchema: An
|
|
|
308
501
|
userBpPerPxLimit: number | undefined;
|
|
309
502
|
userByteSizeLimit: number | undefined;
|
|
310
503
|
} & import("mobx-state-tree")._NotCustomized>;
|
|
311
|
-
export
|
|
312
|
-
export
|
|
504
|
+
export type WiggleDisplayStateModel = ReturnType<typeof stateModelFactory>;
|
|
505
|
+
export type WiggleDisplayModel = Instance<WiggleDisplayStateModel>;
|
|
313
506
|
export default stateModelFactory;
|