react-msaview 5.4.1 → 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/LICENSE +21 -0
- package/bundle/index.js +487 -149
- package/bundle/index.js.map +7 -1
- package/dist/colorSchemes.js +11 -7
- package/dist/colorSchemes.js.map +1 -1
- package/dist/components/ConservationTrack.js +20 -26
- package/dist/components/ConservationTrack.js.map +1 -1
- package/dist/components/MSAViewer.d.ts +13 -1
- package/dist/components/MSAViewer.js +13 -7
- 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 +9 -6
- package/dist/components/Track.js.map +1 -1
- package/dist/components/dialogs/FeatureDialog.js +27 -23
- package/dist/components/dialogs/FeatureDialog.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/MultiAlignmentSelector.js +0 -0
- package/dist/components/header/MultiAlignmentSelector.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.d.ts +6 -0
- package/dist/components/msa/DomainLegend.js +41 -0
- package/dist/components/msa/DomainLegend.js.map +1 -0
- package/dist/components/msa/MSACanvasBlock.js +41 -29
- 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/MSAPanel.js +3 -1
- package/dist/components/msa/MSAPanel.js.map +1 -1
- package/dist/components/msa/renderBoxFeatureCanvasBlock.js +60 -14
- package/dist/components/msa/renderBoxFeatureCanvasBlock.js.map +1 -1
- package/dist/components/msa/renderMSABlock.js +3 -3
- package/dist/components/msa/renderMSABlock.js.map +1 -1
- package/dist/components/msa/renderMSAMouseover.js +33 -6
- 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/renderCtx.d.ts +1 -1
- package/dist/components/tracks/renderTracksSvg.d.ts +6 -3
- package/dist/components/tracks/renderTracksSvg.js +20 -11
- 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 +4 -0
- package/dist/constants.js +17 -0
- package/dist/constants.js.map +1 -1
- package/dist/createPaletteMap.d.ts +5 -2
- package/dist/createPaletteMap.js +15 -5
- package/dist/createPaletteMap.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/launchInterProScan.d.ts +2 -0
- package/dist/launchInterProScan.js.map +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 +641 -133
- package/dist/model.js +191 -77
- 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/renderToSvg.js +104 -74
- package/dist/renderToSvg.js.map +1 -1
- package/dist/types.d.ts +4 -1
- package/dist/{webpack.js → umd.js} +1 -1
- package/dist/umd.js.map +1 -0
- 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 +7 -8
- package/src/colorSchemes.docs.test.ts +55 -0
- package/src/colorSchemes.ts +12 -7
- package/src/columnStats.test.ts +94 -0
- package/src/components/ConservationTrack.tsx +17 -15
- package/src/components/MSAViewer.tsx +42 -18
- package/src/components/SequenceTextArea.tsx +1 -1
- package/src/components/TextTrack.tsx +7 -11
- package/src/components/Track.tsx +9 -6
- package/src/components/dialogs/FeatureDialog.tsx +62 -48
- 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/MultiAlignmentSelector.tsx +0 -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 +78 -0
- package/src/components/msa/MSACanvasBlock.tsx +46 -25
- package/src/components/msa/MSAMouseoverCanvas.tsx +10 -13
- package/src/components/msa/MSAPanel.tsx +2 -0
- package/src/components/msa/renderBoxFeatureCanvasBlock.ts +75 -17
- package/src/components/msa/renderMSABlock.ts +3 -3
- package/src/components/msa/renderMSAMouseover.ts +34 -6
- package/src/components/overlayColors.ts +12 -0
- package/src/components/renderCtx.ts +1 -0
- package/src/components/tracks/renderTracksSvg.ts +25 -11
- 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 +19 -0
- package/src/createPaletteMap.ts +18 -5
- package/src/fetchUtils.ts +6 -3
- package/src/index.ts +1 -1
- package/src/launchInterProScan.ts +3 -1
- package/src/model/msaModel.ts +21 -3
- package/src/model/treeModel.ts +21 -7
- package/src/model.ts +221 -119
- package/src/propertyConservation.test.ts +47 -0
- package/src/propertyConservation.ts +73 -0
- package/src/renderDomainLegendSvg.test.tsx +134 -0
- package/src/renderToSvg.tsx +210 -147
- package/src/segmentOverlay.test.ts +70 -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/bundle/index.js.LICENSE.txt +0 -100
- 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/dist/components/util.d.ts +0 -1
- package/dist/components/util.js +0 -7
- package/dist/components/util.js.map +0 -1
- package/dist/webpack.js.map +0 -1
- package/src/components/dialogs/SettingsDialog.tsx +0 -234
- package/src/components/header/HeaderMenu.tsx +0 -38
- package/src/components/util.ts +0 -9
- /package/dist/{webpack.d.ts → umd.d.ts} +0 -0
- /package/src/{webpack.ts → umd.ts} +0 -0
package/dist/model.d.ts
CHANGED
|
@@ -6,6 +6,14 @@ import type { Instance } from '@jbrowse/mobx-state-tree';
|
|
|
6
6
|
import type { Theme } from '@mui/material';
|
|
7
7
|
/**
|
|
8
8
|
* #stateModel MsaView
|
|
9
|
+
*
|
|
10
|
+
* The main MSAView state model. Holds the loaded alignment, tree, and optional
|
|
11
|
+
* InterProScan domain annotations, plus all display state (color scheme, zoom,
|
|
12
|
+
* scroll, collapsed clades). It composes in members from `DialogQueueSessionMixin`,
|
|
13
|
+
* `Tree`, and `MSAModel` (see Inherited members below). Data is loaded reactively
|
|
14
|
+
* from the `msaFilehandle` / `treeFilehandle` / `gffFilehandle` properties, or set
|
|
15
|
+
* directly with `setData`. Most state is persisted into the shareable URL.
|
|
16
|
+
*
|
|
9
17
|
* #example
|
|
10
18
|
* ```js
|
|
11
19
|
* import { MSAModelF } from 'react-msaview'
|
|
@@ -16,41 +24,109 @@ import type { Theme } from '@mui/material';
|
|
|
16
24
|
* root.view.setData({ msa: '>seq1\nACGT\n>seq2\nACGT' })
|
|
17
25
|
* ```
|
|
18
26
|
*/
|
|
19
|
-
declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelType<Omit<Omit<Omit<{}, "drawLabels" | "labelsAlignRight" | "treeAreaWidth" | "treeWidth" | "showBranchLen" | "drawTree" | "drawNodeBubbles"> & {
|
|
20
|
-
drawLabels: import("@jbrowse/mobx-state-tree").
|
|
21
|
-
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]>;
|
|
22
30
|
treeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
23
31
|
treeWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
24
|
-
showBranchLen: import("@jbrowse/mobx-state-tree").
|
|
25
|
-
drawTree: import("@jbrowse/mobx-state-tree").
|
|
26
|
-
drawNodeBubbles: import("@jbrowse/mobx-state-tree").
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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]>;
|
|
30
40
|
msaFormat: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<import("msa-parsers").MSAFormat>>;
|
|
31
|
-
}, "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
|
+
*/
|
|
32
46
|
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
+
*/
|
|
37
67
|
type: import("@jbrowse/mobx-state-tree").ISimpleType<"MsaView">;
|
|
38
|
-
|
|
39
|
-
|
|
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
|
+
*/
|
|
40
81
|
height: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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<{
|
|
46
118
|
locationType: "UriLocation";
|
|
47
119
|
uri: string;
|
|
120
|
+
baseUri: string | undefined;
|
|
48
121
|
internetAccountId: string | undefined;
|
|
49
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").
|
|
50
|
-
internetAccountType:
|
|
51
|
-
authInfo:
|
|
122
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
123
|
+
internetAccountType: string;
|
|
124
|
+
authInfo: any;
|
|
52
125
|
}> | undefined;
|
|
53
|
-
}
|
|
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<{
|
|
54
130
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
55
131
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
56
132
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -58,11 +134,7 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
58
134
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
59
135
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
60
136
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
61
|
-
}> |
|
|
62
|
-
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
63
|
-
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
64
|
-
}>, any>, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
65
|
-
msaFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<any, {
|
|
137
|
+
}> | {
|
|
66
138
|
locationType: "UriLocation";
|
|
67
139
|
uri: string;
|
|
68
140
|
internetAccountId: string | undefined;
|
|
@@ -70,7 +142,90 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
70
142
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
71
143
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
72
144
|
}> | undefined;
|
|
73
|
-
}
|
|
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<{
|
|
74
229
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
75
230
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
76
231
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -78,11 +233,7 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
78
233
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
79
234
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
80
235
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
81
|
-
}> |
|
|
82
|
-
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
83
|
-
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
84
|
-
}>, any>, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
85
|
-
treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<any, {
|
|
236
|
+
}> | {
|
|
86
237
|
locationType: "UriLocation";
|
|
87
238
|
uri: string;
|
|
88
239
|
internetAccountId: string | undefined;
|
|
@@ -90,7 +241,89 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
90
241
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
91
242
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
92
243
|
}> | undefined;
|
|
93
|
-
}
|
|
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<{
|
|
94
327
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
95
328
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
96
329
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -98,11 +331,7 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
98
331
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
99
332
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
100
333
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
101
|
-
}> |
|
|
102
|
-
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
103
|
-
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
104
|
-
}>, any>, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
105
|
-
gffFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<any, {
|
|
334
|
+
}> | {
|
|
106
335
|
locationType: "UriLocation";
|
|
107
336
|
uri: string;
|
|
108
337
|
internetAccountId: string | undefined;
|
|
@@ -110,7 +339,89 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
110
339
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
111
340
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
112
341
|
}> | undefined;
|
|
113
|
-
}
|
|
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<{
|
|
114
425
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
115
426
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
116
427
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -118,14 +429,94 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
118
429
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
119
430
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
120
431
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
121
|
-
}> |
|
|
122
|
-
locationType:
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
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
|
+
*/
|
|
127
509
|
showOnly: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
128
|
-
|
|
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
|
+
*/
|
|
129
520
|
data: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
130
521
|
tree: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
131
522
|
msa: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
@@ -142,8 +533,22 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
142
533
|
treeMetadata: string | undefined;
|
|
143
534
|
gff: string | undefined;
|
|
144
535
|
}>, [undefined]>;
|
|
145
|
-
|
|
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
|
+
*/
|
|
146
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
|
+
*/
|
|
147
552
|
highlightColumns: import("@jbrowse/mobx-state-tree").IType<number[] | undefined, number[] | undefined, number[] | undefined>;
|
|
148
553
|
}, {
|
|
149
554
|
queueOfDialogs: [import("@jbrowse/core/util").DialogComponentType, any][];
|
|
@@ -158,12 +563,14 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
158
563
|
setTreeWidth(n: number): void;
|
|
159
564
|
setLabelsAlignRight(arg: boolean): void;
|
|
160
565
|
setDrawTree(arg: boolean): void;
|
|
566
|
+
setAutoTreeAreaWidth(arg: boolean): void;
|
|
161
567
|
setShowBranchLen(arg: boolean): void;
|
|
162
568
|
setDrawNodeBubbles(arg: boolean): void;
|
|
163
569
|
setDrawLabels(arg: boolean): void;
|
|
164
570
|
} & {
|
|
165
571
|
setColorSchemeName(name: string): void;
|
|
166
572
|
setBgColor(arg: boolean): void;
|
|
573
|
+
setShowColumnStats(arg: boolean): void;
|
|
167
574
|
setMSAFormat(arg?: import("msa-parsers").MSAFormat): void;
|
|
168
575
|
} & {
|
|
169
576
|
/**
|
|
@@ -263,10 +670,13 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
263
670
|
} & {
|
|
264
671
|
/**
|
|
265
672
|
* #action
|
|
673
|
+
* draw the alignment with positions numbered relative to the given row's
|
|
674
|
+
* sequence (its node id), instead of in raw MSA-column coordinates
|
|
266
675
|
*/
|
|
267
676
|
drawRelativeTo(id: string | undefined): void;
|
|
268
677
|
/**
|
|
269
678
|
* #action
|
|
679
|
+
* hide columns that are entirely (or mostly, see allowedGappyness) gaps
|
|
270
680
|
*/
|
|
271
681
|
setHideGaps(arg: boolean): void;
|
|
272
682
|
/**
|
|
@@ -321,6 +731,7 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
321
731
|
setHighlightedColumns(columns?: number[]): void;
|
|
322
732
|
/**
|
|
323
733
|
* #action
|
|
734
|
+
* toggle the InterProScan protein-domain overlay on the alignment
|
|
324
735
|
*/
|
|
325
736
|
setShowDomains(arg: boolean): void;
|
|
326
737
|
/**
|
|
@@ -354,14 +765,19 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
354
765
|
setCurrentAlignment(n: number): void;
|
|
355
766
|
/**
|
|
356
767
|
* #action
|
|
768
|
+
* collapse or un-collapse the subtree rooted at the given tree node id
|
|
357
769
|
*/
|
|
358
770
|
toggleCollapsed(node: string): void;
|
|
359
771
|
/**
|
|
360
772
|
* #action
|
|
773
|
+
* show only the subtree rooted at the given node id (pass undefined to
|
|
774
|
+
* show the whole tree again)
|
|
361
775
|
*/
|
|
362
776
|
setShowOnly(node?: string): void;
|
|
363
777
|
/**
|
|
364
778
|
* #action
|
|
779
|
+
* set the alignment/tree/metadata/domain data directly from strings,
|
|
780
|
+
* bypassing the filehandle loaders
|
|
365
781
|
*/
|
|
366
782
|
setData(data: {
|
|
367
783
|
msa?: string;
|
|
@@ -576,6 +992,13 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
576
992
|
* Returns values 0-1 where 1 = fully conserved, 0 = no conservation.
|
|
577
993
|
*/
|
|
578
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[];
|
|
579
1002
|
/**
|
|
580
1003
|
* #getter
|
|
581
1004
|
* generates a new tree that is clustered with x,y positions
|
|
@@ -675,6 +1098,7 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
675
1098
|
calculateNeighborJoiningTreeFromMSA(): void;
|
|
676
1099
|
/**
|
|
677
1100
|
* #action
|
|
1101
|
+
* restore the default column width and row height
|
|
678
1102
|
*/
|
|
679
1103
|
resetZoom(): void;
|
|
680
1104
|
/**
|
|
@@ -853,32 +1277,40 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
853
1277
|
name: string;
|
|
854
1278
|
accession: string;
|
|
855
1279
|
description: string;
|
|
1280
|
+
featureType: string | undefined;
|
|
856
1281
|
start: number;
|
|
857
1282
|
end: number;
|
|
1283
|
+
strand: number | undefined;
|
|
858
1284
|
}>;
|
|
859
1285
|
readonly tidyInterProAnnotations: {
|
|
860
1286
|
id: string;
|
|
861
1287
|
name: string;
|
|
862
1288
|
accession: string;
|
|
863
1289
|
description: string;
|
|
1290
|
+
featureType: string | undefined;
|
|
864
1291
|
start: number;
|
|
865
1292
|
end: number;
|
|
1293
|
+
strand: number | undefined;
|
|
866
1294
|
}[];
|
|
867
1295
|
readonly tidyFilteredInterProAnnotations: {
|
|
868
1296
|
id: string;
|
|
869
1297
|
name: string;
|
|
870
1298
|
accession: string;
|
|
871
1299
|
description: string;
|
|
1300
|
+
featureType: string | undefined;
|
|
872
1301
|
start: number;
|
|
873
1302
|
end: number;
|
|
1303
|
+
strand: number | undefined;
|
|
874
1304
|
}[];
|
|
875
1305
|
readonly tidyFilteredGatheredInterProAnnotations: Record<string, {
|
|
876
1306
|
id: string;
|
|
877
1307
|
name: string;
|
|
878
1308
|
accession: string;
|
|
879
1309
|
description: string;
|
|
1310
|
+
featureType: string | undefined;
|
|
880
1311
|
start: number;
|
|
881
1312
|
end: number;
|
|
1313
|
+
strand: number | undefined;
|
|
882
1314
|
}[]>;
|
|
883
1315
|
} & {
|
|
884
1316
|
/**
|
|
@@ -890,12 +1322,99 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
890
1322
|
* #getter
|
|
891
1323
|
*/
|
|
892
1324
|
readonly verticalScrollbarWidth: 0 | 20;
|
|
1325
|
+
/**
|
|
1326
|
+
* #getter
|
|
1327
|
+
* ordinal segment types (exons etc.), ordered by sequence position so
|
|
1328
|
+
* exon-1..exon-14 read left-to-right; colored by alternating shade and
|
|
1329
|
+
* labeled by number rather than each getting a distinct hue + legend row
|
|
1330
|
+
*/
|
|
1331
|
+
readonly segmentDomainTypes: {
|
|
1332
|
+
id: string;
|
|
1333
|
+
name: string;
|
|
1334
|
+
accession: string;
|
|
1335
|
+
description: string;
|
|
1336
|
+
featureType: string | undefined;
|
|
1337
|
+
start: number;
|
|
1338
|
+
end: number;
|
|
1339
|
+
strand: number | undefined;
|
|
1340
|
+
}[];
|
|
1341
|
+
/**
|
|
1342
|
+
* #getter
|
|
1343
|
+
* categorical feature types (InterPro domains and the like) that each get
|
|
1344
|
+
* their own color and a legend entry
|
|
1345
|
+
*/
|
|
1346
|
+
readonly categoricalDomainTypes: {
|
|
1347
|
+
id: string;
|
|
1348
|
+
name: string;
|
|
1349
|
+
accession: string;
|
|
1350
|
+
description: string;
|
|
1351
|
+
featureType: string | undefined;
|
|
1352
|
+
start: number;
|
|
1353
|
+
end: number;
|
|
1354
|
+
strand: number | undefined;
|
|
1355
|
+
}[];
|
|
893
1356
|
readonly fillPalette: {
|
|
894
|
-
[
|
|
1357
|
+
[x: string]: string;
|
|
895
1358
|
};
|
|
896
1359
|
readonly strokePalette: {
|
|
897
1360
|
[k: string]: string;
|
|
898
1361
|
};
|
|
1362
|
+
/**
|
|
1363
|
+
* #getter
|
|
1364
|
+
* accession -> number drawn on each segment band: the trailing number of
|
|
1365
|
+
* the feature name ("exon-3" -> "3"), else its 1-based position
|
|
1366
|
+
*/
|
|
1367
|
+
readonly segmentLabels: Map<string, string>;
|
|
1368
|
+
/**
|
|
1369
|
+
* #getter
|
|
1370
|
+
* the domain types currently drawn on the alignment (filtered-on), shared
|
|
1371
|
+
* by the on-screen legend and the SVG export legend. Ordinal segments
|
|
1372
|
+
* (exons) are excluded — they read as a numbered gene model, not a color
|
|
1373
|
+
* key — so this is the categorical types ordered by sequence position
|
|
1374
|
+
*/
|
|
1375
|
+
readonly visibleDomainTypes: {
|
|
1376
|
+
id: string;
|
|
1377
|
+
name: string;
|
|
1378
|
+
accession: string;
|
|
1379
|
+
description: string;
|
|
1380
|
+
featureType: string | undefined;
|
|
1381
|
+
start: number;
|
|
1382
|
+
end: number;
|
|
1383
|
+
strand: number | undefined;
|
|
1384
|
+
}[];
|
|
1385
|
+
/**
|
|
1386
|
+
* #getter
|
|
1387
|
+
* domain annotations under the mouse, hit-tested against the exact visible
|
|
1388
|
+
* column span each box is drawn at (so it matches the overlay across gaps)
|
|
1389
|
+
*/
|
|
1390
|
+
readonly mouseOverDomains: {
|
|
1391
|
+
id: string;
|
|
1392
|
+
name: string;
|
|
1393
|
+
accession: string;
|
|
1394
|
+
description: string;
|
|
1395
|
+
featureType: string | undefined;
|
|
1396
|
+
start: number;
|
|
1397
|
+
end: number;
|
|
1398
|
+
strand: number | undefined;
|
|
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;
|
|
899
1418
|
/**
|
|
900
1419
|
* #method
|
|
901
1420
|
*/
|
|
@@ -944,41 +1463,41 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
944
1463
|
*/
|
|
945
1464
|
fitHorizontally(): void;
|
|
946
1465
|
afterCreate(): void;
|
|
947
|
-
}, import("@jbrowse/mobx-state-tree")._NotCustomized,
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
} | 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<{
|
|
982
1501
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
983
1502
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
984
1503
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -986,11 +1505,7 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
986
1505
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
987
1506
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
988
1507
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
989
|
-
}> |
|
|
990
|
-
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
991
|
-
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
992
|
-
}>, any>, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
993
|
-
msaFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<any, {
|
|
1508
|
+
}> | {
|
|
994
1509
|
locationType: "UriLocation";
|
|
995
1510
|
uri: string;
|
|
996
1511
|
internetAccountId: string | undefined;
|
|
@@ -998,7 +1513,11 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
998
1513
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
999
1514
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1000
1515
|
}> | undefined;
|
|
1001
|
-
} |
|
|
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<{
|
|
1002
1521
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
1003
1522
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1004
1523
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -1006,11 +1525,7 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
1006
1525
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
1007
1526
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1008
1527
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1009
|
-
}> |
|
|
1010
|
-
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
1011
|
-
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1012
|
-
}>, any>, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1013
|
-
treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<any, {
|
|
1528
|
+
}> | {
|
|
1014
1529
|
locationType: "UriLocation";
|
|
1015
1530
|
uri: string;
|
|
1016
1531
|
internetAccountId: string | undefined;
|
|
@@ -1018,7 +1533,11 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
1018
1533
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1019
1534
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1020
1535
|
}> | undefined;
|
|
1021
|
-
} |
|
|
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<{
|
|
1022
1541
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
1023
1542
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1024
1543
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -1026,11 +1545,7 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
1026
1545
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
1027
1546
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1028
1547
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1029
|
-
}> |
|
|
1030
|
-
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
1031
|
-
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1032
|
-
}>, any>, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1033
|
-
gffFilehandle: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISnapshotProcessor<import("@jbrowse/mobx-state-tree").ITypeUnion<any, {
|
|
1548
|
+
}> | {
|
|
1034
1549
|
locationType: "UriLocation";
|
|
1035
1550
|
uri: string;
|
|
1036
1551
|
internetAccountId: string | undefined;
|
|
@@ -1038,7 +1553,11 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
1038
1553
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1039
1554
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1040
1555
|
}> | undefined;
|
|
1041
|
-
} |
|
|
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<{
|
|
1042
1561
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
1043
1562
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1044
1563
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
@@ -1046,34 +1565,23 @@ declare function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelT
|
|
|
1046
1565
|
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
1047
1566
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1048
1567
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1049
|
-
}> |
|
|
1050
|
-
locationType:
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
setGFF(gff?: string): void;
|
|
1067
|
-
}, import("@jbrowse/mobx-state-tree")._NotCustomized, {
|
|
1068
|
-
tree: string | undefined;
|
|
1069
|
-
msa: string | undefined;
|
|
1070
|
-
treeMetadata: string | undefined;
|
|
1071
|
-
gff: string | undefined;
|
|
1072
|
-
}>, [undefined]>;
|
|
1073
|
-
featureFilters: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
1074
|
-
relativeTo: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1075
|
-
highlightColumns: import("@jbrowse/mobx-state-tree").IType<number[] | undefined, number[] | undefined, number[] | undefined>;
|
|
1076
|
-
}>, 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
|
+
}>;
|
|
1077
1585
|
export default stateModelFactory;
|
|
1078
1586
|
export type MsaViewStateModel = ReturnType<typeof stateModelFactory>;
|
|
1079
1587
|
export type MsaViewModel = Instance<MsaViewStateModel>;
|