@jbrowse/plugin-variants 2.11.2 → 2.12.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/ChordVariantDisplay/index.js +1 -1
- package/dist/ChordVariantDisplay/models/stateModelFactory.d.ts +8 -9
- package/dist/LinearVariantDisplay/configSchema.js +1 -1
- package/dist/LinearVariantDisplay/index.js +1 -1
- package/dist/LinearVariantDisplay/model.d.ts +34 -23
- package/dist/LinearVariantDisplay/model.js +1 -1
- package/dist/StructuralVariantChordRenderer/index.js +1 -1
- package/dist/VariantFeatureWidget/AnnotGrid.js +1 -1
- package/dist/VariantFeatureWidget/BreakendPanel.js +1 -1
- package/dist/VariantFeatureWidget/VariantAnnotationTable.js +1 -1
- package/dist/VariantFeatureWidget/VariantSampleGrid.js +1 -1
- package/dist/VariantFeatureWidget/index.js +1 -1
- package/dist/VariantFeatureWidget/stateModelFactory.d.ts +27 -1
- package/dist/VariantFeatureWidget/stateModelFactory.js +1 -2
- package/dist/VariantTrack/index.js +1 -1
- package/dist/VcfAdapter/index.js +1 -1
- package/dist/VcfFeature/util.js +3 -4
- package/dist/VcfTabixAdapter/index.js +1 -1
- package/dist/extensionPoints.js +1 -1
- package/esm/ChordVariantDisplay/models/stateModelFactory.d.ts +8 -9
- package/esm/LinearVariantDisplay/model.d.ts +34 -23
- package/esm/VariantFeatureWidget/stateModelFactory.d.ts +27 -1
- package/package.json +2 -3
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = ChordVariantDisplayF;
|
|
6
7
|
const plugin_circular_view_1 = require("@jbrowse/plugin-circular-view");
|
|
7
8
|
const DisplayType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/DisplayType"));
|
|
8
9
|
// locals
|
|
@@ -23,4 +24,3 @@ function ChordVariantDisplayF(pluginManager) {
|
|
|
23
24
|
});
|
|
24
25
|
});
|
|
25
26
|
}
|
|
26
|
-
exports.default = ChordVariantDisplayF;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
3
2
|
import { Feature } from '@jbrowse/core/util';
|
|
4
3
|
/**
|
|
@@ -53,8 +52,8 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
53
52
|
error: unknown;
|
|
54
53
|
message: string | undefined;
|
|
55
54
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
56
|
-
onHorizontalScroll?: Function
|
|
57
|
-
blockState?: Record<string, any
|
|
55
|
+
onHorizontalScroll?: Function;
|
|
56
|
+
blockState?: Record<string, any>;
|
|
58
57
|
}>;
|
|
59
58
|
readonly DisplayBlurb: import("react").FC<{
|
|
60
59
|
model: {
|
|
@@ -79,22 +78,22 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
79
78
|
readonly parentTrack: any;
|
|
80
79
|
renderProps(): any;
|
|
81
80
|
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType;
|
|
82
|
-
readonly DisplayMessageComponent: import("react").FC<any
|
|
81
|
+
readonly DisplayMessageComponent: undefined | import("react").FC<any>;
|
|
83
82
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
84
83
|
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
85
84
|
regionCannotBeRendered(): null;
|
|
86
85
|
} & {
|
|
87
|
-
setMessage(arg?: string
|
|
86
|
+
setMessage(arg?: string): void;
|
|
88
87
|
setError(error?: unknown): void;
|
|
89
88
|
setRpcDriverName(rpcDriverName: string): void;
|
|
90
89
|
reload(): void;
|
|
91
90
|
} & {
|
|
92
91
|
filled: boolean;
|
|
93
|
-
reactElement: import("react").ReactElement
|
|
92
|
+
reactElement: import("react").ReactElement | undefined;
|
|
94
93
|
data: undefined;
|
|
95
94
|
html: string | undefined;
|
|
96
95
|
message: string;
|
|
97
|
-
renderingComponent: import("@jbrowse/core/util").AnyReactComponentType
|
|
96
|
+
renderingComponent: undefined | import("@jbrowse/core/util").AnyReactComponentType;
|
|
98
97
|
refNameMap: Record<string, string> | undefined;
|
|
99
98
|
} & {
|
|
100
99
|
onChordClick(feature: Feature): void;
|
|
@@ -102,7 +101,7 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
102
101
|
readonly blockDefinitions: import("@jbrowse/plugin-circular-view/src/CircularView/models/slices").Slice[];
|
|
103
102
|
renderProps(): any;
|
|
104
103
|
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType;
|
|
105
|
-
isCompatibleWithRenderer(renderer: import("@jbrowse/core/pluggableElementTypes").RendererType):
|
|
104
|
+
isCompatibleWithRenderer(renderer: import("@jbrowse/core/pluggableElementTypes").RendererType): renderer is import("@jbrowse/core/pluggableElementTypes").CircularChordRendererType;
|
|
106
105
|
readonly selectedFeatureId: string | undefined;
|
|
107
106
|
} & {
|
|
108
107
|
renderStarted(): void;
|
|
@@ -110,7 +109,7 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
110
109
|
message: string;
|
|
111
110
|
data: any;
|
|
112
111
|
html: string;
|
|
113
|
-
reactElement: import("react").ReactElement
|
|
112
|
+
reactElement: import("react").ReactElement;
|
|
114
113
|
renderingComponent: import("@jbrowse/core/util").AnyReactComponentType;
|
|
115
114
|
}): void;
|
|
116
115
|
renderError(error: unknown): void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = configSchemaF;
|
|
3
4
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
4
5
|
const plugin_linear_genome_view_1 = require("@jbrowse/plugin-linear-genome-view");
|
|
5
6
|
/**
|
|
@@ -18,4 +19,3 @@ function configSchemaF(pluginManager) {
|
|
|
18
19
|
explicitlyTyped: true,
|
|
19
20
|
});
|
|
20
21
|
}
|
|
21
|
-
exports.default = configSchemaF;
|
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = LinearVariantDisplayF;
|
|
6
7
|
const plugin_linear_genome_view_1 = require("@jbrowse/plugin-linear-genome-view");
|
|
7
8
|
const DisplayType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/DisplayType"));
|
|
8
9
|
const model_1 = __importDefault(require("./model"));
|
|
@@ -21,4 +22,3 @@ function LinearVariantDisplayF(pluginManager) {
|
|
|
21
22
|
});
|
|
22
23
|
});
|
|
23
24
|
}
|
|
24
|
-
exports.default = LinearVariantDisplayF;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Feature } from '@jbrowse/core/util';
|
|
3
2
|
import { Instance } from 'mobx-state-tree';
|
|
4
3
|
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
@@ -37,7 +36,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
37
36
|
}, {
|
|
38
37
|
renderInProgress: AbortController | undefined;
|
|
39
38
|
filled: boolean;
|
|
40
|
-
reactElement: import("react").ReactElement
|
|
39
|
+
reactElement: import("react").ReactElement | undefined;
|
|
41
40
|
features: Map<string, Feature> | undefined;
|
|
42
41
|
layout: any;
|
|
43
42
|
status: string;
|
|
@@ -49,9 +48,9 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
49
48
|
error?: unknown;
|
|
50
49
|
reload: () => void;
|
|
51
50
|
message: import("react").ReactNode;
|
|
52
|
-
filled?: boolean
|
|
53
|
-
status?: string
|
|
54
|
-
reactElement?: import("react").ReactElement
|
|
51
|
+
filled?: boolean;
|
|
52
|
+
status?: string;
|
|
53
|
+
reactElement?: import("react").ReactElement;
|
|
55
54
|
};
|
|
56
55
|
}) => import("react").JSX.Element | undefined;
|
|
57
56
|
renderProps: any;
|
|
@@ -62,7 +61,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
62
61
|
setLoading(abortController: AbortController): void;
|
|
63
62
|
setMessage(messageText: string): void;
|
|
64
63
|
setRendered(props: {
|
|
65
|
-
reactElement: import("react").ReactElement
|
|
64
|
+
reactElement: import("react").ReactElement;
|
|
66
65
|
features: Map<string, Feature>;
|
|
67
66
|
layout: any;
|
|
68
67
|
maxHeightReached: boolean;
|
|
@@ -140,8 +139,8 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
140
139
|
error: unknown;
|
|
141
140
|
message: string | undefined;
|
|
142
141
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
143
|
-
onHorizontalScroll?: Function
|
|
144
|
-
blockState?: Record<string, any
|
|
142
|
+
onHorizontalScroll?: Function;
|
|
143
|
+
blockState?: Record<string, any>;
|
|
145
144
|
}>;
|
|
146
145
|
readonly DisplayBlurb: import("react").FC<{
|
|
147
146
|
model: {
|
|
@@ -166,12 +165,12 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
166
165
|
readonly parentTrack: any;
|
|
167
166
|
renderProps(): any;
|
|
168
167
|
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType;
|
|
169
|
-
readonly DisplayMessageComponent: import("react").FC<any
|
|
168
|
+
readonly DisplayMessageComponent: undefined | import("react").FC<any>;
|
|
170
169
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
171
170
|
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
172
171
|
regionCannotBeRendered(): null;
|
|
173
172
|
} & {
|
|
174
|
-
setMessage(arg?: string
|
|
173
|
+
setMessage(arg?: string): void;
|
|
175
174
|
setError(error?: unknown): void;
|
|
176
175
|
setRpcDriverName(rpcDriverName: string): void;
|
|
177
176
|
reload(): void;
|
|
@@ -184,8 +183,8 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
184
183
|
setHeight(displayHeight: number): number;
|
|
185
184
|
resizeHeight(distance: number): number;
|
|
186
185
|
} & {
|
|
187
|
-
featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
188
|
-
featureDensityStats: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
186
|
+
featureDensityStatsP: undefined | Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
187
|
+
featureDensityStats: undefined | import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats;
|
|
189
188
|
currStatsBpPerPx: number;
|
|
190
189
|
} & {
|
|
191
190
|
readonly currentBytesRequested: number;
|
|
@@ -197,10 +196,10 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
197
196
|
afterAttach(): void;
|
|
198
197
|
} & {
|
|
199
198
|
setCurrStatsBpPerPx(n: number): void;
|
|
200
|
-
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
199
|
+
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats): void;
|
|
201
200
|
getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
202
201
|
setFeatureDensityStatsP(arg: any): void;
|
|
203
|
-
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
202
|
+
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats): void;
|
|
204
203
|
clearFeatureDensityStats(): void;
|
|
205
204
|
} & {
|
|
206
205
|
readonly regionTooLarge: boolean;
|
|
@@ -209,8 +208,8 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
209
208
|
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
210
209
|
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react").JSX.Element | null;
|
|
211
210
|
} & {
|
|
212
|
-
featureIdUnderMouse:
|
|
213
|
-
contextMenuFeature:
|
|
211
|
+
featureIdUnderMouse: undefined | string;
|
|
212
|
+
contextMenuFeature: undefined | Feature;
|
|
214
213
|
} & {
|
|
215
214
|
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
216
215
|
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
@@ -218,7 +217,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
218
217
|
readonly renderDelay: number;
|
|
219
218
|
readonly TooltipComponent: import("react").FC<any>;
|
|
220
219
|
readonly selectedFeatureId: string | undefined;
|
|
221
|
-
readonly DisplayMessageComponent: import("react").FC<any
|
|
220
|
+
readonly DisplayMessageComponent: undefined | import("react").FC<any>;
|
|
222
221
|
} & {
|
|
223
222
|
readonly features: import("@jbrowse/core/util/compositeMap").default<string, Feature>;
|
|
224
223
|
readonly featureUnderMouse: Feature | undefined;
|
|
@@ -231,8 +230,8 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
231
230
|
selectFeature(feature: Feature): void;
|
|
232
231
|
navToFeature(feature: Feature): void;
|
|
233
232
|
clearFeatureSelection(): void;
|
|
234
|
-
setFeatureIdUnderMouse(feature?: string
|
|
235
|
-
setContextMenuFeature(feature?: Feature
|
|
233
|
+
setFeatureIdUnderMouse(feature?: string): void;
|
|
234
|
+
setContextMenuFeature(feature?: Feature): void;
|
|
236
235
|
} & {
|
|
237
236
|
reload(): Promise<void>;
|
|
238
237
|
} & {
|
|
@@ -253,20 +252,32 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
253
252
|
readonly rendererConfig: {
|
|
254
253
|
[x: string]: any;
|
|
255
254
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
256
|
-
setSubschema(slotName: string, data: unknown):
|
|
255
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
256
|
+
[x: string]: any;
|
|
257
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
258
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
259
|
+
[x: string]: any;
|
|
260
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>);
|
|
261
|
+
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>);
|
|
257
262
|
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>;
|
|
258
263
|
} & {
|
|
259
|
-
setJexlFilters(f?: string[]
|
|
264
|
+
setJexlFilters(f?: string[]): void;
|
|
260
265
|
toggleShowLabels(): void;
|
|
261
266
|
toggleShowDescriptions(): void;
|
|
262
267
|
setDisplayMode(val: string): void;
|
|
263
|
-
setMaxHeight(val?: number
|
|
268
|
+
setMaxHeight(val?: number): void;
|
|
264
269
|
} & {
|
|
265
270
|
renderProps(): {
|
|
266
271
|
config: {
|
|
267
272
|
[x: string]: any;
|
|
268
273
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
269
|
-
setSubschema(slotName: string, data: unknown):
|
|
274
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
275
|
+
[x: string]: any;
|
|
276
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
277
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
278
|
+
[x: string]: any;
|
|
279
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>);
|
|
280
|
+
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>);
|
|
270
281
|
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>;
|
|
271
282
|
filters: import("@jbrowse/core/pluggableElementTypes/renderers/util/serializableFilterChain").default;
|
|
272
283
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = stateModelFactory;
|
|
3
4
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
4
5
|
const tracks_1 = require("@jbrowse/core/util/tracks");
|
|
5
6
|
const util_1 = require("@jbrowse/core/util");
|
|
@@ -50,4 +51,3 @@ function stateModelFactory(configSchema) {
|
|
|
50
51
|
},
|
|
51
52
|
}));
|
|
52
53
|
}
|
|
53
|
-
exports.default = stateModelFactory;
|
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = StructuralVariantChordRendererF;
|
|
6
7
|
const CircularChordRendererType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/renderers/CircularChordRendererType"));
|
|
7
8
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
8
9
|
const ReactComponent_1 = __importDefault(require("./ReactComponent"));
|
|
@@ -15,4 +16,3 @@ function StructuralVariantChordRendererF(pluginManager) {
|
|
|
15
16
|
pluginManager,
|
|
16
17
|
}));
|
|
17
18
|
}
|
|
18
|
-
exports.default = StructuralVariantChordRendererF;
|
|
@@ -23,6 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.default = VariantAnnotPanel;
|
|
26
27
|
const react_1 = __importStar(require("react"));
|
|
27
28
|
const x_data_grid_1 = require("@mui/x-data-grid");
|
|
28
29
|
const material_1 = require("@mui/material");
|
|
@@ -34,4 +35,3 @@ function VariantAnnotPanel({ rows, columns, }) {
|
|
|
34
35
|
react_1.default.createElement(material_1.FormControlLabel, { control: react_1.default.createElement(material_1.Checkbox, { checked: checked, onChange: event => setChecked(event.target.checked) }), label: react_1.default.createElement(material_1.Typography, { variant: "body2" }, "Show options") }),
|
|
35
36
|
react_1.default.createElement(x_data_grid_1.DataGrid, { rowHeight: 25, rows: rows, columns: columns.map((c, i) => ({ ...c, width: widths[i] })), slots: { toolbar: checked ? x_data_grid_1.GridToolbar : null } }))) : null;
|
|
36
37
|
}
|
|
37
|
-
exports.default = VariantAnnotPanel;
|
|
@@ -23,6 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.default = BreakendPanel;
|
|
26
27
|
const react_1 = __importStar(require("react"));
|
|
27
28
|
const material_1 = require("@mui/material");
|
|
28
29
|
const util_1 = require("@jbrowse/core/util");
|
|
@@ -81,4 +82,3 @@ function BreakendPanel(props) {
|
|
|
81
82
|
react_1.default.createElement(LocStringList, { model: model, locStrings: locStrings }),
|
|
82
83
|
viewType ? (react_1.default.createElement(LaunchBreakpointSplitViewPanel, { viewType: viewType, model: model, locStrings: locStrings, feature: feature })) : null));
|
|
83
84
|
}
|
|
84
|
-
exports.default = BreakendPanel;
|
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = VariantAnnotationTable;
|
|
6
7
|
const react_1 = __importDefault(require("react"));
|
|
7
8
|
const BaseFeatureDetail_1 = require("@jbrowse/core/BaseFeatureWidget/BaseFeatureDetail");
|
|
8
9
|
const AnnotGrid_1 = __importDefault(require("./AnnotGrid"));
|
|
@@ -13,4 +14,3 @@ function VariantAnnotationTable({ data, fields, title, }) {
|
|
|
13
14
|
...Object.fromEntries(elt.split('|').map((e, i) => [fields[i], e])),
|
|
14
15
|
})) || [], columns: fields.map(c => ({ field: c })) }))) : null;
|
|
15
16
|
}
|
|
16
|
-
exports.default = VariantAnnotationTable;
|
|
@@ -23,6 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.default = VariantSamples;
|
|
26
27
|
const react_1 = __importStar(require("react"));
|
|
27
28
|
const material_1 = require("@mui/material");
|
|
28
29
|
const x_data_grid_1 = require("@mui/x-data-grid");
|
|
@@ -87,4 +88,3 @@ function VariantSamples(props) {
|
|
|
87
88
|
toolbar: { printOptions: { disableToolbarButton: true } },
|
|
88
89
|
} })));
|
|
89
90
|
}
|
|
90
|
-
exports.default = VariantSamples;
|
|
@@ -26,6 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.default = VariantFeatureWidgetF;
|
|
29
30
|
const react_1 = require("react");
|
|
30
31
|
const WidgetType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/WidgetType"));
|
|
31
32
|
const stateModelFactory_1 = require("./stateModelFactory");
|
|
@@ -39,4 +40,3 @@ function VariantFeatureWidgetF(pluginManager) {
|
|
|
39
40
|
ReactComponent: (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('./VariantFeatureWidget')))),
|
|
40
41
|
}));
|
|
41
42
|
}
|
|
42
|
-
exports.default = VariantFeatureWidgetF;
|
|
@@ -12,13 +12,26 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
12
12
|
trackType: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
13
13
|
maxDepth: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
14
14
|
sequenceFeatureDetails: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{}, {
|
|
15
|
+
showCoordinatesSetting: string;
|
|
15
16
|
intronBp: number;
|
|
16
17
|
upDownBp: number;
|
|
17
18
|
upperCaseCDS: boolean;
|
|
19
|
+
charactersPerRow: number;
|
|
20
|
+
feature: import("@jbrowse/core/util").SimpleFeatureSerialized | undefined;
|
|
21
|
+
mode: string;
|
|
18
22
|
} & {
|
|
23
|
+
setFeature(f: import("@jbrowse/core/util").SimpleFeatureSerialized): void;
|
|
19
24
|
setUpDownBp(f: number): void;
|
|
20
25
|
setIntronBp(f: number): void;
|
|
21
26
|
setUpperCaseCDS(f: boolean): void;
|
|
27
|
+
setShowCoordinates(f: "none" | "relative" | "genomic"): void;
|
|
28
|
+
setMode(mode: string): void;
|
|
29
|
+
} & {
|
|
30
|
+
readonly showCoordinates: boolean;
|
|
31
|
+
readonly showGenomicCoordsOption: boolean;
|
|
32
|
+
readonly hasCDS: boolean | undefined;
|
|
33
|
+
readonly hasExon: boolean | undefined;
|
|
34
|
+
readonly hasExonOrCDS: boolean | undefined;
|
|
22
35
|
} & {
|
|
23
36
|
afterAttach(): void;
|
|
24
37
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
@@ -31,7 +44,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
31
44
|
setFeatureData(featureData: Record<string, unknown>): void;
|
|
32
45
|
clearFeatureData(): void;
|
|
33
46
|
setFormattedData(feat: Record<string, unknown>): void;
|
|
34
|
-
setExtra(type?: string
|
|
47
|
+
setExtra(type?: string, trackId?: string, maxDepth?: number): void;
|
|
35
48
|
setError(e: unknown): void;
|
|
36
49
|
} & {
|
|
37
50
|
afterCreate(): void;
|
|
@@ -49,13 +62,26 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
49
62
|
trackType: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
50
63
|
maxDepth: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
51
64
|
sequenceFeatureDetails: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{}, {
|
|
65
|
+
showCoordinatesSetting: string;
|
|
52
66
|
intronBp: number;
|
|
53
67
|
upDownBp: number;
|
|
54
68
|
upperCaseCDS: boolean;
|
|
69
|
+
charactersPerRow: number;
|
|
70
|
+
feature: import("@jbrowse/core/util").SimpleFeatureSerialized | undefined;
|
|
71
|
+
mode: string;
|
|
55
72
|
} & {
|
|
73
|
+
setFeature(f: import("@jbrowse/core/util").SimpleFeatureSerialized): void;
|
|
56
74
|
setUpDownBp(f: number): void;
|
|
57
75
|
setIntronBp(f: number): void;
|
|
58
76
|
setUpperCaseCDS(f: boolean): void;
|
|
77
|
+
setShowCoordinates(f: "none" | "relative" | "genomic"): void;
|
|
78
|
+
setMode(mode: string): void;
|
|
79
|
+
} & {
|
|
80
|
+
readonly showCoordinates: boolean;
|
|
81
|
+
readonly showGenomicCoordsOption: boolean;
|
|
82
|
+
readonly hasCDS: boolean | undefined;
|
|
83
|
+
readonly hasExon: boolean | undefined;
|
|
84
|
+
readonly hasExonOrCDS: boolean | undefined;
|
|
59
85
|
} & {
|
|
60
86
|
afterAttach(): void;
|
|
61
87
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.stateModelFactory =
|
|
3
|
+
exports.stateModelFactory = stateModelFactory;
|
|
4
4
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
5
5
|
const BaseFeatureWidget_1 = require("@jbrowse/core/BaseFeatureWidget");
|
|
6
6
|
function stateModelFactory(pluginManager) {
|
|
@@ -10,4 +10,3 @@ function stateModelFactory(pluginManager) {
|
|
|
10
10
|
descriptions: mobx_state_tree_1.types.frozen(),
|
|
11
11
|
}));
|
|
12
12
|
}
|
|
13
|
-
exports.stateModelFactory = stateModelFactory;
|
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = VariantTrackF;
|
|
6
7
|
const TrackType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/TrackType"));
|
|
7
8
|
const models_1 = require("@jbrowse/core/pluggableElementTypes/models");
|
|
8
9
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
@@ -17,4 +18,3 @@ function VariantTrackF(pm) {
|
|
|
17
18
|
});
|
|
18
19
|
});
|
|
19
20
|
}
|
|
20
|
-
exports.default = VariantTrackF;
|
package/dist/VcfAdapter/index.js
CHANGED
|
@@ -26,6 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.default = VcfAdapterF;
|
|
29
30
|
const AdapterType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/AdapterType"));
|
|
30
31
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
31
32
|
function VcfAdapterF(pluginManager) {
|
|
@@ -36,4 +37,3 @@ function VcfAdapterF(pluginManager) {
|
|
|
36
37
|
getAdapterClass: () => Promise.resolve().then(() => __importStar(require('./VcfAdapter'))).then(r => r.default),
|
|
37
38
|
}));
|
|
38
39
|
}
|
|
39
|
-
exports.default = VcfAdapterF;
|
package/dist/VcfFeature/util.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getSOTermAndDescription = getSOTermAndDescription;
|
|
4
|
+
exports.getSOAndDescFromAltDefs = getSOAndDescFromAltDefs;
|
|
5
|
+
exports.getSOAndDescByExamination = getSOAndDescByExamination;
|
|
4
6
|
const vcf_1 = require("@gmod/vcf");
|
|
5
7
|
const altTypeToSO = {
|
|
6
8
|
DEL: 'deletion',
|
|
@@ -57,7 +59,6 @@ function getSOTermAndDescription(ref, alt, parser) {
|
|
|
57
59
|
}
|
|
58
60
|
return [];
|
|
59
61
|
}
|
|
60
|
-
exports.getSOTermAndDescription = getSOTermAndDescription;
|
|
61
62
|
function getSOAndDescFromAltDefs(alt, parser) {
|
|
62
63
|
if (typeof alt === 'string' && !alt.startsWith('<')) {
|
|
63
64
|
return [];
|
|
@@ -79,7 +80,6 @@ function getSOAndDescFromAltDefs(alt, parser) {
|
|
|
79
80
|
// no parent
|
|
80
81
|
return [];
|
|
81
82
|
}
|
|
82
|
-
exports.getSOAndDescFromAltDefs = getSOAndDescFromAltDefs;
|
|
83
83
|
// note: term SNV is used instead of SNP because SO definition of SNP says
|
|
84
84
|
// abundance must be at least 1% in population, and can't be sure we meet
|
|
85
85
|
// that
|
|
@@ -129,7 +129,6 @@ function getSOAndDescByExamination(ref, alt) {
|
|
|
129
129
|
}
|
|
130
130
|
return ['indel', makeDescriptionString('indel', ref, alt)];
|
|
131
131
|
}
|
|
132
|
-
exports.getSOAndDescByExamination = getSOAndDescByExamination;
|
|
133
132
|
function makeDescriptionString(soTerm, ref, alt) {
|
|
134
133
|
return `${soTerm} ${ref} -> ${alt}`;
|
|
135
134
|
}
|
|
@@ -27,6 +27,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.configSchema = void 0;
|
|
30
|
+
exports.default = VcfTabixAdapterF;
|
|
30
31
|
const AdapterType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/AdapterType"));
|
|
31
32
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
32
33
|
var configSchema_2 = require("./configSchema");
|
|
@@ -39,4 +40,3 @@ function VcfTabixAdapterF(pluginManager) {
|
|
|
39
40
|
getAdapterClass: () => Promise.resolve().then(() => __importStar(require('./VcfTabixAdapter'))).then(r => r.default),
|
|
40
41
|
}));
|
|
41
42
|
}
|
|
42
|
-
exports.default = VcfTabixAdapterF;
|
package/dist/extensionPoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = ExtensionPointsF;
|
|
3
4
|
const tracks_1 = require("@jbrowse/core/util/tracks");
|
|
4
5
|
function ExtensionPointsF(pluginManager) {
|
|
5
6
|
pluginManager.addToExtensionPoint('Core-guessAdapterForLocation', (adapterGuesser) => {
|
|
@@ -48,4 +49,3 @@ function ExtensionPointsF(pluginManager) {
|
|
|
48
49
|
};
|
|
49
50
|
});
|
|
50
51
|
}
|
|
51
|
-
exports.default = ExtensionPointsF;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
3
2
|
import { Feature } from '@jbrowse/core/util';
|
|
4
3
|
/**
|
|
@@ -53,8 +52,8 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
53
52
|
error: unknown;
|
|
54
53
|
message: string | undefined;
|
|
55
54
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
56
|
-
onHorizontalScroll?: Function
|
|
57
|
-
blockState?: Record<string, any
|
|
55
|
+
onHorizontalScroll?: Function;
|
|
56
|
+
blockState?: Record<string, any>;
|
|
58
57
|
}>;
|
|
59
58
|
readonly DisplayBlurb: import("react").FC<{
|
|
60
59
|
model: {
|
|
@@ -79,22 +78,22 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
79
78
|
readonly parentTrack: any;
|
|
80
79
|
renderProps(): any;
|
|
81
80
|
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType;
|
|
82
|
-
readonly DisplayMessageComponent: import("react").FC<any
|
|
81
|
+
readonly DisplayMessageComponent: undefined | import("react").FC<any>;
|
|
83
82
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
84
83
|
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
85
84
|
regionCannotBeRendered(): null;
|
|
86
85
|
} & {
|
|
87
|
-
setMessage(arg?: string
|
|
86
|
+
setMessage(arg?: string): void;
|
|
88
87
|
setError(error?: unknown): void;
|
|
89
88
|
setRpcDriverName(rpcDriverName: string): void;
|
|
90
89
|
reload(): void;
|
|
91
90
|
} & {
|
|
92
91
|
filled: boolean;
|
|
93
|
-
reactElement: import("react").ReactElement
|
|
92
|
+
reactElement: import("react").ReactElement | undefined;
|
|
94
93
|
data: undefined;
|
|
95
94
|
html: string | undefined;
|
|
96
95
|
message: string;
|
|
97
|
-
renderingComponent: import("@jbrowse/core/util").AnyReactComponentType
|
|
96
|
+
renderingComponent: undefined | import("@jbrowse/core/util").AnyReactComponentType;
|
|
98
97
|
refNameMap: Record<string, string> | undefined;
|
|
99
98
|
} & {
|
|
100
99
|
onChordClick(feature: Feature): void;
|
|
@@ -102,7 +101,7 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
102
101
|
readonly blockDefinitions: import("@jbrowse/plugin-circular-view/src/CircularView/models/slices").Slice[];
|
|
103
102
|
renderProps(): any;
|
|
104
103
|
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType;
|
|
105
|
-
isCompatibleWithRenderer(renderer: import("@jbrowse/core/pluggableElementTypes").RendererType):
|
|
104
|
+
isCompatibleWithRenderer(renderer: import("@jbrowse/core/pluggableElementTypes").RendererType): renderer is import("@jbrowse/core/pluggableElementTypes").CircularChordRendererType;
|
|
106
105
|
readonly selectedFeatureId: string | undefined;
|
|
107
106
|
} & {
|
|
108
107
|
renderStarted(): void;
|
|
@@ -110,7 +109,7 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
110
109
|
message: string;
|
|
111
110
|
data: any;
|
|
112
111
|
html: string;
|
|
113
|
-
reactElement: import("react").ReactElement
|
|
112
|
+
reactElement: import("react").ReactElement;
|
|
114
113
|
renderingComponent: import("@jbrowse/core/util").AnyReactComponentType;
|
|
115
114
|
}): void;
|
|
116
115
|
renderError(error: unknown): void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Feature } from '@jbrowse/core/util';
|
|
3
2
|
import { Instance } from 'mobx-state-tree';
|
|
4
3
|
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
@@ -37,7 +36,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
37
36
|
}, {
|
|
38
37
|
renderInProgress: AbortController | undefined;
|
|
39
38
|
filled: boolean;
|
|
40
|
-
reactElement: import("react").ReactElement
|
|
39
|
+
reactElement: import("react").ReactElement | undefined;
|
|
41
40
|
features: Map<string, Feature> | undefined;
|
|
42
41
|
layout: any;
|
|
43
42
|
status: string;
|
|
@@ -49,9 +48,9 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
49
48
|
error?: unknown;
|
|
50
49
|
reload: () => void;
|
|
51
50
|
message: import("react").ReactNode;
|
|
52
|
-
filled?: boolean
|
|
53
|
-
status?: string
|
|
54
|
-
reactElement?: import("react").ReactElement
|
|
51
|
+
filled?: boolean;
|
|
52
|
+
status?: string;
|
|
53
|
+
reactElement?: import("react").ReactElement;
|
|
55
54
|
};
|
|
56
55
|
}) => import("react").JSX.Element | undefined;
|
|
57
56
|
renderProps: any;
|
|
@@ -62,7 +61,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
62
61
|
setLoading(abortController: AbortController): void;
|
|
63
62
|
setMessage(messageText: string): void;
|
|
64
63
|
setRendered(props: {
|
|
65
|
-
reactElement: import("react").ReactElement
|
|
64
|
+
reactElement: import("react").ReactElement;
|
|
66
65
|
features: Map<string, Feature>;
|
|
67
66
|
layout: any;
|
|
68
67
|
maxHeightReached: boolean;
|
|
@@ -140,8 +139,8 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
140
139
|
error: unknown;
|
|
141
140
|
message: string | undefined;
|
|
142
141
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
143
|
-
onHorizontalScroll?: Function
|
|
144
|
-
blockState?: Record<string, any
|
|
142
|
+
onHorizontalScroll?: Function;
|
|
143
|
+
blockState?: Record<string, any>;
|
|
145
144
|
}>;
|
|
146
145
|
readonly DisplayBlurb: import("react").FC<{
|
|
147
146
|
model: {
|
|
@@ -166,12 +165,12 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
166
165
|
readonly parentTrack: any;
|
|
167
166
|
renderProps(): any;
|
|
168
167
|
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType;
|
|
169
|
-
readonly DisplayMessageComponent: import("react").FC<any
|
|
168
|
+
readonly DisplayMessageComponent: undefined | import("react").FC<any>;
|
|
170
169
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
171
170
|
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
172
171
|
regionCannotBeRendered(): null;
|
|
173
172
|
} & {
|
|
174
|
-
setMessage(arg?: string
|
|
173
|
+
setMessage(arg?: string): void;
|
|
175
174
|
setError(error?: unknown): void;
|
|
176
175
|
setRpcDriverName(rpcDriverName: string): void;
|
|
177
176
|
reload(): void;
|
|
@@ -184,8 +183,8 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
184
183
|
setHeight(displayHeight: number): number;
|
|
185
184
|
resizeHeight(distance: number): number;
|
|
186
185
|
} & {
|
|
187
|
-
featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
188
|
-
featureDensityStats: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
186
|
+
featureDensityStatsP: undefined | Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
187
|
+
featureDensityStats: undefined | import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats;
|
|
189
188
|
currStatsBpPerPx: number;
|
|
190
189
|
} & {
|
|
191
190
|
readonly currentBytesRequested: number;
|
|
@@ -197,10 +196,10 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
197
196
|
afterAttach(): void;
|
|
198
197
|
} & {
|
|
199
198
|
setCurrStatsBpPerPx(n: number): void;
|
|
200
|
-
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
199
|
+
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats): void;
|
|
201
200
|
getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
202
201
|
setFeatureDensityStatsP(arg: any): void;
|
|
203
|
-
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
202
|
+
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats): void;
|
|
204
203
|
clearFeatureDensityStats(): void;
|
|
205
204
|
} & {
|
|
206
205
|
readonly regionTooLarge: boolean;
|
|
@@ -209,8 +208,8 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
209
208
|
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
210
209
|
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react").JSX.Element | null;
|
|
211
210
|
} & {
|
|
212
|
-
featureIdUnderMouse:
|
|
213
|
-
contextMenuFeature:
|
|
211
|
+
featureIdUnderMouse: undefined | string;
|
|
212
|
+
contextMenuFeature: undefined | Feature;
|
|
214
213
|
} & {
|
|
215
214
|
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
216
215
|
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
@@ -218,7 +217,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
218
217
|
readonly renderDelay: number;
|
|
219
218
|
readonly TooltipComponent: import("react").FC<any>;
|
|
220
219
|
readonly selectedFeatureId: string | undefined;
|
|
221
|
-
readonly DisplayMessageComponent: import("react").FC<any
|
|
220
|
+
readonly DisplayMessageComponent: undefined | import("react").FC<any>;
|
|
222
221
|
} & {
|
|
223
222
|
readonly features: import("@jbrowse/core/util/compositeMap").default<string, Feature>;
|
|
224
223
|
readonly featureUnderMouse: Feature | undefined;
|
|
@@ -231,8 +230,8 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
231
230
|
selectFeature(feature: Feature): void;
|
|
232
231
|
navToFeature(feature: Feature): void;
|
|
233
232
|
clearFeatureSelection(): void;
|
|
234
|
-
setFeatureIdUnderMouse(feature?: string
|
|
235
|
-
setContextMenuFeature(feature?: Feature
|
|
233
|
+
setFeatureIdUnderMouse(feature?: string): void;
|
|
234
|
+
setContextMenuFeature(feature?: Feature): void;
|
|
236
235
|
} & {
|
|
237
236
|
reload(): Promise<void>;
|
|
238
237
|
} & {
|
|
@@ -253,20 +252,32 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
253
252
|
readonly rendererConfig: {
|
|
254
253
|
[x: string]: any;
|
|
255
254
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
256
|
-
setSubschema(slotName: string, data: unknown):
|
|
255
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
256
|
+
[x: string]: any;
|
|
257
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
258
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
259
|
+
[x: string]: any;
|
|
260
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>);
|
|
261
|
+
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>);
|
|
257
262
|
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>;
|
|
258
263
|
} & {
|
|
259
|
-
setJexlFilters(f?: string[]
|
|
264
|
+
setJexlFilters(f?: string[]): void;
|
|
260
265
|
toggleShowLabels(): void;
|
|
261
266
|
toggleShowDescriptions(): void;
|
|
262
267
|
setDisplayMode(val: string): void;
|
|
263
|
-
setMaxHeight(val?: number
|
|
268
|
+
setMaxHeight(val?: number): void;
|
|
264
269
|
} & {
|
|
265
270
|
renderProps(): {
|
|
266
271
|
config: {
|
|
267
272
|
[x: string]: any;
|
|
268
273
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
269
|
-
setSubschema(slotName: string, data: unknown):
|
|
274
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
275
|
+
[x: string]: any;
|
|
276
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
277
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
278
|
+
[x: string]: any;
|
|
279
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>);
|
|
280
|
+
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>);
|
|
270
281
|
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>;
|
|
271
282
|
filters: import("@jbrowse/core/pluggableElementTypes/renderers/util/serializableFilterChain").default;
|
|
272
283
|
};
|
|
@@ -12,13 +12,26 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
12
12
|
trackType: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
13
13
|
maxDepth: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
14
14
|
sequenceFeatureDetails: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{}, {
|
|
15
|
+
showCoordinatesSetting: string;
|
|
15
16
|
intronBp: number;
|
|
16
17
|
upDownBp: number;
|
|
17
18
|
upperCaseCDS: boolean;
|
|
19
|
+
charactersPerRow: number;
|
|
20
|
+
feature: import("@jbrowse/core/util").SimpleFeatureSerialized | undefined;
|
|
21
|
+
mode: string;
|
|
18
22
|
} & {
|
|
23
|
+
setFeature(f: import("@jbrowse/core/util").SimpleFeatureSerialized): void;
|
|
19
24
|
setUpDownBp(f: number): void;
|
|
20
25
|
setIntronBp(f: number): void;
|
|
21
26
|
setUpperCaseCDS(f: boolean): void;
|
|
27
|
+
setShowCoordinates(f: "none" | "relative" | "genomic"): void;
|
|
28
|
+
setMode(mode: string): void;
|
|
29
|
+
} & {
|
|
30
|
+
readonly showCoordinates: boolean;
|
|
31
|
+
readonly showGenomicCoordsOption: boolean;
|
|
32
|
+
readonly hasCDS: boolean | undefined;
|
|
33
|
+
readonly hasExon: boolean | undefined;
|
|
34
|
+
readonly hasExonOrCDS: boolean | undefined;
|
|
22
35
|
} & {
|
|
23
36
|
afterAttach(): void;
|
|
24
37
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
@@ -31,7 +44,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
31
44
|
setFeatureData(featureData: Record<string, unknown>): void;
|
|
32
45
|
clearFeatureData(): void;
|
|
33
46
|
setFormattedData(feat: Record<string, unknown>): void;
|
|
34
|
-
setExtra(type?: string
|
|
47
|
+
setExtra(type?: string, trackId?: string, maxDepth?: number): void;
|
|
35
48
|
setError(e: unknown): void;
|
|
36
49
|
} & {
|
|
37
50
|
afterCreate(): void;
|
|
@@ -49,13 +62,26 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
49
62
|
trackType: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
50
63
|
maxDepth: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
51
64
|
sequenceFeatureDetails: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{}, {
|
|
65
|
+
showCoordinatesSetting: string;
|
|
52
66
|
intronBp: number;
|
|
53
67
|
upDownBp: number;
|
|
54
68
|
upperCaseCDS: boolean;
|
|
69
|
+
charactersPerRow: number;
|
|
70
|
+
feature: import("@jbrowse/core/util").SimpleFeatureSerialized | undefined;
|
|
71
|
+
mode: string;
|
|
55
72
|
} & {
|
|
73
|
+
setFeature(f: import("@jbrowse/core/util").SimpleFeatureSerialized): void;
|
|
56
74
|
setUpDownBp(f: number): void;
|
|
57
75
|
setIntronBp(f: number): void;
|
|
58
76
|
setUpperCaseCDS(f: boolean): void;
|
|
77
|
+
setShowCoordinates(f: "none" | "relative" | "genomic"): void;
|
|
78
|
+
setMode(mode: string): void;
|
|
79
|
+
} & {
|
|
80
|
+
readonly showCoordinates: boolean;
|
|
81
|
+
readonly showGenomicCoordsOption: boolean;
|
|
82
|
+
readonly hasCDS: boolean | undefined;
|
|
83
|
+
readonly hasExon: boolean | undefined;
|
|
84
|
+
readonly hasExonOrCDS: boolean | undefined;
|
|
59
85
|
} & {
|
|
60
86
|
afterAttach(): void;
|
|
61
87
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-variants",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.1",
|
|
4
4
|
"description": "JBrowse 2 variant adapters, tracks, etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@jbrowse/core": "^2.0.0",
|
|
49
|
-
"@jbrowse/plugin-alignments": "^2.0.0",
|
|
50
49
|
"@jbrowse/plugin-circular-view": "^2.0.0",
|
|
51
50
|
"@jbrowse/plugin-linear-genome-view": "^2.0.0",
|
|
52
51
|
"@mui/material": "^5.0.0",
|
|
@@ -63,5 +62,5 @@
|
|
|
63
62
|
"distModule": "esm/index.js",
|
|
64
63
|
"srcModule": "src/index.ts",
|
|
65
64
|
"module": "esm/index.js",
|
|
66
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "20f16ae5a56ae5e4806aaa373131e540b0b5b0fd"
|
|
67
66
|
}
|