jbrowse-plugin-tview 2.0.4
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 +59 -0
- package/dist/AddHighlightModel/GenomeMouseoverHighlight.d.ts +6 -0
- package/dist/AddHighlightModel/GenomeMouseoverHighlight.js +23 -0
- package/dist/AddHighlightModel/GenomeMouseoverHighlight.js.map +1 -0
- package/dist/AddHighlightModel/Highlight.d.ts +10 -0
- package/dist/AddHighlightModel/Highlight.js +15 -0
- package/dist/AddHighlightModel/Highlight.js.map +1 -0
- package/dist/AddHighlightModel/HighlightComponents.d.ts +7 -0
- package/dist/AddHighlightModel/HighlightComponents.js +11 -0
- package/dist/AddHighlightModel/HighlightComponents.js.map +1 -0
- package/dist/AddHighlightModel/MsaToGenomeHighlight.d.ts +6 -0
- package/dist/AddHighlightModel/MsaToGenomeHighlight.js +15 -0
- package/dist/AddHighlightModel/MsaToGenomeHighlight.js.map +1 -0
- package/dist/AddHighlightModel/index.d.ts +2 -0
- package/dist/AddHighlightModel/index.js +19 -0
- package/dist/AddHighlightModel/index.js.map +1 -0
- package/dist/AddHighlightModel/util.d.ts +9 -0
- package/dist/AddHighlightModel/util.js +14 -0
- package/dist/AddHighlightModel/util.js.map +1 -0
- package/dist/LaunchTView/align.d.ts +20 -0
- package/dist/LaunchTView/align.js +121 -0
- package/dist/LaunchTView/align.js.map +1 -0
- package/dist/LaunchTView/components/LaunchTViewDialog.d.ts +6 -0
- package/dist/LaunchTView/components/LaunchTViewDialog.js +87 -0
- package/dist/LaunchTView/components/LaunchTViewDialog.js.map +1 -0
- package/dist/LaunchTView/fetchTviewPlan.d.ts +51 -0
- package/dist/LaunchTView/fetchTviewPlan.js +43 -0
- package/dist/LaunchTView/fetchTviewPlan.js.map +1 -0
- package/dist/LaunchTView/index.d.ts +2 -0
- package/dist/LaunchTView/index.js +41 -0
- package/dist/LaunchTView/index.js.map +1 -0
- package/dist/LaunchTView/limits.d.ts +2 -0
- package/dist/LaunchTView/limits.js +8 -0
- package/dist/LaunchTView/limits.js.map +1 -0
- package/dist/LaunchTView/tview.d.ts +95 -0
- package/dist/LaunchTView/tview.js +191 -0
- package/dist/LaunchTView/tview.js.map +1 -0
- package/dist/LaunchTView/useTviewMsa.d.ts +14 -0
- package/dist/LaunchTView/useTviewMsa.js +20 -0
- package/dist/LaunchTView/useTviewMsa.js.map +1 -0
- package/dist/TViewPanel/components/TViewPanel.d.ts +6 -0
- package/dist/TViewPanel/components/TViewPanel.js +11 -0
- package/dist/TViewPanel/components/TViewPanel.js.map +1 -0
- package/dist/TViewPanel/coords.d.ts +17 -0
- package/dist/TViewPanel/coords.js +36 -0
- package/dist/TViewPanel/coords.js.map +1 -0
- package/dist/TViewPanel/index.d.ts +2 -0
- package/dist/TViewPanel/index.js +15 -0
- package/dist/TViewPanel/index.js.map +1 -0
- package/dist/TViewPanel/model.d.ts +1028 -0
- package/dist/TViewPanel/model.js +246 -0
- package/dist/TViewPanel/model.js.map +1 -0
- package/dist/config.json +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -0
- package/dist/jbrowse-plugin-tview.umd.production.min.js +104 -0
- package/dist/jbrowse-plugin-tview.umd.production.min.js.map +7 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/package.json +76 -0
- package/src/AddHighlightModel/GenomeMouseoverHighlight.tsx +46 -0
- package/src/AddHighlightModel/Highlight.tsx +35 -0
- package/src/AddHighlightModel/HighlightComponents.tsx +25 -0
- package/src/AddHighlightModel/MsaToGenomeHighlight.tsx +31 -0
- package/src/AddHighlightModel/index.tsx +28 -0
- package/src/AddHighlightModel/util.ts +14 -0
- package/src/LaunchTView/align.ts +154 -0
- package/src/LaunchTView/components/LaunchTViewDialog.tsx +129 -0
- package/src/LaunchTView/fetchTviewPlan.ts +95 -0
- package/src/LaunchTView/index.ts +53 -0
- package/src/LaunchTView/limits.ts +8 -0
- package/src/LaunchTView/tview.ts +272 -0
- package/src/LaunchTView/useTviewMsa.ts +36 -0
- package/src/TViewPanel/components/TViewPanel.tsx +20 -0
- package/src/TViewPanel/coords.ts +43 -0
- package/src/TViewPanel/index.ts +20 -0
- package/src/TViewPanel/model.ts +289 -0
- package/src/index.ts +21 -0
- package/src/version.ts +1 -0
|
@@ -0,0 +1,1028 @@
|
|
|
1
|
+
import type { AnyConfigurationModel } from '@jbrowse/core/configuration';
|
|
2
|
+
import type { MenuItem } from '@jbrowse/core/ui';
|
|
3
|
+
import type { Instance } from '@jbrowse/mobx-state-tree';
|
|
4
|
+
import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view';
|
|
5
|
+
export type { IKeyValueMap } from 'mobx';
|
|
6
|
+
type MaybeLGV = LinearGenomeViewModel | undefined;
|
|
7
|
+
export interface IRegion {
|
|
8
|
+
refName: string;
|
|
9
|
+
start: number;
|
|
10
|
+
end: number;
|
|
11
|
+
}
|
|
12
|
+
/** enough to re-run CoreGetFeatures for msaRegion after a session reload */
|
|
13
|
+
export interface MsaSource {
|
|
14
|
+
trackId: string;
|
|
15
|
+
assemblyName: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* #stateModel TViewPlugin
|
|
19
|
+
* extends
|
|
20
|
+
* - MSAModel from https://github.com/GMOD/react-msaview
|
|
21
|
+
*/
|
|
22
|
+
export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelType<Omit<Omit<{
|
|
23
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
24
|
+
displayName: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
25
|
+
minimized: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
26
|
+
}, "height" | "id" | "type" | "data" | "drawLabels" | "labelsAlignRight" | "treeAreaWidth" | "treeWidth" | "showBranchLen" | "drawTree" | "drawNodeBubbles" | "autoTreeAreaWidth" | "bgColor" | "colorSchemeName" | "showColumnStats" | "msaFormat" | "showDomains" | "hideGaps" | "allowedGappyness" | "subFeatureRows" | "drawMsaLetters" | "scrollZoom" | "rowHeight" | "scrollY" | "scrollX" | "colWidth" | "treeFilehandle" | "msaFilehandle" | "treeMetadataFilehandle" | "gffFilehandle" | "currentAlignment" | "collapsed" | "showOnly" | "turnedOffTracks" | "featureFilters" | "relativeTo" | "highlightColumns"> & Omit<Omit<Omit<{}, "drawLabels" | "labelsAlignRight" | "treeAreaWidth" | "treeWidth" | "showBranchLen" | "drawTree" | "drawNodeBubbles" | "autoTreeAreaWidth"> & {
|
|
27
|
+
drawLabels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
28
|
+
labelsAlignRight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
29
|
+
treeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
30
|
+
treeWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
31
|
+
showBranchLen: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
32
|
+
drawTree: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
33
|
+
drawNodeBubbles: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
34
|
+
autoTreeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
35
|
+
}, "bgColor" | "colorSchemeName" | "showColumnStats" | "msaFormat"> & {
|
|
36
|
+
bgColor: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
37
|
+
colorSchemeName: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
38
|
+
showColumnStats: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
39
|
+
msaFormat: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<import("react-msaview").MSAFormat>>;
|
|
40
|
+
}, "height" | "id" | "type" | "data" | "showDomains" | "hideGaps" | "allowedGappyness" | "subFeatureRows" | "drawMsaLetters" | "scrollZoom" | "rowHeight" | "scrollY" | "scrollX" | "colWidth" | "treeFilehandle" | "msaFilehandle" | "treeMetadataFilehandle" | "gffFilehandle" | "currentAlignment" | "collapsed" | "showOnly" | "turnedOffTracks" | "featureFilters" | "relativeTo" | "highlightColumns"> & {
|
|
41
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
42
|
+
showDomains: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
43
|
+
hideGaps: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
44
|
+
allowedGappyness: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
45
|
+
subFeatureRows: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
46
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<"MsaView">;
|
|
47
|
+
drawMsaLetters: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
48
|
+
scrollZoom: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
49
|
+
height: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
50
|
+
rowHeight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
51
|
+
scrollY: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
52
|
+
scrollX: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
53
|
+
colWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
54
|
+
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<{
|
|
55
|
+
locationType: "LocalPathLocation";
|
|
56
|
+
localPath: string;
|
|
57
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
58
|
+
locationType: "BlobLocation";
|
|
59
|
+
name: string;
|
|
60
|
+
blobId: string;
|
|
61
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
62
|
+
locationType: "FileHandleLocation";
|
|
63
|
+
name: string;
|
|
64
|
+
handleId: string;
|
|
65
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
66
|
+
locationType: "UriLocation";
|
|
67
|
+
uri: string;
|
|
68
|
+
baseUri: string | undefined;
|
|
69
|
+
internetAccountId: string | undefined;
|
|
70
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
71
|
+
internetAccountType: string;
|
|
72
|
+
authInfo: any;
|
|
73
|
+
}> | undefined;
|
|
74
|
+
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
75
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
76
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
77
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
78
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
79
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
80
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
81
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
82
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
83
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
84
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
85
|
+
}> | {
|
|
86
|
+
locationType: "UriLocation";
|
|
87
|
+
uri: string;
|
|
88
|
+
internetAccountId: string | undefined;
|
|
89
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
90
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
91
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
92
|
+
}> | undefined;
|
|
93
|
+
}, ({
|
|
94
|
+
locationType: "UriLocation";
|
|
95
|
+
uri: string;
|
|
96
|
+
} & Partial<{
|
|
97
|
+
locationType: "UriLocation";
|
|
98
|
+
uri: string;
|
|
99
|
+
baseUri: string | undefined;
|
|
100
|
+
internetAccountId: string | undefined;
|
|
101
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
102
|
+
internetAccountType: string;
|
|
103
|
+
authInfo: any;
|
|
104
|
+
}> | undefined;
|
|
105
|
+
}>) | ({
|
|
106
|
+
blobId: string;
|
|
107
|
+
locationType: "BlobLocation";
|
|
108
|
+
name: string;
|
|
109
|
+
} & Partial<{
|
|
110
|
+
locationType: "BlobLocation";
|
|
111
|
+
name: string;
|
|
112
|
+
blobId: string;
|
|
113
|
+
}>) | ({
|
|
114
|
+
handleId: string;
|
|
115
|
+
locationType: "FileHandleLocation";
|
|
116
|
+
name: string;
|
|
117
|
+
} & Partial<{
|
|
118
|
+
locationType: "FileHandleLocation";
|
|
119
|
+
name: string;
|
|
120
|
+
handleId: string;
|
|
121
|
+
}>) | ({
|
|
122
|
+
localPath: string;
|
|
123
|
+
locationType: "LocalPathLocation";
|
|
124
|
+
} & Partial<{
|
|
125
|
+
locationType: "LocalPathLocation";
|
|
126
|
+
localPath: string;
|
|
127
|
+
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
128
|
+
locationType: "LocalPathLocation";
|
|
129
|
+
localPath: string;
|
|
130
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
131
|
+
locationType: "BlobLocation";
|
|
132
|
+
name: string;
|
|
133
|
+
blobId: string;
|
|
134
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
135
|
+
locationType: "FileHandleLocation";
|
|
136
|
+
name: string;
|
|
137
|
+
handleId: string;
|
|
138
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
139
|
+
locationType: "UriLocation";
|
|
140
|
+
uri: string;
|
|
141
|
+
baseUri: string | undefined;
|
|
142
|
+
internetAccountId: string | undefined;
|
|
143
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
144
|
+
internetAccountType: string;
|
|
145
|
+
authInfo: any;
|
|
146
|
+
}> | undefined;
|
|
147
|
+
}>, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
148
|
+
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<{
|
|
149
|
+
locationType: "LocalPathLocation";
|
|
150
|
+
localPath: string;
|
|
151
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
152
|
+
locationType: "BlobLocation";
|
|
153
|
+
name: string;
|
|
154
|
+
blobId: string;
|
|
155
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
156
|
+
locationType: "FileHandleLocation";
|
|
157
|
+
name: string;
|
|
158
|
+
handleId: string;
|
|
159
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
160
|
+
locationType: "UriLocation";
|
|
161
|
+
uri: string;
|
|
162
|
+
baseUri: string | undefined;
|
|
163
|
+
internetAccountId: string | undefined;
|
|
164
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
165
|
+
internetAccountType: string;
|
|
166
|
+
authInfo: any;
|
|
167
|
+
}> | undefined;
|
|
168
|
+
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
169
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
170
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
171
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
172
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
173
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
174
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
175
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
176
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
177
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
178
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
179
|
+
}> | {
|
|
180
|
+
locationType: "UriLocation";
|
|
181
|
+
uri: string;
|
|
182
|
+
internetAccountId: string | undefined;
|
|
183
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
184
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
185
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
186
|
+
}> | undefined;
|
|
187
|
+
}, ({
|
|
188
|
+
locationType: "UriLocation";
|
|
189
|
+
uri: string;
|
|
190
|
+
} & Partial<{
|
|
191
|
+
locationType: "UriLocation";
|
|
192
|
+
uri: string;
|
|
193
|
+
baseUri: string | undefined;
|
|
194
|
+
internetAccountId: string | undefined;
|
|
195
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
196
|
+
internetAccountType: string;
|
|
197
|
+
authInfo: any;
|
|
198
|
+
}> | undefined;
|
|
199
|
+
}>) | ({
|
|
200
|
+
blobId: string;
|
|
201
|
+
locationType: "BlobLocation";
|
|
202
|
+
name: string;
|
|
203
|
+
} & Partial<{
|
|
204
|
+
locationType: "BlobLocation";
|
|
205
|
+
name: string;
|
|
206
|
+
blobId: string;
|
|
207
|
+
}>) | ({
|
|
208
|
+
handleId: string;
|
|
209
|
+
locationType: "FileHandleLocation";
|
|
210
|
+
name: string;
|
|
211
|
+
} & Partial<{
|
|
212
|
+
locationType: "FileHandleLocation";
|
|
213
|
+
name: string;
|
|
214
|
+
handleId: string;
|
|
215
|
+
}>) | ({
|
|
216
|
+
localPath: string;
|
|
217
|
+
locationType: "LocalPathLocation";
|
|
218
|
+
} & Partial<{
|
|
219
|
+
locationType: "LocalPathLocation";
|
|
220
|
+
localPath: string;
|
|
221
|
+
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
222
|
+
locationType: "LocalPathLocation";
|
|
223
|
+
localPath: string;
|
|
224
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
225
|
+
locationType: "BlobLocation";
|
|
226
|
+
name: string;
|
|
227
|
+
blobId: string;
|
|
228
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
229
|
+
locationType: "FileHandleLocation";
|
|
230
|
+
name: string;
|
|
231
|
+
handleId: string;
|
|
232
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
233
|
+
locationType: "UriLocation";
|
|
234
|
+
uri: string;
|
|
235
|
+
baseUri: string | undefined;
|
|
236
|
+
internetAccountId: string | undefined;
|
|
237
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
238
|
+
internetAccountType: string;
|
|
239
|
+
authInfo: any;
|
|
240
|
+
}> | undefined;
|
|
241
|
+
}>, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
242
|
+
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<{
|
|
243
|
+
locationType: "LocalPathLocation";
|
|
244
|
+
localPath: string;
|
|
245
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
246
|
+
locationType: "BlobLocation";
|
|
247
|
+
name: string;
|
|
248
|
+
blobId: string;
|
|
249
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
250
|
+
locationType: "FileHandleLocation";
|
|
251
|
+
name: string;
|
|
252
|
+
handleId: string;
|
|
253
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
254
|
+
locationType: "UriLocation";
|
|
255
|
+
uri: string;
|
|
256
|
+
baseUri: string | undefined;
|
|
257
|
+
internetAccountId: string | undefined;
|
|
258
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
259
|
+
internetAccountType: string;
|
|
260
|
+
authInfo: any;
|
|
261
|
+
}> | undefined;
|
|
262
|
+
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
263
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
264
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
265
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
266
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
267
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
268
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
269
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
270
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
271
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
272
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
273
|
+
}> | {
|
|
274
|
+
locationType: "UriLocation";
|
|
275
|
+
uri: string;
|
|
276
|
+
internetAccountId: string | undefined;
|
|
277
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
278
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
279
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
280
|
+
}> | undefined;
|
|
281
|
+
}, ({
|
|
282
|
+
locationType: "UriLocation";
|
|
283
|
+
uri: string;
|
|
284
|
+
} & Partial<{
|
|
285
|
+
locationType: "UriLocation";
|
|
286
|
+
uri: string;
|
|
287
|
+
baseUri: string | undefined;
|
|
288
|
+
internetAccountId: string | undefined;
|
|
289
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
290
|
+
internetAccountType: string;
|
|
291
|
+
authInfo: any;
|
|
292
|
+
}> | undefined;
|
|
293
|
+
}>) | ({
|
|
294
|
+
blobId: string;
|
|
295
|
+
locationType: "BlobLocation";
|
|
296
|
+
name: string;
|
|
297
|
+
} & Partial<{
|
|
298
|
+
locationType: "BlobLocation";
|
|
299
|
+
name: string;
|
|
300
|
+
blobId: string;
|
|
301
|
+
}>) | ({
|
|
302
|
+
handleId: string;
|
|
303
|
+
locationType: "FileHandleLocation";
|
|
304
|
+
name: string;
|
|
305
|
+
} & Partial<{
|
|
306
|
+
locationType: "FileHandleLocation";
|
|
307
|
+
name: string;
|
|
308
|
+
handleId: string;
|
|
309
|
+
}>) | ({
|
|
310
|
+
localPath: string;
|
|
311
|
+
locationType: "LocalPathLocation";
|
|
312
|
+
} & Partial<{
|
|
313
|
+
locationType: "LocalPathLocation";
|
|
314
|
+
localPath: string;
|
|
315
|
+
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
316
|
+
locationType: "LocalPathLocation";
|
|
317
|
+
localPath: string;
|
|
318
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
319
|
+
locationType: "BlobLocation";
|
|
320
|
+
name: string;
|
|
321
|
+
blobId: string;
|
|
322
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
323
|
+
locationType: "FileHandleLocation";
|
|
324
|
+
name: string;
|
|
325
|
+
handleId: string;
|
|
326
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
327
|
+
locationType: "UriLocation";
|
|
328
|
+
uri: string;
|
|
329
|
+
baseUri: string | undefined;
|
|
330
|
+
internetAccountId: string | undefined;
|
|
331
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
332
|
+
internetAccountType: string;
|
|
333
|
+
authInfo: any;
|
|
334
|
+
}> | undefined;
|
|
335
|
+
}>, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
336
|
+
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<{
|
|
337
|
+
locationType: "LocalPathLocation";
|
|
338
|
+
localPath: string;
|
|
339
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
340
|
+
locationType: "BlobLocation";
|
|
341
|
+
name: string;
|
|
342
|
+
blobId: string;
|
|
343
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
344
|
+
locationType: "FileHandleLocation";
|
|
345
|
+
name: string;
|
|
346
|
+
handleId: string;
|
|
347
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
348
|
+
locationType: "UriLocation";
|
|
349
|
+
uri: string;
|
|
350
|
+
baseUri: string | undefined;
|
|
351
|
+
internetAccountId: string | undefined;
|
|
352
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
353
|
+
internetAccountType: string;
|
|
354
|
+
authInfo: any;
|
|
355
|
+
}> | undefined;
|
|
356
|
+
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
357
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
358
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
359
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
360
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
361
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
362
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
363
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
364
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
365
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
366
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
367
|
+
}> | {
|
|
368
|
+
locationType: "UriLocation";
|
|
369
|
+
uri: string;
|
|
370
|
+
internetAccountId: string | undefined;
|
|
371
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
372
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
373
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
374
|
+
}> | undefined;
|
|
375
|
+
}, ({
|
|
376
|
+
locationType: "UriLocation";
|
|
377
|
+
uri: string;
|
|
378
|
+
} & Partial<{
|
|
379
|
+
locationType: "UriLocation";
|
|
380
|
+
uri: string;
|
|
381
|
+
baseUri: string | undefined;
|
|
382
|
+
internetAccountId: string | undefined;
|
|
383
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
384
|
+
internetAccountType: string;
|
|
385
|
+
authInfo: any;
|
|
386
|
+
}> | undefined;
|
|
387
|
+
}>) | ({
|
|
388
|
+
blobId: string;
|
|
389
|
+
locationType: "BlobLocation";
|
|
390
|
+
name: string;
|
|
391
|
+
} & Partial<{
|
|
392
|
+
locationType: "BlobLocation";
|
|
393
|
+
name: string;
|
|
394
|
+
blobId: string;
|
|
395
|
+
}>) | ({
|
|
396
|
+
handleId: string;
|
|
397
|
+
locationType: "FileHandleLocation";
|
|
398
|
+
name: string;
|
|
399
|
+
} & Partial<{
|
|
400
|
+
locationType: "FileHandleLocation";
|
|
401
|
+
name: string;
|
|
402
|
+
handleId: string;
|
|
403
|
+
}>) | ({
|
|
404
|
+
localPath: string;
|
|
405
|
+
locationType: "LocalPathLocation";
|
|
406
|
+
} & Partial<{
|
|
407
|
+
locationType: "LocalPathLocation";
|
|
408
|
+
localPath: string;
|
|
409
|
+
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
410
|
+
locationType: "LocalPathLocation";
|
|
411
|
+
localPath: string;
|
|
412
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
413
|
+
locationType: "BlobLocation";
|
|
414
|
+
name: string;
|
|
415
|
+
blobId: string;
|
|
416
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
417
|
+
locationType: "FileHandleLocation";
|
|
418
|
+
name: string;
|
|
419
|
+
handleId: string;
|
|
420
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
421
|
+
locationType: "UriLocation";
|
|
422
|
+
uri: string;
|
|
423
|
+
baseUri: string | undefined;
|
|
424
|
+
internetAccountId: string | undefined;
|
|
425
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
426
|
+
internetAccountType: string;
|
|
427
|
+
authInfo: any;
|
|
428
|
+
}> | undefined;
|
|
429
|
+
}>, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
430
|
+
currentAlignment: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
431
|
+
collapsed: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
432
|
+
showOnly: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
433
|
+
turnedOffTracks: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>, [undefined]>;
|
|
434
|
+
data: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
435
|
+
tree: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
436
|
+
msa: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
437
|
+
treeMetadata: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
438
|
+
gff: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
439
|
+
}, {
|
|
440
|
+
setTree(tree?: string): void;
|
|
441
|
+
setMSA(msa?: string): void;
|
|
442
|
+
setTreeMetadata(treeMetadata?: string): void;
|
|
443
|
+
setGFF(gff?: string): void;
|
|
444
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, {
|
|
445
|
+
tree: string | undefined;
|
|
446
|
+
msa: string | undefined;
|
|
447
|
+
treeMetadata: string | undefined;
|
|
448
|
+
gff: string | undefined;
|
|
449
|
+
}>, [undefined]>;
|
|
450
|
+
featureFilters: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>, [undefined]>;
|
|
451
|
+
relativeTo: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
452
|
+
highlightColumns: import("@jbrowse/mobx-state-tree").IType<number[] | undefined, number[] | undefined, number[] | undefined>;
|
|
453
|
+
}, "type" | "insertionWidths" | "connectedViewId" | "msaRegion" | "msaSource" | "zoomToBaseLevel"> & {
|
|
454
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<"TView">;
|
|
455
|
+
/**
|
|
456
|
+
* #property
|
|
457
|
+
* LGV this pileup was launched from; drives highlights and click-to-nav
|
|
458
|
+
*/
|
|
459
|
+
connectedViewId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
460
|
+
/**
|
|
461
|
+
* #property
|
|
462
|
+
* reference region the alignment columns span
|
|
463
|
+
*/
|
|
464
|
+
msaRegion: import("@jbrowse/mobx-state-tree").IType<IRegion | undefined, IRegion | undefined, IRegion | undefined>;
|
|
465
|
+
/**
|
|
466
|
+
* #property
|
|
467
|
+
* [refPos, width] for every position where some read has an insertion
|
|
468
|
+
*/
|
|
469
|
+
insertionWidths: import("@jbrowse/mobx-state-tree").IType<[number, number][] | null | undefined, [number, number][], [number, number][]>;
|
|
470
|
+
/**
|
|
471
|
+
* #property
|
|
472
|
+
* the track the alignment was built from. react-msaview drops data.msa
|
|
473
|
+
* from snapshots over 50kb (it expects a msaFilehandle to reload from,
|
|
474
|
+
* which tview has no equivalent of), so without this a restored session
|
|
475
|
+
* brings the view back empty
|
|
476
|
+
*/
|
|
477
|
+
msaSource: import("@jbrowse/mobx-state-tree").IType<MsaSource | undefined, MsaSource | undefined, MsaSource | undefined>;
|
|
478
|
+
/**
|
|
479
|
+
* #property
|
|
480
|
+
*/
|
|
481
|
+
zoomToBaseLevel: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
482
|
+
}, {
|
|
483
|
+
width: number;
|
|
484
|
+
} & {
|
|
485
|
+
menuItems(): MenuItem[];
|
|
486
|
+
} & {
|
|
487
|
+
setDisplayName(name: string): void;
|
|
488
|
+
setWidth(newWidth: number): void;
|
|
489
|
+
setMinimized(flag: boolean): void;
|
|
490
|
+
} & {
|
|
491
|
+
queueOfDialogs: [import("@jbrowse/core/util").DialogComponentType, any][];
|
|
492
|
+
} & {
|
|
493
|
+
readonly DialogComponent: import("@jbrowse/core/util").DialogComponentType | undefined;
|
|
494
|
+
readonly DialogProps: any;
|
|
495
|
+
} & {
|
|
496
|
+
removeActiveDialog(): void;
|
|
497
|
+
queueDialog(cb: (doneCallback: () => void) => [import("@jbrowse/core/util").DialogComponentType, unknown]): void;
|
|
498
|
+
} & {
|
|
499
|
+
setTreeAreaWidth(n: number): void;
|
|
500
|
+
setTreeWidth(n: number): void;
|
|
501
|
+
setLabelsAlignRight(arg: boolean): void;
|
|
502
|
+
setDrawTree(arg: boolean): void;
|
|
503
|
+
setAutoTreeAreaWidth(arg: boolean): void;
|
|
504
|
+
setShowBranchLen(arg: boolean): void;
|
|
505
|
+
setDrawNodeBubbles(arg: boolean): void;
|
|
506
|
+
setDrawLabels(arg: boolean): void;
|
|
507
|
+
} & {
|
|
508
|
+
setColorSchemeName(name: string): void;
|
|
509
|
+
setBgColor(arg: boolean): void;
|
|
510
|
+
setShowColumnStats(arg: boolean): void;
|
|
511
|
+
setMSAFormat(arg?: import("react-msaview").MSAFormat): void;
|
|
512
|
+
} & {
|
|
513
|
+
headerHeight: number;
|
|
514
|
+
status: {
|
|
515
|
+
msg: string;
|
|
516
|
+
url?: string;
|
|
517
|
+
onCancel?: () => void;
|
|
518
|
+
} | undefined;
|
|
519
|
+
highResScaleFactor: number;
|
|
520
|
+
loadingMSA: boolean;
|
|
521
|
+
loadingTree: boolean;
|
|
522
|
+
volatileWidth: number | undefined;
|
|
523
|
+
resizeHandleWidth: number;
|
|
524
|
+
blockSize: number;
|
|
525
|
+
mouseRow: number | undefined;
|
|
526
|
+
mouseCol: number | undefined;
|
|
527
|
+
mouseClickRow: number | undefined;
|
|
528
|
+
mouseClickCol: number | undefined;
|
|
529
|
+
hoveredTreeNode: {
|
|
530
|
+
nodeId: string;
|
|
531
|
+
descendantNames: string[];
|
|
532
|
+
} | undefined;
|
|
533
|
+
highlightedColumns: number[] | undefined;
|
|
534
|
+
minimapHeight: number;
|
|
535
|
+
conservationTrackHeight: number;
|
|
536
|
+
marginLeft: number;
|
|
537
|
+
error: unknown;
|
|
538
|
+
interProAnnotations: undefined | Record<string, import("react-msaview").InterProScanResults>;
|
|
539
|
+
} & {
|
|
540
|
+
drawRelativeTo(id: string | undefined): void;
|
|
541
|
+
setHideGaps(arg: boolean): void;
|
|
542
|
+
setAllowedGappyness(arg: number): void;
|
|
543
|
+
setLoadingMSA(arg: boolean): void;
|
|
544
|
+
setLoadingTree(arg: boolean): void;
|
|
545
|
+
setWidth(arg: number): void;
|
|
546
|
+
setHighResScaleFactor(arg: number): void;
|
|
547
|
+
setHeight(height: number): void;
|
|
548
|
+
setError(error?: unknown): void;
|
|
549
|
+
setMousePos(col?: number, row?: number): void;
|
|
550
|
+
setHighlightedColumns(columns?: number[]): void;
|
|
551
|
+
setShowDomains(arg: boolean): void;
|
|
552
|
+
setSubFeatureRows(arg: boolean): void;
|
|
553
|
+
setMouseClickPos(col?: number, row?: number): void;
|
|
554
|
+
setRowHeight(n: number): void;
|
|
555
|
+
setColWidth(n: number): void;
|
|
556
|
+
setScrollY(n: number): void;
|
|
557
|
+
setCurrentAlignment(n: number): void;
|
|
558
|
+
toggleCollapsed(node: string): void;
|
|
559
|
+
setShowOnly(node?: string): void;
|
|
560
|
+
setData(data: {
|
|
561
|
+
msa?: string;
|
|
562
|
+
tree?: string;
|
|
563
|
+
treeMetadata?: string;
|
|
564
|
+
gff?: string;
|
|
565
|
+
}): void;
|
|
566
|
+
setMSAFilehandle(msaFilehandle?: import("@jbrowse/core/util").FileLocation): void;
|
|
567
|
+
setTreeFilehandle(treeFilehandle?: import("@jbrowse/core/util").FileLocation): void;
|
|
568
|
+
setGFFFilehandle(gffFilehandle?: import("@jbrowse/core/util").FileLocation): void;
|
|
569
|
+
setMSA(result: string): void;
|
|
570
|
+
setTree(result: string): void;
|
|
571
|
+
setTreeMetadata(result: string): void;
|
|
572
|
+
} & {
|
|
573
|
+
readonly hideGapsEffective: boolean;
|
|
574
|
+
readonly realAllowedGappyness: number;
|
|
575
|
+
readonly actuallyShowDomains: boolean;
|
|
576
|
+
readonly viewInitialized: boolean;
|
|
577
|
+
readonly width: number;
|
|
578
|
+
} & {
|
|
579
|
+
extraViewMenuItems(): never[];
|
|
580
|
+
readonly colorScheme: Record<string, string>;
|
|
581
|
+
readonly header: Record<string, unknown> | {
|
|
582
|
+
info: string;
|
|
583
|
+
version: string | undefined;
|
|
584
|
+
} | {
|
|
585
|
+
General: Record<string, string[]>;
|
|
586
|
+
Accessions: {
|
|
587
|
+
[k: string]: string | undefined;
|
|
588
|
+
};
|
|
589
|
+
Dbxref: {
|
|
590
|
+
[k: string]: string;
|
|
591
|
+
};
|
|
592
|
+
};
|
|
593
|
+
readonly alignmentNames: string[];
|
|
594
|
+
readonly noTree: boolean;
|
|
595
|
+
readonly noDomains: boolean;
|
|
596
|
+
menuItems(): never[];
|
|
597
|
+
readonly treeMetadata: any;
|
|
598
|
+
readonly MSA: import("react-msaview").MSAParserType | null;
|
|
599
|
+
readonly numColumns: number;
|
|
600
|
+
readonly tree: import("react-msaview").NodeWithIds;
|
|
601
|
+
readonly rowNames: string[];
|
|
602
|
+
readonly rowNamesSet: Map<string, number>;
|
|
603
|
+
readonly mouseOverRowName: string | undefined;
|
|
604
|
+
readonly hoveredInsertion: {
|
|
605
|
+
rowName: string;
|
|
606
|
+
col: number;
|
|
607
|
+
letters: string;
|
|
608
|
+
} | undefined;
|
|
609
|
+
readonly root: import("react-msaview").HierarchyNode<import("react-msaview").NodeWithIds>;
|
|
610
|
+
readonly msaAreaWidth: number;
|
|
611
|
+
readonly treeAreaWidthMinusMargin: number;
|
|
612
|
+
readonly blanks: number[];
|
|
613
|
+
readonly blanksSet: Set<number>;
|
|
614
|
+
readonly insertionPositions: Map<string, {
|
|
615
|
+
pos: number;
|
|
616
|
+
letters: string;
|
|
617
|
+
}[]>;
|
|
618
|
+
readonly rows: [string, string][];
|
|
619
|
+
readonly numRows: number;
|
|
620
|
+
readonly rowMap: Map<string, string>;
|
|
621
|
+
readonly columns: Map<string, string>;
|
|
622
|
+
readonly columns2d: string[];
|
|
623
|
+
readonly fontSize: number;
|
|
624
|
+
readonly colStats: Record<string, number>[];
|
|
625
|
+
readonly colStatsSums: number[];
|
|
626
|
+
readonly sequenceType: "dna" | "rna" | "amino";
|
|
627
|
+
readonly colConsensus: {
|
|
628
|
+
letter: string;
|
|
629
|
+
color: string | undefined;
|
|
630
|
+
}[];
|
|
631
|
+
readonly colClustalX: Record<string, string>[];
|
|
632
|
+
readonly conservation: number[];
|
|
633
|
+
readonly propertyConservation: number[];
|
|
634
|
+
readonly hierarchy: import("react-msaview").HierarchyNode<import("react-msaview").NodeWithIdsAndLength>;
|
|
635
|
+
readonly totalHeight: number;
|
|
636
|
+
readonly leaves: import("react-msaview").HierarchyNode<import("react-msaview").NodeWithIdsAndLength>[];
|
|
637
|
+
readonly maxBranchLength: number;
|
|
638
|
+
readonly maxDepthToLeaf: number;
|
|
639
|
+
readonly allBranchesLength0: boolean;
|
|
640
|
+
readonly showBranchLenEffective: boolean;
|
|
641
|
+
} & {
|
|
642
|
+
readonly totalWidth: number;
|
|
643
|
+
} & {
|
|
644
|
+
readonly dataInitialized: boolean;
|
|
645
|
+
readonly blocksX: number[];
|
|
646
|
+
readonly blocksY: number[];
|
|
647
|
+
} & {
|
|
648
|
+
readonly blocks2d: (readonly [number, number])[];
|
|
649
|
+
readonly isLoading: boolean;
|
|
650
|
+
readonly maxScrollX: number;
|
|
651
|
+
readonly maxScrollY: number;
|
|
652
|
+
readonly showMsaLetters: boolean;
|
|
653
|
+
readonly showTreeText: boolean;
|
|
654
|
+
} & {
|
|
655
|
+
setDrawMsaLetters(arg: boolean): void;
|
|
656
|
+
setScrollZoom(arg: boolean): void;
|
|
657
|
+
setHoveredTreeNode(nodeId?: string): void;
|
|
658
|
+
calculateNeighborJoiningTreeFromMSA(): void;
|
|
659
|
+
resetZoom(): void;
|
|
660
|
+
zoomOutHorizontal(): void;
|
|
661
|
+
zoomInHorizontal(): void;
|
|
662
|
+
zoomInVertical(): void;
|
|
663
|
+
zoomOutVertical(): void;
|
|
664
|
+
zoomIn(): void;
|
|
665
|
+
zoomOut(): void;
|
|
666
|
+
zoomToPos(scaleFactor: number, offsetX: number, offsetY: number): void;
|
|
667
|
+
doScrollY(deltaY: number): void;
|
|
668
|
+
setDomains(data?: Record<string, import("react-msaview").InterProScanResults>): void;
|
|
669
|
+
applyGFFText(gffText: string): void;
|
|
670
|
+
doScrollX(deltaX: number): void;
|
|
671
|
+
setScrollX(n: number): void;
|
|
672
|
+
toggleTrack(id: string): void;
|
|
673
|
+
setStatus(status?: {
|
|
674
|
+
msg: string;
|
|
675
|
+
url?: string;
|
|
676
|
+
onCancel?: () => void;
|
|
677
|
+
}): void;
|
|
678
|
+
} & {
|
|
679
|
+
readonly labelWidthMap: Map<string, number>;
|
|
680
|
+
readonly labelsWidth: number;
|
|
681
|
+
readonly secondaryStructureConsensus: string | undefined;
|
|
682
|
+
readonly seqConsensus: string | undefined;
|
|
683
|
+
readonly adapterTrackModels: import("react-msaview").BasicTrack[];
|
|
684
|
+
readonly tracks: import("react-msaview").BasicTrack[];
|
|
685
|
+
readonly turnedOnTracks: import("react-msaview").BasicTrack[];
|
|
686
|
+
readonly showHorizontalScrollbar: boolean;
|
|
687
|
+
visibleColToRowLetter(rowName: string, visibleCol: number): string | undefined;
|
|
688
|
+
visibleColToSeqPos(rowName: string, visibleCol: number): number | undefined;
|
|
689
|
+
visibleColToSeqPosOneBased(rowName: string, visibleCol: number): number | undefined;
|
|
690
|
+
globalColToVisibleCol(globalCol: number): number | undefined;
|
|
691
|
+
seqPosToGlobalCol(rowName: string, seqPos: number): number;
|
|
692
|
+
seqPosToVisibleCol(rowName: string, seqPos: number): number | undefined;
|
|
693
|
+
} & {
|
|
694
|
+
readonly msaAreaHeight: number;
|
|
695
|
+
readonly totalTrackAreaHeight: number;
|
|
696
|
+
readonly tidyInterProAnnotationTypes: Map<string, {
|
|
697
|
+
id: string;
|
|
698
|
+
name: string;
|
|
699
|
+
accession: string;
|
|
700
|
+
description: string;
|
|
701
|
+
featureType: string | undefined;
|
|
702
|
+
start: number;
|
|
703
|
+
end: number;
|
|
704
|
+
strand: number | undefined;
|
|
705
|
+
}>;
|
|
706
|
+
readonly tidyInterProAnnotations: {
|
|
707
|
+
id: string;
|
|
708
|
+
name: string;
|
|
709
|
+
accession: string;
|
|
710
|
+
description: string;
|
|
711
|
+
featureType: string | undefined;
|
|
712
|
+
start: number;
|
|
713
|
+
end: number;
|
|
714
|
+
strand: number | undefined;
|
|
715
|
+
}[];
|
|
716
|
+
readonly tidyFilteredInterProAnnotations: {
|
|
717
|
+
id: string;
|
|
718
|
+
name: string;
|
|
719
|
+
accession: string;
|
|
720
|
+
description: string;
|
|
721
|
+
featureType: string | undefined;
|
|
722
|
+
start: number;
|
|
723
|
+
end: number;
|
|
724
|
+
strand: number | undefined;
|
|
725
|
+
}[];
|
|
726
|
+
readonly tidyFilteredGatheredInterProAnnotations: Record<string, {
|
|
727
|
+
id: string;
|
|
728
|
+
name: string;
|
|
729
|
+
accession: string;
|
|
730
|
+
description: string;
|
|
731
|
+
featureType: string | undefined;
|
|
732
|
+
start: number;
|
|
733
|
+
end: number;
|
|
734
|
+
strand: number | undefined;
|
|
735
|
+
}[]>;
|
|
736
|
+
} & {
|
|
737
|
+
readonly showVerticalScrollbar: boolean;
|
|
738
|
+
} & {
|
|
739
|
+
readonly verticalScrollbarWidth: 0 | 20;
|
|
740
|
+
readonly segmentDomainTypes: {
|
|
741
|
+
id: string;
|
|
742
|
+
name: string;
|
|
743
|
+
accession: string;
|
|
744
|
+
description: string;
|
|
745
|
+
featureType: string | undefined;
|
|
746
|
+
start: number;
|
|
747
|
+
end: number;
|
|
748
|
+
strand: number | undefined;
|
|
749
|
+
}[];
|
|
750
|
+
readonly categoricalDomainTypes: {
|
|
751
|
+
id: string;
|
|
752
|
+
name: string;
|
|
753
|
+
accession: string;
|
|
754
|
+
description: string;
|
|
755
|
+
featureType: string | undefined;
|
|
756
|
+
start: number;
|
|
757
|
+
end: number;
|
|
758
|
+
strand: number | undefined;
|
|
759
|
+
}[];
|
|
760
|
+
readonly fillPalette: {
|
|
761
|
+
[x: string]: string;
|
|
762
|
+
};
|
|
763
|
+
readonly strokePalette: {
|
|
764
|
+
[k: string]: string;
|
|
765
|
+
};
|
|
766
|
+
readonly segmentLabels: Map<string, string>;
|
|
767
|
+
readonly visibleDomainTypes: {
|
|
768
|
+
id: string;
|
|
769
|
+
name: string;
|
|
770
|
+
accession: string;
|
|
771
|
+
description: string;
|
|
772
|
+
featureType: string | undefined;
|
|
773
|
+
start: number;
|
|
774
|
+
end: number;
|
|
775
|
+
strand: number | undefined;
|
|
776
|
+
}[];
|
|
777
|
+
readonly mouseOverDomains: {
|
|
778
|
+
id: string;
|
|
779
|
+
name: string;
|
|
780
|
+
accession: string;
|
|
781
|
+
description: string;
|
|
782
|
+
featureType: string | undefined;
|
|
783
|
+
start: number;
|
|
784
|
+
end: number;
|
|
785
|
+
strand: number | undefined;
|
|
786
|
+
}[];
|
|
787
|
+
readonly mouseOverColumnStats: {
|
|
788
|
+
col: number;
|
|
789
|
+
total: number;
|
|
790
|
+
gaps: number;
|
|
791
|
+
gapFraction: number;
|
|
792
|
+
conservation: number;
|
|
793
|
+
propertyConservation: number | undefined;
|
|
794
|
+
consensusLetter: string;
|
|
795
|
+
consensusCount: number;
|
|
796
|
+
consensusFraction: number;
|
|
797
|
+
distribution: [string, number][];
|
|
798
|
+
} | undefined;
|
|
799
|
+
getRowData(name: string): {
|
|
800
|
+
data: {
|
|
801
|
+
name?: string;
|
|
802
|
+
accession?: string;
|
|
803
|
+
dbxref?: string;
|
|
804
|
+
} | undefined;
|
|
805
|
+
treeMetadata: any;
|
|
806
|
+
};
|
|
807
|
+
} & {
|
|
808
|
+
setHeaderHeight(arg: number): void;
|
|
809
|
+
setConservationTrackHeight(arg: number): void;
|
|
810
|
+
reset(): void;
|
|
811
|
+
exportSVG(opts: {
|
|
812
|
+
theme: import("@mui/material").Theme;
|
|
813
|
+
includeMinimap?: boolean;
|
|
814
|
+
includeTracks?: boolean;
|
|
815
|
+
exportType: "entire" | "viewport";
|
|
816
|
+
}): Promise<void>;
|
|
817
|
+
initFilter(arg: string): void;
|
|
818
|
+
setFilter(arg: string, flag: boolean): void;
|
|
819
|
+
fit(): void;
|
|
820
|
+
fitVertically(): void;
|
|
821
|
+
fitHorizontally(): void;
|
|
822
|
+
afterCreate(): void;
|
|
823
|
+
} & {
|
|
824
|
+
/**
|
|
825
|
+
* #getter
|
|
826
|
+
*/
|
|
827
|
+
readonly columnToRefPos: number[] | undefined;
|
|
828
|
+
/**
|
|
829
|
+
* #getter
|
|
830
|
+
*/
|
|
831
|
+
readonly connectedView: MaybeLGV;
|
|
832
|
+
/**
|
|
833
|
+
* #getter
|
|
834
|
+
* the source track's config, which outlives the track being open
|
|
835
|
+
*/
|
|
836
|
+
readonly msaSourceConf: (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<Record<string, any>> & {
|
|
837
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
838
|
+
[x: string]: any;
|
|
839
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
840
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
841
|
+
[x: string]: any;
|
|
842
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & any & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
843
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
844
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | undefined;
|
|
845
|
+
} & {
|
|
846
|
+
/**
|
|
847
|
+
* #method
|
|
848
|
+
*/
|
|
849
|
+
colToGenomeRegion(col: number): IRegion | undefined;
|
|
850
|
+
} & {
|
|
851
|
+
/**
|
|
852
|
+
* #getter
|
|
853
|
+
* regions the connected LGV highlights: the hovered column plus the
|
|
854
|
+
* sticky clicked column
|
|
855
|
+
*/
|
|
856
|
+
readonly connectedHighlights: IRegion[];
|
|
857
|
+
} & {
|
|
858
|
+
/** a rebuild is in flight, or has failed and should not be retried */
|
|
859
|
+
rebuilding: boolean;
|
|
860
|
+
rebuildFailed: boolean;
|
|
861
|
+
} & {
|
|
862
|
+
/**
|
|
863
|
+
* #action
|
|
864
|
+
*/
|
|
865
|
+
setRebuilding(arg: boolean): void;
|
|
866
|
+
/**
|
|
867
|
+
* #action
|
|
868
|
+
*/
|
|
869
|
+
setRebuildFailed(arg: boolean): void;
|
|
870
|
+
/**
|
|
871
|
+
* #action
|
|
872
|
+
*/
|
|
873
|
+
setMsaData(msa: string, insertionWidths: [number, number][]): void;
|
|
874
|
+
/**
|
|
875
|
+
* #action
|
|
876
|
+
*/
|
|
877
|
+
setZoomToBaseLevel(arg: boolean): void;
|
|
878
|
+
/**
|
|
879
|
+
* #action
|
|
880
|
+
*/
|
|
881
|
+
navToColumn(col: number): void;
|
|
882
|
+
} & {
|
|
883
|
+
/**
|
|
884
|
+
* #action
|
|
885
|
+
* re-runs CoreGetFeatures for msaRegion and rebuilds the alignment
|
|
886
|
+
*/
|
|
887
|
+
rebuildMsa(conf: AnyConfigurationModel, source: MsaSource): Promise<void>;
|
|
888
|
+
} & {
|
|
889
|
+
afterCreate(): void;
|
|
890
|
+
} & {
|
|
891
|
+
/**
|
|
892
|
+
* #action
|
|
893
|
+
*/
|
|
894
|
+
setMouseClickPos(col?: number, row?: number): void;
|
|
895
|
+
} & {
|
|
896
|
+
/**
|
|
897
|
+
* #method
|
|
898
|
+
* overrides base
|
|
899
|
+
*/
|
|
900
|
+
menuItems(): MenuItem[];
|
|
901
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
902
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
903
|
+
displayName: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
904
|
+
minimized: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
905
|
+
}> & {
|
|
906
|
+
data: {
|
|
907
|
+
treeMetadata?: string | undefined;
|
|
908
|
+
msa?: string | undefined;
|
|
909
|
+
tree?: string | undefined;
|
|
910
|
+
};
|
|
911
|
+
drawLabels: boolean;
|
|
912
|
+
labelsAlignRight: boolean;
|
|
913
|
+
treeAreaWidth: number;
|
|
914
|
+
treeWidth: number;
|
|
915
|
+
showBranchLen: boolean;
|
|
916
|
+
drawTree: boolean;
|
|
917
|
+
drawNodeBubbles: boolean;
|
|
918
|
+
autoTreeAreaWidth: boolean;
|
|
919
|
+
bgColor: boolean;
|
|
920
|
+
colorSchemeName: string;
|
|
921
|
+
showColumnStats: boolean;
|
|
922
|
+
msaFormat: import("react-msaview").MSAFormat | undefined;
|
|
923
|
+
id: string;
|
|
924
|
+
showDomains: boolean;
|
|
925
|
+
hideGaps: boolean;
|
|
926
|
+
allowedGappyness: number;
|
|
927
|
+
subFeatureRows: boolean;
|
|
928
|
+
type: "MsaView";
|
|
929
|
+
drawMsaLetters: boolean;
|
|
930
|
+
scrollZoom: boolean;
|
|
931
|
+
height: number;
|
|
932
|
+
rowHeight: number;
|
|
933
|
+
scrollY: number;
|
|
934
|
+
scrollX: number;
|
|
935
|
+
colWidth: number;
|
|
936
|
+
treeFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
937
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
938
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
939
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
940
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
941
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
942
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
943
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
944
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
945
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
946
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
947
|
+
}> | {
|
|
948
|
+
locationType: "UriLocation";
|
|
949
|
+
uri: string;
|
|
950
|
+
internetAccountId: string | undefined;
|
|
951
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
952
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
953
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
954
|
+
}> | undefined;
|
|
955
|
+
} | undefined;
|
|
956
|
+
msaFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
957
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
958
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
959
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
960
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
961
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
962
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
963
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
964
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
965
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
966
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
967
|
+
}> | {
|
|
968
|
+
locationType: "UriLocation";
|
|
969
|
+
uri: string;
|
|
970
|
+
internetAccountId: string | undefined;
|
|
971
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
972
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
973
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
974
|
+
}> | undefined;
|
|
975
|
+
} | undefined;
|
|
976
|
+
treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
977
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
978
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
979
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
980
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
981
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
982
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
983
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
984
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
985
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
986
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
987
|
+
}> | {
|
|
988
|
+
locationType: "UriLocation";
|
|
989
|
+
uri: string;
|
|
990
|
+
internetAccountId: string | undefined;
|
|
991
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
992
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
993
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
994
|
+
}> | undefined;
|
|
995
|
+
} | undefined;
|
|
996
|
+
gffFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
997
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
998
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
999
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1000
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
1001
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1002
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1003
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1004
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
1005
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1006
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1007
|
+
}> | {
|
|
1008
|
+
locationType: "UriLocation";
|
|
1009
|
+
uri: string;
|
|
1010
|
+
internetAccountId: string | undefined;
|
|
1011
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1012
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1013
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1014
|
+
}> | undefined;
|
|
1015
|
+
} | undefined;
|
|
1016
|
+
currentAlignment: number;
|
|
1017
|
+
collapsed: string[];
|
|
1018
|
+
showOnly: string | undefined;
|
|
1019
|
+
turnedOffTracks: import("mobx").IKeyValueMap<boolean>;
|
|
1020
|
+
featureFilters: import("mobx").IKeyValueMap<boolean>;
|
|
1021
|
+
relativeTo: string | undefined;
|
|
1022
|
+
highlightColumns: number[] | undefined;
|
|
1023
|
+
} & import("@jbrowse/mobx-state-tree")._NotCustomized>;
|
|
1024
|
+
export type JBrowsePluginTViewStateModel = ReturnType<typeof stateModelFactory>;
|
|
1025
|
+
export type JBrowsePluginTViewModel = Instance<JBrowsePluginTViewStateModel>;
|
|
1026
|
+
export declare function isTView(view: {
|
|
1027
|
+
type: string;
|
|
1028
|
+
}): view is JBrowsePluginTViewModel;
|