react-msaview 5.5.0 → 5.6.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/bundle/index.js +173 -162
- package/bundle/index.js.map +4 -4
- package/dist/components/ConservationTrack.js +20 -26
- package/dist/components/ConservationTrack.js.map +1 -1
- package/dist/components/MSAViewer.d.ts +7 -1
- package/dist/components/MSAViewer.js +4 -1
- package/dist/components/MSAViewer.js.map +1 -1
- package/dist/components/SequenceTextArea.js +1 -1
- package/dist/components/SequenceTextArea.js.map +1 -1
- package/dist/components/TextTrack.js +20 -27
- package/dist/components/TextTrack.js.map +1 -1
- package/dist/components/Track.js +1 -1
- package/dist/components/Track.js.map +1 -1
- package/dist/components/dialogs/TrackInfoDialog.js +1 -1
- package/dist/components/dialogs/TrackInfoDialog.js.map +1 -1
- package/dist/components/header/ColorSchemeMenu.js +1 -1
- package/dist/components/header/ColorSchemeMenu.js.map +1 -1
- package/dist/components/header/FileMenu.js +1 -16
- package/dist/components/header/FileMenu.js.map +1 -1
- package/dist/components/header/Header.js +6 -5
- package/dist/components/header/Header.js.map +1 -1
- package/dist/components/header/HeaderInfoArea.js +1 -1
- package/dist/components/header/HeaderInfoArea.js.map +1 -1
- package/dist/components/header/HeaderStatusArea.js +1 -1
- package/dist/components/header/HeaderStatusArea.js.map +1 -1
- package/dist/components/header/MSASettingsMenu.js +1 -1
- package/dist/components/header/MSASettingsMenu.js.map +1 -1
- package/dist/components/header/TreeSettingsMenu.js +1 -1
- package/dist/components/header/TreeSettingsMenu.js.map +1 -1
- package/dist/components/header/ZoomControls.js +14 -12
- package/dist/components/header/ZoomControls.js.map +1 -1
- package/dist/components/header/ZoomMenu.js +1 -10
- package/dist/components/header/ZoomMenu.js.map +1 -1
- package/dist/components/header/settingsMenuItems.js +9 -1
- package/dist/components/header/settingsMenuItems.js.map +1 -1
- package/dist/components/{header/HeaderMenu.d.ts → msa/ColumnStats.d.ts} +3 -3
- package/dist/components/msa/ColumnStats.js +42 -0
- package/dist/components/msa/ColumnStats.js.map +1 -0
- package/dist/components/msa/DomainLegend.js +1 -1
- package/dist/components/msa/DomainLegend.js.map +1 -1
- package/dist/components/msa/MSACanvasBlock.js +39 -39
- package/dist/components/msa/MSACanvasBlock.js.map +1 -1
- package/dist/components/msa/MSAMouseoverCanvas.js +6 -12
- package/dist/components/msa/MSAMouseoverCanvas.js.map +1 -1
- package/dist/components/msa/renderBoxFeatureCanvasBlock.js +3 -1
- package/dist/components/msa/renderBoxFeatureCanvasBlock.js.map +1 -1
- package/dist/components/msa/renderMSAMouseover.js +1 -2
- package/dist/components/msa/renderMSAMouseover.js.map +1 -1
- package/dist/components/overlayColors.d.ts +3 -0
- package/dist/components/overlayColors.js +11 -0
- package/dist/components/overlayColors.js.map +1 -0
- package/dist/components/tracks/renderTracksSvg.d.ts +6 -3
- package/dist/components/tracks/renderTracksSvg.js +17 -8
- package/dist/components/tracks/renderTracksSvg.js.map +1 -1
- package/dist/components/tree/TreeCanvas.js +31 -38
- package/dist/components/tree/TreeCanvas.js.map +1 -1
- package/dist/components/tree/TreeCanvasBlock.js +12 -47
- package/dist/components/tree/TreeCanvasBlock.js.map +1 -1
- package/dist/components/tree/clickMap.d.ts +24 -0
- package/dist/components/tree/clickMap.js +33 -0
- package/dist/components/tree/clickMap.js.map +1 -0
- package/dist/components/tree/renderTreeCanvas.d.ts +1 -21
- package/dist/components/tree/renderTreeCanvas.js +8 -7
- package/dist/components/tree/renderTreeCanvas.js.map +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +1 -0
- package/dist/constants.js.map +1 -1
- package/dist/fetchUtils.d.ts +2 -1
- package/dist/fetchUtils.js +3 -2
- package/dist/fetchUtils.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/model/msaModel.d.ts +25 -2
- package/dist/model/msaModel.js +15 -3
- package/dist/model/msaModel.js.map +1 -1
- package/dist/model/treeModel.d.ts +46 -5
- package/dist/model/treeModel.js +20 -7
- package/dist/model/treeModel.js.map +1 -1
- package/dist/model.d.ts +545 -132
- package/dist/model.js +101 -75
- package/dist/model.js.map +1 -1
- package/dist/propertyConservation.d.ts +7 -0
- package/dist/propertyConservation.js +66 -0
- package/dist/propertyConservation.js.map +1 -0
- package/dist/types.d.ts +4 -1
- package/dist/useCanvasAutorun.d.ts +2 -0
- package/dist/useCanvasAutorun.js +23 -0
- package/dist/useCanvasAutorun.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -6
- package/src/colorSchemes.docs.test.ts +55 -0
- package/src/columnStats.test.ts +94 -0
- package/src/components/ConservationTrack.tsx +17 -15
- package/src/components/MSAViewer.tsx +12 -0
- package/src/components/SequenceTextArea.tsx +1 -1
- package/src/components/TextTrack.tsx +7 -11
- package/src/components/Track.tsx +1 -1
- package/src/components/dialogs/TrackInfoDialog.tsx +1 -1
- package/src/components/header/ColorSchemeMenu.tsx +1 -0
- package/src/components/header/FileMenu.tsx +1 -15
- package/src/components/header/Header.tsx +11 -8
- package/src/components/header/HeaderInfoArea.tsx +1 -1
- package/src/components/header/HeaderStatusArea.tsx +1 -1
- package/src/components/header/MSASettingsMenu.tsx +1 -0
- package/src/components/header/TreeSettingsMenu.tsx +1 -0
- package/src/components/header/ZoomControls.tsx +24 -17
- package/src/components/header/ZoomMenu.tsx +1 -10
- package/src/components/header/settingsMenuItems.ts +9 -1
- package/src/components/msa/ColumnStats.tsx +54 -0
- package/src/components/msa/DomainLegend.tsx +5 -1
- package/src/components/msa/MSACanvasBlock.tsx +29 -26
- package/src/components/msa/MSAMouseoverCanvas.tsx +10 -13
- package/src/components/msa/renderBoxFeatureCanvasBlock.ts +3 -1
- package/src/components/msa/renderMSAMouseover.ts +2 -2
- package/src/components/overlayColors.ts +12 -0
- package/src/components/tracks/renderTracksSvg.ts +22 -8
- package/src/components/tree/TreeCanvas.tsx +47 -54
- package/src/components/tree/TreeCanvasBlock.tsx +10 -68
- package/src/components/tree/clickMap.ts +55 -0
- package/src/components/tree/renderTreeCanvas.ts +10 -34
- package/src/constants.ts +1 -0
- package/src/fetchUtils.ts +6 -3
- package/src/index.ts +1 -1
- package/src/model/msaModel.ts +21 -3
- package/src/model/treeModel.ts +21 -7
- package/src/model.ts +116 -117
- package/src/propertyConservation.test.ts +47 -0
- package/src/propertyConservation.ts +73 -0
- package/src/stripDefaultSnapshot.test.ts +54 -0
- package/src/types.ts +7 -1
- package/src/useCanvasAutorun.ts +28 -0
- package/src/version.ts +1 -1
- package/dist/components/dialogs/SettingsDialog.d.ts +0 -7
- package/dist/components/dialogs/SettingsDialog.js +0 -100
- package/dist/components/dialogs/SettingsDialog.js.map +0 -1
- package/dist/components/header/HeaderMenu.js +0 -27
- package/dist/components/header/HeaderMenu.js.map +0 -1
- package/src/components/dialogs/SettingsDialog.tsx +0 -234
- package/src/components/header/HeaderMenu.tsx +0 -38
package/dist/model.d.ts
CHANGED
|
@@ -24,41 +24,109 @@ import type { Theme } from '@mui/material';
|
|
|
24
24
|
* root.view.setData({ msa: '>seq1\nACGT\n>seq2\nACGT' })
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
|
-
declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelType<Omit<Omit<Omit<{}, "drawLabels" | "labelsAlignRight" | "treeAreaWidth" | "treeWidth" | "showBranchLen" | "drawTree" | "drawNodeBubbles"> & {
|
|
28
|
-
drawLabels: import("@jbrowse/mobx-state-tree").
|
|
29
|
-
labelsAlignRight: import("@jbrowse/mobx-state-tree").
|
|
27
|
+
declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelType<Omit<Omit<Omit<{}, "drawLabels" | "labelsAlignRight" | "treeAreaWidth" | "treeWidth" | "showBranchLen" | "drawTree" | "drawNodeBubbles" | "autoTreeAreaWidth"> & {
|
|
28
|
+
drawLabels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
29
|
+
labelsAlignRight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
30
30
|
treeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
31
31
|
treeWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
32
|
-
showBranchLen: import("@jbrowse/mobx-state-tree").
|
|
33
|
-
drawTree: import("@jbrowse/mobx-state-tree").
|
|
34
|
-
drawNodeBubbles: import("@jbrowse/mobx-state-tree").
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
showBranchLen: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
33
|
+
drawTree: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
34
|
+
drawNodeBubbles: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
35
|
+
autoTreeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
36
|
+
}, "bgColor" | "colorSchemeName" | "showColumnStats" | "msaFormat"> & {
|
|
37
|
+
bgColor: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
38
|
+
colorSchemeName: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
39
|
+
showColumnStats: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
38
40
|
msaFormat: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<import("msa-parsers").MSAFormat>>;
|
|
39
|
-
}, "type" | "id" | "data" | "showDomains" | "hideGaps" | "allowedGappyness" | "subFeatureRows" | "drawMsaLetters" | "scrollZoom" | "
|
|
41
|
+
}, "type" | "id" | "data" | "showDomains" | "hideGaps" | "allowedGappyness" | "subFeatureRows" | "drawMsaLetters" | "scrollZoom" | "height" | "rowHeight" | "scrollY" | "scrollX" | "colWidth" | "treeFilehandle" | "msaFilehandle" | "treeMetadataFilehandle" | "gffFilehandle" | "currentAlignment" | "collapsed" | "showOnly" | "turnedOffTracks" | "featureFilters" | "relativeTo" | "highlightColumns"> & {
|
|
42
|
+
/**
|
|
43
|
+
* #property
|
|
44
|
+
* id of view, randomly generated if not provided
|
|
45
|
+
*/
|
|
40
46
|
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
47
|
+
/**
|
|
48
|
+
* #property
|
|
49
|
+
*/
|
|
50
|
+
showDomains: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
51
|
+
/**
|
|
52
|
+
* #property
|
|
53
|
+
*/
|
|
54
|
+
hideGaps: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
55
|
+
/**
|
|
56
|
+
* #property
|
|
57
|
+
*/
|
|
58
|
+
allowedGappyness: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
59
|
+
/**
|
|
60
|
+
* #property
|
|
61
|
+
*/
|
|
62
|
+
subFeatureRows: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
63
|
+
/**
|
|
64
|
+
* #property
|
|
65
|
+
* hardcoded view type
|
|
66
|
+
*/
|
|
45
67
|
type: import("@jbrowse/mobx-state-tree").ISimpleType<"MsaView">;
|
|
46
|
-
|
|
47
|
-
|
|
68
|
+
/**
|
|
69
|
+
* #property
|
|
70
|
+
*/
|
|
71
|
+
drawMsaLetters: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
72
|
+
/**
|
|
73
|
+
* #property
|
|
74
|
+
* zoom in/out on plain mouse-wheel without holding ctrl
|
|
75
|
+
*/
|
|
76
|
+
scrollZoom: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
77
|
+
/**
|
|
78
|
+
* #property
|
|
79
|
+
* height of the div containing the view, px
|
|
80
|
+
*/
|
|
48
81
|
height: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
82
|
+
/**
|
|
83
|
+
* #property
|
|
84
|
+
* height of each row, px
|
|
85
|
+
*/
|
|
86
|
+
rowHeight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
87
|
+
/**
|
|
88
|
+
* #property
|
|
89
|
+
* scroll position, Y-offset, px
|
|
90
|
+
*/
|
|
91
|
+
scrollY: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
92
|
+
/**
|
|
93
|
+
* #property
|
|
94
|
+
* scroll position, X-offset, px
|
|
95
|
+
*/
|
|
96
|
+
scrollX: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
97
|
+
/**
|
|
98
|
+
* #property
|
|
99
|
+
* width of columns, px
|
|
100
|
+
*/
|
|
101
|
+
colWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
102
|
+
/**
|
|
103
|
+
* #property
|
|
104
|
+
* filehandle object for the tree
|
|
105
|
+
*/
|
|
106
|
+
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<{
|
|
107
|
+
locationType: "LocalPathLocation";
|
|
108
|
+
localPath: string;
|
|
109
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
110
|
+
locationType: "BlobLocation";
|
|
111
|
+
name: string;
|
|
112
|
+
blobId: string;
|
|
113
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
114
|
+
locationType: "FileHandleLocation";
|
|
115
|
+
name: string;
|
|
116
|
+
handleId: string;
|
|
117
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
54
118
|
locationType: "UriLocation";
|
|
55
119
|
uri: string;
|
|
120
|
+
baseUri: string | undefined;
|
|
56
121
|
internetAccountId: string | undefined;
|
|
57
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").
|
|
58
|
-
internetAccountType:
|
|
59
|
-
authInfo:
|
|
122
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
123
|
+
internetAccountType: string;
|
|
124
|
+
authInfo: any;
|
|
60
125
|
}> | undefined;
|
|
61
|
-
}
|
|
126
|
+
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
127
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
128
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
129
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
62
130
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
63
131
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
64
132
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -66,11 +134,7 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
66
134
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
67
135
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
68
136
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
69
|
-
}> |
|
|
70
|
-
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
71
|
-
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
72
|
-
}>, any>, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
73
|
-
msaFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<any, {
|
|
137
|
+
}> | {
|
|
74
138
|
locationType: "UriLocation";
|
|
75
139
|
uri: string;
|
|
76
140
|
internetAccountId: string | undefined;
|
|
@@ -78,7 +142,90 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
78
142
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
79
143
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
80
144
|
}> | undefined;
|
|
81
|
-
}
|
|
145
|
+
}, ({
|
|
146
|
+
locationType: "UriLocation";
|
|
147
|
+
uri: string;
|
|
148
|
+
} & Partial<{
|
|
149
|
+
locationType: "UriLocation";
|
|
150
|
+
uri: string;
|
|
151
|
+
baseUri: string | undefined;
|
|
152
|
+
internetAccountId: string | undefined;
|
|
153
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
154
|
+
internetAccountType: string;
|
|
155
|
+
authInfo: any;
|
|
156
|
+
}> | undefined;
|
|
157
|
+
}>) | ({
|
|
158
|
+
blobId: string;
|
|
159
|
+
locationType: "BlobLocation";
|
|
160
|
+
name: string;
|
|
161
|
+
} & Partial<{
|
|
162
|
+
locationType: "BlobLocation";
|
|
163
|
+
name: string;
|
|
164
|
+
blobId: string;
|
|
165
|
+
}>) | ({
|
|
166
|
+
handleId: string;
|
|
167
|
+
locationType: "FileHandleLocation";
|
|
168
|
+
name: string;
|
|
169
|
+
} & Partial<{
|
|
170
|
+
locationType: "FileHandleLocation";
|
|
171
|
+
name: string;
|
|
172
|
+
handleId: string;
|
|
173
|
+
}>) | ({
|
|
174
|
+
localPath: string;
|
|
175
|
+
locationType: "LocalPathLocation";
|
|
176
|
+
} & Partial<{
|
|
177
|
+
locationType: "LocalPathLocation";
|
|
178
|
+
localPath: string;
|
|
179
|
+
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
180
|
+
locationType: "LocalPathLocation";
|
|
181
|
+
localPath: string;
|
|
182
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
183
|
+
locationType: "BlobLocation";
|
|
184
|
+
name: string;
|
|
185
|
+
blobId: string;
|
|
186
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
187
|
+
locationType: "FileHandleLocation";
|
|
188
|
+
name: string;
|
|
189
|
+
handleId: string;
|
|
190
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
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
|
+
}>, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
200
|
+
/**
|
|
201
|
+
* #property
|
|
202
|
+
* filehandle object for the MSA (which could contain a tree e.g. with
|
|
203
|
+
* stockholm files)
|
|
204
|
+
*/
|
|
205
|
+
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<{
|
|
206
|
+
locationType: "LocalPathLocation";
|
|
207
|
+
localPath: string;
|
|
208
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
209
|
+
locationType: "BlobLocation";
|
|
210
|
+
name: string;
|
|
211
|
+
blobId: string;
|
|
212
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
213
|
+
locationType: "FileHandleLocation";
|
|
214
|
+
name: string;
|
|
215
|
+
handleId: string;
|
|
216
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
217
|
+
locationType: "UriLocation";
|
|
218
|
+
uri: string;
|
|
219
|
+
baseUri: string | undefined;
|
|
220
|
+
internetAccountId: string | undefined;
|
|
221
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
222
|
+
internetAccountType: string;
|
|
223
|
+
authInfo: any;
|
|
224
|
+
}> | undefined;
|
|
225
|
+
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
226
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
227
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
228
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
82
229
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
83
230
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
84
231
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -86,11 +233,7 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
86
233
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
87
234
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
88
235
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
89
|
-
}> |
|
|
90
|
-
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
91
|
-
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
92
|
-
}>, any>, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
93
|
-
treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<any, {
|
|
236
|
+
}> | {
|
|
94
237
|
locationType: "UriLocation";
|
|
95
238
|
uri: string;
|
|
96
239
|
internetAccountId: string | undefined;
|
|
@@ -98,7 +241,89 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
98
241
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
99
242
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
100
243
|
}> | undefined;
|
|
101
|
-
}
|
|
244
|
+
}, ({
|
|
245
|
+
locationType: "UriLocation";
|
|
246
|
+
uri: string;
|
|
247
|
+
} & Partial<{
|
|
248
|
+
locationType: "UriLocation";
|
|
249
|
+
uri: string;
|
|
250
|
+
baseUri: string | undefined;
|
|
251
|
+
internetAccountId: string | undefined;
|
|
252
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
253
|
+
internetAccountType: string;
|
|
254
|
+
authInfo: any;
|
|
255
|
+
}> | undefined;
|
|
256
|
+
}>) | ({
|
|
257
|
+
blobId: string;
|
|
258
|
+
locationType: "BlobLocation";
|
|
259
|
+
name: string;
|
|
260
|
+
} & Partial<{
|
|
261
|
+
locationType: "BlobLocation";
|
|
262
|
+
name: string;
|
|
263
|
+
blobId: string;
|
|
264
|
+
}>) | ({
|
|
265
|
+
handleId: string;
|
|
266
|
+
locationType: "FileHandleLocation";
|
|
267
|
+
name: string;
|
|
268
|
+
} & Partial<{
|
|
269
|
+
locationType: "FileHandleLocation";
|
|
270
|
+
name: string;
|
|
271
|
+
handleId: string;
|
|
272
|
+
}>) | ({
|
|
273
|
+
localPath: string;
|
|
274
|
+
locationType: "LocalPathLocation";
|
|
275
|
+
} & Partial<{
|
|
276
|
+
locationType: "LocalPathLocation";
|
|
277
|
+
localPath: string;
|
|
278
|
+
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
279
|
+
locationType: "LocalPathLocation";
|
|
280
|
+
localPath: string;
|
|
281
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
282
|
+
locationType: "BlobLocation";
|
|
283
|
+
name: string;
|
|
284
|
+
blobId: string;
|
|
285
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
286
|
+
locationType: "FileHandleLocation";
|
|
287
|
+
name: string;
|
|
288
|
+
handleId: string;
|
|
289
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
290
|
+
locationType: "UriLocation";
|
|
291
|
+
uri: string;
|
|
292
|
+
baseUri: string | undefined;
|
|
293
|
+
internetAccountId: string | undefined;
|
|
294
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
295
|
+
internetAccountType: string;
|
|
296
|
+
authInfo: any;
|
|
297
|
+
}> | undefined;
|
|
298
|
+
}>, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
299
|
+
/**
|
|
300
|
+
* #property
|
|
301
|
+
* filehandle object for tree metadata
|
|
302
|
+
*/
|
|
303
|
+
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<{
|
|
304
|
+
locationType: "LocalPathLocation";
|
|
305
|
+
localPath: string;
|
|
306
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
307
|
+
locationType: "BlobLocation";
|
|
308
|
+
name: string;
|
|
309
|
+
blobId: string;
|
|
310
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
311
|
+
locationType: "FileHandleLocation";
|
|
312
|
+
name: string;
|
|
313
|
+
handleId: string;
|
|
314
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
315
|
+
locationType: "UriLocation";
|
|
316
|
+
uri: string;
|
|
317
|
+
baseUri: string | undefined;
|
|
318
|
+
internetAccountId: string | undefined;
|
|
319
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
320
|
+
internetAccountType: string;
|
|
321
|
+
authInfo: any;
|
|
322
|
+
}> | undefined;
|
|
323
|
+
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
324
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
325
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
326
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
102
327
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
103
328
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
104
329
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -106,11 +331,7 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
106
331
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
107
332
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
108
333
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
109
|
-
}> |
|
|
110
|
-
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
111
|
-
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
112
|
-
}>, any>, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
113
|
-
gffFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<any, {
|
|
334
|
+
}> | {
|
|
114
335
|
locationType: "UriLocation";
|
|
115
336
|
uri: string;
|
|
116
337
|
internetAccountId: string | undefined;
|
|
@@ -118,7 +339,89 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
118
339
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
119
340
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
120
341
|
}> | undefined;
|
|
121
|
-
}
|
|
342
|
+
}, ({
|
|
343
|
+
locationType: "UriLocation";
|
|
344
|
+
uri: string;
|
|
345
|
+
} & Partial<{
|
|
346
|
+
locationType: "UriLocation";
|
|
347
|
+
uri: string;
|
|
348
|
+
baseUri: string | undefined;
|
|
349
|
+
internetAccountId: string | undefined;
|
|
350
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
351
|
+
internetAccountType: string;
|
|
352
|
+
authInfo: any;
|
|
353
|
+
}> | undefined;
|
|
354
|
+
}>) | ({
|
|
355
|
+
blobId: string;
|
|
356
|
+
locationType: "BlobLocation";
|
|
357
|
+
name: string;
|
|
358
|
+
} & Partial<{
|
|
359
|
+
locationType: "BlobLocation";
|
|
360
|
+
name: string;
|
|
361
|
+
blobId: string;
|
|
362
|
+
}>) | ({
|
|
363
|
+
handleId: string;
|
|
364
|
+
locationType: "FileHandleLocation";
|
|
365
|
+
name: string;
|
|
366
|
+
} & Partial<{
|
|
367
|
+
locationType: "FileHandleLocation";
|
|
368
|
+
name: string;
|
|
369
|
+
handleId: string;
|
|
370
|
+
}>) | ({
|
|
371
|
+
localPath: string;
|
|
372
|
+
locationType: "LocalPathLocation";
|
|
373
|
+
} & Partial<{
|
|
374
|
+
locationType: "LocalPathLocation";
|
|
375
|
+
localPath: string;
|
|
376
|
+
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
377
|
+
locationType: "LocalPathLocation";
|
|
378
|
+
localPath: string;
|
|
379
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
380
|
+
locationType: "BlobLocation";
|
|
381
|
+
name: string;
|
|
382
|
+
blobId: string;
|
|
383
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
384
|
+
locationType: "FileHandleLocation";
|
|
385
|
+
name: string;
|
|
386
|
+
handleId: string;
|
|
387
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
388
|
+
locationType: "UriLocation";
|
|
389
|
+
uri: string;
|
|
390
|
+
baseUri: string | undefined;
|
|
391
|
+
internetAccountId: string | undefined;
|
|
392
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
393
|
+
internetAccountType: string;
|
|
394
|
+
authInfo: any;
|
|
395
|
+
}> | undefined;
|
|
396
|
+
}>, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
397
|
+
/**
|
|
398
|
+
* #property
|
|
399
|
+
* filehandle object for InterProScan GFF file
|
|
400
|
+
*/
|
|
401
|
+
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<{
|
|
402
|
+
locationType: "LocalPathLocation";
|
|
403
|
+
localPath: string;
|
|
404
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
405
|
+
locationType: "BlobLocation";
|
|
406
|
+
name: string;
|
|
407
|
+
blobId: string;
|
|
408
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
409
|
+
locationType: "FileHandleLocation";
|
|
410
|
+
name: string;
|
|
411
|
+
handleId: string;
|
|
412
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
413
|
+
locationType: "UriLocation";
|
|
414
|
+
uri: string;
|
|
415
|
+
baseUri: string | undefined;
|
|
416
|
+
internetAccountId: string | undefined;
|
|
417
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
418
|
+
internetAccountType: string;
|
|
419
|
+
authInfo: any;
|
|
420
|
+
}> | undefined;
|
|
421
|
+
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
422
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
423
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
424
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
122
425
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
123
426
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
124
427
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -126,14 +429,94 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
126
429
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
127
430
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
128
431
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
129
|
-
}> |
|
|
130
|
-
locationType:
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
432
|
+
}> | {
|
|
433
|
+
locationType: "UriLocation";
|
|
434
|
+
uri: string;
|
|
435
|
+
internetAccountId: string | undefined;
|
|
436
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
437
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
438
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
439
|
+
}> | undefined;
|
|
440
|
+
}, ({
|
|
441
|
+
locationType: "UriLocation";
|
|
442
|
+
uri: string;
|
|
443
|
+
} & Partial<{
|
|
444
|
+
locationType: "UriLocation";
|
|
445
|
+
uri: string;
|
|
446
|
+
baseUri: string | undefined;
|
|
447
|
+
internetAccountId: string | undefined;
|
|
448
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
449
|
+
internetAccountType: string;
|
|
450
|
+
authInfo: any;
|
|
451
|
+
}> | undefined;
|
|
452
|
+
}>) | ({
|
|
453
|
+
blobId: string;
|
|
454
|
+
locationType: "BlobLocation";
|
|
455
|
+
name: string;
|
|
456
|
+
} & Partial<{
|
|
457
|
+
locationType: "BlobLocation";
|
|
458
|
+
name: string;
|
|
459
|
+
blobId: string;
|
|
460
|
+
}>) | ({
|
|
461
|
+
handleId: string;
|
|
462
|
+
locationType: "FileHandleLocation";
|
|
463
|
+
name: string;
|
|
464
|
+
} & Partial<{
|
|
465
|
+
locationType: "FileHandleLocation";
|
|
466
|
+
name: string;
|
|
467
|
+
handleId: string;
|
|
468
|
+
}>) | ({
|
|
469
|
+
localPath: string;
|
|
470
|
+
locationType: "LocalPathLocation";
|
|
471
|
+
} & Partial<{
|
|
472
|
+
locationType: "LocalPathLocation";
|
|
473
|
+
localPath: string;
|
|
474
|
+
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
475
|
+
locationType: "LocalPathLocation";
|
|
476
|
+
localPath: string;
|
|
477
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
478
|
+
locationType: "BlobLocation";
|
|
479
|
+
name: string;
|
|
480
|
+
blobId: string;
|
|
481
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
482
|
+
locationType: "FileHandleLocation";
|
|
483
|
+
name: string;
|
|
484
|
+
handleId: string;
|
|
485
|
+
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
486
|
+
locationType: "UriLocation";
|
|
487
|
+
uri: string;
|
|
488
|
+
baseUri: string | undefined;
|
|
489
|
+
internetAccountId: string | undefined;
|
|
490
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
491
|
+
internetAccountType: string;
|
|
492
|
+
authInfo: any;
|
|
493
|
+
}> | undefined;
|
|
494
|
+
}>, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
495
|
+
/**
|
|
496
|
+
* #property
|
|
497
|
+
*/
|
|
498
|
+
currentAlignment: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
499
|
+
/**
|
|
500
|
+
* #property
|
|
501
|
+
* array of tree parent nodes that are 'collapsed' (all children are
|
|
502
|
+
* hidden)
|
|
503
|
+
*/
|
|
504
|
+
collapsed: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
505
|
+
/**
|
|
506
|
+
* #property
|
|
507
|
+
* focus on particular subtree
|
|
508
|
+
*/
|
|
135
509
|
showOnly: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
136
|
-
|
|
510
|
+
/**
|
|
511
|
+
* #property
|
|
512
|
+
* turned off tracks
|
|
513
|
+
*/
|
|
514
|
+
turnedOffTracks: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>, [undefined]>;
|
|
515
|
+
/**
|
|
516
|
+
* #property
|
|
517
|
+
* data from the loaded tree/msa/treeMetadata, generally loaded by
|
|
518
|
+
* autorun
|
|
519
|
+
*/
|
|
137
520
|
data: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
138
521
|
tree: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
139
522
|
msa: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
@@ -150,8 +533,22 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
150
533
|
treeMetadata: string | undefined;
|
|
151
534
|
gff: string | undefined;
|
|
152
535
|
}>, [undefined]>;
|
|
153
|
-
|
|
536
|
+
/**
|
|
537
|
+
* #property
|
|
538
|
+
*/
|
|
539
|
+
featureFilters: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>, [undefined]>;
|
|
540
|
+
/**
|
|
541
|
+
* #property
|
|
542
|
+
*/
|
|
154
543
|
relativeTo: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
544
|
+
/**
|
|
545
|
+
* #property
|
|
546
|
+
* declarative seed for the highlighted-columns overlay (visible column
|
|
547
|
+
* indices). Unlike the volatile `highlightedColumns` (driven by
|
|
548
|
+
* transient genome-hover sync), this persists in the snapshot/URL so a
|
|
549
|
+
* shared link can open with specific columns highlighted. Applied once
|
|
550
|
+
* in afterCreate.
|
|
551
|
+
*/
|
|
155
552
|
highlightColumns: import("@jbrowse/mobx-state-tree").IType<number[] | undefined, number[] | undefined, number[] | undefined>;
|
|
156
553
|
}, {
|
|
157
554
|
queueOfDialogs: [import("@jbrowse/core/util").DialogComponentType, any][];
|
|
@@ -166,12 +563,14 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
166
563
|
setTreeWidth(n: number): void;
|
|
167
564
|
setLabelsAlignRight(arg: boolean): void;
|
|
168
565
|
setDrawTree(arg: boolean): void;
|
|
566
|
+
setAutoTreeAreaWidth(arg: boolean): void;
|
|
169
567
|
setShowBranchLen(arg: boolean): void;
|
|
170
568
|
setDrawNodeBubbles(arg: boolean): void;
|
|
171
569
|
setDrawLabels(arg: boolean): void;
|
|
172
570
|
} & {
|
|
173
571
|
setColorSchemeName(name: string): void;
|
|
174
572
|
setBgColor(arg: boolean): void;
|
|
573
|
+
setShowColumnStats(arg: boolean): void;
|
|
175
574
|
setMSAFormat(arg?: import("msa-parsers").MSAFormat): void;
|
|
176
575
|
} & {
|
|
177
576
|
/**
|
|
@@ -593,6 +992,13 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
593
992
|
* Returns values 0-1 where 1 = fully conserved, 0 = no conservation.
|
|
594
993
|
*/
|
|
595
994
|
readonly conservation: number[];
|
|
995
|
+
/**
|
|
996
|
+
* #getter
|
|
997
|
+
* Per-column conservation of physicochemical property class (amino acids
|
|
998
|
+
* only). Surfaces conservative-substitution sites that identity-based
|
|
999
|
+
* conservation misses. Empty for nucleotide alignments.
|
|
1000
|
+
*/
|
|
1001
|
+
readonly propertyConservation: number[];
|
|
596
1002
|
/**
|
|
597
1003
|
* #getter
|
|
598
1004
|
* generates a new tree that is clustered with x,y positions
|
|
@@ -991,6 +1397,24 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
991
1397
|
end: number;
|
|
992
1398
|
strand: number | undefined;
|
|
993
1399
|
}[];
|
|
1400
|
+
/**
|
|
1401
|
+
* #getter
|
|
1402
|
+
* per-column summary statistics for the hovered column: consensus residue
|
|
1403
|
+
* and its identity fraction, conservation score, gap fraction, and the
|
|
1404
|
+
* sorted non-gap residue distribution. undefined when nothing is hovered.
|
|
1405
|
+
*/
|
|
1406
|
+
readonly mouseOverColumnStats: {
|
|
1407
|
+
col: number;
|
|
1408
|
+
total: number;
|
|
1409
|
+
gaps: number;
|
|
1410
|
+
gapFraction: number;
|
|
1411
|
+
conservation: number;
|
|
1412
|
+
propertyConservation: number | undefined;
|
|
1413
|
+
consensusLetter: string;
|
|
1414
|
+
consensusCount: number;
|
|
1415
|
+
consensusFraction: number;
|
|
1416
|
+
distribution: [string, number][];
|
|
1417
|
+
} | undefined;
|
|
994
1418
|
/**
|
|
995
1419
|
* #method
|
|
996
1420
|
*/
|
|
@@ -1039,41 +1463,41 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
1039
1463
|
*/
|
|
1040
1464
|
fitHorizontally(): void;
|
|
1041
1465
|
afterCreate(): void;
|
|
1042
|
-
}, import("@jbrowse/mobx-state-tree")._NotCustomized,
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
} | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1466
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, {
|
|
1467
|
+
data: {
|
|
1468
|
+
treeMetadata?: string | undefined;
|
|
1469
|
+
msa?: string | undefined;
|
|
1470
|
+
tree?: string | undefined;
|
|
1471
|
+
};
|
|
1472
|
+
drawLabels: boolean;
|
|
1473
|
+
labelsAlignRight: boolean;
|
|
1474
|
+
treeAreaWidth: number;
|
|
1475
|
+
treeWidth: number;
|
|
1476
|
+
showBranchLen: boolean;
|
|
1477
|
+
drawTree: boolean;
|
|
1478
|
+
drawNodeBubbles: boolean;
|
|
1479
|
+
autoTreeAreaWidth: boolean;
|
|
1480
|
+
bgColor: boolean;
|
|
1481
|
+
colorSchemeName: string;
|
|
1482
|
+
showColumnStats: boolean;
|
|
1483
|
+
msaFormat: import("msa-parsers").MSAFormat | undefined;
|
|
1484
|
+
id: string;
|
|
1485
|
+
showDomains: boolean;
|
|
1486
|
+
hideGaps: boolean;
|
|
1487
|
+
allowedGappyness: number;
|
|
1488
|
+
subFeatureRows: boolean;
|
|
1489
|
+
type: "MsaView";
|
|
1490
|
+
drawMsaLetters: boolean;
|
|
1491
|
+
scrollZoom: boolean;
|
|
1492
|
+
height: number;
|
|
1493
|
+
rowHeight: number;
|
|
1494
|
+
scrollY: number;
|
|
1495
|
+
scrollX: number;
|
|
1496
|
+
colWidth: number;
|
|
1497
|
+
treeFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1498
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
1499
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1500
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1077
1501
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
1078
1502
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1079
1503
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -1081,11 +1505,7 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
1081
1505
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
1082
1506
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1083
1507
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1084
|
-
}> |
|
|
1085
|
-
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
1086
|
-
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1087
|
-
}>, any>, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1088
|
-
msaFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<any, {
|
|
1508
|
+
}> | {
|
|
1089
1509
|
locationType: "UriLocation";
|
|
1090
1510
|
uri: string;
|
|
1091
1511
|
internetAccountId: string | undefined;
|
|
@@ -1093,7 +1513,11 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
1093
1513
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1094
1514
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1095
1515
|
}> | undefined;
|
|
1096
|
-
} |
|
|
1516
|
+
} | undefined;
|
|
1517
|
+
msaFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1518
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
1519
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1520
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1097
1521
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
1098
1522
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1099
1523
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -1101,11 +1525,7 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
1101
1525
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
1102
1526
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1103
1527
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1104
|
-
}> |
|
|
1105
|
-
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
1106
|
-
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1107
|
-
}>, any>, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1108
|
-
treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<any, {
|
|
1528
|
+
}> | {
|
|
1109
1529
|
locationType: "UriLocation";
|
|
1110
1530
|
uri: string;
|
|
1111
1531
|
internetAccountId: string | undefined;
|
|
@@ -1113,7 +1533,11 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
1113
1533
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1114
1534
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1115
1535
|
}> | undefined;
|
|
1116
|
-
} |
|
|
1536
|
+
} | undefined;
|
|
1537
|
+
treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1538
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
1539
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1540
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1117
1541
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
1118
1542
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1119
1543
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -1121,11 +1545,7 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
1121
1545
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
1122
1546
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1123
1547
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1124
|
-
}> |
|
|
1125
|
-
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
1126
|
-
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1127
|
-
}>, any>, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1128
|
-
gffFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<any, {
|
|
1548
|
+
}> | {
|
|
1129
1549
|
locationType: "UriLocation";
|
|
1130
1550
|
uri: string;
|
|
1131
1551
|
internetAccountId: string | undefined;
|
|
@@ -1133,7 +1553,11 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
1133
1553
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1134
1554
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1135
1555
|
}> | undefined;
|
|
1136
|
-
} |
|
|
1556
|
+
} | undefined;
|
|
1557
|
+
gffFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1558
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
1559
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1560
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1137
1561
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
1138
1562
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1139
1563
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -1141,34 +1565,23 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
1141
1565
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
1142
1566
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1143
1567
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1144
|
-
}> |
|
|
1145
|
-
locationType:
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
setGFF(gff?: string): void;
|
|
1162
|
-
}, import("@jbrowse/mobx-state-tree")._NotCustomized, {
|
|
1163
|
-
tree: string | undefined;
|
|
1164
|
-
msa: string | undefined;
|
|
1165
|
-
treeMetadata: string | undefined;
|
|
1166
|
-
gff: string | undefined;
|
|
1167
|
-
}>, [undefined]>;
|
|
1168
|
-
featureFilters: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
1169
|
-
relativeTo: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1170
|
-
highlightColumns: import("@jbrowse/mobx-state-tree").IType<number[] | undefined, number[] | undefined, number[] | undefined>;
|
|
1171
|
-
}>, symbol>>;
|
|
1568
|
+
}> | {
|
|
1569
|
+
locationType: "UriLocation";
|
|
1570
|
+
uri: string;
|
|
1571
|
+
internetAccountId: string | undefined;
|
|
1572
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1573
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1574
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1575
|
+
}> | undefined;
|
|
1576
|
+
} | undefined;
|
|
1577
|
+
currentAlignment: number;
|
|
1578
|
+
collapsed: string[];
|
|
1579
|
+
showOnly: string | undefined;
|
|
1580
|
+
turnedOffTracks: import("mobx").IKeyValueMap<boolean>;
|
|
1581
|
+
featureFilters: import("mobx").IKeyValueMap<boolean>;
|
|
1582
|
+
relativeTo: string | undefined;
|
|
1583
|
+
highlightColumns: number[] | undefined;
|
|
1584
|
+
}>;
|
|
1172
1585
|
export default stateModelFactory;
|
|
1173
1586
|
export type MsaViewStateModel = ReturnType<typeof stateModelFactory>;
|
|
1174
1587
|
export type MsaViewModel = Instance<MsaViewStateModel>;
|