@jbrowse/plugin-alignments 2.6.2 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AlignmentsFeatureDetail/AlignmentsFeatureDetail.d.ts +2 -2
- package/dist/AlignmentsFeatureDetail/AlignmentsFeatureDetail.js +2 -1
- package/dist/AlignmentsFeatureDetail/util.d.ts +1 -3
- package/dist/BamAdapter/BamAdapter.d.ts +2 -9
- package/dist/CramAdapter/CramAdapter.d.ts +3 -11
- package/dist/CramAdapter/CramAdapter.js +2 -1
- package/dist/CramAdapter/util.js +3 -6
- package/dist/LinearAlignmentsDisplay/components/AlignmentsDisplay.d.ts +3 -4
- package/dist/LinearAlignmentsDisplay/components/AlignmentsDisplay.js +3 -3
- package/dist/LinearAlignmentsDisplay/models/model.d.ts +5 -9
- package/dist/LinearAlignmentsDisplay/models/model.js +1 -0
- package/dist/LinearPileupDisplay/SharedLinearPileupDisplayMixin.d.ts +514 -0
- package/dist/LinearPileupDisplay/SharedLinearPileupDisplayMixin.js +547 -0
- package/dist/LinearPileupDisplay/components/ColorByModifications.d.ts +4 -5
- package/dist/LinearPileupDisplay/components/ColorByModifications.js +3 -4
- package/dist/LinearPileupDisplay/components/ColorByTag.d.ts +7 -5
- package/dist/LinearPileupDisplay/components/ColorByTag.js +4 -7
- package/dist/LinearPileupDisplay/components/LinearPileupDisplayBlurb.d.ts +3 -4
- package/dist/LinearPileupDisplay/components/LinearPileupDisplayBlurb.js +2 -2
- package/dist/LinearPileupDisplay/components/SetFeatureHeight.d.ts +4 -5
- package/dist/LinearPileupDisplay/components/SetFeatureHeight.js +3 -3
- package/dist/LinearPileupDisplay/components/SetMaxHeight.d.ts +3 -4
- package/dist/LinearPileupDisplay/components/SetMaxHeight.js +3 -3
- package/dist/LinearPileupDisplay/components/SortByTag.d.ts +3 -4
- package/dist/LinearPileupDisplay/components/SortByTag.js +3 -3
- package/dist/LinearPileupDisplay/index.d.ts +1 -0
- package/dist/LinearPileupDisplay/index.js +3 -1
- package/dist/LinearPileupDisplay/model.d.ts +142 -234
- package/dist/LinearPileupDisplay/model.js +50 -446
- package/dist/LinearReadArcsDisplay/components/ReactComponent.d.ts +2 -2
- package/dist/LinearReadArcsDisplay/components/ReactComponent.js +2 -1
- package/dist/LinearReadArcsDisplay/model.d.ts +9 -14
- package/dist/LinearReadCloudDisplay/components/ReactComponent.d.ts +2 -2
- package/dist/LinearReadCloudDisplay/components/ReactComponent.js +2 -1
- package/dist/LinearReadCloudDisplay/drawPairChains.js +1 -2
- package/dist/LinearReadCloudDisplay/model.d.ts +13 -15
- package/dist/LinearSNPCoverageDisplay/components/Tooltip.js +1 -1
- package/dist/LinearSNPCoverageDisplay/models/model.d.ts +18 -423
- package/dist/LinearSNPCoverageDisplay/models/model.js +18 -0
- package/dist/MismatchParser/index.js +6 -8
- package/dist/PileupRenderer/PileupRenderer.js +0 -25
- package/dist/PileupRenderer/colorBy.js +1 -1
- package/dist/PileupRenderer/components/PileupRendering.d.ts +9 -10
- package/dist/PileupRenderer/components/PileupRendering.js +3 -5
- package/dist/PileupRenderer/getAlignmentShapeColor.js +1 -1
- package/dist/PileupRenderer/layoutFeature.js +1 -2
- package/dist/PileupRenderer/makeImageData.d.ts +1 -3
- package/dist/PileupRenderer/renderMethylation.js +5 -10
- package/dist/PileupRenderer/renderMismatches.d.ts +2 -6
- package/dist/PileupRenderer/renderMismatches.js +8 -11
- package/dist/PileupRenderer/renderModifications.js +4 -8
- package/dist/PileupRenderer/renderSoftClipping.js +26 -25
- package/dist/PileupRenderer/sortUtil.js +2 -2
- package/dist/SNPCoverageAdapter/util.d.ts +9 -13
- package/dist/SNPCoverageRenderer/SNPCoverageRenderer.js +6 -12
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/shared/BaseDisplayComponent.d.ts +2 -2
- package/dist/shared/BaseDisplayComponent.js +2 -1
- package/dist/shared/FilterByTag.d.ts +6 -15
- package/dist/shared/FilterByTag.js +4 -6
- package/dist/shared/color.d.ts +10 -0
- package/dist/shared/color.js +7 -1
- package/dist/shared/fetchChains.js +1 -0
- package/dist/shared/index.d.ts +9 -0
- package/dist/util.d.ts +3 -9
- package/esm/AlignmentsFeatureDetail/AlignmentsFeatureDetail.d.ts +2 -2
- package/esm/AlignmentsFeatureDetail/AlignmentsFeatureDetail.js +2 -1
- package/esm/AlignmentsFeatureDetail/util.d.ts +1 -3
- package/esm/BamAdapter/BamAdapter.d.ts +2 -9
- package/esm/CramAdapter/CramAdapter.d.ts +3 -11
- package/esm/CramAdapter/CramAdapter.js +2 -1
- package/esm/CramAdapter/util.js +3 -6
- package/esm/LinearAlignmentsDisplay/components/AlignmentsDisplay.d.ts +3 -4
- package/esm/LinearAlignmentsDisplay/components/AlignmentsDisplay.js +3 -3
- package/esm/LinearAlignmentsDisplay/models/model.d.ts +5 -9
- package/esm/LinearAlignmentsDisplay/models/model.js +1 -0
- package/esm/LinearPileupDisplay/SharedLinearPileupDisplayMixin.d.ts +514 -0
- package/esm/LinearPileupDisplay/SharedLinearPileupDisplayMixin.js +517 -0
- package/esm/LinearPileupDisplay/components/ColorByModifications.d.ts +4 -5
- package/esm/LinearPileupDisplay/components/ColorByModifications.js +3 -4
- package/esm/LinearPileupDisplay/components/ColorByTag.d.ts +7 -5
- package/esm/LinearPileupDisplay/components/ColorByTag.js +4 -7
- package/esm/LinearPileupDisplay/components/LinearPileupDisplayBlurb.d.ts +3 -4
- package/esm/LinearPileupDisplay/components/LinearPileupDisplayBlurb.js +2 -2
- package/esm/LinearPileupDisplay/components/SetFeatureHeight.d.ts +4 -5
- package/esm/LinearPileupDisplay/components/SetFeatureHeight.js +3 -3
- package/esm/LinearPileupDisplay/components/SetMaxHeight.d.ts +3 -4
- package/esm/LinearPileupDisplay/components/SetMaxHeight.js +3 -3
- package/esm/LinearPileupDisplay/components/SortByTag.d.ts +3 -4
- package/esm/LinearPileupDisplay/components/SortByTag.js +3 -3
- package/esm/LinearPileupDisplay/index.d.ts +1 -0
- package/esm/LinearPileupDisplay/index.js +1 -0
- package/esm/LinearPileupDisplay/model.d.ts +142 -234
- package/esm/LinearPileupDisplay/model.js +51 -447
- package/esm/LinearReadArcsDisplay/components/ReactComponent.d.ts +2 -2
- package/esm/LinearReadArcsDisplay/components/ReactComponent.js +2 -1
- package/esm/LinearReadArcsDisplay/model.d.ts +9 -14
- package/esm/LinearReadCloudDisplay/components/ReactComponent.d.ts +2 -2
- package/esm/LinearReadCloudDisplay/components/ReactComponent.js +2 -1
- package/esm/LinearReadCloudDisplay/drawPairChains.js +1 -2
- package/esm/LinearReadCloudDisplay/model.d.ts +13 -15
- package/esm/LinearSNPCoverageDisplay/components/Tooltip.js +1 -1
- package/esm/LinearSNPCoverageDisplay/models/model.d.ts +18 -423
- package/esm/LinearSNPCoverageDisplay/models/model.js +18 -0
- package/esm/MismatchParser/index.js +6 -8
- package/esm/PileupRenderer/PileupRenderer.js +0 -2
- package/esm/PileupRenderer/colorBy.js +1 -1
- package/esm/PileupRenderer/components/PileupRendering.d.ts +9 -10
- package/esm/PileupRenderer/components/PileupRendering.js +3 -5
- package/esm/PileupRenderer/getAlignmentShapeColor.js +1 -1
- package/esm/PileupRenderer/layoutFeature.js +1 -2
- package/esm/PileupRenderer/makeImageData.d.ts +1 -3
- package/esm/PileupRenderer/renderMethylation.js +5 -10
- package/esm/PileupRenderer/renderMismatches.d.ts +2 -6
- package/esm/PileupRenderer/renderMismatches.js +8 -11
- package/esm/PileupRenderer/renderModifications.js +4 -8
- package/esm/PileupRenderer/renderSoftClipping.js +26 -25
- package/esm/PileupRenderer/sortUtil.js +2 -2
- package/esm/SNPCoverageAdapter/util.d.ts +9 -13
- package/esm/SNPCoverageRenderer/SNPCoverageRenderer.js +6 -12
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/shared/BaseDisplayComponent.d.ts +2 -2
- package/esm/shared/BaseDisplayComponent.js +3 -2
- package/esm/shared/FilterByTag.d.ts +6 -15
- package/esm/shared/FilterByTag.js +4 -6
- package/esm/shared/color.d.ts +10 -0
- package/esm/shared/color.js +6 -0
- package/esm/shared/fetchChains.js +1 -0
- package/esm/shared/index.d.ts +9 -0
- package/esm/util.d.ts +3 -9
- package/package.json +3 -4
|
@@ -8,7 +8,7 @@ const useStyles = makeStyles()({
|
|
|
8
8
|
width: 500,
|
|
9
9
|
},
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
const SetMaxHeightDialog = observer(function (props) {
|
|
12
12
|
const { model, handleClose } = props;
|
|
13
13
|
const { classes } = useStyles();
|
|
14
14
|
const { maxHeight = '' } = model;
|
|
@@ -23,5 +23,5 @@ function SetMaxHeightDlg(props) {
|
|
|
23
23
|
handleClose();
|
|
24
24
|
} }, "Submit"),
|
|
25
25
|
React.createElement(Button, { variant: "contained", color: "secondary", onClick: () => handleClose() }, "Cancel")))));
|
|
26
|
-
}
|
|
27
|
-
export default
|
|
26
|
+
});
|
|
27
|
+
export default SetMaxHeightDialog;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare
|
|
2
|
+
declare const SortByTagDialog: (props: {
|
|
3
3
|
model: {
|
|
4
4
|
setSortedBy: Function;
|
|
5
5
|
};
|
|
6
6
|
handleClose: () => void;
|
|
7
|
-
})
|
|
8
|
-
|
|
9
|
-
export default _default;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
|
+
export default SortByTagDialog;
|
|
@@ -2,7 +2,7 @@ import React, { useState } from 'react';
|
|
|
2
2
|
import { observer } from 'mobx-react';
|
|
3
3
|
import { Button, DialogActions, DialogContent, TextField, Typography, } from '@mui/material';
|
|
4
4
|
import { Dialog } from '@jbrowse/core/ui';
|
|
5
|
-
function
|
|
5
|
+
const SortByTagDialog = observer(function (props) {
|
|
6
6
|
const { model, handleClose } = props;
|
|
7
7
|
const [tag, setTag] = useState('');
|
|
8
8
|
const validTag = tag.match(/^[A-Za-z][A-Za-z0-9]$/);
|
|
@@ -20,5 +20,5 @@ function SortByTagDlg(props) {
|
|
|
20
20
|
handleClose();
|
|
21
21
|
} }, "Submit"),
|
|
22
22
|
React.createElement(Button, { variant: "contained", color: "secondary", onClick: () => handleClose() }, "Cancel")))));
|
|
23
|
-
}
|
|
24
|
-
export default
|
|
23
|
+
});
|
|
24
|
+
export default SortByTagDialog;
|
|
@@ -2,3 +2,4 @@ import PluginManager from '@jbrowse/core/PluginManager';
|
|
|
2
2
|
export default function register(pluginManager: PluginManager): void;
|
|
3
3
|
export { default as linearPileupDisplayStateModelFactory } from './model';
|
|
4
4
|
export { default as linearPileupDisplayConfigSchemaFactory } from './configSchema';
|
|
5
|
+
export { SharedLinearPileupDisplayMixin } from './SharedLinearPileupDisplayMixin';
|
|
@@ -19,3 +19,4 @@ export default function register(pluginManager) {
|
|
|
19
19
|
}
|
|
20
20
|
export { default as linearPileupDisplayStateModelFactory } from './model';
|
|
21
21
|
export { default as linearPileupDisplayConfigSchemaFactory } from './configSchema';
|
|
22
|
+
export { SharedLinearPileupDisplayMixin } from './SharedLinearPileupDisplayMixin';
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Instance } from 'mobx-state-tree';
|
|
3
|
-
import {
|
|
4
|
-
import { Feature } from '@jbrowse/core/util';
|
|
5
|
-
import { ContentCopy as ContentCopyIcon } from '@jbrowse/core/ui/Icons';
|
|
6
|
-
export interface Filter {
|
|
7
|
-
flagInclude: number;
|
|
8
|
-
flagExclude: number;
|
|
9
|
-
readName?: string;
|
|
10
|
-
tagFilter?: {
|
|
11
|
-
tag: string;
|
|
12
|
-
value: string;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
3
|
+
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
15
4
|
/**
|
|
16
5
|
* #stateModel LinearPileupDisplay
|
|
17
6
|
* #category display
|
|
@@ -46,27 +35,30 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
46
35
|
renderInProgress: AbortController | undefined;
|
|
47
36
|
filled: boolean;
|
|
48
37
|
reactElement: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
49
|
-
features: Map<string, Feature> | undefined;
|
|
38
|
+
features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
|
|
50
39
|
layout: any;
|
|
51
40
|
status: string;
|
|
52
41
|
error: unknown;
|
|
53
42
|
message: string | undefined;
|
|
54
43
|
maxHeightReached: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* #property
|
|
46
|
+
*/
|
|
55
47
|
ReactComponent: ({ model, }: {
|
|
56
48
|
model: any;
|
|
57
49
|
}) => any;
|
|
58
|
-
renderProps: any;
|
|
50
|
+
renderProps: any; /**
|
|
51
|
+
* #property
|
|
52
|
+
*/
|
|
59
53
|
} & {
|
|
60
54
|
doReload(): void;
|
|
61
55
|
afterAttach(): void;
|
|
62
|
-
setStatus(message: string): void;
|
|
63
|
-
* #property
|
|
64
|
-
*/
|
|
56
|
+
setStatus(message: string): void;
|
|
65
57
|
setLoading(abortController: AbortController): void;
|
|
66
58
|
setMessage(messageText: string): void;
|
|
67
59
|
setRendered(props: {
|
|
68
60
|
reactElement: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
69
|
-
features: Map<string, Feature>;
|
|
61
|
+
features: Map<string, import("@jbrowse/core/util").Feature>;
|
|
70
62
|
layout: any;
|
|
71
63
|
maxHeightReached: boolean;
|
|
72
64
|
renderProps: any;
|
|
@@ -86,6 +78,11 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
86
78
|
defaultValue: number;
|
|
87
79
|
description: string;
|
|
88
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* #stateModel LinearPileupDisplay
|
|
83
|
+
* #category display
|
|
84
|
+
* extends `BaseLinearDisplay`
|
|
85
|
+
*/
|
|
89
86
|
height: {
|
|
90
87
|
type: string;
|
|
91
88
|
defaultValue: number;
|
|
@@ -99,21 +96,11 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
99
96
|
};
|
|
100
97
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
101
98
|
} & {
|
|
102
|
-
type: import("mobx-state-tree").ISimpleType<"LinearPileupDisplay">;
|
|
103
99
|
configuration: AnyConfigurationSchemaType;
|
|
104
|
-
showSoftClipping: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
105
100
|
featureHeight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
106
101
|
noSpacing: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
107
102
|
fadeLikelihood: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
108
103
|
trackMaxHeight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
109
|
-
mismatchAlpha: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
110
|
-
sortedBy: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IModelType<{
|
|
111
|
-
type: import("mobx-state-tree").ISimpleType<string>;
|
|
112
|
-
pos: import("mobx-state-tree").ISimpleType<number>;
|
|
113
|
-
tag: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
114
|
-
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
115
|
-
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
116
|
-
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
117
104
|
colorBy: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IModelType<{
|
|
118
105
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
119
106
|
tag: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
@@ -128,6 +115,19 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
128
115
|
value: import("mobx-state-tree").ISimpleType<string>;
|
|
129
116
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
130
117
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
118
|
+
jexlFilters: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
119
|
+
} & {
|
|
120
|
+
type: import("mobx-state-tree").ISimpleType<"LinearPileupDisplay">;
|
|
121
|
+
configuration: AnyConfigurationSchemaType;
|
|
122
|
+
showSoftClipping: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
123
|
+
mismatchAlpha: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
124
|
+
sortedBy: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IModelType<{
|
|
125
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
126
|
+
pos: import("mobx-state-tree").ISimpleType<number>;
|
|
127
|
+
tag: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
128
|
+
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
129
|
+
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
130
|
+
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
131
131
|
}, {
|
|
132
132
|
rendererTypeName: string;
|
|
133
133
|
error: unknown;
|
|
@@ -161,12 +161,17 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
161
161
|
rpcDriverName: string | undefined;
|
|
162
162
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
163
163
|
rendererTypeName: string;
|
|
164
|
+
/**
|
|
165
|
+
* #action
|
|
166
|
+
*/
|
|
164
167
|
error: unknown;
|
|
165
168
|
message: string | undefined;
|
|
166
169
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
167
170
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
168
171
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
169
|
-
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
172
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>; /**
|
|
173
|
+
* #action
|
|
174
|
+
*/
|
|
170
175
|
}, {
|
|
171
176
|
rendererTypeName: string;
|
|
172
177
|
error: unknown;
|
|
@@ -174,9 +179,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
174
179
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
175
180
|
}> | null;
|
|
176
181
|
readonly adapterConfig: any;
|
|
177
|
-
readonly parentTrack: any;
|
|
178
|
-
* #property
|
|
179
|
-
*/
|
|
182
|
+
readonly parentTrack: any;
|
|
180
183
|
renderProps(): any;
|
|
181
184
|
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType;
|
|
182
185
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
@@ -195,7 +198,9 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
195
198
|
} & {
|
|
196
199
|
setScrollTop(scrollTop: number): void;
|
|
197
200
|
setHeight(displayHeight: number): number;
|
|
198
|
-
resizeHeight(distance: number): number;
|
|
201
|
+
resizeHeight(distance: number): number; /**
|
|
202
|
+
* #property
|
|
203
|
+
*/
|
|
199
204
|
} & {
|
|
200
205
|
featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats> | undefined;
|
|
201
206
|
featureDensityStats: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined;
|
|
@@ -210,7 +215,9 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
210
215
|
afterAttach(): void;
|
|
211
216
|
} & {
|
|
212
217
|
setCurrStatsBpPerPx(n: number): void;
|
|
213
|
-
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
218
|
+
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void; /**
|
|
219
|
+
* #action
|
|
220
|
+
*/
|
|
214
221
|
getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
215
222
|
setFeatureDensityStatsP(arg: any): void;
|
|
216
223
|
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
@@ -223,7 +230,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
223
230
|
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react").JSX.Element | null;
|
|
224
231
|
} & {
|
|
225
232
|
featureIdUnderMouse: string | undefined;
|
|
226
|
-
contextMenuFeature: Feature | undefined;
|
|
233
|
+
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
227
234
|
} & {
|
|
228
235
|
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
229
236
|
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
@@ -233,20 +240,22 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
233
240
|
readonly selectedFeatureId: string | undefined;
|
|
234
241
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
235
242
|
} & {
|
|
236
|
-
readonly features: import("@jbrowse/core/util/compositeMap").default<string, Feature>;
|
|
237
|
-
readonly featureUnderMouse: Feature | undefined;
|
|
238
|
-
getFeatureOverlapping(blockKey: string, x: number, y: number): string | undefined;
|
|
239
|
-
* #action
|
|
240
|
-
*/
|
|
243
|
+
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
244
|
+
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
245
|
+
getFeatureOverlapping(blockKey: string, x: number, y: number): string | undefined;
|
|
241
246
|
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
242
|
-
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
247
|
+
searchFeatureByID(id: string): [number, number, number, number] | undefined; /**
|
|
248
|
+
* #getter
|
|
249
|
+
*/
|
|
243
250
|
} & {
|
|
244
251
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
245
252
|
deleteBlock(key: string): void;
|
|
246
|
-
selectFeature(feature: Feature): void;
|
|
247
|
-
clearFeatureSelection(): void;
|
|
253
|
+
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
254
|
+
clearFeatureSelection(): void; /**
|
|
255
|
+
* #method
|
|
256
|
+
*/
|
|
248
257
|
setFeatureIdUnderMouse(feature?: string | undefined): void;
|
|
249
|
-
setContextMenuFeature(feature?: Feature | undefined): void;
|
|
258
|
+
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
250
259
|
} & {
|
|
251
260
|
reload(): Promise<void>;
|
|
252
261
|
} & {
|
|
@@ -258,75 +267,114 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
258
267
|
afterAttach(): void;
|
|
259
268
|
} & {
|
|
260
269
|
colorTagMap: import("mobx").ObservableMap<string, string>;
|
|
261
|
-
|
|
262
|
-
featureUnderMouseVolatile: Feature | undefined;
|
|
263
|
-
currSortBpPerPx: number;
|
|
264
|
-
modificationsReady: boolean;
|
|
265
|
-
sortReady: boolean;
|
|
270
|
+
featureUnderMouseVolatile: import("@jbrowse/core/util").Feature | undefined;
|
|
266
271
|
tagsReady: boolean;
|
|
267
272
|
} & {
|
|
268
273
|
readonly autorunReady: boolean;
|
|
269
274
|
} & {
|
|
270
|
-
/**
|
|
271
|
-
* #action
|
|
272
|
-
*/
|
|
273
|
-
setModificationsReady(flag: boolean): void;
|
|
274
|
-
/**
|
|
275
|
-
* #action
|
|
276
|
-
*/
|
|
277
275
|
setTagsReady(flag: boolean): void;
|
|
278
|
-
/**
|
|
279
|
-
* #action
|
|
280
|
-
*/
|
|
281
|
-
setSortReady(flag: boolean): void;
|
|
282
|
-
/**
|
|
283
|
-
* #action
|
|
284
|
-
*/
|
|
285
|
-
setCurrSortBpPerPx(n: number): void;
|
|
286
|
-
/**
|
|
287
|
-
* #action
|
|
288
|
-
*/
|
|
289
276
|
setMaxHeight(n: number): void;
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
*/
|
|
293
|
-
setFeatureHeight(n?: number): void;
|
|
294
|
-
/**
|
|
295
|
-
* #action
|
|
296
|
-
*/
|
|
297
|
-
setNoSpacing(flag?: boolean): void;
|
|
298
|
-
/**
|
|
299
|
-
* #action
|
|
300
|
-
*/
|
|
277
|
+
setFeatureHeight(n?: number | undefined): void;
|
|
278
|
+
setNoSpacing(flag?: boolean | undefined): void;
|
|
301
279
|
setColorScheme(colorScheme: {
|
|
302
280
|
type: string;
|
|
303
|
-
tag?: string;
|
|
281
|
+
tag?: string | undefined;
|
|
282
|
+
extra?: import("../shared/color").ExtraColorBy | undefined;
|
|
304
283
|
}): void;
|
|
305
|
-
|
|
306
|
-
|
|
284
|
+
updateColorTagMap(uniqueTag: string[]): void;
|
|
285
|
+
setFeatureUnderMouse(feat?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
286
|
+
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
287
|
+
copyFeatureToClipboard(feature: import("@jbrowse/core/util").Feature): void; /**
|
|
288
|
+
* #method
|
|
307
289
|
*/
|
|
308
|
-
|
|
290
|
+
setConfig(conf: {
|
|
291
|
+
[x: string]: any;
|
|
292
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
293
|
+
setSubschema(slotName: string, data: unknown): any; /**
|
|
294
|
+
* #property
|
|
295
|
+
*/
|
|
296
|
+
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>): void;
|
|
297
|
+
setFilterBy(filter: import("../shared").IFilter): void;
|
|
298
|
+
setJexlFilters(filters: string[]): void;
|
|
299
|
+
} & {
|
|
300
|
+
readonly rendererConfig: {
|
|
301
|
+
[x: string]: any;
|
|
302
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
303
|
+
setSubschema(slotName: string, data: unknown): any; /**
|
|
304
|
+
* #property
|
|
305
|
+
*/
|
|
306
|
+
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>;
|
|
307
|
+
} & {
|
|
308
|
+
readonly maxHeight: any;
|
|
309
|
+
readonly featureHeightSetting: any;
|
|
310
|
+
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
311
|
+
renderReady(): boolean;
|
|
312
|
+
readonly filters: import("@jbrowse/core/pluggableElementTypes/renderers/util/serializableFilterChain").default;
|
|
313
|
+
} & {
|
|
314
|
+
readonly rendererTypeName: string;
|
|
315
|
+
contextMenuItems(): ({
|
|
316
|
+
label: string;
|
|
317
|
+
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
318
|
+
muiName: string;
|
|
319
|
+
};
|
|
320
|
+
onClick: () => void;
|
|
321
|
+
} | {
|
|
322
|
+
label: string;
|
|
323
|
+
icon: typeof import("@jbrowse/core/ui/Icons").ContentCopy;
|
|
324
|
+
onClick: () => void;
|
|
325
|
+
})[];
|
|
326
|
+
readonly DisplayBlurb: ({ model, }: {
|
|
327
|
+
model: {
|
|
328
|
+
sortedBy?: {
|
|
329
|
+
pos: number;
|
|
330
|
+
refName: number;
|
|
331
|
+
type: string;
|
|
332
|
+
tag?: string | undefined;
|
|
333
|
+
} | undefined;
|
|
334
|
+
};
|
|
335
|
+
}) => import("react").JSX.Element | null;
|
|
336
|
+
renderPropsPre(): any;
|
|
337
|
+
colorSchemeSubMenuItems(): {
|
|
338
|
+
label: string;
|
|
339
|
+
onClick: () => void;
|
|
340
|
+
}[];
|
|
341
|
+
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 | {
|
|
342
|
+
label: string;
|
|
343
|
+
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
344
|
+
muiName: string;
|
|
345
|
+
};
|
|
346
|
+
onClick: () => void;
|
|
347
|
+
})[];
|
|
348
|
+
} & {
|
|
349
|
+
renderProps(): any;
|
|
350
|
+
} & {
|
|
351
|
+
afterAttach(): void;
|
|
352
|
+
} & {
|
|
353
|
+
sortReady: boolean;
|
|
354
|
+
currSortBpPerPx: number;
|
|
355
|
+
modificationTagMap: import("mobx").ObservableMap<string, string>;
|
|
356
|
+
modificationsReady: boolean;
|
|
357
|
+
} & {
|
|
309
358
|
/**
|
|
310
359
|
* #action
|
|
311
360
|
*/
|
|
312
|
-
|
|
361
|
+
setCurrSortBpPerPx(n: number): void;
|
|
313
362
|
/**
|
|
314
363
|
* #action
|
|
315
364
|
*/
|
|
316
|
-
|
|
365
|
+
updateModificationColorMap(uniqueModifications: string[]): void;
|
|
317
366
|
/**
|
|
318
367
|
* #action
|
|
319
368
|
*/
|
|
320
|
-
|
|
369
|
+
setModificationsReady(flag: boolean): void;
|
|
321
370
|
/**
|
|
322
371
|
* #action
|
|
323
372
|
*/
|
|
324
|
-
|
|
373
|
+
setSortReady(flag: boolean): void;
|
|
325
374
|
/**
|
|
326
375
|
* #action
|
|
327
|
-
* uses copy-to-clipboard and generates notification
|
|
328
376
|
*/
|
|
329
|
-
|
|
377
|
+
clearSelected(): void;
|
|
330
378
|
/**
|
|
331
379
|
* #action
|
|
332
380
|
*/
|
|
@@ -335,15 +383,10 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
335
383
|
* #action
|
|
336
384
|
*/
|
|
337
385
|
toggleMismatchAlpha(): void;
|
|
338
|
-
/**
|
|
339
|
-
* #action
|
|
340
|
-
*/
|
|
341
|
-
setConfig(conf: AnyConfigurationModel): void;
|
|
342
386
|
/**
|
|
343
387
|
* #action
|
|
344
388
|
*/
|
|
345
389
|
setSortedBy(type: string, tag?: string): void;
|
|
346
|
-
setFilterBy(filter: Filter): void;
|
|
347
390
|
} & {
|
|
348
391
|
/**
|
|
349
392
|
* #action
|
|
@@ -356,17 +399,11 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
356
399
|
readonly rendererConfig: {
|
|
357
400
|
[x: string]: any;
|
|
358
401
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
359
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
402
|
+
setSubschema(slotName: string, data: unknown): any; /**
|
|
403
|
+
* #property
|
|
404
|
+
*/
|
|
360
405
|
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>;
|
|
361
406
|
} & {
|
|
362
|
-
/**
|
|
363
|
-
* #getter
|
|
364
|
-
*/
|
|
365
|
-
readonly maxHeight: any;
|
|
366
|
-
/**
|
|
367
|
-
* #getter
|
|
368
|
-
*/
|
|
369
|
-
readonly featureHeightSetting: any;
|
|
370
407
|
/**
|
|
371
408
|
* #getter
|
|
372
409
|
*/
|
|
@@ -374,34 +411,8 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
374
411
|
/**
|
|
375
412
|
* #getter
|
|
376
413
|
*/
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* #getter
|
|
380
|
-
*/
|
|
381
|
-
readonly renderReady: boolean;
|
|
414
|
+
renderReady(): boolean;
|
|
382
415
|
} & {
|
|
383
|
-
/**
|
|
384
|
-
* #getter
|
|
385
|
-
*/
|
|
386
|
-
readonly rendererTypeName: string;
|
|
387
|
-
/**
|
|
388
|
-
* #method
|
|
389
|
-
*/
|
|
390
|
-
contextMenuItems(): ({
|
|
391
|
-
label: string;
|
|
392
|
-
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
393
|
-
muiName: string;
|
|
394
|
-
};
|
|
395
|
-
onClick: () => void;
|
|
396
|
-
} | {
|
|
397
|
-
label: string;
|
|
398
|
-
icon: typeof ContentCopyIcon;
|
|
399
|
-
onClick: () => void;
|
|
400
|
-
})[];
|
|
401
|
-
/**
|
|
402
|
-
* #getter
|
|
403
|
-
*/
|
|
404
|
-
readonly DisplayBlurb: (props: import("./components/LinearPileupDisplayBlurb").LinearPileupDisplayBlurbProps) => import("react").JSX.Element | null;
|
|
405
416
|
/**
|
|
406
417
|
* #method
|
|
407
418
|
*/
|
|
@@ -438,27 +449,15 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
438
449
|
onClick?: undefined;
|
|
439
450
|
} | {
|
|
440
451
|
label: string;
|
|
441
|
-
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
442
|
-
muiName: string;
|
|
443
|
-
};
|
|
444
452
|
subMenu: {
|
|
445
453
|
label: string;
|
|
446
454
|
onClick: () => void;
|
|
447
455
|
}[];
|
|
456
|
+
icon?: undefined;
|
|
448
457
|
type?: undefined;
|
|
449
458
|
checked?: undefined;
|
|
450
459
|
onClick?: undefined;
|
|
451
460
|
disabled?: undefined;
|
|
452
|
-
} | {
|
|
453
|
-
label: string;
|
|
454
|
-
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
455
|
-
muiName: string;
|
|
456
|
-
};
|
|
457
|
-
onClick: () => void;
|
|
458
|
-
type?: undefined;
|
|
459
|
-
checked?: undefined;
|
|
460
|
-
disabled?: undefined;
|
|
461
|
-
subMenu?: undefined;
|
|
462
461
|
} | {
|
|
463
462
|
label: string;
|
|
464
463
|
type: string;
|
|
@@ -470,98 +469,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
470
469
|
})[];
|
|
471
470
|
} & {
|
|
472
471
|
afterAttach(): void;
|
|
473
|
-
},
|
|
474
|
-
type: string;
|
|
475
|
-
} & Partial<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
476
|
-
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
477
|
-
type: import("mobx-state-tree").ISimpleType<string>;
|
|
478
|
-
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
479
|
-
} & {
|
|
480
|
-
heightPreConfig: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
481
|
-
} & {
|
|
482
|
-
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
483
|
-
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
484
|
-
} & {
|
|
485
|
-
blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
|
|
486
|
-
key: import("mobx-state-tree").ISimpleType<string>;
|
|
487
|
-
region: import("mobx-state-tree").IModelType<{
|
|
488
|
-
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
489
|
-
start: import("mobx-state-tree").ISimpleType<number>;
|
|
490
|
-
end: import("mobx-state-tree").ISimpleType<number>;
|
|
491
|
-
reversed: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
492
|
-
} & {
|
|
493
|
-
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
494
|
-
}, {
|
|
495
|
-
setRefName(newRefName: string): void;
|
|
496
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
497
|
-
reloadFlag: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
498
|
-
isLeftEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
499
|
-
isRightEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
500
|
-
}, {
|
|
501
|
-
renderInProgress: AbortController | undefined;
|
|
502
|
-
filled: boolean;
|
|
503
|
-
reactElement: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
504
|
-
features: Map<string, Feature> | undefined;
|
|
505
|
-
layout: any;
|
|
506
|
-
status: string;
|
|
507
|
-
error: unknown;
|
|
508
|
-
message: string | undefined;
|
|
509
|
-
maxHeightReached: boolean;
|
|
510
|
-
ReactComponent: ({ model, }: {
|
|
511
|
-
model: any;
|
|
512
|
-
}) => any;
|
|
513
|
-
renderProps: any;
|
|
514
|
-
} & {
|
|
515
|
-
doReload(): void;
|
|
516
|
-
afterAttach(): void;
|
|
517
|
-
setStatus(message: string): void; /**
|
|
518
|
-
* #property
|
|
519
|
-
*/
|
|
520
|
-
setLoading(abortController: AbortController): void;
|
|
521
|
-
setMessage(messageText: string): void;
|
|
522
|
-
setRendered(props: {
|
|
523
|
-
reactElement: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
524
|
-
features: Map<string, Feature>;
|
|
525
|
-
layout: any;
|
|
526
|
-
maxHeightReached: boolean;
|
|
527
|
-
renderProps: any;
|
|
528
|
-
} | undefined): void;
|
|
529
|
-
setError(error: unknown): void;
|
|
530
|
-
reload(): void;
|
|
531
|
-
beforeDestroy(): void;
|
|
532
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
533
|
-
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
534
|
-
maxFeatureScreenDensity: {
|
|
535
|
-
type: string;
|
|
536
|
-
description: string;
|
|
537
|
-
defaultValue: number;
|
|
538
|
-
};
|
|
539
|
-
fetchSizeLimit: {
|
|
540
|
-
type: string;
|
|
541
|
-
defaultValue: number;
|
|
542
|
-
description: string;
|
|
543
|
-
};
|
|
544
|
-
height: {
|
|
545
|
-
type: string;
|
|
546
|
-
defaultValue: number;
|
|
547
|
-
description: string;
|
|
548
|
-
};
|
|
549
|
-
mouseover: {
|
|
550
|
-
type: string;
|
|
551
|
-
description: string;
|
|
552
|
-
defaultValue: string;
|
|
553
|
-
contextVariable: string[];
|
|
554
|
-
};
|
|
555
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
556
|
-
}>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, {
|
|
557
|
-
type: string;
|
|
558
|
-
id: string;
|
|
559
|
-
configuration: import("mobx-state-tree").ModelSnapshotType<Record<string, any>>;
|
|
560
|
-
rpcDriverName: string | undefined;
|
|
561
|
-
heightPreConfig: number | undefined;
|
|
562
|
-
userBpPerPxLimit: number | undefined;
|
|
563
|
-
userByteSizeLimit: number | undefined;
|
|
564
|
-
} & import("mobx-state-tree")._NotCustomized>;
|
|
472
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
565
473
|
export type LinearPileupDisplayStateModel = ReturnType<typeof stateModelFactory>;
|
|
566
474
|
export type LinearPileupDisplayModel = Instance<LinearPileupDisplayStateModel>;
|
|
567
475
|
export default stateModelFactory;
|