@jbrowse/plugin-linear-comparative-view 2.9.0 → 2.10.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/LGVSyntenyDisplay/configSchemaF.d.ts +2 -0
- package/dist/LGVSyntenyDisplay/configSchemaF.js +2 -0
- package/dist/LGVSyntenyDisplay/model.d.ts +18 -7
- package/dist/LGVSyntenyDisplay/model.js +13 -3
- package/dist/LinearComparativeDisplay/stateModelFactory.d.ts +35 -27
- package/dist/LinearComparativeDisplay/stateModelFactory.js +2 -0
- package/dist/LinearComparativeView/model.d.ts +27 -12
- package/dist/LinearComparativeView/model.js +2 -0
- package/dist/LinearReadVsRef/index.js +26 -2
- package/dist/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +185 -96
- package/dist/LinearSyntenyDisplay/components/SyntenyContextMenu.d.ts +13 -0
- package/dist/LinearSyntenyDisplay/components/SyntenyContextMenu.js +57 -0
- package/dist/LinearSyntenyDisplay/components/SyntenyTooltip.d.ts +1 -3
- package/dist/LinearSyntenyDisplay/components/SyntenyTooltip.js +19 -51
- package/dist/LinearSyntenyDisplay/model.d.ts +27 -17
- package/dist/LinearSyntenyDisplay/model.js +2 -1
- package/dist/LinearSyntenyView/model.d.ts +119 -54
- package/dist/LinearSyntenyView/model.js +8 -1
- package/dist/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +6 -6
- package/dist/SyntenyTrack/configSchema.js +2 -0
- package/esm/LGVSyntenyDisplay/configSchemaF.d.ts +2 -0
- package/esm/LGVSyntenyDisplay/configSchemaF.js +2 -0
- package/esm/LGVSyntenyDisplay/model.d.ts +18 -7
- package/esm/LGVSyntenyDisplay/model.js +13 -3
- package/esm/LinearComparativeDisplay/stateModelFactory.d.ts +35 -27
- package/esm/LinearComparativeDisplay/stateModelFactory.js +2 -0
- package/esm/LinearComparativeView/model.d.ts +27 -12
- package/esm/LinearComparativeView/model.js +2 -0
- package/esm/LinearReadVsRef/index.js +2 -1
- package/esm/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +186 -97
- package/esm/LinearSyntenyDisplay/components/SyntenyContextMenu.d.ts +13 -0
- package/esm/LinearSyntenyDisplay/components/SyntenyContextMenu.js +51 -0
- package/esm/LinearSyntenyDisplay/components/SyntenyTooltip.d.ts +1 -3
- package/esm/LinearSyntenyDisplay/components/SyntenyTooltip.js +18 -30
- package/esm/LinearSyntenyDisplay/model.d.ts +27 -17
- package/esm/LinearSyntenyDisplay/model.js +2 -1
- package/esm/LinearSyntenyView/model.d.ts +119 -54
- package/esm/LinearSyntenyView/model.js +8 -1
- package/esm/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +6 -6
- package/esm/SyntenyTrack/configSchema.js +2 -0
- package/package.json +4 -5
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
2
|
/**
|
|
3
3
|
* #config LGVSyntenyDisplay
|
|
4
|
+
* extends config
|
|
5
|
+
* - [LinearPileupDisplay](../linearpileupdisplay)
|
|
4
6
|
*/
|
|
5
7
|
declare function configSchemaF(pluginManager: PluginManager): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
6
8
|
defaultRendering: {
|
|
@@ -4,6 +4,8 @@ const configuration_1 = require("@jbrowse/core/configuration");
|
|
|
4
4
|
const plugin_alignments_1 = require("@jbrowse/plugin-alignments");
|
|
5
5
|
/**
|
|
6
6
|
* #config LGVSyntenyDisplay
|
|
7
|
+
* extends config
|
|
8
|
+
* - [LinearPileupDisplay](../linearpileupdisplay)
|
|
7
9
|
*/
|
|
8
10
|
function configSchemaF(pluginManager) {
|
|
9
11
|
return (0, configuration_1.ConfigurationSchema)('LGVSyntenyDisplay', {}, {
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
3
3
|
/**
|
|
4
4
|
* #stateModel LGVSyntenyDisplay
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* displays location of "synteny" feature in a plain LGV, allowing linking out
|
|
6
|
+
* to external synteny views
|
|
7
|
+
*
|
|
8
|
+
* extends
|
|
9
|
+
* - [SharedLinearPileupDisplayMixin](../sharedlinearpileupdisplaymixin)
|
|
7
10
|
*/
|
|
8
11
|
declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("mobx-state-tree").IModelType<{
|
|
9
12
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -69,15 +72,15 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
69
72
|
};
|
|
70
73
|
fetchSizeLimit: {
|
|
71
74
|
type: string;
|
|
72
|
-
defaultValue: number;
|
|
73
|
-
* #property
|
|
74
|
-
*/
|
|
75
|
+
defaultValue: number;
|
|
75
76
|
description: string;
|
|
76
77
|
};
|
|
77
78
|
height: {
|
|
78
79
|
type: string;
|
|
79
80
|
defaultValue: number;
|
|
80
|
-
description: string;
|
|
81
|
+
description: string; /**
|
|
82
|
+
* #method
|
|
83
|
+
*/
|
|
81
84
|
};
|
|
82
85
|
mouseover: {
|
|
83
86
|
type: string;
|
|
@@ -146,7 +149,9 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
146
149
|
model: {
|
|
147
150
|
id: string;
|
|
148
151
|
type: string;
|
|
149
|
-
rpcDriverName: string | undefined;
|
|
152
|
+
rpcDriverName: string | undefined; /**
|
|
153
|
+
* #method
|
|
154
|
+
*/
|
|
150
155
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
151
156
|
rendererTypeName: string;
|
|
152
157
|
error: unknown;
|
|
@@ -319,8 +324,14 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
319
324
|
} & {
|
|
320
325
|
afterAttach(): void;
|
|
321
326
|
} & {
|
|
327
|
+
/**
|
|
328
|
+
* #method
|
|
329
|
+
*/
|
|
322
330
|
contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
323
331
|
} & {
|
|
332
|
+
/**
|
|
333
|
+
* #method
|
|
334
|
+
*/
|
|
324
335
|
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 | {
|
|
325
336
|
label: string;
|
|
326
337
|
subMenu: {
|
|
@@ -31,8 +31,11 @@ const mobx_state_tree_1 = require("mobx-state-tree");
|
|
|
31
31
|
const LaunchSyntenyViewDialog = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('./components/LaunchSyntenyViewDialog'))));
|
|
32
32
|
/**
|
|
33
33
|
* #stateModel LGVSyntenyDisplay
|
|
34
|
-
*
|
|
35
|
-
*
|
|
34
|
+
* displays location of "synteny" feature in a plain LGV, allowing linking out
|
|
35
|
+
* to external synteny views
|
|
36
|
+
*
|
|
37
|
+
* extends
|
|
38
|
+
* - [SharedLinearPileupDisplayMixin](../sharedlinearpileupdisplaymixin)
|
|
36
39
|
*/
|
|
37
40
|
function stateModelFactory(schema) {
|
|
38
41
|
return mobx_state_tree_1.types
|
|
@@ -49,6 +52,9 @@ function stateModelFactory(schema) {
|
|
|
49
52
|
.views(self => {
|
|
50
53
|
const superContextMenuItems = self.contextMenuItems;
|
|
51
54
|
return {
|
|
55
|
+
/**
|
|
56
|
+
* #method
|
|
57
|
+
*/
|
|
52
58
|
contextMenuItems() {
|
|
53
59
|
const feature = self.contextMenuFeature;
|
|
54
60
|
return [
|
|
@@ -77,6 +83,9 @@ function stateModelFactory(schema) {
|
|
|
77
83
|
.views(self => {
|
|
78
84
|
const { trackMenuItems: superTrackMenuItems, colorSchemeSubMenuItems: superColorSchemeSubMenuItems, } = self;
|
|
79
85
|
return {
|
|
86
|
+
/**
|
|
87
|
+
* #method
|
|
88
|
+
*/
|
|
80
89
|
trackMenuItems() {
|
|
81
90
|
return [
|
|
82
91
|
...superTrackMenuItems(),
|
|
@@ -90,7 +99,8 @@ function stateModelFactory(schema) {
|
|
|
90
99
|
})
|
|
91
100
|
.actions(self => ({
|
|
92
101
|
afterCreate() {
|
|
93
|
-
// use color by stand to help indicate inversions better on first load,
|
|
102
|
+
// use color by stand to help indicate inversions better on first load,
|
|
103
|
+
// otherwise use selected orientation
|
|
94
104
|
if (self.colorBy) {
|
|
95
105
|
self.setColorScheme({ ...self.colorBy });
|
|
96
106
|
}
|
|
@@ -4,6 +4,8 @@ import { Instance } from 'mobx-state-tree';
|
|
|
4
4
|
import { Feature } from '@jbrowse/core/util';
|
|
5
5
|
/**
|
|
6
6
|
* #stateModel LinearComparativeDisplay
|
|
7
|
+
* extends
|
|
8
|
+
* - [BaseDisplay](../basedisplay)
|
|
7
9
|
*/
|
|
8
10
|
declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): import("mobx-state-tree").IModelType<{
|
|
9
11
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -21,7 +23,9 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
21
23
|
readonly RenderingComponent: import("react").FC<{
|
|
22
24
|
model: {
|
|
23
25
|
id: string;
|
|
24
|
-
type: string;
|
|
26
|
+
type: string; /**
|
|
27
|
+
* #property
|
|
28
|
+
*/
|
|
25
29
|
rpcDriverName: string | undefined;
|
|
26
30
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
27
31
|
rendererTypeName: string;
|
|
@@ -30,12 +34,12 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
30
34
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
31
35
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
32
36
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
33
|
-
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
37
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
38
|
+
}, {
|
|
39
|
+
rendererTypeName: string; /**
|
|
34
40
|
* #action
|
|
35
41
|
* controlled by a reaction
|
|
36
42
|
*/
|
|
37
|
-
}, {
|
|
38
|
-
rendererTypeName: string;
|
|
39
43
|
error: unknown;
|
|
40
44
|
message: string | undefined;
|
|
41
45
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
@@ -48,10 +52,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
48
52
|
type: string;
|
|
49
53
|
rpcDriverName: string | undefined;
|
|
50
54
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
51
|
-
rendererTypeName: string;
|
|
52
|
-
* #action
|
|
53
|
-
* controlled by a reaction
|
|
54
|
-
*/
|
|
55
|
+
rendererTypeName: string;
|
|
55
56
|
error: unknown;
|
|
56
57
|
message: string | undefined;
|
|
57
58
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -67,7 +68,10 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
67
68
|
readonly adapterConfig: any;
|
|
68
69
|
readonly parentTrack: any;
|
|
69
70
|
renderProps(): any;
|
|
70
|
-
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType;
|
|
71
|
+
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType; /**
|
|
72
|
+
* #action
|
|
73
|
+
* controlled by a reaction
|
|
74
|
+
*/
|
|
71
75
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
72
76
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
73
77
|
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
@@ -105,7 +109,9 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
105
109
|
readonly RenderingComponent: import("react").FC<{
|
|
106
110
|
model: {
|
|
107
111
|
id: string;
|
|
108
|
-
type: string;
|
|
112
|
+
type: string; /**
|
|
113
|
+
* #property
|
|
114
|
+
*/
|
|
109
115
|
rpcDriverName: string | undefined;
|
|
110
116
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
111
117
|
rendererTypeName: string;
|
|
@@ -114,12 +120,12 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
114
120
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
115
121
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
116
122
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
117
|
-
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
123
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
124
|
+
}, {
|
|
125
|
+
rendererTypeName: string; /**
|
|
118
126
|
* #action
|
|
119
127
|
* controlled by a reaction
|
|
120
128
|
*/
|
|
121
|
-
}, {
|
|
122
|
-
rendererTypeName: string;
|
|
123
129
|
error: unknown;
|
|
124
130
|
message: string | undefined;
|
|
125
131
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
@@ -132,10 +138,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
132
138
|
type: string;
|
|
133
139
|
rpcDriverName: string | undefined;
|
|
134
140
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
135
|
-
rendererTypeName: string;
|
|
136
|
-
* #action
|
|
137
|
-
* controlled by a reaction
|
|
138
|
-
*/
|
|
141
|
+
rendererTypeName: string;
|
|
139
142
|
error: unknown;
|
|
140
143
|
message: string | undefined;
|
|
141
144
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -151,7 +154,10 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
151
154
|
readonly adapterConfig: any;
|
|
152
155
|
readonly parentTrack: any;
|
|
153
156
|
renderProps(): any;
|
|
154
|
-
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType;
|
|
157
|
+
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType; /**
|
|
158
|
+
* #action
|
|
159
|
+
* controlled by a reaction
|
|
160
|
+
*/
|
|
155
161
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
156
162
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
157
163
|
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
@@ -181,7 +187,9 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
181
187
|
readonly RenderingComponent: import("react").FC<{
|
|
182
188
|
model: {
|
|
183
189
|
id: string;
|
|
184
|
-
type: string;
|
|
190
|
+
type: string; /**
|
|
191
|
+
* #property
|
|
192
|
+
*/
|
|
185
193
|
rpcDriverName: string | undefined;
|
|
186
194
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
187
195
|
rendererTypeName: string;
|
|
@@ -190,12 +198,12 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
190
198
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
191
199
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
192
200
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
193
|
-
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
201
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
202
|
+
}, {
|
|
203
|
+
rendererTypeName: string; /**
|
|
194
204
|
* #action
|
|
195
205
|
* controlled by a reaction
|
|
196
206
|
*/
|
|
197
|
-
}, {
|
|
198
|
-
rendererTypeName: string;
|
|
199
207
|
error: unknown;
|
|
200
208
|
message: string | undefined;
|
|
201
209
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
@@ -208,10 +216,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
208
216
|
type: string;
|
|
209
217
|
rpcDriverName: string | undefined;
|
|
210
218
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
211
|
-
rendererTypeName: string;
|
|
212
|
-
* #action
|
|
213
|
-
* controlled by a reaction
|
|
214
|
-
*/
|
|
219
|
+
rendererTypeName: string;
|
|
215
220
|
error: unknown;
|
|
216
221
|
message: string | undefined;
|
|
217
222
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -227,7 +232,10 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
227
232
|
readonly adapterConfig: any;
|
|
228
233
|
readonly parentTrack: any;
|
|
229
234
|
renderProps(): any;
|
|
230
|
-
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType;
|
|
235
|
+
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType; /**
|
|
236
|
+
* #action
|
|
237
|
+
* controlled by a reaction
|
|
238
|
+
*/
|
|
231
239
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
232
240
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
233
241
|
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
@@ -7,6 +7,8 @@ const tracks_1 = require("@jbrowse/core/util/tracks");
|
|
|
7
7
|
const models_1 = require("@jbrowse/core/pluggableElementTypes/models");
|
|
8
8
|
/**
|
|
9
9
|
* #stateModel LinearComparativeDisplay
|
|
10
|
+
* extends
|
|
11
|
+
* - [BaseDisplay](../basedisplay)
|
|
10
12
|
*/
|
|
11
13
|
function stateModelFactory(configSchema) {
|
|
12
14
|
return mobx_state_tree_1.types
|
|
@@ -5,6 +5,8 @@ import PluginManager from '@jbrowse/core/PluginManager';
|
|
|
5
5
|
import { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view';
|
|
6
6
|
/**
|
|
7
7
|
* #stateModel LinearComparativeView
|
|
8
|
+
* extends
|
|
9
|
+
* - [BaseViewModel](../baseviewmodel)
|
|
8
10
|
*/
|
|
9
11
|
declare function stateModelFactory(pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
|
|
10
12
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -34,9 +36,6 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
34
36
|
end: import("mobx-state-tree").ISimpleType<number>;
|
|
35
37
|
reversed: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
36
38
|
} & {
|
|
37
|
-
/**
|
|
38
|
-
* #property
|
|
39
|
-
*/
|
|
40
39
|
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
41
40
|
}, {
|
|
42
41
|
setRefName(newRefName: string): void;
|
|
@@ -64,7 +63,9 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
64
63
|
draggingTrackId: string | undefined;
|
|
65
64
|
volatileError: unknown;
|
|
66
65
|
afterDisplayedRegionsSetCallbacks: Function[];
|
|
67
|
-
scaleFactor: number;
|
|
66
|
+
scaleFactor: number; /**
|
|
67
|
+
* #action
|
|
68
|
+
*/
|
|
68
69
|
trackRefs: Record<string, HTMLDivElement>;
|
|
69
70
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
70
71
|
coarseTotalBp: number;
|
|
@@ -192,7 +193,8 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
192
193
|
} & {
|
|
193
194
|
getConf(arg: string): any;
|
|
194
195
|
} & {
|
|
195
|
-
readonly initialized: boolean;
|
|
196
|
+
readonly initialized: boolean;
|
|
197
|
+
/**
|
|
196
198
|
* #property
|
|
197
199
|
*/
|
|
198
200
|
readonly name: string;
|
|
@@ -226,11 +228,17 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
226
228
|
load(): Promise<void>;
|
|
227
229
|
loadPre(): Promise<void>;
|
|
228
230
|
} & {
|
|
229
|
-
getAdapterMapEntry(adapterConf:
|
|
230
|
-
|
|
231
|
+
getAdapterMapEntry(adapterConf: {
|
|
232
|
+
[x: string]: unknown;
|
|
233
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
|
|
234
|
+
getRefNameMapForAdapter(adapterConf: {
|
|
235
|
+
[x: string]: unknown;
|
|
236
|
+
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
231
237
|
[x: string]: string | undefined;
|
|
232
238
|
}>;
|
|
233
|
-
getReverseRefNameMapForAdapter(adapterConf:
|
|
239
|
+
getReverseRefNameMapForAdapter(adapterConf: {
|
|
240
|
+
[x: string]: unknown;
|
|
241
|
+
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
234
242
|
[x: string]: string | undefined;
|
|
235
243
|
}>;
|
|
236
244
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -250,7 +258,8 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
250
258
|
} & {
|
|
251
259
|
getConf(arg: string): any;
|
|
252
260
|
} & {
|
|
253
|
-
readonly initialized: boolean;
|
|
261
|
+
readonly initialized: boolean;
|
|
262
|
+
/**
|
|
254
263
|
* #property
|
|
255
264
|
*/
|
|
256
265
|
readonly name: string;
|
|
@@ -284,11 +293,17 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
284
293
|
load(): Promise<void>;
|
|
285
294
|
loadPre(): Promise<void>;
|
|
286
295
|
} & {
|
|
287
|
-
getAdapterMapEntry(adapterConf:
|
|
288
|
-
|
|
296
|
+
getAdapterMapEntry(adapterConf: {
|
|
297
|
+
[x: string]: unknown;
|
|
298
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
|
|
299
|
+
getRefNameMapForAdapter(adapterConf: {
|
|
300
|
+
[x: string]: unknown;
|
|
301
|
+
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
289
302
|
[x: string]: string | undefined;
|
|
290
303
|
}>;
|
|
291
|
-
getReverseRefNameMapForAdapter(adapterConf:
|
|
304
|
+
getReverseRefNameMapForAdapter(adapterConf: {
|
|
305
|
+
[x: string]: unknown;
|
|
306
|
+
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
292
307
|
[x: string]: string | undefined;
|
|
293
308
|
}>;
|
|
294
309
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
@@ -40,6 +40,8 @@ const FolderOpen_1 = __importDefault(require("@mui/icons-material/FolderOpen"));
|
|
|
40
40
|
const ReturnToImportFormDialog = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('@jbrowse/core/ui/ReturnToImportFormDialog'))));
|
|
41
41
|
/**
|
|
42
42
|
* #stateModel LinearComparativeView
|
|
43
|
+
* extends
|
|
44
|
+
* - [BaseViewModel](../baseviewmodel)
|
|
43
45
|
*/
|
|
44
46
|
function stateModelFactory(pluginManager) {
|
|
45
47
|
return mobx_state_tree_1.types
|
|
@@ -1,13 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
2
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
27
|
};
|
|
5
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
const react_1 = require("react");
|
|
6
30
|
const util_1 = require("@jbrowse/core/util");
|
|
7
31
|
// icons
|
|
8
32
|
const Add_1 = __importDefault(require("@mui/icons-material/Add"));
|
|
9
33
|
// locals
|
|
10
|
-
const
|
|
34
|
+
const ReadVsRefDialog = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('./LinearReadVsRef'))));
|
|
11
35
|
function isDisplay(elt) {
|
|
12
36
|
return elt.name === 'LinearPileupDisplay';
|
|
13
37
|
}
|
|
@@ -32,7 +56,7 @@ function default_1(pm) {
|
|
|
32
56
|
icon: Add_1.default,
|
|
33
57
|
onClick: () => {
|
|
34
58
|
(0, util_1.getSession)(self).queueDialog(handleClose => [
|
|
35
|
-
|
|
59
|
+
ReadVsRefDialog,
|
|
36
60
|
{
|
|
37
61
|
track,
|
|
38
62
|
feature,
|