jbrowse-plugin-tview 2.2.3 → 3.0.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/README.md +317 -105
- package/dist/AddHighlightModel/index.js +2 -13
- package/dist/AddHighlightModel/index.js.map +1 -1
- package/dist/LaunchTView/TviewGetPlanRpc/TviewGetPlan.d.ts +44 -64
- package/dist/LaunchTView/TviewGetPlanRpc/TviewGetPlan.js +57 -81
- package/dist/LaunchTView/TviewGetPlanRpc/TviewGetPlan.js.map +1 -1
- package/dist/LaunchTView/TviewGetPlanRpc/index.d.ts +1 -1
- package/dist/LaunchTView/align.d.ts +11 -17
- package/dist/LaunchTView/align.js +190 -150
- package/dist/LaunchTView/align.js.map +1 -1
- package/dist/LaunchTView/alleles.d.ts +14 -0
- package/dist/LaunchTView/alleles.js +47 -0
- package/dist/LaunchTView/alleles.js.map +1 -1
- package/dist/LaunchTView/fetchTviewPlan.d.ts +5 -37
- package/dist/LaunchTView/fetchTviewPlan.js +7 -28
- package/dist/LaunchTView/fetchTviewPlan.js.map +1 -1
- package/dist/LaunchTView/index.js +45 -16
- package/dist/LaunchTView/index.js.map +1 -1
- package/dist/LaunchTView/launch.d.ts +50 -0
- package/dist/LaunchTView/launch.js +48 -0
- package/dist/LaunchTView/launch.js.map +1 -0
- package/dist/LaunchTView/launchView.d.ts +3 -8
- package/dist/LaunchTView/launchView.js +18 -12
- package/dist/LaunchTView/launchView.js.map +1 -1
- package/dist/LaunchTView/modifications.d.ts +64 -0
- package/dist/LaunchTView/modifications.js +131 -0
- package/dist/LaunchTView/modifications.js.map +1 -0
- package/dist/LaunchTView/readLayout.d.ts +35 -39
- package/dist/LaunchTView/readLayout.js +44 -24
- package/dist/LaunchTView/readLayout.js.map +1 -1
- package/dist/LaunchTView/repeatStats.d.ts +1 -1
- package/dist/LaunchTView/repeatStats.js +6 -21
- package/dist/LaunchTView/repeatStats.js.map +1 -1
- package/dist/LaunchTView/tview.d.ts +34 -23
- package/dist/LaunchTView/tview.js +127 -78
- package/dist/LaunchTView/tview.js.map +1 -1
- package/dist/TViewPanel/components/TViewPanel.js +9 -4
- package/dist/TViewPanel/components/TViewPanel.js.map +1 -1
- package/dist/TViewPanel/genome.d.ts +11 -0
- package/dist/TViewPanel/genome.js +32 -0
- package/dist/TViewPanel/genome.js.map +1 -0
- package/dist/TViewPanel/init.d.ts +38 -19
- package/dist/TViewPanel/init.js +66 -39
- package/dist/TViewPanel/init.js.map +1 -1
- package/dist/TViewPanel/initMenu.d.ts +28 -0
- package/dist/TViewPanel/initMenu.js +79 -0
- package/dist/TViewPanel/initMenu.js.map +1 -0
- package/dist/TViewPanel/model.d.ts +1057 -334
- package/dist/TViewPanel/model.js +298 -87
- package/dist/TViewPanel/model.js.map +1 -1
- package/dist/TViewPanel/modifications.d.ts +25 -0
- package/dist/TViewPanel/modifications.js +89 -0
- package/dist/TViewPanel/modifications.js.map +1 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/jbrowse-plugin-tview.umd.production.min.js +125 -88
- package/dist/jbrowse-plugin-tview.umd.production.min.js.map +4 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +8 -8
- package/src/AddHighlightModel/index.tsx +8 -14
- package/src/LaunchTView/TviewGetPlanRpc/TviewGetPlan.ts +119 -157
- package/src/LaunchTView/TviewGetPlanRpc/index.ts +0 -1
- package/src/LaunchTView/align.ts +225 -176
- package/src/LaunchTView/alleles.ts +66 -0
- package/src/LaunchTView/fetchTviewPlan.ts +11 -54
- package/src/LaunchTView/index.ts +74 -16
- package/src/LaunchTView/launch.ts +98 -0
- package/src/LaunchTView/launchView.ts +28 -20
- package/src/LaunchTView/modifications.ts +200 -0
- package/src/LaunchTView/readLayout.ts +65 -41
- package/src/LaunchTView/repeatStats.ts +7 -23
- package/src/LaunchTView/tview.ts +158 -91
- package/src/TViewPanel/components/TViewPanel.tsx +33 -4
- package/src/TViewPanel/genome.ts +41 -0
- package/src/TViewPanel/init.ts +104 -51
- package/src/TViewPanel/initMenu.ts +126 -0
- package/src/TViewPanel/model.ts +350 -97
- package/src/TViewPanel/modifications.ts +127 -0
- package/src/index.ts +0 -2
- package/src/version.ts +1 -1
- package/dist/AddHighlightModel/GenomeMouseoverHighlight.d.ts +0 -6
- package/dist/AddHighlightModel/GenomeMouseoverHighlight.js +0 -23
- package/dist/AddHighlightModel/GenomeMouseoverHighlight.js.map +0 -1
- package/dist/AddHighlightModel/HighlightComponents.d.ts +0 -7
- package/dist/AddHighlightModel/HighlightComponents.js +0 -11
- package/dist/AddHighlightModel/HighlightComponents.js.map +0 -1
- package/dist/LaunchTView/components/ArrayReport.d.ts +0 -10
- package/dist/LaunchTView/components/ArrayReport.js +0 -59
- package/dist/LaunchTView/components/ArrayReport.js.map +0 -1
- package/dist/LaunchTView/components/LaunchTViewDialog.d.ts +0 -6
- package/dist/LaunchTView/components/LaunchTViewDialog.js +0 -124
- package/dist/LaunchTView/components/LaunchTViewDialog.js.map +0 -1
- package/dist/LaunchTView/sampleTree.d.ts +0 -37
- package/dist/LaunchTView/sampleTree.js +0 -65
- package/dist/LaunchTView/sampleTree.js.map +0 -1
- package/dist/LaunchTView/useTviewMsa.d.ts +0 -18
- package/dist/LaunchTView/useTviewMsa.js +0 -24
- package/dist/LaunchTView/useTviewMsa.js.map +0 -1
- package/dist/TViewPanel/coords.d.ts +0 -25
- package/dist/TViewPanel/coords.js +0 -56
- package/dist/TViewPanel/coords.js.map +0 -1
- package/src/AddHighlightModel/GenomeMouseoverHighlight.tsx +0 -46
- package/src/AddHighlightModel/HighlightComponents.tsx +0 -25
- package/src/LaunchTView/components/ArrayReport.tsx +0 -64
- package/src/LaunchTView/components/LaunchTViewDialog.tsx +0 -212
- package/src/LaunchTView/sampleTree.ts +0 -73
- package/src/LaunchTView/useTviewMsa.ts +0 -39
- package/src/TViewPanel/coords.ts +0 -65
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import type { TviewInit } from './init';
|
|
2
|
+
import type { ModificationSummary } from './modifications';
|
|
3
|
+
import type { TviewPlanResult } from '../LaunchTView/TviewGetPlanRpc/TviewGetPlan';
|
|
2
4
|
import type { FetchRegion, TviewSource } from '../LaunchTView/fetchTviewPlan';
|
|
5
|
+
import type { TviewModifications } from '../LaunchTView/modifications';
|
|
3
6
|
import type { MenuItem } from '@jbrowse/core/ui';
|
|
4
7
|
import type { Instance } from '@jbrowse/mobx-state-tree';
|
|
5
8
|
import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view';
|
|
9
|
+
import type { Highlight, ResidueColor, RowPanelSpec, RowTransform } from 'react-msaview';
|
|
6
10
|
export type { IKeyValueMap } from 'mobx';
|
|
7
11
|
type MaybeLGV = LinearGenomeViewModel | undefined;
|
|
8
12
|
export interface IRegion {
|
|
@@ -11,6 +15,31 @@ export interface IRegion {
|
|
|
11
15
|
end: number;
|
|
12
16
|
}
|
|
13
17
|
export type { TviewInit } from './init';
|
|
18
|
+
/** the load the view last started, and the `init` it was started for */
|
|
19
|
+
export type LoadState = {
|
|
20
|
+
key: string;
|
|
21
|
+
} & ({
|
|
22
|
+
status: 'loading';
|
|
23
|
+
} | {
|
|
24
|
+
status: 'loaded';
|
|
25
|
+
} | {
|
|
26
|
+
status: 'failed';
|
|
27
|
+
error: unknown;
|
|
28
|
+
});
|
|
29
|
+
/** what the panel shows in place of the alignment, or that it shows it */
|
|
30
|
+
export type TViewState = {
|
|
31
|
+
kind: 'alignment';
|
|
32
|
+
} | {
|
|
33
|
+
kind: 'loading';
|
|
34
|
+
message: string;
|
|
35
|
+
} | {
|
|
36
|
+
kind: 'notice';
|
|
37
|
+
message: string;
|
|
38
|
+
} | {
|
|
39
|
+
kind: 'error';
|
|
40
|
+
error: unknown;
|
|
41
|
+
retry: boolean;
|
|
42
|
+
};
|
|
14
43
|
/**
|
|
15
44
|
* #stateModel TViewPlugin
|
|
16
45
|
* extends
|
|
@@ -19,31 +48,36 @@ export type { TviewInit } from './init';
|
|
|
19
48
|
export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelType<Omit<Omit<{
|
|
20
49
|
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
21
50
|
displayName: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
22
|
-
minimized: import("@jbrowse/mobx-state-tree").
|
|
23
|
-
}, "height" | "id" | "type" | "
|
|
51
|
+
minimized: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
52
|
+
}, "height" | "id" | "type" | "region" | "selection" | "scrollZoom" | "highlights" | "features" | "data" | "drawLabels" | "drawNodeBubbles" | "drawNodeLabels" | "drawTree" | "labelsAlignRight" | "overviewHeight" | "showBranchLen" | "showTreeOverview" | "treeAreaWidth" | "treeOrder" | "treeWidth" | "msaFormat" | "residueColor" | "showColumnStats" | "allowedGappyness" | "clades" | "cladesSeeded" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "drawMsaLetters" | "embeddedMode" | "encodings" | "gffFilehandle" | "hiddenCategories" | "hideGaps" | "highlightColumns" | "msaFilehandle" | "relativeTo" | "residueMappings" | "rotated" | "rowHeight" | "rowPanels" | "rowTransform" | "scrollX" | "scrollY" | "scrollZoomAxis" | "showDomainLegend" | "showDomains" | "showOnly" | "subFeatureRows" | "trackHeights" | "treeFilehandle" | "treeMetadataFilehandle" | "treeRoot" | "trimToSelection" | "turnedOffFeatures" | "turnedOffTracks"> & Omit<Omit<Omit<{}, "drawLabels" | "drawNodeBubbles" | "drawNodeLabels" | "drawTree" | "labelsAlignRight" | "overviewHeight" | "showBranchLen" | "showTreeOverview" | "treeAreaWidth" | "treeOrder" | "treeWidth"> & {
|
|
24
53
|
drawLabels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
25
54
|
labelsAlignRight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
26
|
-
treeAreaWidth: import("@jbrowse/mobx-state-tree").
|
|
27
|
-
treeWidth: import("@jbrowse/mobx-state-tree").
|
|
55
|
+
treeAreaWidth: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<number>>;
|
|
56
|
+
treeWidth: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<number>>;
|
|
28
57
|
showBranchLen: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
58
|
+
treeOrder: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<import("react-msaview").TreeOrder>, [undefined]>;
|
|
29
59
|
drawTree: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
30
60
|
drawNodeBubbles: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
61
|
+
drawNodeLabels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
62
|
+
showTreeOverview: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
63
|
+
overviewHeight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
64
|
+
}, "msaFormat" | "residueColor" | "showColumnStats"> & {
|
|
65
|
+
residueColor: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IType<ResidueColor, ResidueColor, ResidueColor>, [undefined]>;
|
|
35
66
|
showColumnStats: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
36
67
|
msaFormat: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<import("react-msaview").MSAFormat>>;
|
|
37
|
-
}, "height" | "id" | "type" | "data" | "allowedGappyness" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "drawMsaLetters" | "
|
|
68
|
+
}, "height" | "id" | "type" | "region" | "selection" | "scrollZoom" | "highlights" | "features" | "data" | "allowedGappyness" | "clades" | "cladesSeeded" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "drawMsaLetters" | "embeddedMode" | "encodings" | "gffFilehandle" | "hiddenCategories" | "hideGaps" | "highlightColumns" | "msaFilehandle" | "relativeTo" | "residueMappings" | "rotated" | "rowHeight" | "rowPanels" | "rowTransform" | "scrollX" | "scrollY" | "scrollZoomAxis" | "showDomainLegend" | "showDomains" | "showOnly" | "subFeatureRows" | "trackHeights" | "treeFilehandle" | "treeMetadataFilehandle" | "treeRoot" | "trimToSelection" | "turnedOffFeatures" | "turnedOffTracks"> & {
|
|
38
69
|
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
39
70
|
showDomains: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
40
71
|
showDomainLegend: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
41
72
|
hideGaps: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
73
|
+
trimToSelection: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
42
74
|
allowedGappyness: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
43
75
|
subFeatureRows: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
44
|
-
type: import("@jbrowse/mobx-state-tree").
|
|
76
|
+
type: import("@jbrowse/mobx-state-tree").ILiteralType<"MsaView">;
|
|
45
77
|
drawMsaLetters: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
78
|
+
embeddedMode: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
46
79
|
scrollZoom: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
80
|
+
scrollZoomAxis: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<"both" | "horizontal" | "vertical">, [undefined]>;
|
|
47
81
|
height: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
48
82
|
rowHeight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
49
83
|
scrollY: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
@@ -70,14 +104,14 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
70
104
|
authInfo: any;
|
|
71
105
|
}> | undefined;
|
|
72
106
|
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
73
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
107
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
74
108
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
75
109
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
76
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
110
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
77
111
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
78
112
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
79
113
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
80
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
114
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
81
115
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
82
116
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
83
117
|
}> | {
|
|
@@ -88,41 +122,27 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
88
122
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
89
123
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
90
124
|
}> | undefined;
|
|
91
|
-
}, ({
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
localPath: string;
|
|
113
|
-
}>) | ({
|
|
114
|
-
locationType: "UriLocation";
|
|
115
|
-
uri: string;
|
|
116
|
-
} & Partial<{
|
|
117
|
-
locationType: "UriLocation";
|
|
118
|
-
uri: string;
|
|
119
|
-
baseUri: string | undefined;
|
|
120
|
-
internetAccountId: string | undefined;
|
|
121
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
122
|
-
internetAccountType: string;
|
|
123
|
-
authInfo: any;
|
|
124
|
-
}> | undefined;
|
|
125
|
-
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
125
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
126
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
127
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
128
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
129
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
130
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
131
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
132
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
133
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
134
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
135
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
136
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
137
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
138
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
139
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
140
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
141
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
142
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
143
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
144
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
145
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
126
146
|
locationType: "LocalPathLocation";
|
|
127
147
|
localPath: string;
|
|
128
148
|
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
@@ -164,14 +184,14 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
164
184
|
authInfo: any;
|
|
165
185
|
}> | undefined;
|
|
166
186
|
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
167
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
187
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
168
188
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
169
189
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
170
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
190
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
171
191
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
172
192
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
173
193
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
174
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
194
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
175
195
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
176
196
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
177
197
|
}> | {
|
|
@@ -182,41 +202,27 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
182
202
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
183
203
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
184
204
|
}> | undefined;
|
|
185
|
-
}, ({
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
localPath: string;
|
|
207
|
-
}>) | ({
|
|
208
|
-
locationType: "UriLocation";
|
|
209
|
-
uri: string;
|
|
210
|
-
} & Partial<{
|
|
211
|
-
locationType: "UriLocation";
|
|
212
|
-
uri: string;
|
|
213
|
-
baseUri: string | undefined;
|
|
214
|
-
internetAccountId: string | undefined;
|
|
215
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
216
|
-
internetAccountType: string;
|
|
217
|
-
authInfo: any;
|
|
218
|
-
}> | undefined;
|
|
219
|
-
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
205
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
206
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
207
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
208
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
209
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
210
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
211
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
212
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
213
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
214
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
215
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
216
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
217
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
218
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
219
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
220
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
221
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
222
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
223
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
224
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
225
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
220
226
|
locationType: "LocalPathLocation";
|
|
221
227
|
localPath: string;
|
|
222
228
|
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
@@ -258,14 +264,14 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
258
264
|
authInfo: any;
|
|
259
265
|
}> | undefined;
|
|
260
266
|
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
261
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
267
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
262
268
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
263
269
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
264
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
270
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
265
271
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
266
272
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
267
273
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
268
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
274
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
269
275
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
270
276
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
271
277
|
}> | {
|
|
@@ -276,41 +282,27 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
276
282
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
277
283
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
278
284
|
}> | undefined;
|
|
279
|
-
}, ({
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
localPath: string;
|
|
301
|
-
}>) | ({
|
|
302
|
-
locationType: "UriLocation";
|
|
303
|
-
uri: string;
|
|
304
|
-
} & Partial<{
|
|
305
|
-
locationType: "UriLocation";
|
|
306
|
-
uri: string;
|
|
307
|
-
baseUri: string | undefined;
|
|
308
|
-
internetAccountId: string | undefined;
|
|
309
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
310
|
-
internetAccountType: string;
|
|
311
|
-
authInfo: any;
|
|
312
|
-
}> | undefined;
|
|
313
|
-
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
285
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
286
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
287
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
288
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
289
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
290
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
291
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
292
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
293
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
294
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
295
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
296
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
297
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
298
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
299
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
300
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
301
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
302
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
303
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
304
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
305
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
314
306
|
locationType: "LocalPathLocation";
|
|
315
307
|
localPath: string;
|
|
316
308
|
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
@@ -352,14 +344,14 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
352
344
|
authInfo: any;
|
|
353
345
|
}> | undefined;
|
|
354
346
|
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
355
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
347
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
356
348
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
357
349
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
358
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
350
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
359
351
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
360
352
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
361
353
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
362
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
354
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
363
355
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
364
356
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
365
357
|
}> | {
|
|
@@ -370,41 +362,27 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
370
362
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
371
363
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
372
364
|
}> | undefined;
|
|
373
|
-
}, ({
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
localPath: string;
|
|
395
|
-
}>) | ({
|
|
396
|
-
locationType: "UriLocation";
|
|
397
|
-
uri: string;
|
|
398
|
-
} & Partial<{
|
|
399
|
-
locationType: "UriLocation";
|
|
400
|
-
uri: string;
|
|
401
|
-
baseUri: string | undefined;
|
|
402
|
-
internetAccountId: string | undefined;
|
|
403
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
404
|
-
internetAccountType: string;
|
|
405
|
-
authInfo: any;
|
|
406
|
-
}> | undefined;
|
|
407
|
-
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
365
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
366
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
367
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
368
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
369
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
370
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
371
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
372
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
373
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
374
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
375
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
376
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
377
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
378
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
379
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
380
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
381
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
382
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
383
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
384
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
385
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
408
386
|
locationType: "LocalPathLocation";
|
|
409
387
|
localPath: string;
|
|
410
388
|
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
@@ -427,9 +405,14 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
427
405
|
}>, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
428
406
|
currentAlignment: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
429
407
|
collapsed: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
408
|
+
rotated: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
409
|
+
treeRoot: import("@jbrowse/mobx-state-tree").IType<import("react-msaview").TreeRoot | undefined, import("react-msaview").TreeRoot | undefined, import("react-msaview").TreeRoot | undefined>;
|
|
430
410
|
showOnly: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
411
|
+
cladesSeeded: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
431
412
|
turnedOffTracks: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>, [undefined]>;
|
|
413
|
+
trackHeights: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<number>>, [undefined]>;
|
|
432
414
|
columnTracks: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").ColumnTrackSpec, import("react-msaview").ColumnTrackSpec, import("react-msaview").ColumnTrackSpec>>, [undefined]>;
|
|
415
|
+
residueMappings: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").ResidueMapping, import("react-msaview").ResidueMapping, import("react-msaview").ResidueMapping>>, [undefined]>;
|
|
433
416
|
data: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
434
417
|
tree: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
435
418
|
msa: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
@@ -443,11 +426,19 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
443
426
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, {
|
|
444
427
|
[k: string]: string | undefined;
|
|
445
428
|
}>, [undefined]>;
|
|
446
|
-
|
|
429
|
+
turnedOffFeatures: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>, [undefined]>;
|
|
447
430
|
relativeTo: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
448
431
|
highlightColumns: import("@jbrowse/mobx-state-tree").IType<number[] | undefined, number[] | undefined, number[] | undefined>;
|
|
449
|
-
highlights: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<
|
|
450
|
-
|
|
432
|
+
highlights: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<Highlight, Highlight, Highlight>>, [undefined]>;
|
|
433
|
+
features: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").Feature, import("react-msaview").Feature, import("react-msaview").Feature>>, [undefined]>;
|
|
434
|
+
selection: import("@jbrowse/mobx-state-tree").IType<import("react-msaview").MsaSelection | undefined, import("react-msaview").MsaSelection | undefined, import("react-msaview").MsaSelection | undefined>;
|
|
435
|
+
region: import("@jbrowse/mobx-state-tree").IType<import("react-msaview").Region | undefined, import("react-msaview").Region | undefined, import("react-msaview").Region | undefined>;
|
|
436
|
+
clades: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").Clade, import("react-msaview").Clade, import("react-msaview").Clade>>, [undefined]>;
|
|
437
|
+
encodings: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").Encoding, import("react-msaview").Encoding, import("react-msaview").Encoding>>, [undefined]>;
|
|
438
|
+
hiddenCategories: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").HiddenCategory, import("react-msaview").HiddenCategory, import("react-msaview").HiddenCategory>>, [undefined]>;
|
|
439
|
+
rowPanels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<RowPanelSpec, RowPanelSpec, RowPanelSpec>>, [undefined]>;
|
|
440
|
+
rowTransform: import("@jbrowse/mobx-state-tree").IType<RowTransform | undefined, RowTransform | undefined, RowTransform | undefined>;
|
|
441
|
+
}, "type" | "init" | "connectedViewId" | "zoomToBaseLevel"> & {
|
|
451
442
|
type: import("@jbrowse/mobx-state-tree").ILiteralType<"TView">;
|
|
452
443
|
/**
|
|
453
444
|
* #property
|
|
@@ -461,63 +452,69 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
461
452
|
* `./init.ts` for why this one is kept rather than cleared
|
|
462
453
|
*/
|
|
463
454
|
init: import("@jbrowse/mobx-state-tree").IType<TviewInit | undefined, TviewInit | undefined, TviewInit | undefined>;
|
|
464
|
-
/**
|
|
465
|
-
* #property
|
|
466
|
-
* reference region the alignment columns span, filled in by the load
|
|
467
|
-
*/
|
|
468
|
-
msaRegion: import("@jbrowse/mobx-state-tree").IType<IRegion | undefined, IRegion | undefined, IRegion | undefined>;
|
|
469
|
-
/**
|
|
470
|
-
* #property
|
|
471
|
-
* [refPos, width] for every position where some read has an insertion
|
|
472
|
-
*/
|
|
473
|
-
insertionWidths: import("@jbrowse/mobx-state-tree").IType<[number, number][] | null | undefined, [number, number][], [number, number][]>;
|
|
474
|
-
/**
|
|
475
|
-
* #property
|
|
476
|
-
* [start, end, columns] for every tandem array laid out per copy
|
|
477
|
-
*/
|
|
478
|
-
arraySpans: import("@jbrowse/mobx-state-tree").IType<[number, number, number][] | null | undefined, [number, number, number][], [number, number, number][]>;
|
|
479
455
|
/**
|
|
480
456
|
* #property
|
|
481
457
|
*/
|
|
482
458
|
zoomToBaseLevel: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
483
459
|
}, {
|
|
484
460
|
width: number;
|
|
461
|
+
problems: readonly import("@jbrowse/core/util").ViewProblem[];
|
|
462
|
+
bodyMounted: boolean;
|
|
485
463
|
} & {
|
|
464
|
+
readonly rendersDisplays: boolean;
|
|
465
|
+
readonly effectiveBodyMounted: boolean;
|
|
486
466
|
menuItems(): MenuItem[];
|
|
467
|
+
readonly ownTracks: import("@jbrowse/core/util").AbstractTrackModel[];
|
|
468
|
+
readonly ownViews: import("@jbrowse/core/util").AbstractViewModel[];
|
|
487
469
|
} & {
|
|
470
|
+
addProblem(problem: import("@jbrowse/core/util").ViewProblem): void;
|
|
488
471
|
setDisplayName(name: string): void;
|
|
489
472
|
setWidth(newWidth: number): void;
|
|
473
|
+
setBodyMounted(flag: boolean): void;
|
|
490
474
|
setMinimized(flag: boolean): void;
|
|
491
475
|
} & {
|
|
492
|
-
queueOfDialogs: [import("@jbrowse/core/util").DialogComponentType,
|
|
476
|
+
queueOfDialogs: [import("@jbrowse/core/util").DialogComponentType, Record<string, unknown>][];
|
|
493
477
|
} & {
|
|
494
478
|
readonly DialogComponent: import("@jbrowse/core/util").DialogComponentType | undefined;
|
|
495
|
-
readonly DialogProps:
|
|
479
|
+
readonly DialogProps: Record<string, unknown> | undefined;
|
|
496
480
|
} & {
|
|
497
481
|
removeActiveDialog(): void;
|
|
498
|
-
queueDialog(cb: (doneCallback: () => void) => [import("
|
|
482
|
+
queueDialog<T extends import("@jbrowse/core/util").DialogComponentType>(cb: (doneCallback: () => void) => [T, import("react").ComponentProps<T>]): void;
|
|
499
483
|
} & {
|
|
500
|
-
setTreeAreaWidth(n: number): void;
|
|
501
|
-
setTreeWidth(n: number): void;
|
|
484
|
+
setTreeAreaWidth(n: number | undefined): void;
|
|
485
|
+
setTreeWidth(n: number | undefined): void;
|
|
502
486
|
setLabelsAlignRight(arg: boolean): void;
|
|
503
487
|
setDrawTree(arg: boolean): void;
|
|
504
|
-
setAutoTreeAreaWidth(arg: boolean): void;
|
|
505
488
|
setShowBranchLen(arg: boolean): void;
|
|
489
|
+
setTreeOrder(order: import("react-msaview").TreeOrder): void;
|
|
506
490
|
setDrawNodeBubbles(arg: boolean): void;
|
|
491
|
+
setDrawNodeLabels(arg: boolean): void;
|
|
492
|
+
setShowTreeOverview(arg: boolean): void;
|
|
507
493
|
setDrawLabels(arg: boolean): void;
|
|
508
494
|
} & {
|
|
509
|
-
|
|
510
|
-
setBgColor(arg: boolean): void;
|
|
495
|
+
setResidueColor(color: ResidueColor): void;
|
|
511
496
|
setShowColumnStats(arg: boolean): void;
|
|
512
497
|
setMSAFormat(arg?: import("react-msaview").MSAFormat): void;
|
|
513
498
|
} & {
|
|
514
499
|
headerHeight: number;
|
|
500
|
+
heldTrimSpan: {
|
|
501
|
+
start: number;
|
|
502
|
+
end: number;
|
|
503
|
+
} | undefined;
|
|
504
|
+
availableHeight: number | undefined;
|
|
505
|
+
settingsOpen: boolean;
|
|
506
|
+
zoomHeld: {
|
|
507
|
+
col: number;
|
|
508
|
+
row: number;
|
|
509
|
+
};
|
|
510
|
+
hideHeader: boolean;
|
|
511
|
+
importForm: boolean;
|
|
515
512
|
status: {
|
|
516
513
|
msg: string;
|
|
517
|
-
url?: string;
|
|
518
514
|
onCancel?: () => void;
|
|
519
515
|
} | undefined;
|
|
520
516
|
highResScaleFactor: number;
|
|
517
|
+
zoomSnapshot: import("react-msaview").ZoomSnapshot | undefined;
|
|
521
518
|
loadingMSA: boolean;
|
|
522
519
|
loadingTree: boolean;
|
|
523
520
|
volatileWidth: number | undefined;
|
|
@@ -525,6 +522,7 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
525
522
|
blockSize: number;
|
|
526
523
|
mouseRow: number | undefined;
|
|
527
524
|
mouseCol: number | undefined;
|
|
525
|
+
hoveredHighlight: string | undefined;
|
|
528
526
|
mouseClickRow: number | undefined;
|
|
529
527
|
mouseClickCol: number | undefined;
|
|
530
528
|
hoveredTreeNode: {
|
|
@@ -532,26 +530,47 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
532
530
|
descendantNames: string[];
|
|
533
531
|
} | undefined;
|
|
534
532
|
highlightedColumns: number[] | undefined;
|
|
533
|
+
transientHighlights: Record<string, Highlight[]>;
|
|
535
534
|
minimapHeight: number;
|
|
536
|
-
conservationTrackHeight: number;
|
|
537
|
-
sequenceLogoTrackHeight: number;
|
|
538
535
|
marginLeft: number;
|
|
539
536
|
error: unknown;
|
|
537
|
+
loadWarnings: string[];
|
|
538
|
+
dismissedWarnings: string[];
|
|
539
|
+
resetCount: number;
|
|
540
|
+
hostCarriesData: boolean;
|
|
540
541
|
annotations: import("react-msaview").Annotation[];
|
|
541
542
|
} & {
|
|
542
543
|
drawRelativeTo(id: string | undefined): void;
|
|
543
544
|
setHideGaps(arg: boolean): void;
|
|
545
|
+
setTrimToSelection(arg: boolean): void;
|
|
544
546
|
setAllowedGappyness(arg: number): void;
|
|
545
547
|
setLoadingMSA(arg: boolean): void;
|
|
546
548
|
setLoadingTree(arg: boolean): void;
|
|
547
549
|
setWidth(arg: number): void;
|
|
550
|
+
setSettingsOpen(arg: boolean): void;
|
|
548
551
|
setHighResScaleFactor(arg: number): void;
|
|
549
552
|
setHeight(height: number): void;
|
|
553
|
+
setAvailableHeight(height?: number): void;
|
|
550
554
|
setError(error?: unknown): void;
|
|
555
|
+
addWarning(warning: string): void;
|
|
556
|
+
setHostCarriesData(arg: boolean): void;
|
|
551
557
|
setMousePos(col?: number, row?: number): void;
|
|
558
|
+
setHoveredHighlight(key?: string): void;
|
|
552
559
|
setHighlightedColumns(columns?: number[]): void;
|
|
553
|
-
|
|
560
|
+
setRegion(region?: import("react-msaview").Region): void;
|
|
561
|
+
setHighlights(highlights: Highlight[]): void;
|
|
562
|
+
setFeatures(features: import("react-msaview").Feature[]): void;
|
|
563
|
+
setSelection(selection?: import("react-msaview").MsaSelection): void;
|
|
564
|
+
clearSelection(): void;
|
|
565
|
+
setHeldTrimSpan(span?: {
|
|
566
|
+
start: number;
|
|
567
|
+
end: number;
|
|
568
|
+
}): void;
|
|
569
|
+
setClades(clades: import("react-msaview").Clade[]): void;
|
|
570
|
+
applyHighlight(owner: string, highlights: Highlight[]): void;
|
|
571
|
+
clearHighlight(owner: string): void;
|
|
554
572
|
setShowDomains(arg: boolean): void;
|
|
573
|
+
setCellFill(mode: "residue" | "domain" | "none"): void;
|
|
555
574
|
setShowDomainLegend(arg: boolean): void;
|
|
556
575
|
setSubFeatureRows(arg: boolean): void;
|
|
557
576
|
setMouseClickPos(col?: number, row?: number): void;
|
|
@@ -559,6 +578,10 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
559
578
|
setColWidth(n: number): void;
|
|
560
579
|
setCurrentAlignment(n: number): void;
|
|
561
580
|
toggleCollapsed(node: string): void;
|
|
581
|
+
toggleRotated(node: string): void;
|
|
582
|
+
clearRotated(): void;
|
|
583
|
+
clearNodeState(): void;
|
|
584
|
+
setTreeRoot(treeRoot?: import("react-msaview").TreeRoot): void;
|
|
562
585
|
setShowOnly(node?: string): void;
|
|
563
586
|
setData(data: {
|
|
564
587
|
msa?: string;
|
|
@@ -573,15 +596,26 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
573
596
|
setMSA(result: string): void;
|
|
574
597
|
setTree(result: string): void;
|
|
575
598
|
setTreeMetadata(result: string): void;
|
|
599
|
+
setGFF(result?: string): void;
|
|
576
600
|
} & {
|
|
577
601
|
readonly hideGapsEffective: boolean;
|
|
578
|
-
readonly
|
|
579
|
-
readonly
|
|
602
|
+
readonly colorRecords: import("react-msaview").ColorRecord[];
|
|
603
|
+
readonly activeHiddenCategories: import("react-msaview").HiddenValues;
|
|
604
|
+
annotationHidden(annotation: import("react-msaview").Annotation): boolean;
|
|
605
|
+
readonly hostRestoresData: boolean;
|
|
580
606
|
readonly viewInitialized: boolean;
|
|
581
607
|
readonly width: number;
|
|
582
608
|
} & {
|
|
583
|
-
|
|
609
|
+
readonly resolvedResidueColor: {
|
|
610
|
+
channel: "color" | "fill";
|
|
611
|
+
field: "feature" | "residue";
|
|
612
|
+
scheme: string;
|
|
613
|
+
letters: {
|
|
614
|
+
[k: string]: string;
|
|
615
|
+
} | undefined;
|
|
616
|
+
};
|
|
584
617
|
readonly colorScheme: Record<string, string>;
|
|
618
|
+
readonly dynamicColorSchemeName: string | undefined;
|
|
585
619
|
readonly header: Record<string, unknown> | {
|
|
586
620
|
info: string;
|
|
587
621
|
version: string | undefined;
|
|
@@ -597,13 +631,49 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
597
631
|
readonly alignmentNames: string[];
|
|
598
632
|
readonly noTree: boolean;
|
|
599
633
|
readonly noDomains: boolean;
|
|
634
|
+
readonly unshareableData: import("react-msaview").UnshareableData[];
|
|
600
635
|
menuItems(): never[];
|
|
601
|
-
readonly
|
|
636
|
+
readonly rowData: Record<string, Record<string, string> | undefined>;
|
|
637
|
+
rowDataOf(name: string): Record<string, string> | undefined;
|
|
638
|
+
readonly rowLabelField: string;
|
|
639
|
+
rowLabelOf(name: string): string;
|
|
640
|
+
readonly rowFields: string[];
|
|
602
641
|
readonly MSA: import("react-msaview").MSAParserType | null;
|
|
642
|
+
readonly allAnnotations: import("react-msaview").Annotation[];
|
|
643
|
+
readonly actuallyShowDomains: boolean;
|
|
603
644
|
readonly numColumns: number;
|
|
645
|
+
readonly selectionFileSpan: {
|
|
646
|
+
start: number;
|
|
647
|
+
end: number;
|
|
648
|
+
} | undefined;
|
|
649
|
+
readonly trimSpan: {
|
|
650
|
+
start: number;
|
|
651
|
+
end: number;
|
|
652
|
+
} | undefined;
|
|
653
|
+
readonly inputTree: import("react-msaview").NodeWithIds;
|
|
604
654
|
readonly tree: import("react-msaview").NodeWithIds;
|
|
655
|
+
readonly filteredTree: import("react-msaview").NodeWithIds | undefined;
|
|
656
|
+
readonly arrangedTree: import("react-msaview").NodeWithIds;
|
|
657
|
+
readonly facetClades: import("react-msaview").Clade[];
|
|
658
|
+
readonly facetBandsNotClades: string[];
|
|
659
|
+
readonly arrangedHierarchy: import("react-msaview").HierarchyNode<import("react-msaview").NodeWithIds>;
|
|
605
660
|
readonly rowNames: string[];
|
|
606
661
|
readonly rowNamesSet: Map<string, number>;
|
|
662
|
+
readonly resolvedClades: import("react-msaview").ResolvedClade[];
|
|
663
|
+
readonly cladeGutterWidth: number;
|
|
664
|
+
readonly treeDrawn: boolean;
|
|
665
|
+
readonly treeTips: {
|
|
666
|
+
names: string[];
|
|
667
|
+
depth: number;
|
|
668
|
+
};
|
|
669
|
+
readonly treeHierarchy: import("react-msaview").HierarchyNode<import("react-msaview").NodeWithIds>;
|
|
670
|
+
readonly maxTipLabelWidth: number;
|
|
671
|
+
readonly labelColumnWidth: number;
|
|
672
|
+
readonly fittedTreeAreaWidth: number;
|
|
673
|
+
readonly effectiveHeight: number;
|
|
674
|
+
readonly effectiveTreeAreaWidth: number;
|
|
675
|
+
readonly effectiveTreeWidth: number;
|
|
676
|
+
readonly showTreeText: boolean;
|
|
607
677
|
readonly mouseOverRowName: string | undefined;
|
|
608
678
|
readonly hoveredInsertion: {
|
|
609
679
|
rowName: string;
|
|
@@ -611,8 +681,25 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
611
681
|
letters: string;
|
|
612
682
|
} | undefined;
|
|
613
683
|
readonly root: import("react-msaview").HierarchyNode<import("react-msaview").NodeWithIds>;
|
|
684
|
+
readonly treeNewick: string;
|
|
685
|
+
readonly treeOverviewHeight: number;
|
|
686
|
+
readonly treeOverviewLayout: {
|
|
687
|
+
root: import("react-msaview").LaidOutNode<import("react-msaview").NodeWithIds>;
|
|
688
|
+
numTips: number;
|
|
689
|
+
maxDepthToLeaf: number;
|
|
690
|
+
showBranchLen: boolean;
|
|
691
|
+
} | undefined;
|
|
692
|
+
readonly treeOverviewClades: import("react-msaview").ResolvedClade[];
|
|
693
|
+
readonly treeOverviewFocusRows: [number, number] | undefined;
|
|
694
|
+
treeOverviewHit(y: number): {
|
|
695
|
+
id: string;
|
|
696
|
+
rows: [number, number];
|
|
697
|
+
} | undefined;
|
|
698
|
+
readonly rowPanelsWidth: number;
|
|
699
|
+
readonly rowPanelsHeaderHeight: 0 | 56;
|
|
614
700
|
readonly msaAreaWidth: number;
|
|
615
701
|
readonly treeAreaWidthMinusMargin: number;
|
|
702
|
+
readonly gappyColumns: number[];
|
|
616
703
|
readonly blanks: number[];
|
|
617
704
|
readonly insertionPositions: Map<string, {
|
|
618
705
|
pos: number;
|
|
@@ -620,158 +707,323 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
620
707
|
}[]>;
|
|
621
708
|
readonly rows: [string, string][];
|
|
622
709
|
readonly numRows: number;
|
|
623
|
-
|
|
710
|
+
seqPosIndex(rowName: string): Int32Array | undefined;
|
|
711
|
+
rowSequence(name: string): string | undefined;
|
|
624
712
|
readonly rowMap: Map<string, string>;
|
|
625
713
|
readonly columns: Map<string, string>;
|
|
626
714
|
readonly columns2d: string[];
|
|
627
715
|
readonly fontSize: number;
|
|
628
716
|
readonly colStats: import("react-msaview").ColumnCounts;
|
|
717
|
+
readonly rowLetters: Set<string>;
|
|
629
718
|
readonly sequenceType: "dna" | "rna" | "amino";
|
|
630
719
|
readonly colConsensus: {
|
|
631
720
|
letter: string;
|
|
632
721
|
color: string | undefined;
|
|
633
722
|
}[];
|
|
634
723
|
readonly colClustalX: Record<string, string>[];
|
|
724
|
+
readonly colSimilarity: Record<string, string>[];
|
|
635
725
|
readonly conservation: number[];
|
|
636
726
|
readonly alphabetMaxBits: number;
|
|
637
727
|
readonly propertyConservation: number[];
|
|
638
|
-
readonly
|
|
728
|
+
readonly treeLayout: {
|
|
729
|
+
root: import("react-msaview").LaidOutNode<import("react-msaview").NodeWithIds>;
|
|
730
|
+
leaves: import("react-msaview").LaidOutNode<import("react-msaview").NodeWithIds>[];
|
|
731
|
+
rootToTipLength: number;
|
|
732
|
+
};
|
|
733
|
+
readonly hierarchy: import("react-msaview").HierarchyNode;
|
|
639
734
|
readonly totalHeight: number;
|
|
640
|
-
readonly leaves: import("react-msaview").HierarchyNode
|
|
641
|
-
readonly
|
|
735
|
+
readonly leaves: import("react-msaview").HierarchyNode[];
|
|
736
|
+
readonly rootToTipLength: number;
|
|
737
|
+
readonly pxPerBranchLength: number;
|
|
642
738
|
readonly maxDepthToLeaf: number;
|
|
643
739
|
readonly allBranchesLength0: boolean;
|
|
644
740
|
readonly showBranchLenEffective: boolean;
|
|
645
741
|
} & {
|
|
646
742
|
readonly totalWidth: number;
|
|
743
|
+
} & {
|
|
744
|
+
readonly showMsaLetters: boolean;
|
|
745
|
+
} & {
|
|
746
|
+
readonly columnTrackContent: Map<string, {
|
|
747
|
+
values?: number[];
|
|
748
|
+
raw?: (number | undefined)[];
|
|
749
|
+
data?: string;
|
|
750
|
+
arcs?: import("react-msaview").Arc[];
|
|
751
|
+
spans?: import("react-msaview").ColumnSpan[];
|
|
752
|
+
}>;
|
|
753
|
+
trackHeight(kind: import("react-msaview").TrackKind, heightKey?: string, given?: number): number;
|
|
754
|
+
columnTrackModel(track: import("react-msaview").ColumnTrackSpec): import("react-msaview").BasicTrack;
|
|
755
|
+
readonly columnTrackModels: import("react-msaview").BasicTrack[];
|
|
756
|
+
} & {
|
|
757
|
+
readonly secondaryStructureConsensus: string | undefined;
|
|
758
|
+
readonly secondaryStructureArcs: import("react-msaview").Arc[] | undefined;
|
|
759
|
+
readonly adapterTrackModels: import("react-msaview").BasicTrack[];
|
|
760
|
+
readonly basePairTrackModels: import("react-msaview").BasicTrack[];
|
|
761
|
+
readonly computedTrackModels: import("react-msaview").BasicTrack[];
|
|
762
|
+
readonly referenceTrackModels: import("react-msaview").BasicTrack[];
|
|
763
|
+
fillHighlightLabel(label: string, row?: string, start?: number): string;
|
|
764
|
+
readonly resolvedHighlights: import("react-msaview").ResolvedHighlight[];
|
|
765
|
+
readonly tracks: import("react-msaview").BasicTrack[];
|
|
766
|
+
readonly highlightTrackModels: import("react-msaview").BasicTrack[];
|
|
767
|
+
readonly turnedOnTracks: import("react-msaview").BasicTrack[];
|
|
768
|
+
readonly showHorizontalScrollbar: boolean;
|
|
769
|
+
visibleColToRowLetter(rowName: string, visibleCol: number): string | undefined;
|
|
770
|
+
visibleColToSeqPos(rowName: string, visibleCol: number): number | undefined;
|
|
771
|
+
visibleColToSeqPosOneBased(rowName: string, visibleCol: number): number | undefined;
|
|
772
|
+
globalColToVisibleCol(globalCol: number): number | undefined;
|
|
773
|
+
visibleColToGlobalCol(visibleCol: number): number;
|
|
774
|
+
seqPosToGlobalCol(rowName: string, seqPos: number): number | undefined;
|
|
775
|
+
seqEndToGlobalCol(rowName: string, seqPos: number): number | undefined;
|
|
776
|
+
seqPosToVisibleCol(rowName: string, seqPos: number): number | undefined;
|
|
777
|
+
visibleSpan({ row, start: rawStart, end: rawEnd }: import("react-msaview").Region): {
|
|
778
|
+
startCol: number;
|
|
779
|
+
endCol: number;
|
|
780
|
+
} | undefined;
|
|
781
|
+
readonly residueMappingProblems: import("react-msaview").ResidueMappingProblem[];
|
|
782
|
+
readonly usableResidueMappings: import("react-msaview").ResidueMapping[];
|
|
783
|
+
readonly mappedStructures: {
|
|
784
|
+
row: string;
|
|
785
|
+
structure: import("react-msaview").MappedStructure;
|
|
786
|
+
}[];
|
|
787
|
+
structureResidue(rowName: string, seqPos: number, structureId?: string): import("react-msaview").StructureResidue | undefined;
|
|
788
|
+
rowResidue(structureId: string, position: number, asymId?: string): import("react-msaview").RowResidue | undefined;
|
|
789
|
+
} & {
|
|
790
|
+
readonly treeScaleBar: {
|
|
791
|
+
step: number;
|
|
792
|
+
px: number;
|
|
793
|
+
label: string;
|
|
794
|
+
} | undefined;
|
|
795
|
+
readonly topBandHeight: number;
|
|
796
|
+
readonly msaAreaHeight: number;
|
|
797
|
+
readonly totalTrackAreaHeight: number;
|
|
798
|
+
readonly annotationTypes: Map<string, import("react-msaview").Annotation>;
|
|
799
|
+
readonly defaultOffAccessions: Set<string>;
|
|
800
|
+
featureOff(accession: string): boolean;
|
|
801
|
+
readonly typeFilteredAnnotations: import("react-msaview").Annotation[];
|
|
802
|
+
readonly filteredAnnotations: import("react-msaview").Annotation[];
|
|
803
|
+
readonly cellFill: "residue" | "domain" | "none";
|
|
804
|
+
readonly annotationsByRow: Record<string, import("react-msaview").Annotation[]>;
|
|
805
|
+
} & {
|
|
806
|
+
readonly showVerticalScrollbar: boolean;
|
|
647
807
|
} & {
|
|
648
808
|
readonly dataInitialized: boolean;
|
|
649
809
|
readonly blocksX: number[];
|
|
650
810
|
readonly blocksY: number[];
|
|
651
|
-
readonly visibleMsaHeight: number;
|
|
652
811
|
} & {
|
|
812
|
+
readonly verticalScrollbarWidth: 0 | 20;
|
|
813
|
+
readonly msaCanvasWidth: number;
|
|
814
|
+
readonly maxScrollX: number;
|
|
653
815
|
readonly blocks2d: (readonly [number, number])[];
|
|
816
|
+
readonly wheelZooming: boolean;
|
|
654
817
|
readonly isLoading: boolean;
|
|
655
|
-
readonly
|
|
818
|
+
readonly dataWarnings: string[];
|
|
819
|
+
readonly rowTransformWarnings: string[];
|
|
820
|
+
readonly warnings: string[];
|
|
656
821
|
readonly maxScrollY: number;
|
|
657
|
-
readonly
|
|
658
|
-
readonly showTreeText: boolean;
|
|
822
|
+
readonly wheelZoomAxis: "both" | "horizontal" | "vertical";
|
|
659
823
|
} & {
|
|
660
824
|
setDrawMsaLetters(arg: boolean): void;
|
|
825
|
+
clearWarnings(): void;
|
|
661
826
|
setScrollZoom(arg: boolean): void;
|
|
827
|
+
setScrollZoomAxis(arg: "both" | "horizontal" | "vertical"): void;
|
|
662
828
|
setHoveredTreeNode(nodeId?: string): void;
|
|
663
829
|
calculateNeighborJoiningTreeFromMSA(): void;
|
|
830
|
+
rerootAt(nodeId: string): void;
|
|
831
|
+
seedCladeMarks(): void;
|
|
832
|
+
replaceTree(newick: string): void;
|
|
664
833
|
resetZoom(): void;
|
|
665
|
-
|
|
666
|
-
zoomInHorizontal(): void;
|
|
667
|
-
zoomInVertical(): void;
|
|
668
|
-
zoomOutVertical(): void;
|
|
834
|
+
zoomAtCenter(scaleFactor: number, axis?: "both" | "horizontal" | "vertical"): void;
|
|
669
835
|
zoomIn(): void;
|
|
670
836
|
zoomOut(): void;
|
|
671
|
-
zoomToPos(scaleFactor: number, offsetX: number, offsetY: number): void;
|
|
837
|
+
zoomToPos(scaleFactor: number, offsetX: number, offsetY: number, axis?: "both" | "horizontal" | "vertical"): void;
|
|
838
|
+
wheelZoomToPos(scaleFactor: number, offsetX: number, offsetY: number): void;
|
|
839
|
+
endWheelZoom(): void;
|
|
672
840
|
doScrollY(deltaY: number): void;
|
|
673
841
|
setScrollY(n: number): void;
|
|
674
842
|
setAnnotations(annotations: import("react-msaview").Annotation[]): void;
|
|
675
|
-
setDomains(data?: Record<string, import("react-msaview").InterProScanResults>): void;
|
|
676
843
|
applyGFFText(gffText: string): void;
|
|
677
844
|
doScrollX(deltaX: number): void;
|
|
678
845
|
setScrollX(n: number): void;
|
|
679
846
|
setColumnTracks(tracks: import("react-msaview").ColumnTrackSpec[]): void;
|
|
847
|
+
setRowData(rowData: import("react-msaview").RowDataInput): void;
|
|
848
|
+
setEncodings(encodings: import("react-msaview").Encoding[]): void;
|
|
849
|
+
setRowPanels(panels: RowPanelSpec[]): void;
|
|
850
|
+
setRowTransform(transform?: RowTransform): void;
|
|
851
|
+
setResidueMappings(mappings: import("react-msaview").ResidueMapping[]): void;
|
|
680
852
|
toggleTrack(id: string): void;
|
|
853
|
+
setTracksShown(ids: string[], shown: boolean): void;
|
|
681
854
|
setStatus(status?: {
|
|
682
855
|
msg: string;
|
|
683
|
-
url?: string;
|
|
684
856
|
onCancel?: () => void;
|
|
685
857
|
}): void;
|
|
686
858
|
} & {
|
|
687
|
-
|
|
688
|
-
readonly
|
|
689
|
-
readonly
|
|
690
|
-
readonly
|
|
691
|
-
readonly seqConsensus: string | undefined;
|
|
692
|
-
readonly adapterTrackModels: import("react-msaview").BasicTrack[];
|
|
693
|
-
readonly columnTrackContent: Map<string, {
|
|
694
|
-
values?: number[];
|
|
695
|
-
data?: string;
|
|
696
|
-
}>;
|
|
697
|
-
readonly columnTrackModels: import("react-msaview").BasicTrack[];
|
|
698
|
-
readonly tracks: import("react-msaview").BasicTrack[];
|
|
699
|
-
readonly turnedOnTracks: import("react-msaview").BasicTrack[];
|
|
700
|
-
readonly showHorizontalScrollbar: boolean;
|
|
701
|
-
visibleColToRowLetter(rowName: string, visibleCol: number): string | undefined;
|
|
702
|
-
visibleColToSeqPos(rowName: string, visibleCol: number): number | undefined;
|
|
703
|
-
visibleColToSeqPosOneBased(rowName: string, visibleCol: number): number | undefined;
|
|
704
|
-
globalColToVisibleCol(globalCol: number): number | undefined;
|
|
705
|
-
seqPosToGlobalCol(rowName: string, seqPos: number): number;
|
|
706
|
-
seqPosToVisibleCol(rowName: string, seqPos: number): number | undefined;
|
|
707
|
-
} & {
|
|
708
|
-
readonly msaAreaHeight: number;
|
|
709
|
-
readonly totalTrackAreaHeight: number;
|
|
710
|
-
readonly annotationTypes: Map<string, import("react-msaview").Annotation>;
|
|
711
|
-
readonly filteredAnnotations: import("react-msaview").Annotation[];
|
|
712
|
-
readonly annotationsByRow: Record<string, import("react-msaview").Annotation[]>;
|
|
713
|
-
} & {
|
|
714
|
-
readonly showVerticalScrollbar: boolean;
|
|
715
|
-
} & {
|
|
716
|
-
readonly verticalScrollbarWidth: 0 | 20;
|
|
717
|
-
readonly msaCanvasWidth: number;
|
|
859
|
+
cellAt(visibleCol: number, rowIndex?: number): import("react-msaview").Cell;
|
|
860
|
+
readonly hoveredCell: import("react-msaview").Cell | undefined;
|
|
861
|
+
readonly clickedCell: import("react-msaview").Cell | undefined;
|
|
862
|
+
readonly viewport: import("react-msaview").Viewport | undefined;
|
|
718
863
|
readonly segmentDomainTypes: import("react-msaview").Annotation[];
|
|
864
|
+
readonly domainLegendItems: import("react-msaview").LegendItem[];
|
|
719
865
|
readonly categoricalDomainTypes: import("react-msaview").Annotation[];
|
|
720
866
|
readonly fillPalette: {
|
|
721
867
|
[x: string]: string;
|
|
722
868
|
};
|
|
723
|
-
readonly
|
|
724
|
-
|
|
725
|
-
|
|
869
|
+
readonly featureFillEncoding: import("react-msaview").ResolvedEncoding | undefined;
|
|
870
|
+
readonly featureColors: Map<import("react-msaview").Annotation, {
|
|
871
|
+
fill: string;
|
|
872
|
+
stroke: string;
|
|
873
|
+
}>;
|
|
874
|
+
readonly featureLabels: Map<import("react-msaview").Annotation, string> | undefined;
|
|
726
875
|
readonly segmentLabels: Map<string, string>;
|
|
727
876
|
readonly visibleDomainTypes: import("react-msaview").Annotation[];
|
|
877
|
+
readonly legends: import("react-msaview").LegendSection[];
|
|
878
|
+
readonly categoryFields: Map<string, string[]>;
|
|
879
|
+
readonly scaleProblems: import("react-msaview").RecordScaleProblem[];
|
|
880
|
+
readonly scaleProblemNotes: Map<string, string>;
|
|
881
|
+
readonly colorRecordProblems: {
|
|
882
|
+
record: string;
|
|
883
|
+
key: string;
|
|
884
|
+
problems: import("react-msaview").ScaleProblem[];
|
|
885
|
+
}[];
|
|
886
|
+
readonly domainUnderline: boolean;
|
|
728
887
|
readonly domainBands: Map<string, import("react-msaview").DomainBand[]>;
|
|
729
888
|
readonly domainBandsByStart: Map<string, import("react-msaview").DomainBand[]>;
|
|
730
889
|
readonly mouseOverDomains: import("react-msaview").Annotation[];
|
|
890
|
+
readonly mouseOverHighlights: import("react-msaview").ResolvedHighlight[];
|
|
731
891
|
readonly referenceRowIndex: number | undefined;
|
|
732
892
|
readonly hoveredRowIndices: number[];
|
|
733
893
|
readonly highlightedColumnRuns: {
|
|
734
894
|
start: number;
|
|
735
895
|
end: number;
|
|
736
896
|
}[];
|
|
737
|
-
readonly
|
|
738
|
-
readonly
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
gaps: number;
|
|
742
|
-
gapFraction: number;
|
|
743
|
-
conservation: number;
|
|
744
|
-
propertyConservation: number | undefined;
|
|
745
|
-
consensusLetter: string;
|
|
746
|
-
consensusCount: number;
|
|
747
|
-
consensusFraction: number;
|
|
748
|
-
distribution: [string, number][];
|
|
897
|
+
readonly resolvedSelection: import("react-msaview").ResolvedSelection | undefined;
|
|
898
|
+
readonly selectionSize: {
|
|
899
|
+
columns: number;
|
|
900
|
+
rows: number;
|
|
749
901
|
} | undefined;
|
|
902
|
+
readonly selectionFasta: string;
|
|
903
|
+
columnStatsAt(col: number): import("react-msaview").ColumnStats | undefined;
|
|
750
904
|
getRowData(name: string): {
|
|
751
905
|
data: {
|
|
752
906
|
name?: string;
|
|
753
907
|
accession?: string;
|
|
754
908
|
dbxref?: string;
|
|
755
909
|
} | undefined;
|
|
756
|
-
|
|
910
|
+
rowData: Record<string, string> | undefined;
|
|
757
911
|
};
|
|
912
|
+
readonly resolvedEncodings: import("react-msaview").ResolvedEncoding[];
|
|
913
|
+
readonly colorEncodings: import("react-msaview").ColorEncoding[];
|
|
914
|
+
encodingFor(channel: import("react-msaview").ColorEncodingChannel): import("react-msaview").ResolvedEncoding | undefined;
|
|
915
|
+
readonly resolvedScales: Map<string, import("react-msaview").SharedScale>;
|
|
916
|
+
scaleOf(channel: import("react-msaview").ColorChannel, table: import("react-msaview").ScaleTable): import("react-msaview").SharedScale;
|
|
917
|
+
readonly rowPanelScales: ({
|
|
918
|
+
axis?: import("react-msaview").PanelAxis | undefined;
|
|
919
|
+
header: string;
|
|
920
|
+
legend: import("react-msaview").LegendItem[];
|
|
921
|
+
field: string;
|
|
922
|
+
kind: "strip";
|
|
923
|
+
colors: Map<string, string>;
|
|
924
|
+
legendKey?: string | undefined;
|
|
925
|
+
legendTitle?: string | undefined;
|
|
926
|
+
legendNote?: string | undefined;
|
|
927
|
+
} | {
|
|
928
|
+
x: "column" | "position";
|
|
929
|
+
axis?: import("react-msaview").PanelAxis | undefined;
|
|
930
|
+
header: string;
|
|
931
|
+
legend: import("react-msaview").LegendItem[];
|
|
932
|
+
field?: string | undefined;
|
|
933
|
+
kind: "features";
|
|
934
|
+
colors: Map<import("react-msaview").Annotation, {
|
|
935
|
+
fill: string;
|
|
936
|
+
stroke: string;
|
|
937
|
+
}>;
|
|
938
|
+
legendKey?: string | undefined;
|
|
939
|
+
legendTitle?: string | undefined;
|
|
940
|
+
legendNote?: string | undefined;
|
|
941
|
+
labels?: Map<import("react-msaview").Annotation, string> | undefined;
|
|
942
|
+
} | (Omit<import("react-msaview").ResolvedValuePanel, "width" | "axis" | "id" | "offsetX"> & {
|
|
943
|
+
valueScale: import("react-msaview").ValueScale;
|
|
944
|
+
}) | {
|
|
945
|
+
axis?: import("react-msaview").PanelAxis | undefined;
|
|
946
|
+
header: string;
|
|
947
|
+
legend: import("react-msaview").LegendItem[];
|
|
948
|
+
field: string;
|
|
949
|
+
kind: "text";
|
|
950
|
+
colors: Map<string, string>;
|
|
951
|
+
legendKey?: string | undefined;
|
|
952
|
+
legendTitle?: string | undefined;
|
|
953
|
+
legendNote?: string | undefined;
|
|
954
|
+
colorField?: string | undefined;
|
|
955
|
+
hiddenRows: Set<string>;
|
|
956
|
+
texts: Map<string, string>;
|
|
957
|
+
})[];
|
|
958
|
+
readonly featureTrackScales: Map<string, {
|
|
959
|
+
readonly colors: Map<import("react-msaview").Annotation, {
|
|
960
|
+
fill: string;
|
|
961
|
+
stroke: string;
|
|
962
|
+
}>;
|
|
963
|
+
readonly labels: Map<import("react-msaview").Annotation, string> | undefined;
|
|
964
|
+
readonly scale: import("react-msaview").SharedScale | undefined;
|
|
965
|
+
}>;
|
|
966
|
+
readonly columnTrackColors: Map<string, {
|
|
967
|
+
readonly scale: import("react-msaview").SharedScale | undefined;
|
|
968
|
+
readonly colorOf: (value: string | undefined) => string | undefined;
|
|
969
|
+
readonly isHidden: (value: string | undefined) => boolean;
|
|
970
|
+
readonly identity: boolean;
|
|
971
|
+
readonly columns: (string | undefined)[] | undefined;
|
|
972
|
+
readonly hiddenColumns: boolean[] | undefined;
|
|
973
|
+
readonly letters: {
|
|
974
|
+
[k: string]: string;
|
|
975
|
+
} | undefined;
|
|
976
|
+
}>;
|
|
977
|
+
readonly resolvedRowPanels: import("react-msaview").ResolvedRowPanel[];
|
|
978
|
+
readonly featureAlignShifts: Map<string, Map<string, number>>;
|
|
979
|
+
readonly tipLabelColors: Map<string, string> | undefined;
|
|
980
|
+
readonly rowTints: (string | undefined)[] | undefined;
|
|
981
|
+
readonly branchColors: Map<string, string> | undefined;
|
|
982
|
+
readonly nodePointColors: Map<string, string> | undefined;
|
|
758
983
|
} & {
|
|
759
984
|
setHeaderHeight(arg: number): void;
|
|
760
|
-
|
|
761
|
-
|
|
985
|
+
setHideHeader(arg: boolean): void;
|
|
986
|
+
setEmbeddedMode(arg: boolean): void;
|
|
987
|
+
setImportForm(arg: boolean): void;
|
|
988
|
+
treeOverviewClick(y: number): void;
|
|
989
|
+
setTrackHeight(heightKey: string, height: number): void;
|
|
762
990
|
reset(): void;
|
|
763
991
|
exportSVG(opts: import("react-msaview").ExportSvgOptions): Promise<void>;
|
|
764
|
-
|
|
765
|
-
setFilter(
|
|
992
|
+
exportNewick(): void;
|
|
993
|
+
setFilter(accession: string, shown: boolean): void;
|
|
994
|
+
setHiddenCategories(hidden: import("react-msaview").HiddenCategory[]): void;
|
|
995
|
+
toggleLegendItem(hides: import("react-msaview").LegendHides, value: string): void;
|
|
766
996
|
fit(): void;
|
|
767
|
-
fitVertically(): void;
|
|
768
|
-
|
|
997
|
+
fitVertically(maxRowHeight?: number): void;
|
|
998
|
+
zoomToRegion(region: import("react-msaview").Region): void;
|
|
999
|
+
revealRegion(region: import("react-msaview").Region): void;
|
|
1000
|
+
zoomToSelection(): void;
|
|
1001
|
+
selectBlock(anchor: {
|
|
1002
|
+
col: number;
|
|
1003
|
+
row?: number;
|
|
1004
|
+
}, head: {
|
|
1005
|
+
col: number;
|
|
1006
|
+
row?: number;
|
|
1007
|
+
}): void;
|
|
1008
|
+
fitHorizontally(maxColWidth?: number): void;
|
|
769
1009
|
afterCreate(): void;
|
|
770
1010
|
} & {
|
|
771
1011
|
/**
|
|
772
|
-
* #
|
|
1012
|
+
* #volatile
|
|
1013
|
+
* the reference region the loaded alignment spans
|
|
1014
|
+
*/
|
|
1015
|
+
loadedRegion: IRegion | undefined;
|
|
1016
|
+
/**
|
|
1017
|
+
* #volatile
|
|
1018
|
+
* the highlights the last load added, which the next one replaces
|
|
1019
|
+
*/
|
|
1020
|
+
loadedHighlights: Highlight[];
|
|
1021
|
+
/**
|
|
1022
|
+
* #volatile
|
|
1023
|
+
* the base modification calls the last load placed, when its reads had any
|
|
773
1024
|
*/
|
|
774
|
-
|
|
1025
|
+
loadedModifications: ModificationSummary | undefined;
|
|
1026
|
+
} & {
|
|
775
1027
|
/**
|
|
776
1028
|
* #getter
|
|
777
1029
|
*/
|
|
@@ -780,12 +1032,7 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
780
1032
|
* #getter
|
|
781
1033
|
* the region `init.loc` names, once the assembly can parse it
|
|
782
1034
|
*/
|
|
783
|
-
readonly initRegion:
|
|
784
|
-
assemblyName: string;
|
|
785
|
-
refName: string;
|
|
786
|
-
start: number;
|
|
787
|
-
end: number;
|
|
788
|
-
} | undefined;
|
|
1035
|
+
readonly initRegion: import("./init").RegionCheck | undefined;
|
|
789
1036
|
/**
|
|
790
1037
|
* #getter
|
|
791
1038
|
* the alignment files `init.tracks` names, once every one resolves. The
|
|
@@ -793,11 +1040,23 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
793
1040
|
* tracks it was launched from being closed.
|
|
794
1041
|
*/
|
|
795
1042
|
readonly initSources: TviewSource[] | undefined;
|
|
796
|
-
} & {
|
|
797
1043
|
/**
|
|
798
|
-
* #
|
|
1044
|
+
* #getter
|
|
1045
|
+
* what a load is keyed on: two inits that say the same thing are one
|
|
799
1046
|
*/
|
|
800
|
-
|
|
1047
|
+
readonly initKey: string | undefined;
|
|
1048
|
+
/**
|
|
1049
|
+
* #getter
|
|
1050
|
+
* overrides base: a view with an `init` rebuilds what its snapshot drops
|
|
1051
|
+
*/
|
|
1052
|
+
readonly hostRestoresData: boolean;
|
|
1053
|
+
} & {
|
|
1054
|
+
/**
|
|
1055
|
+
* #method
|
|
1056
|
+
* the reference base a visible column is read against: the reference
|
|
1057
|
+
* row's residue there, or the next one where the reference has a gap
|
|
1058
|
+
*/
|
|
1059
|
+
colToGenomeRegion(col: number): IRegion | undefined;
|
|
801
1060
|
} & {
|
|
802
1061
|
/**
|
|
803
1062
|
* #getter
|
|
@@ -806,32 +1065,50 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
806
1065
|
*/
|
|
807
1066
|
readonly connectedHighlights: IRegion[];
|
|
808
1067
|
} & {
|
|
809
|
-
|
|
810
|
-
loading: boolean;
|
|
811
|
-
loadFailed: boolean;
|
|
1068
|
+
loadState: LoadState | undefined;
|
|
812
1069
|
} & {
|
|
813
1070
|
/**
|
|
814
|
-
* #
|
|
1071
|
+
* #getter
|
|
1072
|
+
* the load state of the current `init`, not of one it replaced
|
|
815
1073
|
*/
|
|
816
|
-
|
|
1074
|
+
readonly currentLoad: LoadState | undefined;
|
|
1075
|
+
} & {
|
|
1076
|
+
/**
|
|
1077
|
+
* #getter
|
|
1078
|
+
* why `init` cannot be loaded yet, or undefined once it can
|
|
1079
|
+
*/
|
|
1080
|
+
readonly initBlocker: TViewState | undefined;
|
|
1081
|
+
} & {
|
|
1082
|
+
/**
|
|
1083
|
+
* #getter
|
|
1084
|
+
*/
|
|
1085
|
+
readonly viewState: TViewState;
|
|
1086
|
+
} & {
|
|
817
1087
|
/**
|
|
818
1088
|
* #action
|
|
819
1089
|
*/
|
|
820
|
-
|
|
1090
|
+
setLoadState(arg?: LoadState): void;
|
|
821
1091
|
/**
|
|
822
1092
|
* #action
|
|
823
1093
|
*/
|
|
824
1094
|
setInit(arg?: TviewInit): void;
|
|
825
1095
|
/**
|
|
826
1096
|
* #action
|
|
1097
|
+
* forget a failed load, so the view tries its `init` again
|
|
827
1098
|
*/
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
1099
|
+
retryLoad(): void;
|
|
1100
|
+
/**
|
|
1101
|
+
* #action
|
|
1102
|
+
* draws a load's base modification calls as annotations, which are
|
|
1103
|
+
* volatile: as many as the cap allows would bloat the session snapshot
|
|
1104
|
+
*/
|
|
1105
|
+
setModifications(modifications?: TviewModifications): void;
|
|
1106
|
+
/**
|
|
1107
|
+
* #action
|
|
1108
|
+
* shows a built alignment: its rows, how they are grouped, ordered and
|
|
1109
|
+
* marked, and the defaults a view that has not set its own takes
|
|
1110
|
+
*/
|
|
1111
|
+
setAlignment(result: TviewPlanResult): void;
|
|
835
1112
|
/**
|
|
836
1113
|
* #action
|
|
837
1114
|
*/
|
|
@@ -843,10 +1120,13 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
843
1120
|
} & {
|
|
844
1121
|
/**
|
|
845
1122
|
* #action
|
|
846
|
-
* builds the alignment `init` describes, from whatever `init`
|
|
847
|
-
* it over. The one way an alignment ever gets here.
|
|
1123
|
+
* builds the alignment `init` describes, from whatever `init`
|
|
1124
|
+
* describes it over. The one way an alignment ever gets here. A result
|
|
1125
|
+
* for an `init` that is no longer current, or for a view that has been
|
|
1126
|
+
* closed, is dropped.
|
|
848
1127
|
*/
|
|
849
|
-
load(region: FetchRegion, sources: TviewSource[]): Promise<void>;
|
|
1128
|
+
load(key: string, region: FetchRegion, sources: TviewSource[]): Promise<void>;
|
|
1129
|
+
beforeDestroy(): void;
|
|
850
1130
|
} & {
|
|
851
1131
|
afterCreate(): void;
|
|
852
1132
|
} & {
|
|
@@ -860,47 +1140,459 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
860
1140
|
* overrides base
|
|
861
1141
|
*/
|
|
862
1142
|
menuItems(): MenuItem[];
|
|
863
|
-
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1143
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, Omit<import("@jbrowse/mobx-state-tree").ModelSnapshotType<Omit<Omit<{
|
|
864
1144
|
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
865
1145
|
displayName: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
866
|
-
minimized: import("@jbrowse/mobx-state-tree").
|
|
867
|
-
}> &
|
|
868
|
-
|
|
869
|
-
|
|
1146
|
+
minimized: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1147
|
+
}, "height" | "id" | "type" | "region" | "selection" | "scrollZoom" | "highlights" | "features" | "data" | "drawLabels" | "drawNodeBubbles" | "drawNodeLabels" | "drawTree" | "labelsAlignRight" | "overviewHeight" | "showBranchLen" | "showTreeOverview" | "treeAreaWidth" | "treeOrder" | "treeWidth" | "msaFormat" | "residueColor" | "showColumnStats" | "allowedGappyness" | "clades" | "cladesSeeded" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "drawMsaLetters" | "embeddedMode" | "encodings" | "gffFilehandle" | "hiddenCategories" | "hideGaps" | "highlightColumns" | "msaFilehandle" | "relativeTo" | "residueMappings" | "rotated" | "rowHeight" | "rowPanels" | "rowTransform" | "scrollX" | "scrollY" | "scrollZoomAxis" | "showDomainLegend" | "showDomains" | "showOnly" | "subFeatureRows" | "trackHeights" | "treeFilehandle" | "treeMetadataFilehandle" | "treeRoot" | "trimToSelection" | "turnedOffFeatures" | "turnedOffTracks"> & Omit<Omit<Omit<{}, "drawLabels" | "drawNodeBubbles" | "drawNodeLabels" | "drawTree" | "labelsAlignRight" | "overviewHeight" | "showBranchLen" | "showTreeOverview" | "treeAreaWidth" | "treeOrder" | "treeWidth"> & {
|
|
1148
|
+
drawLabels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1149
|
+
labelsAlignRight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1150
|
+
treeAreaWidth: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<number>>;
|
|
1151
|
+
treeWidth: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<number>>;
|
|
1152
|
+
showBranchLen: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1153
|
+
treeOrder: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<import("react-msaview").TreeOrder>, [undefined]>;
|
|
1154
|
+
drawTree: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1155
|
+
drawNodeBubbles: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1156
|
+
drawNodeLabels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1157
|
+
showTreeOverview: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1158
|
+
overviewHeight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
1159
|
+
}, "msaFormat" | "residueColor" | "showColumnStats"> & {
|
|
1160
|
+
residueColor: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IType<ResidueColor, ResidueColor, ResidueColor>, [undefined]>;
|
|
1161
|
+
showColumnStats: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1162
|
+
msaFormat: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<import("react-msaview").MSAFormat>>;
|
|
1163
|
+
}, "height" | "id" | "type" | "region" | "selection" | "scrollZoom" | "highlights" | "features" | "data" | "allowedGappyness" | "clades" | "cladesSeeded" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "drawMsaLetters" | "embeddedMode" | "encodings" | "gffFilehandle" | "hiddenCategories" | "hideGaps" | "highlightColumns" | "msaFilehandle" | "relativeTo" | "residueMappings" | "rotated" | "rowHeight" | "rowPanels" | "rowTransform" | "scrollX" | "scrollY" | "scrollZoomAxis" | "showDomainLegend" | "showDomains" | "showOnly" | "subFeatureRows" | "trackHeights" | "treeFilehandle" | "treeMetadataFilehandle" | "treeRoot" | "trimToSelection" | "turnedOffFeatures" | "turnedOffTracks"> & {
|
|
1164
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1165
|
+
showDomains: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1166
|
+
showDomainLegend: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1167
|
+
hideGaps: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1168
|
+
trimToSelection: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1169
|
+
allowedGappyness: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
1170
|
+
subFeatureRows: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1171
|
+
type: import("@jbrowse/mobx-state-tree").ILiteralType<"MsaView">;
|
|
1172
|
+
drawMsaLetters: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1173
|
+
embeddedMode: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1174
|
+
scrollZoom: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1175
|
+
scrollZoomAxis: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<"both" | "horizontal" | "vertical">, [undefined]>;
|
|
1176
|
+
height: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
1177
|
+
rowHeight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
1178
|
+
scrollY: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
1179
|
+
scrollX: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
1180
|
+
colWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
1181
|
+
treeFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1182
|
+
locationType: "LocalPathLocation";
|
|
1183
|
+
localPath: string;
|
|
1184
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1185
|
+
locationType: "BlobLocation";
|
|
1186
|
+
name: string;
|
|
1187
|
+
blobId: string;
|
|
1188
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1189
|
+
locationType: "FileHandleLocation";
|
|
1190
|
+
name: string;
|
|
1191
|
+
handleId: string;
|
|
1192
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1193
|
+
locationType: "UriLocation";
|
|
1194
|
+
uri: string;
|
|
1195
|
+
baseUri: string | undefined;
|
|
1196
|
+
internetAccountId: string | undefined;
|
|
1197
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1198
|
+
internetAccountType: string;
|
|
1199
|
+
authInfo: any;
|
|
1200
|
+
}> | undefined;
|
|
1201
|
+
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1202
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1203
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1204
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1205
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1206
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1207
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1208
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1209
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1210
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1211
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1212
|
+
}> | {
|
|
1213
|
+
locationType: "UriLocation";
|
|
1214
|
+
uri: string;
|
|
1215
|
+
internetAccountId: string | undefined;
|
|
1216
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1217
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1218
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1219
|
+
}> | undefined;
|
|
1220
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1221
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1222
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1223
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1224
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1225
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1226
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1227
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1228
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1229
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1230
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1231
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1232
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
1233
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1234
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1235
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1236
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1237
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1238
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1239
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1240
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1241
|
+
locationType: "LocalPathLocation";
|
|
1242
|
+
localPath: string;
|
|
1243
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1244
|
+
locationType: "BlobLocation";
|
|
1245
|
+
name: string;
|
|
1246
|
+
blobId: string;
|
|
1247
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1248
|
+
locationType: "FileHandleLocation";
|
|
1249
|
+
name: string;
|
|
1250
|
+
handleId: string;
|
|
1251
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1252
|
+
locationType: "UriLocation";
|
|
1253
|
+
uri: string;
|
|
1254
|
+
baseUri: string | undefined;
|
|
1255
|
+
internetAccountId: string | undefined;
|
|
1256
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1257
|
+
internetAccountType: string;
|
|
1258
|
+
authInfo: any;
|
|
1259
|
+
}> | undefined;
|
|
1260
|
+
}>, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1261
|
+
msaFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1262
|
+
locationType: "LocalPathLocation";
|
|
1263
|
+
localPath: string;
|
|
1264
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1265
|
+
locationType: "BlobLocation";
|
|
1266
|
+
name: string;
|
|
1267
|
+
blobId: string;
|
|
1268
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1269
|
+
locationType: "FileHandleLocation";
|
|
1270
|
+
name: string;
|
|
1271
|
+
handleId: string;
|
|
1272
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1273
|
+
locationType: "UriLocation";
|
|
1274
|
+
uri: string;
|
|
1275
|
+
baseUri: string | undefined;
|
|
1276
|
+
internetAccountId: string | undefined;
|
|
1277
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1278
|
+
internetAccountType: string;
|
|
1279
|
+
authInfo: any;
|
|
1280
|
+
}> | undefined;
|
|
1281
|
+
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1282
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1283
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1284
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1285
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1286
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1287
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1288
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1289
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1290
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1291
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1292
|
+
}> | {
|
|
1293
|
+
locationType: "UriLocation";
|
|
1294
|
+
uri: string;
|
|
1295
|
+
internetAccountId: string | undefined;
|
|
1296
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1297
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1298
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1299
|
+
}> | undefined;
|
|
1300
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1301
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1302
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1303
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1304
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1305
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1306
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1307
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1308
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1309
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1310
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1311
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1312
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
1313
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1314
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1315
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1316
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1317
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1318
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1319
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1320
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1321
|
+
locationType: "LocalPathLocation";
|
|
1322
|
+
localPath: string;
|
|
1323
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1324
|
+
locationType: "BlobLocation";
|
|
1325
|
+
name: string;
|
|
1326
|
+
blobId: string;
|
|
1327
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1328
|
+
locationType: "FileHandleLocation";
|
|
1329
|
+
name: string;
|
|
1330
|
+
handleId: string;
|
|
1331
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1332
|
+
locationType: "UriLocation";
|
|
1333
|
+
uri: string;
|
|
1334
|
+
baseUri: string | undefined;
|
|
1335
|
+
internetAccountId: string | undefined;
|
|
1336
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1337
|
+
internetAccountType: string;
|
|
1338
|
+
authInfo: any;
|
|
1339
|
+
}> | undefined;
|
|
1340
|
+
}>, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1341
|
+
treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1342
|
+
locationType: "LocalPathLocation";
|
|
1343
|
+
localPath: string;
|
|
1344
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1345
|
+
locationType: "BlobLocation";
|
|
1346
|
+
name: string;
|
|
1347
|
+
blobId: string;
|
|
1348
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1349
|
+
locationType: "FileHandleLocation";
|
|
1350
|
+
name: string;
|
|
1351
|
+
handleId: string;
|
|
1352
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1353
|
+
locationType: "UriLocation";
|
|
1354
|
+
uri: string;
|
|
1355
|
+
baseUri: string | undefined;
|
|
1356
|
+
internetAccountId: string | undefined;
|
|
1357
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1358
|
+
internetAccountType: string;
|
|
1359
|
+
authInfo: any;
|
|
1360
|
+
}> | undefined;
|
|
1361
|
+
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1362
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1363
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1364
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1365
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1366
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1367
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1368
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1369
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1370
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1371
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1372
|
+
}> | {
|
|
1373
|
+
locationType: "UriLocation";
|
|
1374
|
+
uri: string;
|
|
1375
|
+
internetAccountId: string | undefined;
|
|
1376
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1377
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1378
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1379
|
+
}> | undefined;
|
|
1380
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1381
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1382
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1383
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1384
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1385
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1386
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1387
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1388
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1389
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1390
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1391
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1392
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
1393
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1394
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1395
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1396
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1397
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1398
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1399
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1400
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1401
|
+
locationType: "LocalPathLocation";
|
|
1402
|
+
localPath: string;
|
|
1403
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1404
|
+
locationType: "BlobLocation";
|
|
1405
|
+
name: string;
|
|
1406
|
+
blobId: string;
|
|
1407
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1408
|
+
locationType: "FileHandleLocation";
|
|
1409
|
+
name: string;
|
|
1410
|
+
handleId: string;
|
|
1411
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1412
|
+
locationType: "UriLocation";
|
|
1413
|
+
uri: string;
|
|
1414
|
+
baseUri: string | undefined;
|
|
1415
|
+
internetAccountId: string | undefined;
|
|
1416
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1417
|
+
internetAccountType: string;
|
|
1418
|
+
authInfo: any;
|
|
1419
|
+
}> | undefined;
|
|
1420
|
+
}>, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1421
|
+
gffFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1422
|
+
locationType: "LocalPathLocation";
|
|
1423
|
+
localPath: string;
|
|
1424
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1425
|
+
locationType: "BlobLocation";
|
|
1426
|
+
name: string;
|
|
1427
|
+
blobId: string;
|
|
1428
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1429
|
+
locationType: "FileHandleLocation";
|
|
1430
|
+
name: string;
|
|
1431
|
+
handleId: string;
|
|
1432
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1433
|
+
locationType: "UriLocation";
|
|
1434
|
+
uri: string;
|
|
1435
|
+
baseUri: string | undefined;
|
|
1436
|
+
internetAccountId: string | undefined;
|
|
1437
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1438
|
+
internetAccountType: string;
|
|
1439
|
+
authInfo: any;
|
|
1440
|
+
}> | undefined;
|
|
1441
|
+
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1442
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1443
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1444
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1445
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1446
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1447
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1448
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1449
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1450
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1451
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1452
|
+
}> | {
|
|
1453
|
+
locationType: "UriLocation";
|
|
1454
|
+
uri: string;
|
|
1455
|
+
internetAccountId: string | undefined;
|
|
1456
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1457
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1458
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1459
|
+
}> | undefined;
|
|
1460
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1461
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1462
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1463
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1464
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1465
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1466
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1467
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1468
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1469
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1470
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1471
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1472
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
1473
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1474
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1475
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1476
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1477
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1478
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1479
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1480
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1481
|
+
locationType: "LocalPathLocation";
|
|
1482
|
+
localPath: string;
|
|
1483
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1484
|
+
locationType: "BlobLocation";
|
|
1485
|
+
name: string;
|
|
1486
|
+
blobId: string;
|
|
1487
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1488
|
+
locationType: "FileHandleLocation";
|
|
1489
|
+
name: string;
|
|
1490
|
+
handleId: string;
|
|
1491
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1492
|
+
locationType: "UriLocation";
|
|
1493
|
+
uri: string;
|
|
1494
|
+
baseUri: string | undefined;
|
|
1495
|
+
internetAccountId: string | undefined;
|
|
1496
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1497
|
+
internetAccountType: string;
|
|
1498
|
+
authInfo: any;
|
|
1499
|
+
}> | undefined;
|
|
1500
|
+
}>, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1501
|
+
currentAlignment: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
1502
|
+
collapsed: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
1503
|
+
rotated: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
1504
|
+
treeRoot: import("@jbrowse/mobx-state-tree").IType<import("react-msaview").TreeRoot | undefined, import("react-msaview").TreeRoot | undefined, import("react-msaview").TreeRoot | undefined>;
|
|
1505
|
+
showOnly: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1506
|
+
cladesSeeded: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1507
|
+
turnedOffTracks: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>, [undefined]>;
|
|
1508
|
+
trackHeights: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<number>>, [undefined]>;
|
|
1509
|
+
columnTracks: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").ColumnTrackSpec, import("react-msaview").ColumnTrackSpec, import("react-msaview").ColumnTrackSpec>>, [undefined]>;
|
|
1510
|
+
residueMappings: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").ResidueMapping, import("react-msaview").ResidueMapping, import("react-msaview").ResidueMapping>>, [undefined]>;
|
|
1511
|
+
data: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1512
|
+
tree: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1513
|
+
msa: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1514
|
+
treeMetadata: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1515
|
+
gff: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1516
|
+
}, {
|
|
1517
|
+
setTree(tree?: string): void;
|
|
1518
|
+
setMSA(msa?: string): void;
|
|
1519
|
+
setTreeMetadata(treeMetadata?: string): void;
|
|
1520
|
+
setGFF(gff?: string): void;
|
|
1521
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, {
|
|
1522
|
+
[k: string]: string | undefined;
|
|
1523
|
+
}>, [undefined]>;
|
|
1524
|
+
turnedOffFeatures: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>, [undefined]>;
|
|
1525
|
+
relativeTo: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1526
|
+
highlightColumns: import("@jbrowse/mobx-state-tree").IType<number[] | undefined, number[] | undefined, number[] | undefined>;
|
|
1527
|
+
highlights: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<Highlight, Highlight, Highlight>>, [undefined]>;
|
|
1528
|
+
features: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").Feature, import("react-msaview").Feature, import("react-msaview").Feature>>, [undefined]>;
|
|
1529
|
+
selection: import("@jbrowse/mobx-state-tree").IType<import("react-msaview").MsaSelection | undefined, import("react-msaview").MsaSelection | undefined, import("react-msaview").MsaSelection | undefined>;
|
|
1530
|
+
region: import("@jbrowse/mobx-state-tree").IType<import("react-msaview").Region | undefined, import("react-msaview").Region | undefined, import("react-msaview").Region | undefined>;
|
|
1531
|
+
clades: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").Clade, import("react-msaview").Clade, import("react-msaview").Clade>>, [undefined]>;
|
|
1532
|
+
encodings: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").Encoding, import("react-msaview").Encoding, import("react-msaview").Encoding>>, [undefined]>;
|
|
1533
|
+
hiddenCategories: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").HiddenCategory, import("react-msaview").HiddenCategory, import("react-msaview").HiddenCategory>>, [undefined]>;
|
|
1534
|
+
rowPanels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<RowPanelSpec, RowPanelSpec, RowPanelSpec>>, [undefined]>;
|
|
1535
|
+
rowTransform: import("@jbrowse/mobx-state-tree").IType<RowTransform | undefined, RowTransform | undefined, RowTransform | undefined>;
|
|
1536
|
+
}, "type" | "init" | "connectedViewId" | "zoomToBaseLevel"> & {
|
|
1537
|
+
type: import("@jbrowse/mobx-state-tree").ILiteralType<"TView">;
|
|
1538
|
+
/**
|
|
1539
|
+
* #property
|
|
1540
|
+
* LGV this pileup was launched from; drives highlights and click-to-nav
|
|
1541
|
+
*/
|
|
1542
|
+
connectedViewId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1543
|
+
/**
|
|
1544
|
+
* #property
|
|
1545
|
+
* what the view is: a locus, an assembly and the alignment files to
|
|
1546
|
+
* read it from. Everything else here is derived from it — see
|
|
1547
|
+
* `./init.ts` for why this one is kept rather than cleared
|
|
1548
|
+
*/
|
|
1549
|
+
init: import("@jbrowse/mobx-state-tree").IType<TviewInit | undefined, TviewInit | undefined, TviewInit | undefined>;
|
|
1550
|
+
/**
|
|
1551
|
+
* #property
|
|
1552
|
+
*/
|
|
1553
|
+
zoomToBaseLevel: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1554
|
+
}>, "height" | "id" | "type" | "region" | "selection" | "scrollZoom" | "highlights" | "features" | "data" | "drawLabels" | "drawNodeBubbles" | "drawNodeLabels" | "drawTree" | "labelsAlignRight" | "overviewHeight" | "showBranchLen" | "showTreeOverview" | "treeAreaWidth" | "treeOrder" | "treeWidth" | "msaFormat" | "residueColor" | "showColumnStats" | "allowedGappyness" | "clades" | "cladesSeeded" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "drawMsaLetters" | "embeddedMode" | "encodings" | "gffFilehandle" | "hiddenCategories" | "hideGaps" | "highlightColumns" | "msaFilehandle" | "relativeTo" | "residueMappings" | "rotated" | "rowHeight" | "rowPanels" | "rowTransform" | "scrollX" | "scrollY" | "scrollZoomAxis" | "showDomainLegend" | "showDomains" | "showOnly" | "subFeatureRows" | "trackHeights" | "treeFilehandle" | "treeMetadataFilehandle" | "treeRoot" | "trimToSelection" | "turnedOffFeatures" | "turnedOffTracks"> & ({
|
|
1555
|
+
residueColor: ResidueColor;
|
|
870
1556
|
showColumnStats: boolean;
|
|
871
1557
|
msaFormat: import("react-msaview").MSAFormat | undefined;
|
|
872
1558
|
drawLabels: boolean;
|
|
873
1559
|
labelsAlignRight: boolean;
|
|
874
|
-
treeAreaWidth: number;
|
|
875
|
-
treeWidth: number;
|
|
1560
|
+
treeAreaWidth: number | undefined;
|
|
1561
|
+
treeWidth: number | undefined;
|
|
876
1562
|
showBranchLen: boolean;
|
|
1563
|
+
treeOrder: import("react-msaview").TreeOrder;
|
|
877
1564
|
drawTree: boolean;
|
|
878
1565
|
drawNodeBubbles: boolean;
|
|
879
|
-
|
|
1566
|
+
drawNodeLabels: boolean;
|
|
1567
|
+
showTreeOverview: boolean;
|
|
1568
|
+
overviewHeight: number;
|
|
880
1569
|
columnTracks: import("react-msaview").ColumnTrackSpec[];
|
|
881
1570
|
id: string;
|
|
882
1571
|
showDomains: boolean;
|
|
883
1572
|
showDomainLegend: boolean;
|
|
884
1573
|
hideGaps: boolean;
|
|
1574
|
+
trimToSelection: boolean;
|
|
885
1575
|
allowedGappyness: number;
|
|
886
1576
|
subFeatureRows: boolean;
|
|
887
1577
|
type: "MsaView";
|
|
888
1578
|
drawMsaLetters: boolean;
|
|
1579
|
+
embeddedMode: boolean;
|
|
889
1580
|
scrollZoom: boolean;
|
|
1581
|
+
scrollZoomAxis: "both" | "horizontal" | "vertical";
|
|
890
1582
|
height: number;
|
|
891
1583
|
rowHeight: number;
|
|
892
1584
|
scrollY: number;
|
|
893
1585
|
scrollX: number;
|
|
894
1586
|
colWidth: number;
|
|
895
1587
|
treeFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
896
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1588
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
897
1589
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
898
1590
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
899
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1591
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
900
1592
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
901
1593
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
902
1594
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
903
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1595
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
904
1596
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
905
1597
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
906
1598
|
}> | {
|
|
@@ -913,14 +1605,14 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
913
1605
|
}> | undefined;
|
|
914
1606
|
} | undefined;
|
|
915
1607
|
msaFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
916
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1608
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
917
1609
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
918
1610
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
919
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1611
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
920
1612
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
921
1613
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
922
1614
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
923
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1615
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
924
1616
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
925
1617
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
926
1618
|
}> | {
|
|
@@ -933,14 +1625,14 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
933
1625
|
}> | undefined;
|
|
934
1626
|
} | undefined;
|
|
935
1627
|
treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
936
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1628
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
937
1629
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
938
1630
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
939
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1631
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
940
1632
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
941
1633
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
942
1634
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
943
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1635
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
944
1636
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
945
1637
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
946
1638
|
}> | {
|
|
@@ -953,14 +1645,14 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
953
1645
|
}> | undefined;
|
|
954
1646
|
} | undefined;
|
|
955
1647
|
gffFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
956
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1648
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
957
1649
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
958
1650
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
959
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1651
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
960
1652
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
961
1653
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
962
1654
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
963
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1655
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
964
1656
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
965
1657
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
966
1658
|
}> | {
|
|
@@ -974,55 +1666,73 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
974
1666
|
} | undefined;
|
|
975
1667
|
currentAlignment: number;
|
|
976
1668
|
collapsed: string[];
|
|
1669
|
+
rotated: string[];
|
|
1670
|
+
treeRoot: import("react-msaview").TreeRoot | undefined;
|
|
977
1671
|
showOnly: string | undefined;
|
|
1672
|
+
cladesSeeded: boolean;
|
|
978
1673
|
turnedOffTracks: import("mobx").IKeyValueMap<boolean>;
|
|
979
|
-
|
|
1674
|
+
trackHeights: import("mobx").IKeyValueMap<number>;
|
|
1675
|
+
residueMappings: import("react-msaview").ResidueMapping[];
|
|
1676
|
+
turnedOffFeatures: import("mobx").IKeyValueMap<boolean>;
|
|
980
1677
|
relativeTo: string | undefined;
|
|
981
1678
|
highlightColumns: number[] | undefined;
|
|
982
|
-
highlights:
|
|
1679
|
+
highlights: Highlight[];
|
|
1680
|
+
features: import("react-msaview").Feature[];
|
|
1681
|
+
selection: import("react-msaview").MsaSelection | undefined;
|
|
1682
|
+
region: import("react-msaview").Region | undefined;
|
|
1683
|
+
clades: import("react-msaview").Clade[];
|
|
1684
|
+
encodings: import("react-msaview").Encoding[];
|
|
1685
|
+
hiddenCategories: import("react-msaview").HiddenCategory[];
|
|
1686
|
+
rowPanels: RowPanelSpec[];
|
|
1687
|
+
rowTransform: RowTransform | undefined;
|
|
983
1688
|
data: {
|
|
984
1689
|
tree?: string | undefined;
|
|
985
1690
|
msa?: string | undefined;
|
|
986
1691
|
treeMetadata?: string | undefined;
|
|
987
1692
|
gff?: string | undefined;
|
|
988
1693
|
};
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
colorSchemeName: string;
|
|
1694
|
+
} | {
|
|
1695
|
+
residueColor: ResidueColor;
|
|
992
1696
|
showColumnStats: boolean;
|
|
993
1697
|
msaFormat: import("react-msaview").MSAFormat | undefined;
|
|
994
1698
|
drawLabels: boolean;
|
|
995
1699
|
labelsAlignRight: boolean;
|
|
996
|
-
treeAreaWidth: number;
|
|
997
|
-
treeWidth: number;
|
|
1700
|
+
treeAreaWidth: number | undefined;
|
|
1701
|
+
treeWidth: number | undefined;
|
|
998
1702
|
showBranchLen: boolean;
|
|
1703
|
+
treeOrder: import("react-msaview").TreeOrder;
|
|
999
1704
|
drawTree: boolean;
|
|
1000
1705
|
drawNodeBubbles: boolean;
|
|
1001
|
-
|
|
1706
|
+
drawNodeLabels: boolean;
|
|
1707
|
+
showTreeOverview: boolean;
|
|
1708
|
+
overviewHeight: number;
|
|
1002
1709
|
columnTracks?: undefined;
|
|
1003
1710
|
id: string;
|
|
1004
1711
|
showDomains: boolean;
|
|
1005
1712
|
showDomainLegend: boolean;
|
|
1006
1713
|
hideGaps: boolean;
|
|
1714
|
+
trimToSelection: boolean;
|
|
1007
1715
|
allowedGappyness: number;
|
|
1008
1716
|
subFeatureRows: boolean;
|
|
1009
1717
|
type: "MsaView";
|
|
1010
1718
|
drawMsaLetters: boolean;
|
|
1719
|
+
embeddedMode: boolean;
|
|
1011
1720
|
scrollZoom: boolean;
|
|
1721
|
+
scrollZoomAxis: "both" | "horizontal" | "vertical";
|
|
1012
1722
|
height: number;
|
|
1013
1723
|
rowHeight: number;
|
|
1014
1724
|
scrollY: number;
|
|
1015
1725
|
scrollX: number;
|
|
1016
1726
|
colWidth: number;
|
|
1017
1727
|
treeFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1018
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1728
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1019
1729
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1020
1730
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1021
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1731
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1022
1732
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1023
1733
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1024
1734
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1025
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1735
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1026
1736
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1027
1737
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1028
1738
|
}> | {
|
|
@@ -1035,14 +1745,14 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
1035
1745
|
}> | undefined;
|
|
1036
1746
|
} | undefined;
|
|
1037
1747
|
msaFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1038
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1748
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1039
1749
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1040
1750
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1041
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1751
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1042
1752
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1043
1753
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1044
1754
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1045
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1755
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1046
1756
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1047
1757
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1048
1758
|
}> | {
|
|
@@ -1055,14 +1765,14 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
1055
1765
|
}> | undefined;
|
|
1056
1766
|
} | undefined;
|
|
1057
1767
|
treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1058
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1768
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1059
1769
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1060
1770
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1061
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1771
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1062
1772
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1063
1773
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1064
1774
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1065
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1775
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1066
1776
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1067
1777
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1068
1778
|
}> | {
|
|
@@ -1075,14 +1785,14 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
1075
1785
|
}> | undefined;
|
|
1076
1786
|
} | undefined;
|
|
1077
1787
|
gffFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1078
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1788
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1079
1789
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1080
1790
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1081
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1791
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1082
1792
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1083
1793
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1084
1794
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1085
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1795
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1086
1796
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1087
1797
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1088
1798
|
}> | {
|
|
@@ -1096,19 +1806,32 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
1096
1806
|
} | undefined;
|
|
1097
1807
|
currentAlignment: number;
|
|
1098
1808
|
collapsed: string[];
|
|
1809
|
+
rotated: string[];
|
|
1810
|
+
treeRoot: import("react-msaview").TreeRoot | undefined;
|
|
1099
1811
|
showOnly: string | undefined;
|
|
1812
|
+
cladesSeeded: boolean;
|
|
1100
1813
|
turnedOffTracks: import("mobx").IKeyValueMap<boolean>;
|
|
1101
|
-
|
|
1814
|
+
trackHeights: import("mobx").IKeyValueMap<number>;
|
|
1815
|
+
residueMappings: import("react-msaview").ResidueMapping[];
|
|
1816
|
+
turnedOffFeatures: import("mobx").IKeyValueMap<boolean>;
|
|
1102
1817
|
relativeTo: string | undefined;
|
|
1103
1818
|
highlightColumns: number[] | undefined;
|
|
1104
|
-
highlights:
|
|
1819
|
+
highlights: Highlight[];
|
|
1820
|
+
features: import("react-msaview").Feature[];
|
|
1821
|
+
selection: import("react-msaview").MsaSelection | undefined;
|
|
1822
|
+
region: import("react-msaview").Region | undefined;
|
|
1823
|
+
clades: import("react-msaview").Clade[];
|
|
1824
|
+
encodings: import("react-msaview").Encoding[];
|
|
1825
|
+
hiddenCategories: import("react-msaview").HiddenCategory[];
|
|
1826
|
+
rowPanels: RowPanelSpec[];
|
|
1827
|
+
rowTransform: RowTransform | undefined;
|
|
1105
1828
|
data: {
|
|
1106
1829
|
tree?: string | undefined;
|
|
1107
1830
|
msa?: string | undefined;
|
|
1108
1831
|
treeMetadata?: string | undefined;
|
|
1109
1832
|
gff?: string | undefined;
|
|
1110
1833
|
};
|
|
1111
|
-
}
|
|
1834
|
+
})>;
|
|
1112
1835
|
export type JBrowsePluginTViewStateModel = ReturnType<typeof stateModelFactory>;
|
|
1113
1836
|
export type JBrowsePluginTViewModel = Instance<JBrowsePluginTViewStateModel>;
|
|
1114
1837
|
export declare function isTView(view: {
|