@jbrowse/product-core 4.3.0 → 5.0.0-beta.10
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/esm/RootModel/BaseRootModel.d.ts +514 -323
- package/esm/RootModel/BaseRootModel.js +141 -14
- package/esm/RootModel/HierarchicalConfig.d.ts +30 -20
- package/esm/RootModel/HierarchicalConfig.js +36 -0
- package/esm/RootModel/InternetAccounts.d.ts +18 -1
- package/esm/RootModel/InternetAccounts.js +120 -22
- package/esm/RootModel/PreferencesConfig.d.ts +37 -0
- package/esm/RootModel/PreferencesConfig.js +75 -0
- package/esm/RootModel/createConfigModel.d.ts +257 -0
- package/esm/RootModel/createConfigModel.js +77 -0
- package/esm/RootModel/index.d.ts +10 -5
- package/esm/RootModel/index.js +10 -5
- package/esm/RootModel/menuItems.d.ts +24 -0
- package/esm/RootModel/menuItems.js +141 -0
- package/esm/Session/BaseSession.d.ts +285 -11
- package/esm/Session/BaseSession.js +383 -15
- package/esm/Session/Connections.d.ts +115 -8
- package/esm/Session/Connections.js +196 -74
- package/esm/Session/DrawerWidgets.d.ts +145 -13
- package/esm/Session/DrawerWidgets.js +219 -49
- package/esm/Session/MultipleViews.d.ts +1067 -1177
- package/esm/Session/MultipleViews.js +395 -64
- package/esm/Session/Preferences.d.ts +1389 -0
- package/esm/Session/Preferences.js +58 -0
- package/esm/Session/ReferenceManagement.d.ts +28 -3
- package/esm/Session/ReferenceManagement.js +56 -41
- package/esm/Session/SessionTracks.d.ts +1101 -1180
- package/esm/Session/SessionTracks.js +584 -34
- package/esm/Session/Themes.d.ts +136 -2
- package/esm/Session/Themes.js +267 -21
- package/esm/Session/TrackMenu.d.ts +88 -0
- package/esm/Session/TrackMenu.js +175 -0
- package/esm/Session/TrackMenuSessionMixin.d.ts +27 -0
- package/esm/Session/TrackMenuSessionMixin.js +42 -0
- package/esm/Session/Tracks.d.ts +945 -1159
- package/esm/Session/Tracks.js +229 -30
- package/esm/Session/assertSessionModel.d.ts +21 -0
- package/esm/Session/assertSessionModel.js +1 -0
- package/esm/Session/copyTrackSnapshot.d.ts +21 -0
- package/esm/Session/copyTrackSnapshot.js +20 -0
- package/esm/Session/developerMode.d.ts +7 -0
- package/esm/Session/developerMode.js +43 -0
- package/esm/Session/finalizeSession.d.ts +15 -0
- package/esm/Session/finalizeSession.js +28 -0
- package/esm/Session/hydratedForms.d.ts +16 -0
- package/esm/Session/hydratedForms.js +13 -0
- package/esm/Session/index.d.ts +27 -10
- package/esm/Session/index.js +16 -10
- package/esm/Session/pluginExtraTrackItems.d.ts +11 -0
- package/esm/Session/pluginExtraTrackItems.js +13 -0
- package/esm/Session/readdedTrackConf.d.ts +8 -0
- package/esm/Session/readdedTrackConf.js +24 -0
- package/esm/Session/shareableSnapshot.d.ts +23 -0
- package/esm/Session/shareableSnapshot.js +66 -0
- package/esm/Session/temporaryAssemblyTracks.d.ts +24 -0
- package/esm/Session/temporaryAssemblyTracks.js +37 -0
- package/esm/assertExtends.d.ts +55 -0
- package/esm/assertExtends.js +1 -0
- package/esm/controllerTracks.d.ts +76 -0
- package/esm/controllerTracks.js +125 -0
- package/esm/destroyViewState.d.ts +21 -0
- package/esm/destroyViewState.js +29 -0
- package/esm/embeddedController.d.ts +57 -0
- package/esm/embeddedController.js +100 -0
- package/esm/index.d.ts +32 -4
- package/esm/index.js +31 -4
- package/esm/loadPlugins.d.ts +38 -0
- package/esm/loadPlugins.js +45 -0
- package/esm/localFiles.d.ts +74 -0
- package/esm/localFiles.js +156 -0
- package/esm/observeSession.d.ts +55 -0
- package/esm/observeSession.js +90 -0
- package/esm/parallelChunkLoading.d.ts +30 -0
- package/esm/parallelChunkLoading.js +71 -0
- package/esm/pluginInput.d.ts +32 -0
- package/esm/pluginInput.js +19 -0
- package/esm/pruneUnbuildableNodes.d.ts +109 -0
- package/esm/pruneUnbuildableNodes.js +562 -0
- package/esm/resolveAssemblies.d.ts +68 -0
- package/esm/resolveAssemblies.js +77 -0
- package/esm/rpcWorker.d.ts +36 -4
- package/esm/rpcWorker.js +126 -20
- package/esm/sessionMigrations/index.d.ts +15 -0
- package/esm/sessionMigrations/index.js +178 -0
- package/esm/sessionUrl.d.ts +40 -0
- package/esm/sessionUrl.js +66 -0
- package/esm/sessionUtils.d.ts +74 -0
- package/esm/sessionUtils.js +599 -0
- package/esm/siblingCast.d.ts +14 -0
- package/esm/siblingCast.js +16 -0
- package/esm/snapshotUtils.d.ts +8 -0
- package/esm/snapshotUtils.js +12 -0
- package/esm/ui/AboutDialog.d.ts +8 -3
- package/esm/ui/AboutDialog.js +14 -5
- package/esm/ui/AboutDialogContents.d.ts +2 -6
- package/esm/ui/AboutDialogContents.js +13 -17
- package/esm/ui/AssemblyInfoPanel.d.ts +5 -0
- package/esm/ui/AssemblyInfoPanel.js +63 -0
- package/esm/ui/DescriptionPanel.d.ts +3 -0
- package/esm/ui/DescriptionPanel.js +25 -0
- package/esm/ui/Drawer.d.ts +21 -0
- package/esm/ui/Drawer.js +60 -0
- package/esm/ui/DrawerControls.d.ts +5 -0
- package/esm/ui/DrawerControls.js +28 -0
- package/esm/ui/DrawerHeader.d.ts +6 -0
- package/esm/ui/DrawerHeader.js +36 -0
- package/esm/ui/DrawerWidget.d.ts +5 -0
- package/esm/ui/DrawerWidget.js +12 -0
- package/esm/ui/DrawerWidgetSelector.d.ts +5 -0
- package/esm/ui/DrawerWidgetSelector.js +40 -0
- package/esm/ui/FileInfoPanel.d.ts +3 -6
- package/esm/ui/FileInfoPanel.js +36 -26
- package/esm/ui/GeneralPreferencesTab.d.ts +17 -0
- package/esm/ui/GeneralPreferencesTab.js +34 -0
- package/esm/ui/HeaderButtons.d.ts +2 -1
- package/esm/ui/HeaderButtons.js +15 -17
- package/esm/ui/ModalWidget.d.ts +13 -0
- package/esm/ui/ModalWidget.js +48 -0
- package/esm/ui/ModalWidgetAppBar.d.ts +8 -0
- package/esm/ui/ModalWidgetAppBar.js +9 -0
- package/esm/ui/PreferenceCheckbox.d.ts +6 -0
- package/esm/ui/PreferenceCheckbox.js +16 -0
- package/esm/ui/PreferencesDialog.d.ts +34 -0
- package/esm/ui/PreferencesDialog.js +55 -0
- package/esm/ui/PreferencesResetDialog.d.ts +8 -0
- package/esm/ui/PreferencesResetDialog.js +19 -0
- package/esm/ui/RefNameAliasesDialog.d.ts +9 -0
- package/esm/ui/RefNameAliasesDialog.js +65 -0
- package/esm/ui/RefNameInfoDialog.d.ts +3 -6
- package/esm/ui/RefNameInfoDialog.js +45 -63
- package/esm/ui/ViewPreferencesTab.d.ts +12 -0
- package/esm/ui/ViewPreferencesTab.js +15 -0
- package/esm/ui/WidgetBody.d.ts +18 -0
- package/esm/ui/WidgetBody.js +22 -0
- package/esm/ui/WidgetHeading.d.ts +7 -0
- package/esm/ui/WidgetHeading.js +7 -0
- package/esm/ui/aboutTestUtils.d.ts +140 -0
- package/esm/ui/aboutTestUtils.js +25 -0
- package/esm/ui/descriptionHtml.d.ts +25 -0
- package/esm/ui/descriptionHtml.js +64 -0
- package/esm/ui/drawerLayout.d.ts +18 -0
- package/esm/ui/drawerLayout.js +22 -0
- package/esm/ui/index.d.ts +15 -1
- package/esm/ui/index.js +13 -1
- package/esm/ui/preferencesReset.d.ts +18 -0
- package/esm/ui/preferencesReset.js +69 -0
- package/esm/ui/util.d.ts +22 -7
- package/esm/ui/util.js +19 -41
- package/esm/useEngineLifecycle.d.ts +19 -0
- package/esm/useEngineLifecycle.js +44 -0
- package/package.json +15 -18
- package/esm/RootModel/FormatAbout.d.ts +0 -12
- package/esm/RootModel/FormatAbout.js +0 -15
- package/esm/RootModel/FormatDetails.d.ts +0 -24
- package/esm/RootModel/FormatDetails.js +0 -27
- package/esm/Session/DialogQueue.d.ts +0 -17
- package/esm/Session/DialogQueue.js +0 -31
|
@@ -1,1664 +1,1337 @@
|
|
|
1
1
|
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
+
import type { ViewSnapshotInput } from '@jbrowse/core/PluginManager';
|
|
2
3
|
import type { IBaseViewModel } from '@jbrowse/core/pluggableElementTypes';
|
|
3
4
|
import type { IAnyStateTreeNode, Instance } from '@jbrowse/mobx-state-tree';
|
|
4
|
-
|
|
5
|
+
/**
|
|
6
|
+
* #stateModel MultipleViewsSessionMixin
|
|
7
|
+
*/
|
|
8
|
+
export declare function MultipleViewsSessionMixin(pluginManager: PluginManager): import("@jbrowse/mobx-state-tree").IModelType<Omit<Omit<Omit<{
|
|
5
9
|
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
6
10
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
11
|
+
focusedViewId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
12
|
+
highlights: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("@jbrowse/core/util/highlights").HighlightType, import("@jbrowse/core/util/highlights").HighlightType, import("@jbrowse/core/util/highlights").HighlightType>>, [undefined]>;
|
|
13
|
+
highlightsVisible: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
14
|
+
highlightLabelsVisible: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
15
|
+
heldForMissingPlugins: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IType<import("../pruneUnbuildableNodes.ts").HeldNode[] | undefined, import("../pruneUnbuildableNodes.ts").HeldNode[] | undefined, import("../pruneUnbuildableNodes.ts").HeldNode[] | undefined>, [undefined]>;
|
|
16
|
+
}, never>, "activeWidgets" | "drawerPosition" | "drawerWidth" | "minimized" | "widgets"> & {
|
|
17
|
+
drawerPosition: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<import("@jbrowse/core/util").DrawerPosition>, [undefined]>;
|
|
10
18
|
drawerWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
11
|
-
widgets: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IAnyType>;
|
|
12
|
-
activeWidgets: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType
|
|
19
|
+
widgets: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IAnyType>, [undefined]>;
|
|
20
|
+
activeWidgets: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>>, [undefined]>;
|
|
13
21
|
minimized: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
14
|
-
} & {
|
|
22
|
+
}, "stickyViewHeaders" | "useWorkspaces" | "views"> & {
|
|
23
|
+
/**
|
|
24
|
+
* #property
|
|
25
|
+
*/
|
|
15
26
|
views: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyType>;
|
|
27
|
+
/**
|
|
28
|
+
* #property
|
|
29
|
+
*/
|
|
16
30
|
stickyViewHeaders: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
17
|
-
|
|
31
|
+
/**
|
|
32
|
+
* #property
|
|
33
|
+
* enables the tabbed/tiled workspace layout for this session. Undefined
|
|
34
|
+
* means unspecified — read `effectiveUseWorkspaces`.
|
|
35
|
+
*/
|
|
36
|
+
useWorkspaces: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>, [undefined]>;
|
|
18
37
|
}, {
|
|
19
38
|
selection: unknown;
|
|
20
39
|
hovered: unknown;
|
|
40
|
+
queueOfDialogs: [import("@jbrowse/core/util").DialogComponentType, Record<string, unknown>][];
|
|
41
|
+
preferencesOverrides: import("mobx").ObservableMap<string, unknown>;
|
|
21
42
|
} & {
|
|
22
|
-
readonly root: {
|
|
23
|
-
jbrowse:
|
|
24
|
-
session:
|
|
25
|
-
sessionPath: string
|
|
26
|
-
assemblyManager: {
|
|
27
|
-
assemblies: import("@jbrowse/mobx-state-tree").
|
|
43
|
+
readonly root: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
44
|
+
jbrowse: import("@jbrowse/mobx-state-tree").IAnyType;
|
|
45
|
+
session: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IAnyType>;
|
|
46
|
+
sessionPath: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
47
|
+
assemblyManager: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
48
|
+
assemblies: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
28
49
|
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
29
50
|
}, {
|
|
30
51
|
error: unknown;
|
|
31
52
|
loadingP: Promise<void> | undefined;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} | undefined;
|
|
53
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
54
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
55
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
36
56
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
37
57
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
58
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
59
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
60
|
+
statusMessage: string | undefined;
|
|
61
|
+
statusProgress: number | undefined;
|
|
62
|
+
statusSource: string | undefined;
|
|
63
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
38
64
|
} & {
|
|
39
65
|
getConf(arg: string): any;
|
|
40
|
-
readonly lowerCaseRefNameAliases: {
|
|
41
|
-
[k: string]: string;
|
|
42
|
-
} | undefined;
|
|
43
66
|
} & {
|
|
44
|
-
readonly initialized: boolean;
|
|
45
67
|
readonly name: string;
|
|
46
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
47
68
|
readonly aliases: string[];
|
|
48
69
|
readonly displayName: string;
|
|
49
|
-
hasName(name: string): boolean;
|
|
50
|
-
readonly allAliases: string[];
|
|
51
|
-
readonly allRefNames: string[] | undefined;
|
|
52
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
53
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
54
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
55
70
|
readonly refNameColors: string[];
|
|
56
71
|
} & {
|
|
57
|
-
readonly
|
|
72
|
+
readonly allAliases: string[];
|
|
73
|
+
hasName(name: string): boolean;
|
|
58
74
|
} & {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
getRefNameColor(refName: string): string | undefined;
|
|
62
|
-
isValidRefName(refName: string): boolean;
|
|
63
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
75
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
76
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
64
77
|
} & {
|
|
65
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
78
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
66
79
|
regions: import("@jbrowse/core/util").Region[];
|
|
67
|
-
refNameAliases: {
|
|
68
|
-
[x: string]: string;
|
|
69
|
-
};
|
|
70
80
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
81
|
+
geneticCodes: Record<string, number>;
|
|
71
82
|
}): void;
|
|
72
83
|
setError(e: unknown): void;
|
|
73
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
74
|
-
setRefNameAliases(aliases: {
|
|
75
|
-
[x: string]: string;
|
|
76
|
-
}): void;
|
|
77
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
78
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
79
84
|
setLoadingP(p?: Promise<void>): void;
|
|
80
|
-
load(): Promise<void>;
|
|
81
85
|
loadPre(): Promise<void>;
|
|
82
86
|
} & {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
87
|
+
load(): Promise<void>;
|
|
88
|
+
} & {
|
|
89
|
+
afterAttach(): void;
|
|
90
|
+
} & {
|
|
91
|
+
readonly initialized: boolean;
|
|
92
|
+
readonly allRefNames: string[] | undefined;
|
|
93
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
94
|
+
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
95
|
+
} & {
|
|
96
|
+
readonly refNames: string[] | undefined;
|
|
97
|
+
} & {
|
|
98
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
99
|
+
} & {
|
|
100
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
101
|
+
getRefNameColor(refName: string): string | undefined;
|
|
102
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
103
|
+
getGeneticCodeId(refName: string): number;
|
|
104
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
105
|
+
} & {
|
|
106
|
+
getCanonicalRefName2(refName: string): string;
|
|
107
|
+
isValidRefName(refName: string): boolean;
|
|
108
|
+
} & {
|
|
109
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
110
|
+
getAliasesForRefName(refName: string): string[];
|
|
86
111
|
getRefNameMapForAdapter(adapterConf: {
|
|
87
112
|
[x: string]: unknown;
|
|
88
|
-
},
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
113
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
114
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
115
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
116
|
+
}, {
|
|
117
|
+
unrecognizedReports: {
|
|
118
|
+
report(session: unknown, name: string, handlerCount: number, fire: () => unknown): void;
|
|
119
|
+
reportFor(session: unknown, name: string): {
|
|
120
|
+
handled: boolean;
|
|
121
|
+
claim?: Promise<void>;
|
|
122
|
+
} | undefined;
|
|
123
|
+
};
|
|
124
|
+
} & {
|
|
125
|
+
readonly assemblyNameMap: Record<string, import("@jbrowse/core/assemblyManager/assembly").Assembly>;
|
|
126
|
+
} & {
|
|
127
|
+
getCanonicalAssemblyName(asmName: string): string | undefined;
|
|
128
|
+
getDisplayName(asmName: string): string;
|
|
129
|
+
get(asmName: string): (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
98
130
|
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
99
|
-
}
|
|
131
|
+
}> & {
|
|
100
132
|
error: unknown;
|
|
101
133
|
loadingP: Promise<void> | undefined;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} | undefined;
|
|
134
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
135
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
136
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
106
137
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
107
138
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
139
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
140
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
141
|
+
statusMessage: string | undefined;
|
|
142
|
+
statusProgress: number | undefined;
|
|
143
|
+
statusSource: string | undefined;
|
|
144
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
108
145
|
} & {
|
|
109
146
|
getConf(arg: string): any;
|
|
110
|
-
readonly lowerCaseRefNameAliases: {
|
|
111
|
-
[k: string]: string;
|
|
112
|
-
} | undefined;
|
|
113
147
|
} & {
|
|
114
|
-
readonly initialized: boolean;
|
|
115
148
|
readonly name: string;
|
|
116
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
117
149
|
readonly aliases: string[];
|
|
118
150
|
readonly displayName: string;
|
|
119
|
-
hasName(name: string): boolean;
|
|
120
|
-
readonly allAliases: string[];
|
|
121
|
-
readonly allRefNames: string[] | undefined;
|
|
122
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
123
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
124
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
125
151
|
readonly refNameColors: string[];
|
|
126
152
|
} & {
|
|
127
|
-
readonly
|
|
153
|
+
readonly allAliases: string[];
|
|
154
|
+
hasName(name: string): boolean;
|
|
128
155
|
} & {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
getRefNameColor(refName: string): string | undefined;
|
|
132
|
-
isValidRefName(refName: string): boolean;
|
|
133
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
156
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
157
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
134
158
|
} & {
|
|
135
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
159
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
136
160
|
regions: import("@jbrowse/core/util").Region[];
|
|
137
|
-
refNameAliases: {
|
|
138
|
-
[x: string]: string;
|
|
139
|
-
};
|
|
140
161
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
162
|
+
geneticCodes: Record<string, number>;
|
|
141
163
|
}): void;
|
|
142
164
|
setError(e: unknown): void;
|
|
143
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
144
|
-
setRefNameAliases(aliases: {
|
|
145
|
-
[x: string]: string;
|
|
146
|
-
}): void;
|
|
147
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
148
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
149
165
|
setLoadingP(p?: Promise<void>): void;
|
|
150
|
-
load(): Promise<void>;
|
|
151
166
|
loadPre(): Promise<void>;
|
|
152
167
|
} & {
|
|
153
|
-
|
|
154
|
-
[x: string]: unknown;
|
|
155
|
-
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
|
|
156
|
-
getRefNameMapForAdapter(adapterConf: {
|
|
157
|
-
[x: string]: unknown;
|
|
158
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
159
|
-
[x: string]: string;
|
|
160
|
-
}>;
|
|
161
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
162
|
-
[x: string]: unknown;
|
|
163
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
164
|
-
[x: string]: string;
|
|
165
|
-
}>;
|
|
166
|
-
afterCreate(): void;
|
|
167
|
-
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>>;
|
|
168
|
-
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
169
|
-
readonly assemblyNameMap: Record<string, {
|
|
170
|
-
configuration: any;
|
|
171
|
-
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
172
|
-
error: unknown;
|
|
173
|
-
loadingP: Promise<void> | undefined;
|
|
174
|
-
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
175
|
-
refNameAliases: {
|
|
176
|
-
[x: string]: string;
|
|
177
|
-
} | undefined;
|
|
178
|
-
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
179
|
-
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
168
|
+
load(): Promise<void>;
|
|
180
169
|
} & {
|
|
181
|
-
|
|
182
|
-
readonly lowerCaseRefNameAliases: {
|
|
183
|
-
[k: string]: string;
|
|
184
|
-
} | undefined;
|
|
170
|
+
afterAttach(): void;
|
|
185
171
|
} & {
|
|
186
172
|
readonly initialized: boolean;
|
|
187
|
-
readonly name: string;
|
|
188
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
189
|
-
readonly aliases: string[];
|
|
190
|
-
readonly displayName: string;
|
|
191
|
-
hasName(name: string): boolean;
|
|
192
|
-
readonly allAliases: string[];
|
|
193
173
|
readonly allRefNames: string[] | undefined;
|
|
194
|
-
readonly
|
|
195
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
174
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
196
175
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
197
|
-
readonly refNameColors: string[];
|
|
198
176
|
} & {
|
|
199
177
|
readonly refNames: string[] | undefined;
|
|
178
|
+
} & {
|
|
179
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
200
180
|
} & {
|
|
201
181
|
getCanonicalRefName(refName: string): string | undefined;
|
|
202
|
-
getCanonicalRefName2(refName: string): string;
|
|
203
182
|
getRefNameColor(refName: string): string | undefined;
|
|
204
|
-
|
|
183
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
184
|
+
getGeneticCodeId(refName: string): number;
|
|
205
185
|
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
206
186
|
} & {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
refNameAliases: {
|
|
210
|
-
[x: string]: string;
|
|
211
|
-
};
|
|
212
|
-
cytobands: import("@jbrowse/core/util").Feature[];
|
|
213
|
-
}): void;
|
|
214
|
-
setError(e: unknown): void;
|
|
215
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
216
|
-
setRefNameAliases(aliases: {
|
|
217
|
-
[x: string]: string;
|
|
218
|
-
}): void;
|
|
219
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
220
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
221
|
-
setLoadingP(p?: Promise<void>): void;
|
|
222
|
-
load(): Promise<void>;
|
|
223
|
-
loadPre(): Promise<void>;
|
|
187
|
+
getCanonicalRefName2(refName: string): string;
|
|
188
|
+
isValidRefName(refName: string): boolean;
|
|
224
189
|
} & {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
|
|
190
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
191
|
+
getAliasesForRefName(refName: string): string[];
|
|
228
192
|
getRefNameMapForAdapter(adapterConf: {
|
|
229
193
|
[x: string]: unknown;
|
|
230
|
-
},
|
|
231
|
-
|
|
232
|
-
}>;
|
|
233
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
234
|
-
[x: string]: unknown;
|
|
235
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
236
|
-
[x: string]: string;
|
|
237
|
-
}>;
|
|
238
|
-
afterCreate(): void;
|
|
194
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
195
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
239
196
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
240
197
|
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
241
198
|
}, {
|
|
242
199
|
error: unknown;
|
|
243
200
|
loadingP: Promise<void> | undefined;
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
} | undefined;
|
|
201
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
202
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
203
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
248
204
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
249
205
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
206
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
207
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
208
|
+
statusMessage: string | undefined;
|
|
209
|
+
statusProgress: number | undefined;
|
|
210
|
+
statusSource: string | undefined;
|
|
211
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
250
212
|
} & {
|
|
251
213
|
getConf(arg: string): any;
|
|
252
|
-
readonly lowerCaseRefNameAliases: {
|
|
253
|
-
[k: string]: string;
|
|
254
|
-
} | undefined;
|
|
255
214
|
} & {
|
|
256
|
-
readonly initialized: boolean;
|
|
257
215
|
readonly name: string;
|
|
258
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
259
216
|
readonly aliases: string[];
|
|
260
217
|
readonly displayName: string;
|
|
261
|
-
hasName(name: string): boolean;
|
|
262
|
-
readonly allAliases: string[];
|
|
263
|
-
readonly allRefNames: string[] | undefined;
|
|
264
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
265
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
266
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
267
218
|
readonly refNameColors: string[];
|
|
268
219
|
} & {
|
|
269
|
-
readonly
|
|
220
|
+
readonly allAliases: string[];
|
|
221
|
+
hasName(name: string): boolean;
|
|
270
222
|
} & {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
getRefNameColor(refName: string): string | undefined;
|
|
274
|
-
isValidRefName(refName: string): boolean;
|
|
275
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
223
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
224
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
276
225
|
} & {
|
|
277
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
226
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
278
227
|
regions: import("@jbrowse/core/util").Region[];
|
|
279
|
-
refNameAliases: {
|
|
280
|
-
[x: string]: string;
|
|
281
|
-
};
|
|
282
228
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
229
|
+
geneticCodes: Record<string, number>;
|
|
283
230
|
}): void;
|
|
284
231
|
setError(e: unknown): void;
|
|
285
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
286
|
-
setRefNameAliases(aliases: {
|
|
287
|
-
[x: string]: string;
|
|
288
|
-
}): void;
|
|
289
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
290
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
291
232
|
setLoadingP(p?: Promise<void>): void;
|
|
292
|
-
load(): Promise<void>;
|
|
293
233
|
loadPre(): Promise<void>;
|
|
294
234
|
} & {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
235
|
+
load(): Promise<void>;
|
|
236
|
+
} & {
|
|
237
|
+
afterAttach(): void;
|
|
238
|
+
} & {
|
|
239
|
+
readonly initialized: boolean;
|
|
240
|
+
readonly allRefNames: string[] | undefined;
|
|
241
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
242
|
+
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
243
|
+
} & {
|
|
244
|
+
readonly refNames: string[] | undefined;
|
|
245
|
+
} & {
|
|
246
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
247
|
+
} & {
|
|
248
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
249
|
+
getRefNameColor(refName: string): string | undefined;
|
|
250
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
251
|
+
getGeneticCodeId(refName: string): number;
|
|
252
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
253
|
+
} & {
|
|
254
|
+
getCanonicalRefName2(refName: string): string;
|
|
255
|
+
isValidRefName(refName: string): boolean;
|
|
256
|
+
} & {
|
|
257
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
258
|
+
getAliasesForRefName(refName: string): string[];
|
|
298
259
|
getRefNameMapForAdapter(adapterConf: {
|
|
299
260
|
[x: string]: unknown;
|
|
300
|
-
},
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
}>;
|
|
308
|
-
afterCreate(): void;
|
|
309
|
-
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>>;
|
|
310
|
-
} & {
|
|
311
|
-
getCanonicalAssemblyName(asmName: string): string | undefined;
|
|
312
|
-
getCanonicalAssemblyName2(asmName: string): string;
|
|
313
|
-
get(asmName: string): ({
|
|
314
|
-
configuration: any;
|
|
315
|
-
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
261
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
262
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
263
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
|
|
264
|
+
has(asmName: string): boolean;
|
|
265
|
+
loadingAssembly(asmNames: string[]): (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
266
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
267
|
+
}> & {
|
|
316
268
|
error: unknown;
|
|
317
269
|
loadingP: Promise<void> | undefined;
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
} | undefined;
|
|
270
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
271
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
272
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
322
273
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
323
274
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
275
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
276
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
277
|
+
statusMessage: string | undefined;
|
|
278
|
+
statusProgress: number | undefined;
|
|
279
|
+
statusSource: string | undefined;
|
|
280
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
324
281
|
} & {
|
|
325
282
|
getConf(arg: string): any;
|
|
326
|
-
readonly lowerCaseRefNameAliases: {
|
|
327
|
-
[k: string]: string;
|
|
328
|
-
} | undefined;
|
|
329
283
|
} & {
|
|
330
|
-
readonly initialized: boolean;
|
|
331
284
|
readonly name: string;
|
|
332
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
333
285
|
readonly aliases: string[];
|
|
334
286
|
readonly displayName: string;
|
|
335
|
-
hasName(name: string): boolean;
|
|
336
|
-
readonly allAliases: string[];
|
|
337
|
-
readonly allRefNames: string[] | undefined;
|
|
338
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
339
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
340
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
341
287
|
readonly refNameColors: string[];
|
|
342
288
|
} & {
|
|
343
|
-
readonly
|
|
289
|
+
readonly allAliases: string[];
|
|
290
|
+
hasName(name: string): boolean;
|
|
344
291
|
} & {
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
getRefNameColor(refName: string): string | undefined;
|
|
348
|
-
isValidRefName(refName: string): boolean;
|
|
349
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
292
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
293
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
350
294
|
} & {
|
|
351
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
295
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
352
296
|
regions: import("@jbrowse/core/util").Region[];
|
|
353
|
-
refNameAliases: {
|
|
354
|
-
[x: string]: string;
|
|
355
|
-
};
|
|
356
297
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
298
|
+
geneticCodes: Record<string, number>;
|
|
357
299
|
}): void;
|
|
358
300
|
setError(e: unknown): void;
|
|
359
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
360
|
-
setRefNameAliases(aliases: {
|
|
361
|
-
[x: string]: string;
|
|
362
|
-
}): void;
|
|
363
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
364
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
365
301
|
setLoadingP(p?: Promise<void>): void;
|
|
366
|
-
load(): Promise<void>;
|
|
367
302
|
loadPre(): Promise<void>;
|
|
368
303
|
} & {
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
304
|
+
load(): Promise<void>;
|
|
305
|
+
} & {
|
|
306
|
+
afterAttach(): void;
|
|
307
|
+
} & {
|
|
308
|
+
readonly initialized: boolean;
|
|
309
|
+
readonly allRefNames: string[] | undefined;
|
|
310
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
311
|
+
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
312
|
+
} & {
|
|
313
|
+
readonly refNames: string[] | undefined;
|
|
314
|
+
} & {
|
|
315
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
316
|
+
} & {
|
|
317
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
318
|
+
getRefNameColor(refName: string): string | undefined;
|
|
319
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
320
|
+
getGeneticCodeId(refName: string): number;
|
|
321
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
322
|
+
} & {
|
|
323
|
+
getCanonicalRefName2(refName: string): string;
|
|
324
|
+
isValidRefName(refName: string): boolean;
|
|
325
|
+
} & {
|
|
326
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
327
|
+
getAliasesForRefName(refName: string): string[];
|
|
372
328
|
getRefNameMapForAdapter(adapterConf: {
|
|
373
329
|
[x: string]: unknown;
|
|
374
|
-
},
|
|
375
|
-
|
|
376
|
-
}>;
|
|
377
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
378
|
-
[x: string]: unknown;
|
|
379
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
380
|
-
[x: string]: string;
|
|
381
|
-
}>;
|
|
382
|
-
afterCreate(): void;
|
|
330
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
331
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
383
332
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
384
333
|
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
385
334
|
}, {
|
|
386
335
|
error: unknown;
|
|
387
336
|
loadingP: Promise<void> | undefined;
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
} | undefined;
|
|
337
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
338
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
339
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
392
340
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
393
341
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
342
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
343
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
344
|
+
statusMessage: string | undefined;
|
|
345
|
+
statusProgress: number | undefined;
|
|
346
|
+
statusSource: string | undefined;
|
|
347
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
394
348
|
} & {
|
|
395
349
|
getConf(arg: string): any;
|
|
396
|
-
readonly lowerCaseRefNameAliases: {
|
|
397
|
-
[k: string]: string;
|
|
398
|
-
} | undefined;
|
|
399
350
|
} & {
|
|
400
|
-
readonly initialized: boolean;
|
|
401
351
|
readonly name: string;
|
|
402
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
403
352
|
readonly aliases: string[];
|
|
404
353
|
readonly displayName: string;
|
|
405
|
-
hasName(name: string): boolean;
|
|
406
|
-
readonly allAliases: string[];
|
|
407
|
-
readonly allRefNames: string[] | undefined;
|
|
408
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
409
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
410
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
411
354
|
readonly refNameColors: string[];
|
|
412
355
|
} & {
|
|
413
|
-
readonly
|
|
356
|
+
readonly allAliases: string[];
|
|
357
|
+
hasName(name: string): boolean;
|
|
414
358
|
} & {
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
getRefNameColor(refName: string): string | undefined;
|
|
418
|
-
isValidRefName(refName: string): boolean;
|
|
419
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
359
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
360
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
420
361
|
} & {
|
|
421
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
362
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
422
363
|
regions: import("@jbrowse/core/util").Region[];
|
|
423
|
-
refNameAliases: {
|
|
424
|
-
[x: string]: string;
|
|
425
|
-
};
|
|
426
364
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
365
|
+
geneticCodes: Record<string, number>;
|
|
427
366
|
}): void;
|
|
428
367
|
setError(e: unknown): void;
|
|
429
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
430
|
-
setRefNameAliases(aliases: {
|
|
431
|
-
[x: string]: string;
|
|
432
|
-
}): void;
|
|
433
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
434
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
435
368
|
setLoadingP(p?: Promise<void>): void;
|
|
436
|
-
load(): Promise<void>;
|
|
437
369
|
loadPre(): Promise<void>;
|
|
438
370
|
} & {
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
371
|
+
load(): Promise<void>;
|
|
372
|
+
} & {
|
|
373
|
+
afterAttach(): void;
|
|
374
|
+
} & {
|
|
375
|
+
readonly initialized: boolean;
|
|
376
|
+
readonly allRefNames: string[] | undefined;
|
|
377
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
378
|
+
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
379
|
+
} & {
|
|
380
|
+
readonly refNames: string[] | undefined;
|
|
381
|
+
} & {
|
|
382
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
383
|
+
} & {
|
|
384
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
385
|
+
getRefNameColor(refName: string): string | undefined;
|
|
386
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
387
|
+
getGeneticCodeId(refName: string): number;
|
|
388
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
389
|
+
} & {
|
|
390
|
+
getCanonicalRefName2(refName: string): string;
|
|
391
|
+
isValidRefName(refName: string): boolean;
|
|
392
|
+
} & {
|
|
393
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
394
|
+
getAliasesForRefName(refName: string): string[];
|
|
442
395
|
getRefNameMapForAdapter(adapterConf: {
|
|
443
396
|
[x: string]: unknown;
|
|
444
|
-
},
|
|
445
|
-
|
|
446
|
-
}>;
|
|
447
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
448
|
-
[x: string]: unknown;
|
|
449
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
450
|
-
[x: string]: string;
|
|
451
|
-
}>;
|
|
452
|
-
afterCreate(): void;
|
|
397
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
398
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
453
399
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
|
|
454
|
-
readonly assemblyNamesList:
|
|
400
|
+
readonly assemblyNamesList: string[];
|
|
401
|
+
readonly confByName: Map<string, import("@jbrowse/core/configuration").AnyConfigurationModel>;
|
|
455
402
|
readonly assemblyList: import("@jbrowse/core/configuration").AnyConfigurationModel[];
|
|
456
403
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
457
404
|
} & {
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
405
|
+
settleAssemblyResolution(assemblyName: string): Promise<void>;
|
|
406
|
+
} & {
|
|
407
|
+
waitForAssembly(assemblyName: string): Promise<(import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
408
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
409
|
+
}> & {
|
|
461
410
|
error: unknown;
|
|
462
411
|
loadingP: Promise<void> | undefined;
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
} | undefined;
|
|
412
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
413
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
414
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
467
415
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
468
416
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
417
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
418
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
419
|
+
statusMessage: string | undefined;
|
|
420
|
+
statusProgress: number | undefined;
|
|
421
|
+
statusSource: string | undefined;
|
|
422
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
469
423
|
} & {
|
|
470
424
|
getConf(arg: string): any;
|
|
471
|
-
readonly lowerCaseRefNameAliases: {
|
|
472
|
-
[k: string]: string;
|
|
473
|
-
} | undefined;
|
|
474
425
|
} & {
|
|
475
|
-
readonly initialized: boolean;
|
|
476
426
|
readonly name: string;
|
|
477
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
478
427
|
readonly aliases: string[];
|
|
479
428
|
readonly displayName: string;
|
|
480
|
-
hasName(name: string): boolean;
|
|
481
|
-
readonly allAliases: string[];
|
|
482
|
-
readonly allRefNames: string[] | undefined;
|
|
483
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
484
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
485
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
486
429
|
readonly refNameColors: string[];
|
|
487
430
|
} & {
|
|
488
|
-
readonly
|
|
431
|
+
readonly allAliases: string[];
|
|
432
|
+
hasName(name: string): boolean;
|
|
489
433
|
} & {
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
getRefNameColor(refName: string): string | undefined;
|
|
493
|
-
isValidRefName(refName: string): boolean;
|
|
494
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
434
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
435
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
495
436
|
} & {
|
|
496
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
437
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
497
438
|
regions: import("@jbrowse/core/util").Region[];
|
|
498
|
-
refNameAliases: {
|
|
499
|
-
[x: string]: string;
|
|
500
|
-
};
|
|
501
439
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
440
|
+
geneticCodes: Record<string, number>;
|
|
502
441
|
}): void;
|
|
503
442
|
setError(e: unknown): void;
|
|
504
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
505
|
-
setRefNameAliases(aliases: {
|
|
506
|
-
[x: string]: string;
|
|
507
|
-
}): void;
|
|
508
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
509
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
510
443
|
setLoadingP(p?: Promise<void>): void;
|
|
511
|
-
load(): Promise<void>;
|
|
512
444
|
loadPre(): Promise<void>;
|
|
513
445
|
} & {
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
446
|
+
load(): Promise<void>;
|
|
447
|
+
} & {
|
|
448
|
+
afterAttach(): void;
|
|
449
|
+
} & {
|
|
450
|
+
readonly initialized: boolean;
|
|
451
|
+
readonly allRefNames: string[] | undefined;
|
|
452
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
453
|
+
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
454
|
+
} & {
|
|
455
|
+
readonly refNames: string[] | undefined;
|
|
456
|
+
} & {
|
|
457
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
458
|
+
} & {
|
|
459
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
460
|
+
getRefNameColor(refName: string): string | undefined;
|
|
461
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
462
|
+
getGeneticCodeId(refName: string): number;
|
|
463
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
464
|
+
} & {
|
|
465
|
+
getCanonicalRefName2(refName: string): string;
|
|
466
|
+
isValidRefName(refName: string): boolean;
|
|
467
|
+
} & {
|
|
468
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
469
|
+
getAliasesForRefName(refName: string): string[];
|
|
517
470
|
getRefNameMapForAdapter(adapterConf: {
|
|
518
471
|
[x: string]: unknown;
|
|
519
|
-
},
|
|
520
|
-
|
|
521
|
-
}>;
|
|
522
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
523
|
-
[x: string]: unknown;
|
|
524
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
525
|
-
[x: string]: string;
|
|
526
|
-
}>;
|
|
527
|
-
afterCreate(): void;
|
|
472
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
473
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
528
474
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
529
475
|
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
530
476
|
}, {
|
|
531
477
|
error: unknown;
|
|
532
478
|
loadingP: Promise<void> | undefined;
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
} | undefined;
|
|
479
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
480
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
481
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
537
482
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
538
483
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
484
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
485
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
486
|
+
statusMessage: string | undefined;
|
|
487
|
+
statusProgress: number | undefined;
|
|
488
|
+
statusSource: string | undefined;
|
|
489
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
539
490
|
} & {
|
|
540
491
|
getConf(arg: string): any;
|
|
541
|
-
readonly lowerCaseRefNameAliases: {
|
|
542
|
-
[k: string]: string;
|
|
543
|
-
} | undefined;
|
|
544
492
|
} & {
|
|
545
|
-
readonly initialized: boolean;
|
|
546
493
|
readonly name: string;
|
|
547
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
548
494
|
readonly aliases: string[];
|
|
549
495
|
readonly displayName: string;
|
|
550
|
-
hasName(name: string): boolean;
|
|
551
|
-
readonly allAliases: string[];
|
|
552
|
-
readonly allRefNames: string[] | undefined;
|
|
553
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
554
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
555
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
556
496
|
readonly refNameColors: string[];
|
|
557
497
|
} & {
|
|
558
|
-
readonly
|
|
498
|
+
readonly allAliases: string[];
|
|
499
|
+
hasName(name: string): boolean;
|
|
559
500
|
} & {
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
getRefNameColor(refName: string): string | undefined;
|
|
563
|
-
isValidRefName(refName: string): boolean;
|
|
564
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
501
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
502
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
565
503
|
} & {
|
|
566
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
504
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
567
505
|
regions: import("@jbrowse/core/util").Region[];
|
|
568
|
-
refNameAliases: {
|
|
569
|
-
[x: string]: string;
|
|
570
|
-
};
|
|
571
506
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
507
|
+
geneticCodes: Record<string, number>;
|
|
572
508
|
}): void;
|
|
573
509
|
setError(e: unknown): void;
|
|
574
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
575
|
-
setRefNameAliases(aliases: {
|
|
576
|
-
[x: string]: string;
|
|
577
|
-
}): void;
|
|
578
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
579
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
580
510
|
setLoadingP(p?: Promise<void>): void;
|
|
581
|
-
load(): Promise<void>;
|
|
582
511
|
loadPre(): Promise<void>;
|
|
583
512
|
} & {
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
513
|
+
load(): Promise<void>;
|
|
514
|
+
} & {
|
|
515
|
+
afterAttach(): void;
|
|
516
|
+
} & {
|
|
517
|
+
readonly initialized: boolean;
|
|
518
|
+
readonly allRefNames: string[] | undefined;
|
|
519
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
520
|
+
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
521
|
+
} & {
|
|
522
|
+
readonly refNames: string[] | undefined;
|
|
523
|
+
} & {
|
|
524
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
525
|
+
} & {
|
|
526
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
527
|
+
getRefNameColor(refName: string): string | undefined;
|
|
528
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
529
|
+
getGeneticCodeId(refName: string): number;
|
|
530
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
531
|
+
} & {
|
|
532
|
+
getCanonicalRefName2(refName: string): string;
|
|
533
|
+
isValidRefName(refName: string): boolean;
|
|
534
|
+
} & {
|
|
535
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
536
|
+
getAliasesForRefName(refName: string): string[];
|
|
587
537
|
getRefNameMapForAdapter(adapterConf: {
|
|
588
538
|
[x: string]: unknown;
|
|
589
|
-
},
|
|
590
|
-
|
|
591
|
-
}>;
|
|
592
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
593
|
-
[x: string]: unknown;
|
|
594
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
595
|
-
[x: string]: string;
|
|
596
|
-
}>;
|
|
597
|
-
afterCreate(): void;
|
|
539
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
540
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
598
541
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined>;
|
|
599
|
-
|
|
600
|
-
[x: string]: unknown;
|
|
601
|
-
}, assemblyName: string | undefined, opts: import("@jbrowse/core/assemblyManager").AssemblyBaseOpts): Promise<{
|
|
602
|
-
[x: string]: string;
|
|
603
|
-
} | undefined>;
|
|
604
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
605
|
-
[x: string]: unknown;
|
|
606
|
-
}, assemblyName: string | undefined, opts: import("@jbrowse/core/assemblyManager").AssemblyBaseOpts): Promise<{
|
|
607
|
-
[x: string]: string;
|
|
608
|
-
} | undefined>;
|
|
609
|
-
isValidRefName(refName: string, assemblyName: string): boolean;
|
|
610
|
-
} & {
|
|
611
|
-
afterAttach(): void;
|
|
612
|
-
removeAssembly(asm: import("@jbrowse/core/assemblyManager/assembly").Assembly): void;
|
|
613
|
-
addAssembly(configuration: any): void;
|
|
614
|
-
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
615
|
-
assemblies: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
542
|
+
requireAssembly(assemblyName: string): Promise<import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
616
543
|
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
617
|
-
}
|
|
544
|
+
}> & {
|
|
618
545
|
error: unknown;
|
|
619
546
|
loadingP: Promise<void> | undefined;
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
} | undefined;
|
|
547
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
548
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
549
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
624
550
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
625
551
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
552
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
553
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
554
|
+
statusMessage: string | undefined;
|
|
555
|
+
statusProgress: number | undefined;
|
|
556
|
+
statusSource: string | undefined;
|
|
557
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
626
558
|
} & {
|
|
627
559
|
getConf(arg: string): any;
|
|
628
|
-
readonly lowerCaseRefNameAliases: {
|
|
629
|
-
[k: string]: string;
|
|
630
|
-
} | undefined;
|
|
631
560
|
} & {
|
|
632
|
-
readonly initialized: boolean;
|
|
633
561
|
readonly name: string;
|
|
634
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
635
562
|
readonly aliases: string[];
|
|
636
563
|
readonly displayName: string;
|
|
637
|
-
hasName(name: string): boolean;
|
|
638
|
-
readonly allAliases: string[];
|
|
639
|
-
readonly allRefNames: string[] | undefined;
|
|
640
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
641
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
642
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
643
564
|
readonly refNameColors: string[];
|
|
644
565
|
} & {
|
|
645
|
-
readonly
|
|
566
|
+
readonly allAliases: string[];
|
|
567
|
+
hasName(name: string): boolean;
|
|
646
568
|
} & {
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
getRefNameColor(refName: string): string | undefined;
|
|
650
|
-
isValidRefName(refName: string): boolean;
|
|
651
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
569
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
570
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
652
571
|
} & {
|
|
653
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
572
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
654
573
|
regions: import("@jbrowse/core/util").Region[];
|
|
655
|
-
refNameAliases: {
|
|
656
|
-
[x: string]: string;
|
|
657
|
-
};
|
|
658
574
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
575
|
+
geneticCodes: Record<string, number>;
|
|
659
576
|
}): void;
|
|
660
577
|
setError(e: unknown): void;
|
|
661
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
662
|
-
setRefNameAliases(aliases: {
|
|
663
|
-
[x: string]: string;
|
|
664
|
-
}): void;
|
|
665
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
666
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
667
578
|
setLoadingP(p?: Promise<void>): void;
|
|
668
|
-
load(): Promise<void>;
|
|
669
579
|
loadPre(): Promise<void>;
|
|
670
580
|
} & {
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
581
|
+
load(): Promise<void>;
|
|
582
|
+
} & {
|
|
583
|
+
afterAttach(): void;
|
|
584
|
+
} & {
|
|
585
|
+
readonly initialized: boolean;
|
|
586
|
+
readonly allRefNames: string[] | undefined;
|
|
587
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
588
|
+
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
589
|
+
} & {
|
|
590
|
+
readonly refNames: string[] | undefined;
|
|
591
|
+
} & {
|
|
592
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
593
|
+
} & {
|
|
594
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
595
|
+
getRefNameColor(refName: string): string | undefined;
|
|
596
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
597
|
+
getGeneticCodeId(refName: string): number;
|
|
598
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
599
|
+
} & {
|
|
600
|
+
getCanonicalRefName2(refName: string): string;
|
|
601
|
+
isValidRefName(refName: string): boolean;
|
|
602
|
+
} & {
|
|
603
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
604
|
+
getAliasesForRefName(refName: string): string[];
|
|
674
605
|
getRefNameMapForAdapter(adapterConf: {
|
|
675
606
|
[x: string]: unknown;
|
|
676
|
-
},
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
682
|
-
[x: string]: string;
|
|
683
|
-
}>;
|
|
684
|
-
afterCreate(): void;
|
|
685
|
-
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
686
|
-
}, {
|
|
687
|
-
readonly assemblyNameMap: Record<string, {
|
|
688
|
-
configuration: any;
|
|
689
|
-
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
607
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
608
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
609
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
610
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
611
|
+
}, {
|
|
690
612
|
error: unknown;
|
|
691
613
|
loadingP: Promise<void> | undefined;
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
} | undefined;
|
|
614
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
615
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
616
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
696
617
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
697
618
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
619
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
620
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
621
|
+
statusMessage: string | undefined;
|
|
622
|
+
statusProgress: number | undefined;
|
|
623
|
+
statusSource: string | undefined;
|
|
624
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
698
625
|
} & {
|
|
699
626
|
getConf(arg: string): any;
|
|
700
|
-
readonly lowerCaseRefNameAliases: {
|
|
701
|
-
[k: string]: string;
|
|
702
|
-
} | undefined;
|
|
703
627
|
} & {
|
|
704
|
-
readonly initialized: boolean;
|
|
705
628
|
readonly name: string;
|
|
706
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
707
629
|
readonly aliases: string[];
|
|
708
630
|
readonly displayName: string;
|
|
709
|
-
hasName(name: string): boolean;
|
|
710
|
-
readonly allAliases: string[];
|
|
711
|
-
readonly allRefNames: string[] | undefined;
|
|
712
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
713
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
714
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
715
631
|
readonly refNameColors: string[];
|
|
716
632
|
} & {
|
|
717
|
-
readonly
|
|
633
|
+
readonly allAliases: string[];
|
|
634
|
+
hasName(name: string): boolean;
|
|
718
635
|
} & {
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
getRefNameColor(refName: string): string | undefined;
|
|
722
|
-
isValidRefName(refName: string): boolean;
|
|
723
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
636
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
637
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
724
638
|
} & {
|
|
725
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
639
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
726
640
|
regions: import("@jbrowse/core/util").Region[];
|
|
727
|
-
refNameAliases: {
|
|
728
|
-
[x: string]: string;
|
|
729
|
-
};
|
|
730
641
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
642
|
+
geneticCodes: Record<string, number>;
|
|
731
643
|
}): void;
|
|
732
644
|
setError(e: unknown): void;
|
|
733
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
734
|
-
setRefNameAliases(aliases: {
|
|
735
|
-
[x: string]: string;
|
|
736
|
-
}): void;
|
|
737
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
738
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
739
645
|
setLoadingP(p?: Promise<void>): void;
|
|
740
|
-
load(): Promise<void>;
|
|
741
646
|
loadPre(): Promise<void>;
|
|
742
647
|
} & {
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
648
|
+
load(): Promise<void>;
|
|
649
|
+
} & {
|
|
650
|
+
afterAttach(): void;
|
|
651
|
+
} & {
|
|
652
|
+
readonly initialized: boolean;
|
|
653
|
+
readonly allRefNames: string[] | undefined;
|
|
654
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
655
|
+
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
656
|
+
} & {
|
|
657
|
+
readonly refNames: string[] | undefined;
|
|
658
|
+
} & {
|
|
659
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
660
|
+
} & {
|
|
661
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
662
|
+
getRefNameColor(refName: string): string | undefined;
|
|
663
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
664
|
+
getGeneticCodeId(refName: string): number;
|
|
665
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
666
|
+
} & {
|
|
667
|
+
getCanonicalRefName2(refName: string): string;
|
|
668
|
+
isValidRefName(refName: string): boolean;
|
|
669
|
+
} & {
|
|
670
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
671
|
+
getAliasesForRefName(refName: string): string[];
|
|
746
672
|
getRefNameMapForAdapter(adapterConf: {
|
|
747
673
|
[x: string]: unknown;
|
|
748
|
-
},
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
674
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
675
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
676
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>>;
|
|
677
|
+
getRefNameMapForAdapter(adapterConf: {
|
|
678
|
+
[x: string]: unknown;
|
|
679
|
+
}, assemblyName: string | undefined, opts: import("@jbrowse/core/assemblyManager").AssemblyBaseOpts): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
680
|
+
isValidRefName(refName: string, assemblyName: string): boolean;
|
|
681
|
+
} & {
|
|
682
|
+
afterAttach(): void;
|
|
683
|
+
removeAssembly(asm: import("@jbrowse/core/assemblyManager/assembly").Assembly): void;
|
|
684
|
+
addAssembly(configuration: any): void;
|
|
685
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
686
|
+
}> & {
|
|
687
|
+
rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
688
|
+
adminMode: boolean;
|
|
689
|
+
error: unknown;
|
|
690
|
+
textSearchManager: import("@jbrowse/core/TextSearch/TextSearchManager").default;
|
|
691
|
+
pluginManager: PluginManager;
|
|
692
|
+
} & {
|
|
693
|
+
setError(error: unknown): void;
|
|
694
|
+
setSession(sessionSnapshot?: import("@jbrowse/mobx-state-tree").SnapshotIn<import("@jbrowse/mobx-state-tree").IAnyType>): void;
|
|
695
|
+
setDefaultSession(): void;
|
|
696
|
+
setSessionPath(path: string): void;
|
|
697
|
+
renameCurrentSession(newName: string): void;
|
|
698
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
699
|
+
jbrowse: import("@jbrowse/mobx-state-tree").IAnyType;
|
|
700
|
+
session: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IAnyType>;
|
|
701
|
+
sessionPath: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
702
|
+
assemblyManager: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
703
|
+
assemblies: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
758
704
|
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
759
705
|
}, {
|
|
760
706
|
error: unknown;
|
|
761
707
|
loadingP: Promise<void> | undefined;
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
} | undefined;
|
|
708
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
709
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
710
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
766
711
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
767
712
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
713
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
714
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
715
|
+
statusMessage: string | undefined;
|
|
716
|
+
statusProgress: number | undefined;
|
|
717
|
+
statusSource: string | undefined;
|
|
718
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
768
719
|
} & {
|
|
769
720
|
getConf(arg: string): any;
|
|
770
|
-
readonly lowerCaseRefNameAliases: {
|
|
771
|
-
[k: string]: string;
|
|
772
|
-
} | undefined;
|
|
773
721
|
} & {
|
|
774
|
-
readonly initialized: boolean;
|
|
775
722
|
readonly name: string;
|
|
776
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
777
723
|
readonly aliases: string[];
|
|
778
724
|
readonly displayName: string;
|
|
779
|
-
hasName(name: string): boolean;
|
|
780
|
-
readonly allAliases: string[];
|
|
781
|
-
readonly allRefNames: string[] | undefined;
|
|
782
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
783
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
784
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
785
725
|
readonly refNameColors: string[];
|
|
786
726
|
} & {
|
|
787
|
-
readonly
|
|
727
|
+
readonly allAliases: string[];
|
|
728
|
+
hasName(name: string): boolean;
|
|
788
729
|
} & {
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
getRefNameColor(refName: string): string | undefined;
|
|
792
|
-
isValidRefName(refName: string): boolean;
|
|
793
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
730
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
731
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
794
732
|
} & {
|
|
795
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
733
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
796
734
|
regions: import("@jbrowse/core/util").Region[];
|
|
797
|
-
refNameAliases: {
|
|
798
|
-
[x: string]: string;
|
|
799
|
-
};
|
|
800
735
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
736
|
+
geneticCodes: Record<string, number>;
|
|
801
737
|
}): void;
|
|
802
738
|
setError(e: unknown): void;
|
|
803
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
804
|
-
setRefNameAliases(aliases: {
|
|
805
|
-
[x: string]: string;
|
|
806
|
-
}): void;
|
|
807
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
808
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
809
739
|
setLoadingP(p?: Promise<void>): void;
|
|
810
|
-
load(): Promise<void>;
|
|
811
740
|
loadPre(): Promise<void>;
|
|
812
741
|
} & {
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
742
|
+
load(): Promise<void>;
|
|
743
|
+
} & {
|
|
744
|
+
afterAttach(): void;
|
|
745
|
+
} & {
|
|
746
|
+
readonly initialized: boolean;
|
|
747
|
+
readonly allRefNames: string[] | undefined;
|
|
748
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
749
|
+
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
750
|
+
} & {
|
|
751
|
+
readonly refNames: string[] | undefined;
|
|
752
|
+
} & {
|
|
753
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
754
|
+
} & {
|
|
755
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
756
|
+
getRefNameColor(refName: string): string | undefined;
|
|
757
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
758
|
+
getGeneticCodeId(refName: string): number;
|
|
759
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
760
|
+
} & {
|
|
761
|
+
getCanonicalRefName2(refName: string): string;
|
|
762
|
+
isValidRefName(refName: string): boolean;
|
|
763
|
+
} & {
|
|
764
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
765
|
+
getAliasesForRefName(refName: string): string[];
|
|
816
766
|
getRefNameMapForAdapter(adapterConf: {
|
|
817
767
|
[x: string]: unknown;
|
|
818
|
-
},
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
768
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
769
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
770
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
771
|
+
}, {
|
|
772
|
+
unrecognizedReports: {
|
|
773
|
+
report(session: unknown, name: string, handlerCount: number, fire: () => unknown): void;
|
|
774
|
+
reportFor(session: unknown, name: string): {
|
|
775
|
+
handled: boolean;
|
|
776
|
+
claim?: Promise<void>;
|
|
777
|
+
} | undefined;
|
|
778
|
+
};
|
|
779
|
+
} & {
|
|
780
|
+
readonly assemblyNameMap: Record<string, import("@jbrowse/core/assemblyManager/assembly").Assembly>;
|
|
828
781
|
} & {
|
|
829
782
|
getCanonicalAssemblyName(asmName: string): string | undefined;
|
|
830
|
-
|
|
831
|
-
get(asmName: string): ({
|
|
832
|
-
configuration:
|
|
833
|
-
} &
|
|
783
|
+
getDisplayName(asmName: string): string;
|
|
784
|
+
get(asmName: string): (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
785
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
786
|
+
}> & {
|
|
834
787
|
error: unknown;
|
|
835
788
|
loadingP: Promise<void> | undefined;
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
} | undefined;
|
|
789
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
790
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
791
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
840
792
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
841
793
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
794
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
795
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
796
|
+
statusMessage: string | undefined;
|
|
797
|
+
statusProgress: number | undefined;
|
|
798
|
+
statusSource: string | undefined;
|
|
799
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
842
800
|
} & {
|
|
843
801
|
getConf(arg: string): any;
|
|
844
|
-
readonly lowerCaseRefNameAliases: {
|
|
845
|
-
[k: string]: string;
|
|
846
|
-
} | undefined;
|
|
847
802
|
} & {
|
|
848
|
-
readonly initialized: boolean;
|
|
849
803
|
readonly name: string;
|
|
850
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
851
804
|
readonly aliases: string[];
|
|
852
805
|
readonly displayName: string;
|
|
853
|
-
hasName(name: string): boolean;
|
|
854
|
-
readonly allAliases: string[];
|
|
855
|
-
readonly allRefNames: string[] | undefined;
|
|
856
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
857
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
858
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
859
806
|
readonly refNameColors: string[];
|
|
860
807
|
} & {
|
|
861
|
-
readonly
|
|
808
|
+
readonly allAliases: string[];
|
|
809
|
+
hasName(name: string): boolean;
|
|
862
810
|
} & {
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
getRefNameColor(refName: string): string | undefined;
|
|
866
|
-
isValidRefName(refName: string): boolean;
|
|
867
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
811
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
812
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
868
813
|
} & {
|
|
869
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
814
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
870
815
|
regions: import("@jbrowse/core/util").Region[];
|
|
871
|
-
refNameAliases: {
|
|
872
|
-
[x: string]: string;
|
|
873
|
-
};
|
|
874
816
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
817
|
+
geneticCodes: Record<string, number>;
|
|
875
818
|
}): void;
|
|
876
819
|
setError(e: unknown): void;
|
|
877
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
878
|
-
setRefNameAliases(aliases: {
|
|
879
|
-
[x: string]: string;
|
|
880
|
-
}): void;
|
|
881
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
882
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
883
820
|
setLoadingP(p?: Promise<void>): void;
|
|
884
|
-
load(): Promise<void>;
|
|
885
821
|
loadPre(): Promise<void>;
|
|
886
822
|
} & {
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
823
|
+
load(): Promise<void>;
|
|
824
|
+
} & {
|
|
825
|
+
afterAttach(): void;
|
|
826
|
+
} & {
|
|
827
|
+
readonly initialized: boolean;
|
|
828
|
+
readonly allRefNames: string[] | undefined;
|
|
829
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
830
|
+
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
831
|
+
} & {
|
|
832
|
+
readonly refNames: string[] | undefined;
|
|
833
|
+
} & {
|
|
834
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
835
|
+
} & {
|
|
836
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
837
|
+
getRefNameColor(refName: string): string | undefined;
|
|
838
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
839
|
+
getGeneticCodeId(refName: string): number;
|
|
840
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
841
|
+
} & {
|
|
842
|
+
getCanonicalRefName2(refName: string): string;
|
|
843
|
+
isValidRefName(refName: string): boolean;
|
|
844
|
+
} & {
|
|
845
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
846
|
+
getAliasesForRefName(refName: string): string[];
|
|
890
847
|
getRefNameMapForAdapter(adapterConf: {
|
|
891
848
|
[x: string]: unknown;
|
|
892
|
-
},
|
|
893
|
-
|
|
894
|
-
}>;
|
|
895
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
896
|
-
[x: string]: unknown;
|
|
897
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
898
|
-
[x: string]: string;
|
|
899
|
-
}>;
|
|
900
|
-
afterCreate(): void;
|
|
849
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
850
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
901
851
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
902
852
|
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
903
853
|
}, {
|
|
904
854
|
error: unknown;
|
|
905
855
|
loadingP: Promise<void> | undefined;
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
} | undefined;
|
|
856
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
857
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
858
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
910
859
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
911
860
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
861
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
862
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
863
|
+
statusMessage: string | undefined;
|
|
864
|
+
statusProgress: number | undefined;
|
|
865
|
+
statusSource: string | undefined;
|
|
866
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
912
867
|
} & {
|
|
913
868
|
getConf(arg: string): any;
|
|
914
|
-
readonly lowerCaseRefNameAliases: {
|
|
915
|
-
[k: string]: string;
|
|
916
|
-
} | undefined;
|
|
917
869
|
} & {
|
|
918
|
-
readonly initialized: boolean;
|
|
919
870
|
readonly name: string;
|
|
920
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
921
871
|
readonly aliases: string[];
|
|
922
872
|
readonly displayName: string;
|
|
923
|
-
hasName(name: string): boolean;
|
|
924
|
-
readonly allAliases: string[];
|
|
925
|
-
readonly allRefNames: string[] | undefined;
|
|
926
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
927
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
928
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
929
873
|
readonly refNameColors: string[];
|
|
930
874
|
} & {
|
|
931
|
-
readonly
|
|
875
|
+
readonly allAliases: string[];
|
|
876
|
+
hasName(name: string): boolean;
|
|
932
877
|
} & {
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
getRefNameColor(refName: string): string | undefined;
|
|
936
|
-
isValidRefName(refName: string): boolean;
|
|
937
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
878
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
879
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
938
880
|
} & {
|
|
939
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
881
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
940
882
|
regions: import("@jbrowse/core/util").Region[];
|
|
941
|
-
refNameAliases: {
|
|
942
|
-
[x: string]: string;
|
|
943
|
-
};
|
|
944
883
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
884
|
+
geneticCodes: Record<string, number>;
|
|
945
885
|
}): void;
|
|
946
886
|
setError(e: unknown): void;
|
|
947
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
948
|
-
setRefNameAliases(aliases: {
|
|
949
|
-
[x: string]: string;
|
|
950
|
-
}): void;
|
|
951
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
952
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
953
887
|
setLoadingP(p?: Promise<void>): void;
|
|
954
|
-
load(): Promise<void>;
|
|
955
888
|
loadPre(): Promise<void>;
|
|
956
889
|
} & {
|
|
957
|
-
|
|
958
|
-
[x: string]: unknown;
|
|
959
|
-
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
|
|
960
|
-
getRefNameMapForAdapter(adapterConf: {
|
|
961
|
-
[x: string]: unknown;
|
|
962
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
963
|
-
[x: string]: string;
|
|
964
|
-
}>;
|
|
965
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
966
|
-
[x: string]: unknown;
|
|
967
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
968
|
-
[x: string]: string;
|
|
969
|
-
}>;
|
|
970
|
-
afterCreate(): void;
|
|
971
|
-
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
|
|
972
|
-
readonly assemblyNamesList: any[];
|
|
973
|
-
readonly assemblyList: import("@jbrowse/core/configuration").AnyConfigurationModel[];
|
|
974
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
975
|
-
} & {
|
|
976
|
-
waitForAssembly(assemblyName: string): Promise<({
|
|
977
|
-
configuration: any;
|
|
978
|
-
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
979
|
-
error: unknown;
|
|
980
|
-
loadingP: Promise<void> | undefined;
|
|
981
|
-
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
982
|
-
refNameAliases: {
|
|
983
|
-
[x: string]: string;
|
|
984
|
-
} | undefined;
|
|
985
|
-
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
986
|
-
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
890
|
+
load(): Promise<void>;
|
|
987
891
|
} & {
|
|
988
|
-
|
|
989
|
-
readonly lowerCaseRefNameAliases: {
|
|
990
|
-
[k: string]: string;
|
|
991
|
-
} | undefined;
|
|
892
|
+
afterAttach(): void;
|
|
992
893
|
} & {
|
|
993
894
|
readonly initialized: boolean;
|
|
994
|
-
readonly name: string;
|
|
995
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
996
|
-
readonly aliases: string[];
|
|
997
|
-
readonly displayName: string;
|
|
998
|
-
hasName(name: string): boolean;
|
|
999
|
-
readonly allAliases: string[];
|
|
1000
895
|
readonly allRefNames: string[] | undefined;
|
|
1001
|
-
readonly
|
|
1002
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
896
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
1003
897
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1004
|
-
readonly refNameColors: string[];
|
|
1005
898
|
} & {
|
|
1006
899
|
readonly refNames: string[] | undefined;
|
|
900
|
+
} & {
|
|
901
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
1007
902
|
} & {
|
|
1008
903
|
getCanonicalRefName(refName: string): string | undefined;
|
|
1009
|
-
getCanonicalRefName2(refName: string): string;
|
|
1010
904
|
getRefNameColor(refName: string): string | undefined;
|
|
1011
|
-
|
|
905
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
906
|
+
getGeneticCodeId(refName: string): number;
|
|
1012
907
|
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1013
908
|
} & {
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
refNameAliases: {
|
|
1017
|
-
[x: string]: string;
|
|
1018
|
-
};
|
|
1019
|
-
cytobands: import("@jbrowse/core/util").Feature[];
|
|
1020
|
-
}): void;
|
|
1021
|
-
setError(e: unknown): void;
|
|
1022
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1023
|
-
setRefNameAliases(aliases: {
|
|
1024
|
-
[x: string]: string;
|
|
1025
|
-
}): void;
|
|
1026
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1027
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1028
|
-
setLoadingP(p?: Promise<void>): void;
|
|
1029
|
-
load(): Promise<void>;
|
|
1030
|
-
loadPre(): Promise<void>;
|
|
909
|
+
getCanonicalRefName2(refName: string): string;
|
|
910
|
+
isValidRefName(refName: string): boolean;
|
|
1031
911
|
} & {
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
|
|
912
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
913
|
+
getAliasesForRefName(refName: string): string[];
|
|
1035
914
|
getRefNameMapForAdapter(adapterConf: {
|
|
1036
915
|
[x: string]: unknown;
|
|
1037
|
-
},
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
1043
|
-
[x: string]: string;
|
|
1044
|
-
}>;
|
|
1045
|
-
afterCreate(): void;
|
|
1046
|
-
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
916
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
917
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
918
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
|
|
919
|
+
has(asmName: string): boolean;
|
|
920
|
+
loadingAssembly(asmNames: string[]): (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1047
921
|
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
1048
|
-
}
|
|
922
|
+
}> & {
|
|
1049
923
|
error: unknown;
|
|
1050
924
|
loadingP: Promise<void> | undefined;
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
} | undefined;
|
|
925
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
926
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
927
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
1055
928
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1056
929
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
930
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
931
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
932
|
+
statusMessage: string | undefined;
|
|
933
|
+
statusProgress: number | undefined;
|
|
934
|
+
statusSource: string | undefined;
|
|
935
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
1057
936
|
} & {
|
|
1058
937
|
getConf(arg: string): any;
|
|
1059
|
-
readonly lowerCaseRefNameAliases: {
|
|
1060
|
-
[k: string]: string;
|
|
1061
|
-
} | undefined;
|
|
1062
938
|
} & {
|
|
1063
|
-
readonly initialized: boolean;
|
|
1064
939
|
readonly name: string;
|
|
1065
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1066
940
|
readonly aliases: string[];
|
|
1067
941
|
readonly displayName: string;
|
|
1068
|
-
hasName(name: string): boolean;
|
|
1069
|
-
readonly allAliases: string[];
|
|
1070
|
-
readonly allRefNames: string[] | undefined;
|
|
1071
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
1072
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1073
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1074
942
|
readonly refNameColors: string[];
|
|
1075
943
|
} & {
|
|
1076
|
-
readonly
|
|
944
|
+
readonly allAliases: string[];
|
|
945
|
+
hasName(name: string): boolean;
|
|
1077
946
|
} & {
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
getRefNameColor(refName: string): string | undefined;
|
|
1081
|
-
isValidRefName(refName: string): boolean;
|
|
1082
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
947
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
948
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
1083
949
|
} & {
|
|
1084
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
950
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
1085
951
|
regions: import("@jbrowse/core/util").Region[];
|
|
1086
|
-
refNameAliases: {
|
|
1087
|
-
[x: string]: string;
|
|
1088
|
-
};
|
|
1089
952
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
953
|
+
geneticCodes: Record<string, number>;
|
|
1090
954
|
}): void;
|
|
1091
955
|
setError(e: unknown): void;
|
|
1092
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1093
|
-
setRefNameAliases(aliases: {
|
|
1094
|
-
[x: string]: string;
|
|
1095
|
-
}): void;
|
|
1096
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1097
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1098
956
|
setLoadingP(p?: Promise<void>): void;
|
|
1099
|
-
load(): Promise<void>;
|
|
1100
957
|
loadPre(): Promise<void>;
|
|
1101
958
|
} & {
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
addAssembly(configuration: any): void;
|
|
1132
|
-
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>, [undefined]>>;
|
|
1133
|
-
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1134
|
-
rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1135
|
-
adminMode: boolean;
|
|
1136
|
-
error: unknown;
|
|
1137
|
-
textSearchManager: import("@jbrowse/core/util").TextSearchManager;
|
|
1138
|
-
pluginManager: PluginManager;
|
|
1139
|
-
} & {
|
|
1140
|
-
setError(error: unknown): void;
|
|
1141
|
-
setSession(sessionSnapshot?: import("@jbrowse/mobx-state-tree").SnapshotIn<import("@jbrowse/mobx-state-tree").IAnyType>): void;
|
|
1142
|
-
setDefaultSession(): void;
|
|
1143
|
-
setSessionPath(path: string): void;
|
|
1144
|
-
renameCurrentSession(newName: string): void;
|
|
1145
|
-
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1146
|
-
jbrowse: import("@jbrowse/mobx-state-tree").IAnyType;
|
|
1147
|
-
session: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IAnyType>;
|
|
1148
|
-
sessionPath: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1149
|
-
assemblyManager: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1150
|
-
assemblies: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
959
|
+
load(): Promise<void>;
|
|
960
|
+
} & {
|
|
961
|
+
afterAttach(): void;
|
|
962
|
+
} & {
|
|
963
|
+
readonly initialized: boolean;
|
|
964
|
+
readonly allRefNames: string[] | undefined;
|
|
965
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
966
|
+
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
967
|
+
} & {
|
|
968
|
+
readonly refNames: string[] | undefined;
|
|
969
|
+
} & {
|
|
970
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
971
|
+
} & {
|
|
972
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
973
|
+
getRefNameColor(refName: string): string | undefined;
|
|
974
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
975
|
+
getGeneticCodeId(refName: string): number;
|
|
976
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
977
|
+
} & {
|
|
978
|
+
getCanonicalRefName2(refName: string): string;
|
|
979
|
+
isValidRefName(refName: string): boolean;
|
|
980
|
+
} & {
|
|
981
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
982
|
+
getAliasesForRefName(refName: string): string[];
|
|
983
|
+
getRefNameMapForAdapter(adapterConf: {
|
|
984
|
+
[x: string]: unknown;
|
|
985
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
986
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
987
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1151
988
|
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
1152
989
|
}, {
|
|
1153
990
|
error: unknown;
|
|
1154
991
|
loadingP: Promise<void> | undefined;
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
} | undefined;
|
|
992
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
993
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
994
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
1159
995
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1160
996
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
997
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
998
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
999
|
+
statusMessage: string | undefined;
|
|
1000
|
+
statusProgress: number | undefined;
|
|
1001
|
+
statusSource: string | undefined;
|
|
1002
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
1161
1003
|
} & {
|
|
1162
1004
|
getConf(arg: string): any;
|
|
1163
|
-
readonly lowerCaseRefNameAliases: {
|
|
1164
|
-
[k: string]: string;
|
|
1165
|
-
} | undefined;
|
|
1166
1005
|
} & {
|
|
1167
|
-
readonly initialized: boolean;
|
|
1168
1006
|
readonly name: string;
|
|
1169
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1170
1007
|
readonly aliases: string[];
|
|
1171
1008
|
readonly displayName: string;
|
|
1172
|
-
hasName(name: string): boolean;
|
|
1173
|
-
readonly allAliases: string[];
|
|
1174
|
-
readonly allRefNames: string[] | undefined;
|
|
1175
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
1176
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1177
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1178
1009
|
readonly refNameColors: string[];
|
|
1179
1010
|
} & {
|
|
1180
|
-
readonly
|
|
1011
|
+
readonly allAliases: string[];
|
|
1012
|
+
hasName(name: string): boolean;
|
|
1181
1013
|
} & {
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
getRefNameColor(refName: string): string | undefined;
|
|
1185
|
-
isValidRefName(refName: string): boolean;
|
|
1186
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1014
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
1015
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
1187
1016
|
} & {
|
|
1188
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
1017
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
1189
1018
|
regions: import("@jbrowse/core/util").Region[];
|
|
1190
|
-
refNameAliases: {
|
|
1191
|
-
[x: string]: string;
|
|
1192
|
-
};
|
|
1193
1019
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
1020
|
+
geneticCodes: Record<string, number>;
|
|
1194
1021
|
}): void;
|
|
1195
1022
|
setError(e: unknown): void;
|
|
1196
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1197
|
-
setRefNameAliases(aliases: {
|
|
1198
|
-
[x: string]: string;
|
|
1199
|
-
}): void;
|
|
1200
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1201
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1202
1023
|
setLoadingP(p?: Promise<void>): void;
|
|
1203
|
-
load(): Promise<void>;
|
|
1204
1024
|
loadPre(): Promise<void>;
|
|
1205
1025
|
} & {
|
|
1206
|
-
|
|
1207
|
-
[x: string]: unknown;
|
|
1208
|
-
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
|
|
1209
|
-
getRefNameMapForAdapter(adapterConf: {
|
|
1210
|
-
[x: string]: unknown;
|
|
1211
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
1212
|
-
[x: string]: string;
|
|
1213
|
-
}>;
|
|
1214
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
1215
|
-
[x: string]: unknown;
|
|
1216
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
1217
|
-
[x: string]: string;
|
|
1218
|
-
}>;
|
|
1219
|
-
afterCreate(): void;
|
|
1220
|
-
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1221
|
-
}, {
|
|
1222
|
-
readonly assemblyNameMap: Record<string, {
|
|
1223
|
-
configuration: any;
|
|
1224
|
-
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1225
|
-
error: unknown;
|
|
1226
|
-
loadingP: Promise<void> | undefined;
|
|
1227
|
-
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1228
|
-
refNameAliases: {
|
|
1229
|
-
[x: string]: string;
|
|
1230
|
-
} | undefined;
|
|
1231
|
-
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1232
|
-
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
1026
|
+
load(): Promise<void>;
|
|
1233
1027
|
} & {
|
|
1234
|
-
|
|
1235
|
-
readonly lowerCaseRefNameAliases: {
|
|
1236
|
-
[k: string]: string;
|
|
1237
|
-
} | undefined;
|
|
1028
|
+
afterAttach(): void;
|
|
1238
1029
|
} & {
|
|
1239
1030
|
readonly initialized: boolean;
|
|
1240
|
-
readonly name: string;
|
|
1241
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1242
|
-
readonly aliases: string[];
|
|
1243
|
-
readonly displayName: string;
|
|
1244
|
-
hasName(name: string): boolean;
|
|
1245
|
-
readonly allAliases: string[];
|
|
1246
1031
|
readonly allRefNames: string[] | undefined;
|
|
1247
|
-
readonly
|
|
1248
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1032
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
1249
1033
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1250
|
-
readonly refNameColors: string[];
|
|
1251
1034
|
} & {
|
|
1252
1035
|
readonly refNames: string[] | undefined;
|
|
1036
|
+
} & {
|
|
1037
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
1253
1038
|
} & {
|
|
1254
1039
|
getCanonicalRefName(refName: string): string | undefined;
|
|
1255
|
-
getCanonicalRefName2(refName: string): string;
|
|
1256
1040
|
getRefNameColor(refName: string): string | undefined;
|
|
1257
|
-
|
|
1041
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
1042
|
+
getGeneticCodeId(refName: string): number;
|
|
1258
1043
|
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1259
1044
|
} & {
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
refNameAliases: {
|
|
1263
|
-
[x: string]: string;
|
|
1264
|
-
};
|
|
1265
|
-
cytobands: import("@jbrowse/core/util").Feature[];
|
|
1266
|
-
}): void;
|
|
1267
|
-
setError(e: unknown): void;
|
|
1268
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1269
|
-
setRefNameAliases(aliases: {
|
|
1270
|
-
[x: string]: string;
|
|
1271
|
-
}): void;
|
|
1272
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1273
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1274
|
-
setLoadingP(p?: Promise<void>): void;
|
|
1275
|
-
load(): Promise<void>;
|
|
1276
|
-
loadPre(): Promise<void>;
|
|
1045
|
+
getCanonicalRefName2(refName: string): string;
|
|
1046
|
+
isValidRefName(refName: string): boolean;
|
|
1277
1047
|
} & {
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
|
|
1048
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
1049
|
+
getAliasesForRefName(refName: string): string[];
|
|
1281
1050
|
getRefNameMapForAdapter(adapterConf: {
|
|
1282
1051
|
[x: string]: unknown;
|
|
1283
|
-
},
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1052
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
1053
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
1054
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
|
|
1055
|
+
readonly assemblyNamesList: string[];
|
|
1056
|
+
readonly confByName: Map<string, import("@jbrowse/core/configuration").AnyConfigurationModel>;
|
|
1057
|
+
readonly assemblyList: import("@jbrowse/core/configuration").AnyConfigurationModel[];
|
|
1058
|
+
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1059
|
+
} & {
|
|
1060
|
+
settleAssemblyResolution(assemblyName: string): Promise<void>;
|
|
1061
|
+
} & {
|
|
1062
|
+
waitForAssembly(assemblyName: string): Promise<(import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1293
1063
|
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
1294
|
-
}
|
|
1064
|
+
}> & {
|
|
1295
1065
|
error: unknown;
|
|
1296
1066
|
loadingP: Promise<void> | undefined;
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
} | undefined;
|
|
1067
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
1068
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1069
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
1301
1070
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1302
1071
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
1072
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
1073
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
1074
|
+
statusMessage: string | undefined;
|
|
1075
|
+
statusProgress: number | undefined;
|
|
1076
|
+
statusSource: string | undefined;
|
|
1077
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
1303
1078
|
} & {
|
|
1304
1079
|
getConf(arg: string): any;
|
|
1305
|
-
readonly lowerCaseRefNameAliases: {
|
|
1306
|
-
[k: string]: string;
|
|
1307
|
-
} | undefined;
|
|
1308
1080
|
} & {
|
|
1309
|
-
readonly initialized: boolean;
|
|
1310
1081
|
readonly name: string;
|
|
1311
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1312
1082
|
readonly aliases: string[];
|
|
1313
1083
|
readonly displayName: string;
|
|
1314
|
-
hasName(name: string): boolean;
|
|
1315
|
-
readonly allAliases: string[];
|
|
1316
|
-
readonly allRefNames: string[] | undefined;
|
|
1317
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
1318
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1319
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1320
1084
|
readonly refNameColors: string[];
|
|
1321
1085
|
} & {
|
|
1322
|
-
readonly
|
|
1086
|
+
readonly allAliases: string[];
|
|
1087
|
+
hasName(name: string): boolean;
|
|
1323
1088
|
} & {
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
getRefNameColor(refName: string): string | undefined;
|
|
1327
|
-
isValidRefName(refName: string): boolean;
|
|
1328
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1089
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
1090
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
1329
1091
|
} & {
|
|
1330
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
1092
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
1331
1093
|
regions: import("@jbrowse/core/util").Region[];
|
|
1332
|
-
refNameAliases: {
|
|
1333
|
-
[x: string]: string;
|
|
1334
|
-
};
|
|
1335
1094
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
1095
|
+
geneticCodes: Record<string, number>;
|
|
1336
1096
|
}): void;
|
|
1337
1097
|
setError(e: unknown): void;
|
|
1338
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1339
|
-
setRefNameAliases(aliases: {
|
|
1340
|
-
[x: string]: string;
|
|
1341
|
-
}): void;
|
|
1342
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1343
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1344
1098
|
setLoadingP(p?: Promise<void>): void;
|
|
1345
|
-
load(): Promise<void>;
|
|
1346
1099
|
loadPre(): Promise<void>;
|
|
1347
1100
|
} & {
|
|
1348
|
-
|
|
1349
|
-
[x: string]: unknown;
|
|
1350
|
-
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
|
|
1351
|
-
getRefNameMapForAdapter(adapterConf: {
|
|
1352
|
-
[x: string]: unknown;
|
|
1353
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
1354
|
-
[x: string]: string;
|
|
1355
|
-
}>;
|
|
1356
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
1357
|
-
[x: string]: unknown;
|
|
1358
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
1359
|
-
[x: string]: string;
|
|
1360
|
-
}>;
|
|
1361
|
-
afterCreate(): void;
|
|
1362
|
-
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>>;
|
|
1363
|
-
} & {
|
|
1364
|
-
getCanonicalAssemblyName(asmName: string): string | undefined;
|
|
1365
|
-
getCanonicalAssemblyName2(asmName: string): string;
|
|
1366
|
-
get(asmName: string): ({
|
|
1367
|
-
configuration: any;
|
|
1368
|
-
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1369
|
-
error: unknown;
|
|
1370
|
-
loadingP: Promise<void> | undefined;
|
|
1371
|
-
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1372
|
-
refNameAliases: {
|
|
1373
|
-
[x: string]: string;
|
|
1374
|
-
} | undefined;
|
|
1375
|
-
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1376
|
-
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
1101
|
+
load(): Promise<void>;
|
|
1377
1102
|
} & {
|
|
1378
|
-
|
|
1379
|
-
readonly lowerCaseRefNameAliases: {
|
|
1380
|
-
[k: string]: string;
|
|
1381
|
-
} | undefined;
|
|
1103
|
+
afterAttach(): void;
|
|
1382
1104
|
} & {
|
|
1383
1105
|
readonly initialized: boolean;
|
|
1384
|
-
readonly name: string;
|
|
1385
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1386
|
-
readonly aliases: string[];
|
|
1387
|
-
readonly displayName: string;
|
|
1388
|
-
hasName(name: string): boolean;
|
|
1389
|
-
readonly allAliases: string[];
|
|
1390
1106
|
readonly allRefNames: string[] | undefined;
|
|
1391
|
-
readonly
|
|
1392
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1107
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
1393
1108
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1394
|
-
readonly refNameColors: string[];
|
|
1395
1109
|
} & {
|
|
1396
1110
|
readonly refNames: string[] | undefined;
|
|
1111
|
+
} & {
|
|
1112
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
1397
1113
|
} & {
|
|
1398
1114
|
getCanonicalRefName(refName: string): string | undefined;
|
|
1399
|
-
getCanonicalRefName2(refName: string): string;
|
|
1400
1115
|
getRefNameColor(refName: string): string | undefined;
|
|
1401
|
-
|
|
1116
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
1117
|
+
getGeneticCodeId(refName: string): number;
|
|
1402
1118
|
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1403
1119
|
} & {
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
refNameAliases: {
|
|
1407
|
-
[x: string]: string;
|
|
1408
|
-
};
|
|
1409
|
-
cytobands: import("@jbrowse/core/util").Feature[];
|
|
1410
|
-
}): void;
|
|
1411
|
-
setError(e: unknown): void;
|
|
1412
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1413
|
-
setRefNameAliases(aliases: {
|
|
1414
|
-
[x: string]: string;
|
|
1415
|
-
}): void;
|
|
1416
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1417
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1418
|
-
setLoadingP(p?: Promise<void>): void;
|
|
1419
|
-
load(): Promise<void>;
|
|
1420
|
-
loadPre(): Promise<void>;
|
|
1120
|
+
getCanonicalRefName2(refName: string): string;
|
|
1121
|
+
isValidRefName(refName: string): boolean;
|
|
1421
1122
|
} & {
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
|
|
1123
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
1124
|
+
getAliasesForRefName(refName: string): string[];
|
|
1425
1125
|
getRefNameMapForAdapter(adapterConf: {
|
|
1426
1126
|
[x: string]: unknown;
|
|
1427
|
-
},
|
|
1428
|
-
|
|
1429
|
-
}>;
|
|
1430
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
1431
|
-
[x: string]: unknown;
|
|
1432
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
1433
|
-
[x: string]: string;
|
|
1434
|
-
}>;
|
|
1435
|
-
afterCreate(): void;
|
|
1127
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
1128
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
1436
1129
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1437
1130
|
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
1438
1131
|
}, {
|
|
1439
1132
|
error: unknown;
|
|
1440
1133
|
loadingP: Promise<void> | undefined;
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
} | undefined;
|
|
1134
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
1135
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1136
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
1445
1137
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1446
1138
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
1139
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
1140
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
1141
|
+
statusMessage: string | undefined;
|
|
1142
|
+
statusProgress: number | undefined;
|
|
1143
|
+
statusSource: string | undefined;
|
|
1144
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
1447
1145
|
} & {
|
|
1448
1146
|
getConf(arg: string): any;
|
|
1449
|
-
readonly lowerCaseRefNameAliases: {
|
|
1450
|
-
[k: string]: string;
|
|
1451
|
-
} | undefined;
|
|
1452
1147
|
} & {
|
|
1453
|
-
readonly initialized: boolean;
|
|
1454
1148
|
readonly name: string;
|
|
1455
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1456
1149
|
readonly aliases: string[];
|
|
1457
1150
|
readonly displayName: string;
|
|
1458
|
-
hasName(name: string): boolean;
|
|
1459
|
-
readonly allAliases: string[];
|
|
1460
|
-
readonly allRefNames: string[] | undefined;
|
|
1461
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
1462
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1463
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1464
1151
|
readonly refNameColors: string[];
|
|
1465
1152
|
} & {
|
|
1466
|
-
readonly
|
|
1153
|
+
readonly allAliases: string[];
|
|
1154
|
+
hasName(name: string): boolean;
|
|
1467
1155
|
} & {
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
getRefNameColor(refName: string): string | undefined;
|
|
1471
|
-
isValidRefName(refName: string): boolean;
|
|
1472
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1156
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
1157
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
1473
1158
|
} & {
|
|
1474
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
1159
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
1475
1160
|
regions: import("@jbrowse/core/util").Region[];
|
|
1476
|
-
refNameAliases: {
|
|
1477
|
-
[x: string]: string;
|
|
1478
|
-
};
|
|
1479
1161
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
1162
|
+
geneticCodes: Record<string, number>;
|
|
1480
1163
|
}): void;
|
|
1481
1164
|
setError(e: unknown): void;
|
|
1482
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1483
|
-
setRefNameAliases(aliases: {
|
|
1484
|
-
[x: string]: string;
|
|
1485
|
-
}): void;
|
|
1486
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1487
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1488
1165
|
setLoadingP(p?: Promise<void>): void;
|
|
1489
|
-
load(): Promise<void>;
|
|
1490
1166
|
loadPre(): Promise<void>;
|
|
1491
1167
|
} & {
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1168
|
+
load(): Promise<void>;
|
|
1169
|
+
} & {
|
|
1170
|
+
afterAttach(): void;
|
|
1171
|
+
} & {
|
|
1172
|
+
readonly initialized: boolean;
|
|
1173
|
+
readonly allRefNames: string[] | undefined;
|
|
1174
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
1175
|
+
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1176
|
+
} & {
|
|
1177
|
+
readonly refNames: string[] | undefined;
|
|
1178
|
+
} & {
|
|
1179
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
1180
|
+
} & {
|
|
1181
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
1182
|
+
getRefNameColor(refName: string): string | undefined;
|
|
1183
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
1184
|
+
getGeneticCodeId(refName: string): number;
|
|
1185
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1186
|
+
} & {
|
|
1187
|
+
getCanonicalRefName2(refName: string): string;
|
|
1188
|
+
isValidRefName(refName: string): boolean;
|
|
1189
|
+
} & {
|
|
1190
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
1191
|
+
getAliasesForRefName(refName: string): string[];
|
|
1495
1192
|
getRefNameMapForAdapter(adapterConf: {
|
|
1496
1193
|
[x: string]: unknown;
|
|
1497
|
-
},
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
[x: string]: string;
|
|
1504
|
-
}>;
|
|
1505
|
-
afterCreate(): void;
|
|
1506
|
-
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
|
|
1507
|
-
readonly assemblyNamesList: any[];
|
|
1508
|
-
readonly assemblyList: import("@jbrowse/core/configuration").AnyConfigurationModel[];
|
|
1509
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1510
|
-
} & {
|
|
1511
|
-
waitForAssembly(assemblyName: string): Promise<({
|
|
1512
|
-
configuration: any;
|
|
1513
|
-
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1194
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
1195
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
1196
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined>;
|
|
1197
|
+
requireAssembly(assemblyName: string): Promise<import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1198
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
1199
|
+
}> & {
|
|
1514
1200
|
error: unknown;
|
|
1515
1201
|
loadingP: Promise<void> | undefined;
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
} | undefined;
|
|
1202
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
1203
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1204
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
1520
1205
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1521
1206
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
1207
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
1208
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
1209
|
+
statusMessage: string | undefined;
|
|
1210
|
+
statusProgress: number | undefined;
|
|
1211
|
+
statusSource: string | undefined;
|
|
1212
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
1522
1213
|
} & {
|
|
1523
1214
|
getConf(arg: string): any;
|
|
1524
|
-
readonly lowerCaseRefNameAliases: {
|
|
1525
|
-
[k: string]: string;
|
|
1526
|
-
} | undefined;
|
|
1527
1215
|
} & {
|
|
1528
|
-
readonly initialized: boolean;
|
|
1529
1216
|
readonly name: string;
|
|
1530
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1531
1217
|
readonly aliases: string[];
|
|
1532
1218
|
readonly displayName: string;
|
|
1533
|
-
hasName(name: string): boolean;
|
|
1534
|
-
readonly allAliases: string[];
|
|
1535
|
-
readonly allRefNames: string[] | undefined;
|
|
1536
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
1537
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1538
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1539
1219
|
readonly refNameColors: string[];
|
|
1540
1220
|
} & {
|
|
1541
|
-
readonly
|
|
1221
|
+
readonly allAliases: string[];
|
|
1222
|
+
hasName(name: string): boolean;
|
|
1542
1223
|
} & {
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
getRefNameColor(refName: string): string | undefined;
|
|
1546
|
-
isValidRefName(refName: string): boolean;
|
|
1547
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1224
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
1225
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
1548
1226
|
} & {
|
|
1549
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
1227
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
1550
1228
|
regions: import("@jbrowse/core/util").Region[];
|
|
1551
|
-
refNameAliases: {
|
|
1552
|
-
[x: string]: string;
|
|
1553
|
-
};
|
|
1554
1229
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
1230
|
+
geneticCodes: Record<string, number>;
|
|
1555
1231
|
}): void;
|
|
1556
1232
|
setError(e: unknown): void;
|
|
1557
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1558
|
-
setRefNameAliases(aliases: {
|
|
1559
|
-
[x: string]: string;
|
|
1560
|
-
}): void;
|
|
1561
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1562
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1563
1233
|
setLoadingP(p?: Promise<void>): void;
|
|
1564
|
-
load(): Promise<void>;
|
|
1565
1234
|
loadPre(): Promise<void>;
|
|
1566
1235
|
} & {
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1236
|
+
load(): Promise<void>;
|
|
1237
|
+
} & {
|
|
1238
|
+
afterAttach(): void;
|
|
1239
|
+
} & {
|
|
1240
|
+
readonly initialized: boolean;
|
|
1241
|
+
readonly allRefNames: string[] | undefined;
|
|
1242
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
1243
|
+
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1244
|
+
} & {
|
|
1245
|
+
readonly refNames: string[] | undefined;
|
|
1246
|
+
} & {
|
|
1247
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
1248
|
+
} & {
|
|
1249
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
1250
|
+
getRefNameColor(refName: string): string | undefined;
|
|
1251
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
1252
|
+
getGeneticCodeId(refName: string): number;
|
|
1253
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1254
|
+
} & {
|
|
1255
|
+
getCanonicalRefName2(refName: string): string;
|
|
1256
|
+
isValidRefName(refName: string): boolean;
|
|
1257
|
+
} & {
|
|
1258
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
1259
|
+
getAliasesForRefName(refName: string): string[];
|
|
1570
1260
|
getRefNameMapForAdapter(adapterConf: {
|
|
1571
1261
|
[x: string]: unknown;
|
|
1572
|
-
},
|
|
1573
|
-
|
|
1574
|
-
}>;
|
|
1575
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
1576
|
-
[x: string]: unknown;
|
|
1577
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
1578
|
-
[x: string]: string;
|
|
1579
|
-
}>;
|
|
1580
|
-
afterCreate(): void;
|
|
1262
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
1263
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
1581
1264
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1582
1265
|
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
1583
1266
|
}, {
|
|
1584
1267
|
error: unknown;
|
|
1585
1268
|
loadingP: Promise<void> | undefined;
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
} | undefined;
|
|
1269
|
+
adapterLoads: import("@jbrowse/quick-lru").default<string, Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>>;
|
|
1270
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1271
|
+
refNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
1590
1272
|
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1591
1273
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
1274
|
+
loadedGeneticCodes: Record<string, number> | undefined;
|
|
1275
|
+
lowerCaseRefNameAliases: import("@jbrowse/core/assemblyManager/assembly").RefNameAliases | undefined;
|
|
1276
|
+
statusMessage: string | undefined;
|
|
1277
|
+
statusProgress: number | undefined;
|
|
1278
|
+
statusSource: string | undefined;
|
|
1279
|
+
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
1592
1280
|
} & {
|
|
1593
1281
|
getConf(arg: string): any;
|
|
1594
|
-
readonly lowerCaseRefNameAliases: {
|
|
1595
|
-
[k: string]: string;
|
|
1596
|
-
} | undefined;
|
|
1597
1282
|
} & {
|
|
1598
|
-
readonly initialized: boolean;
|
|
1599
1283
|
readonly name: string;
|
|
1600
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1601
1284
|
readonly aliases: string[];
|
|
1602
1285
|
readonly displayName: string;
|
|
1603
|
-
hasName(name: string): boolean;
|
|
1604
|
-
readonly allAliases: string[];
|
|
1605
|
-
readonly allRefNames: string[] | undefined;
|
|
1606
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
1607
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1608
|
-
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1609
1286
|
readonly refNameColors: string[];
|
|
1610
1287
|
} & {
|
|
1611
|
-
readonly
|
|
1288
|
+
readonly allAliases: string[];
|
|
1289
|
+
hasName(name: string): boolean;
|
|
1612
1290
|
} & {
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
getRefNameColor(refName: string): string | undefined;
|
|
1616
|
-
isValidRefName(refName: string): boolean;
|
|
1617
|
-
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1291
|
+
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
1292
|
+
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
1618
1293
|
} & {
|
|
1619
|
-
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
1294
|
+
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes }: import("@jbrowse/core/assemblyManager/assembly").RefNameMaps & {
|
|
1620
1295
|
regions: import("@jbrowse/core/util").Region[];
|
|
1621
|
-
refNameAliases: {
|
|
1622
|
-
[x: string]: string;
|
|
1623
|
-
};
|
|
1624
1296
|
cytobands: import("@jbrowse/core/util").Feature[];
|
|
1297
|
+
geneticCodes: Record<string, number>;
|
|
1625
1298
|
}): void;
|
|
1626
1299
|
setError(e: unknown): void;
|
|
1627
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1628
|
-
setRefNameAliases(aliases: {
|
|
1629
|
-
[x: string]: string;
|
|
1630
|
-
}): void;
|
|
1631
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1632
|
-
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1633
1300
|
setLoadingP(p?: Promise<void>): void;
|
|
1634
|
-
load(): Promise<void>;
|
|
1635
1301
|
loadPre(): Promise<void>;
|
|
1636
1302
|
} & {
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1303
|
+
load(): Promise<void>;
|
|
1304
|
+
} & {
|
|
1305
|
+
afterAttach(): void;
|
|
1306
|
+
} & {
|
|
1307
|
+
readonly initialized: boolean;
|
|
1308
|
+
readonly allRefNames: string[] | undefined;
|
|
1309
|
+
readonly namesByCanonicalRefName: Map<string, string[]> | undefined;
|
|
1310
|
+
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1311
|
+
} & {
|
|
1312
|
+
readonly refNames: string[] | undefined;
|
|
1313
|
+
} & {
|
|
1314
|
+
readonly refNameToIndex: Map<string, number> | undefined;
|
|
1315
|
+
} & {
|
|
1316
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
1317
|
+
getRefNameColor(refName: string): string | undefined;
|
|
1318
|
+
getRegionForRefName(refName: string): import("@jbrowse/core/assemblyManager/assembly").BasicRegion | undefined;
|
|
1319
|
+
getGeneticCodeId(refName: string): number;
|
|
1320
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1321
|
+
} & {
|
|
1322
|
+
getCanonicalRefName2(refName: string): string;
|
|
1323
|
+
isValidRefName(refName: string): boolean;
|
|
1324
|
+
} & {
|
|
1325
|
+
getRefNamePosition(refName: string): number | undefined;
|
|
1326
|
+
getAliasesForRefName(refName: string): string[];
|
|
1640
1327
|
getRefNameMapForAdapter(adapterConf: {
|
|
1641
1328
|
[x: string]: unknown;
|
|
1642
|
-
},
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
1646
|
-
[x: string]: unknown;
|
|
1647
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
1648
|
-
[x: string]: string;
|
|
1649
|
-
}>;
|
|
1650
|
-
afterCreate(): void;
|
|
1651
|
-
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined>;
|
|
1329
|
+
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
1330
|
+
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
1331
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>>;
|
|
1652
1332
|
getRefNameMapForAdapter(adapterConf: {
|
|
1653
1333
|
[x: string]: unknown;
|
|
1654
|
-
}, assemblyName: string | undefined, opts: import("@jbrowse/core/assemblyManager").AssemblyBaseOpts): Promise<
|
|
1655
|
-
[x: string]: string;
|
|
1656
|
-
} | undefined>;
|
|
1657
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
1658
|
-
[x: string]: unknown;
|
|
1659
|
-
}, assemblyName: string | undefined, opts: import("@jbrowse/core/assemblyManager").AssemblyBaseOpts): Promise<{
|
|
1660
|
-
[x: string]: string;
|
|
1661
|
-
} | undefined>;
|
|
1334
|
+
}, assemblyName: string | undefined, opts: import("@jbrowse/core/assemblyManager").AssemblyBaseOpts): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameAliases>;
|
|
1662
1335
|
isValidRefName(refName: string, assemblyName: string): boolean;
|
|
1663
1336
|
} & {
|
|
1664
1337
|
afterAttach(): void;
|
|
@@ -1669,7 +1342,7 @@ export declare function MultipleViewsSessionMixin(pluginManager: PluginManager):
|
|
|
1669
1342
|
rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1670
1343
|
adminMode: boolean;
|
|
1671
1344
|
error: unknown;
|
|
1672
|
-
textSearchManager: import("@jbrowse/core/
|
|
1345
|
+
textSearchManager: import("@jbrowse/core/TextSearch/TextSearchManager").default;
|
|
1673
1346
|
pluginManager: PluginManager;
|
|
1674
1347
|
} & {
|
|
1675
1348
|
setError(error: unknown): void;
|
|
@@ -1681,63 +1354,280 @@ export declare function MultipleViewsSessionMixin(pluginManager: PluginManager):
|
|
|
1681
1354
|
} & {
|
|
1682
1355
|
readonly jbrowse: any;
|
|
1683
1356
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1684
|
-
readonly configuration:
|
|
1685
|
-
[x: string]: any;
|
|
1686
|
-
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1687
|
-
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
1688
|
-
[x: string]: any;
|
|
1689
|
-
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & any & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
1690
|
-
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>;
|
|
1357
|
+
readonly configuration: import("@jbrowse/core/configuration").ConfigNodeProps<any> & import("@jbrowse/core/configuration").ConfigNodeActions & import("@jbrowse/core/configuration").ConfigNodeBrand<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>;
|
|
1691
1358
|
readonly adminMode: boolean;
|
|
1692
|
-
readonly textSearchManager: import("@jbrowse/core/
|
|
1359
|
+
readonly textSearchManager: import("@jbrowse/core/TextSearch/TextSearchManager").default;
|
|
1693
1360
|
} & {
|
|
1694
|
-
readonly assemblies:
|
|
1361
|
+
readonly assemblies: import("@jbrowse/core/assemblyManager").BaseAssemblyConfigModel[];
|
|
1362
|
+
readonly DialogComponent: import("@jbrowse/core/util").DialogComponentType | undefined;
|
|
1363
|
+
readonly DialogProps: Record<string, unknown> | undefined;
|
|
1695
1364
|
} & {
|
|
1365
|
+
getPreferenceDefault(key: string): unknown;
|
|
1366
|
+
getPreference(key: string): unknown;
|
|
1367
|
+
getPreferenceChanges(): import("@jbrowse/core/util").TrackConfigChange[];
|
|
1368
|
+
} & {
|
|
1369
|
+
readonly animationMode: import("@jbrowse/core/util").AnimationMode;
|
|
1370
|
+
readonly scrollZoom: boolean;
|
|
1371
|
+
readonly numberGrouping: boolean;
|
|
1372
|
+
} & {
|
|
1373
|
+
afterAttach(): void;
|
|
1696
1374
|
setSelection(thing: unknown): void;
|
|
1697
1375
|
clearSelection(): void;
|
|
1698
1376
|
setHovered(thing: unknown): void;
|
|
1377
|
+
setHighlightsVisible(arg: boolean): void;
|
|
1378
|
+
setHighlightLabelsVisible(arg: boolean): void;
|
|
1379
|
+
addHighlight(highlight: import("@jbrowse/core/util/highlights").HighlightType): void;
|
|
1380
|
+
removeHighlight(highlight: import("@jbrowse/core/util/highlights").HighlightType): void;
|
|
1381
|
+
updateHighlight(old: import("@jbrowse/core/util/highlights").HighlightType, updates: Partial<import("@jbrowse/core/util/highlights").HighlightType>): void;
|
|
1382
|
+
setHighlights(highlights: import("@jbrowse/core/util/highlights").HighlightType[]): void;
|
|
1383
|
+
setPreferenceOverride(key: string, value: unknown): void;
|
|
1384
|
+
clearPreferenceOverrides(): void;
|
|
1385
|
+
clearPreferenceOverride(key: string): void;
|
|
1386
|
+
setScrollZoom(flag: boolean): void;
|
|
1387
|
+
setName(str: string): void;
|
|
1388
|
+
setFocusedViewId(viewId: string | undefined): void;
|
|
1389
|
+
removeActiveDialog(): void;
|
|
1390
|
+
queueDialog(doneCallback: (doneCallback: () => void) => [import("@jbrowse/core/util").DialogComponentType, Record<string, unknown>]): void;
|
|
1391
|
+
removeDialog(entry: [import("@jbrowse/core/util").DialogComponentType, Record<string, unknown>]): void;
|
|
1392
|
+
} & {
|
|
1393
|
+
snackbarMessages: import("mobx").IObservableArray<import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
|
|
1394
|
+
errorDialog: import("@jbrowse/core/ui/SnackbarModel").ErrorDialogState | undefined;
|
|
1699
1395
|
} & {
|
|
1700
|
-
readonly
|
|
1396
|
+
readonly snackbarMessageSet: Map<string, import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
|
|
1701
1397
|
} & {
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1398
|
+
notify(message: string, level?: import("@jbrowse/core/util").NotificationLevel, action?: import("@jbrowse/core/util").SnackAction | import("@jbrowse/core/util").SnackAction[]): void;
|
|
1399
|
+
notifyError(errorMessage: string, error?: unknown, extra?: unknown, action?: import("@jbrowse/core/util").SnackAction): void;
|
|
1400
|
+
setErrorDialog(state: import("@jbrowse/core/ui/SnackbarModel").ErrorDialogState | undefined): void;
|
|
1401
|
+
pushSnackbarMessage(message: string, level?: import("@jbrowse/core/util").NotificationLevel, actions?: import("@jbrowse/core/util").SnackAction[]): void;
|
|
1402
|
+
popSnackbarMessage(): import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage | undefined;
|
|
1403
|
+
removeSnackbarMessage(message: string): void;
|
|
1404
|
+
} & {
|
|
1405
|
+
afterAttach(): void;
|
|
1406
|
+
} & {
|
|
1407
|
+
readonly visibleWidget: import("@jbrowse/core/util").Widget | undefined;
|
|
1408
|
+
} & {
|
|
1409
|
+
poppedOut: boolean;
|
|
1410
|
+
modalWidgets: boolean;
|
|
1411
|
+
} & {
|
|
1412
|
+
readonly drawerVisible: boolean;
|
|
1413
|
+
readonly modalWidgetVisible: boolean;
|
|
1414
|
+
} & {
|
|
1415
|
+
setDrawerPosition(arg: import("@jbrowse/core/util").DrawerPosition): void;
|
|
1416
|
+
updateDrawerWidth(drawerWidth: number, availableWidth?: number): number;
|
|
1417
|
+
resizeDrawer(distance: number, availableWidth?: number): number;
|
|
1418
|
+
addWidget(typeName: string, id: string, initialState?: any, conf?: unknown): any;
|
|
1706
1419
|
showWidget(widget: any): void;
|
|
1707
|
-
hasWidget(widget: any): boolean;
|
|
1708
1420
|
hideWidget(widget: any): void;
|
|
1709
1421
|
minimizeWidgetDrawer(): void;
|
|
1710
1422
|
showWidgetDrawer(): void;
|
|
1423
|
+
popoutWidget(): void;
|
|
1424
|
+
returnWidgetToDrawer(): void;
|
|
1425
|
+
setModalWidgets(flag: boolean): void;
|
|
1711
1426
|
hideAllWidgets(): void;
|
|
1427
|
+
afterAttach(): void;
|
|
1428
|
+
} & {
|
|
1429
|
+
closeModalWidget(): void;
|
|
1430
|
+
openWidget(typeName: string, id: string, initialState?: any, conf?: unknown): any;
|
|
1431
|
+
} & {
|
|
1712
1432
|
editConfiguration(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel | {
|
|
1713
1433
|
trackId: string;
|
|
1434
|
+
}, opts?: {
|
|
1435
|
+
expandedDisplayId?: string;
|
|
1714
1436
|
}): void;
|
|
1715
|
-
afterAttach(): void;
|
|
1716
1437
|
} & {
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1438
|
+
/**
|
|
1439
|
+
* #getter
|
|
1440
|
+
* resolved workspaces flag (never undefined): this session's value, else
|
|
1441
|
+
* the user preference over the `configuration.preferences.useWorkspaces`
|
|
1442
|
+
* admin default. Every consumer reads this, not the raw property — only
|
|
1443
|
+
* sessions built from a snapshot or a spec `layout` set that, so the
|
|
1444
|
+
* admin default is what reaches the arrivals that bypass defaultSession.
|
|
1445
|
+
*/
|
|
1446
|
+
readonly effectiveUseWorkspaces: boolean;
|
|
1447
|
+
/**
|
|
1448
|
+
* #getter
|
|
1449
|
+
* what `effectiveUseWorkspaces` becomes after `resetUseWorkspaces` — the
|
|
1450
|
+
* admin default, with both this session's own value and the user's
|
|
1451
|
+
* override out of the way. The Preferences reset diff needs this rather
|
|
1452
|
+
* than the override map, which can't see a session-scoped value (a spec
|
|
1453
|
+
* `layout`, a "move view to a tab") and so reported nothing to reset.
|
|
1454
|
+
*/
|
|
1455
|
+
readonly defaultUseWorkspaces: boolean;
|
|
1456
|
+
} & {
|
|
1457
|
+
/**
|
|
1458
|
+
* #action
|
|
1459
|
+
*/
|
|
1460
|
+
moveViewDown(id: string, scopeIds?: string[]): void;
|
|
1461
|
+
/**
|
|
1462
|
+
* #action
|
|
1463
|
+
*/
|
|
1464
|
+
moveViewUp(id: string, scopeIds?: string[]): void;
|
|
1465
|
+
/**
|
|
1466
|
+
* #action
|
|
1467
|
+
*/
|
|
1468
|
+
moveViewToTop(id: string, scopeIds?: string[]): void;
|
|
1469
|
+
/**
|
|
1470
|
+
* #action
|
|
1471
|
+
*/
|
|
1472
|
+
moveViewToBottom(id: string, scopeIds?: string[]): void;
|
|
1473
|
+
/**
|
|
1474
|
+
* #action
|
|
1475
|
+
* Put the named views into the given relative order, leaving views not
|
|
1476
|
+
* named in their own slots.
|
|
1477
|
+
*
|
|
1478
|
+
* `session.views` is the one ordering, so this is how a channel that
|
|
1479
|
+
* states an order in some other vocabulary gets it applied: a session
|
|
1480
|
+
* spec's `layout` names views per panel, top to bottom, and that used to
|
|
1481
|
+
* be honoured by the panel assignment array's order. Now the assignment
|
|
1482
|
+
* carries membership only, so the layout says it here instead, once.
|
|
1483
|
+
*/
|
|
1484
|
+
orderViews(ids: string[]): void;
|
|
1485
|
+
/**
|
|
1486
|
+
* #action
|
|
1487
|
+
* Requires the view type's state model to be loaded; for a lazily
|
|
1488
|
+
* registered type use `launchView`.
|
|
1489
|
+
*/
|
|
1490
|
+
addView<N extends string>(typeName: N, initialState?: NoInfer<ViewSnapshotInput<N>>): any;
|
|
1491
|
+
/**
|
|
1492
|
+
* #action
|
|
1493
|
+
* swap `view` for a new view of `typeName`, in the slot it occupied.
|
|
1494
|
+
*
|
|
1495
|
+
* The launchers that build a view of a DIFFERENT type out of one you are
|
|
1496
|
+
* already looking at — launch synteny view, read-vs-ref, split view —
|
|
1497
|
+
* otherwise append, leaving the source view above the thing it produced
|
|
1498
|
+
* and a stack of two views showing the same locus. This is the "replace"
|
|
1499
|
+
* half of that offer, and a slot swap rather than remove-then-add so the
|
|
1500
|
+
* new view lands where the reader was looking instead of at the bottom of
|
|
1501
|
+
* the session.
|
|
1502
|
+
*
|
|
1503
|
+
* A launcher whose result is the SAME type as its source does not come
|
|
1504
|
+
* here and should not: collapse introns offers "Replace current view" by
|
|
1505
|
+
* navigating the view it was invoked on, which keeps the view's identity
|
|
1506
|
+
* and so lets its snackbar offer an Undo. Swapping in a new node would
|
|
1507
|
+
* leave nothing to undo onto.
|
|
1508
|
+
*
|
|
1509
|
+
* The slot is `session.views`, which is the order views render in under
|
|
1510
|
+
* both layout modes (a tab's `viewIds` says which tab a view is in, not
|
|
1511
|
+
* where in it), so the swap lands in place either way.
|
|
1512
|
+
*
|
|
1513
|
+
* WHICH panel is a separate question and this does not answer it: the
|
|
1514
|
+
* new view arrives in no tab, and `homeUnassignedViews` puts it in the
|
|
1515
|
+
* active panel — the same panel only when the replaced view was in the
|
|
1516
|
+
* active one. In practice it is, since clicking into a view activates
|
|
1517
|
+
* its panel, and the launch that offers a replace is a click on that
|
|
1518
|
+
* view's own menu.
|
|
1519
|
+
*/
|
|
1520
|
+
replaceView<N extends string>(view: IBaseViewModel, typeName: N, initialState?: NoInfer<ViewSnapshotInput<N>>): any;
|
|
1521
|
+
/**
|
|
1522
|
+
* #action
|
|
1523
|
+
*/
|
|
1722
1524
|
removeView(view: IBaseViewModel): void;
|
|
1525
|
+
/**
|
|
1526
|
+
* #action
|
|
1527
|
+
* Take out every view the given session snapshot will not keep, before
|
|
1528
|
+
* a whole-tree `applySnapshot` destroys it where it stands.
|
|
1529
|
+
*
|
|
1530
|
+
* Undo and redo are `applySnapshot` on the session
|
|
1531
|
+
* (`core/util/TimeTraveller`, which calls this), and every view carries
|
|
1532
|
+
* an `ElementId` — so MST reconciles by identifier and destroys what the
|
|
1533
|
+
* target lacks, inside the action, with the components still mounted.
|
|
1534
|
+
* Measured on a redo across a closed view, with the restored view
|
|
1535
|
+
* repainted first: 4 liveliness reads of its display before this, 0
|
|
1536
|
+
* after.
|
|
1537
|
+
*
|
|
1538
|
+
* A view that is present but has changed `type` is destroyed by that
|
|
1539
|
+
* same reconciliation (`areSame` runs the type's `is()` before its id
|
|
1540
|
+
* check), so identity here is the pair, not the id.
|
|
1541
|
+
*
|
|
1542
|
+
* **Views, and deliberately not what is under them.** A track or a
|
|
1543
|
+
* display the snapshot drops is still destroyed in place, and that is
|
|
1544
|
+
* not this door being worse than the others: `hideTrackGeneric` is a
|
|
1545
|
+
* plain `tracks.remove` and measures louder (5 reads to undo's 4).
|
|
1546
|
+
* Detaching one would be worse than the destroy it replaced — a
|
|
1547
|
+
* detached display is a LIVE root, and `getContainingView` walks
|
|
1548
|
+
* parents and throws when the walk finds no view, where a dead node
|
|
1549
|
+
* only warns. At or above the view is the only place that walk still
|
|
1550
|
+
* lands, which is why ADR-069's rule stops there.
|
|
1551
|
+
*/
|
|
1552
|
+
takeOutViewsMissingFrom(snapshot: unknown): void;
|
|
1553
|
+
/**
|
|
1554
|
+
* #action
|
|
1555
|
+
*/
|
|
1723
1556
|
setStickyViewHeaders(sticky: boolean): void;
|
|
1557
|
+
/**
|
|
1558
|
+
* #action
|
|
1559
|
+
* set the workspaces layout for this session only, leaving the user's
|
|
1560
|
+
* personal default untouched. For session-scoped intent — a spec
|
|
1561
|
+
* carrying a `layout`, or an ad-hoc "move view to a tab/split" — where
|
|
1562
|
+
* rewriting the visitor's global preference would be a surprise. The
|
|
1563
|
+
* user-facing default toggle is `setUseWorkspacesPreference`.
|
|
1564
|
+
*/
|
|
1724
1565
|
setUseWorkspaces(useWorkspaces: boolean): void;
|
|
1566
|
+
/**
|
|
1567
|
+
* #action
|
|
1568
|
+
* the user-facing workspaces toggle: applies to this session and
|
|
1569
|
+
* becomes their default for sessions that don't specify one. Persisted
|
|
1570
|
+
* only here, on an explicit toggle — an autorun mirroring the resolved
|
|
1571
|
+
* value would bake the admin default into every visitor's localStorage
|
|
1572
|
+
* on first load, so a later admin change could never reach them.
|
|
1573
|
+
*/
|
|
1574
|
+
setUseWorkspacesPreference(useWorkspaces: boolean): void;
|
|
1575
|
+
/**
|
|
1576
|
+
* #action
|
|
1577
|
+
* drop both this session's explicit value and the user's override so
|
|
1578
|
+
* workspaces falls back to the admin default
|
|
1579
|
+
*/
|
|
1580
|
+
resetUseWorkspaces(): void;
|
|
1725
1581
|
afterAttach(): void;
|
|
1726
|
-
}
|
|
1582
|
+
} & {
|
|
1583
|
+
/**
|
|
1584
|
+
* #action
|
|
1585
|
+
* `addView` for view types whose state model may be lazily loaded. The
|
|
1586
|
+
* view is not in `session.views` until the promise resolves.
|
|
1587
|
+
* `getViewType` first so an unknown type name fails by that name; the
|
|
1588
|
+
* snapshot walk skips unregistered names and covers the displays of the
|
|
1589
|
+
* tracks a launch opens with.
|
|
1590
|
+
*/
|
|
1591
|
+
launchView<N extends string>(typeName: N, initialState?: NoInfer<ViewSnapshotInput<N>>): Promise<any>;
|
|
1592
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, Omit<import("@jbrowse/mobx-state-tree").ModelSnapshotType<Omit<Omit<Omit<{
|
|
1727
1593
|
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1728
1594
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1595
|
+
focusedViewId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1596
|
+
highlights: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("@jbrowse/core/util/highlights").HighlightType, import("@jbrowse/core/util/highlights").HighlightType, import("@jbrowse/core/util/highlights").HighlightType>>, [undefined]>;
|
|
1597
|
+
highlightsVisible: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1598
|
+
highlightLabelsVisible: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1599
|
+
heldForMissingPlugins: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IType<import("../pruneUnbuildableNodes.ts").HeldNode[] | undefined, import("../pruneUnbuildableNodes.ts").HeldNode[] | undefined, import("../pruneUnbuildableNodes.ts").HeldNode[] | undefined>, [undefined]>;
|
|
1600
|
+
}, never>, "activeWidgets" | "drawerPosition" | "drawerWidth" | "minimized" | "widgets"> & {
|
|
1601
|
+
drawerPosition: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<import("@jbrowse/core/util").DrawerPosition>, [undefined]>;
|
|
1732
1602
|
drawerWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
1733
|
-
widgets: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IAnyType>;
|
|
1734
|
-
activeWidgets: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType
|
|
1603
|
+
widgets: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IAnyType>, [undefined]>;
|
|
1604
|
+
activeWidgets: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>>, [undefined]>;
|
|
1735
1605
|
minimized: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1736
|
-
} & {
|
|
1606
|
+
}, "stickyViewHeaders" | "useWorkspaces" | "views"> & {
|
|
1607
|
+
/**
|
|
1608
|
+
* #property
|
|
1609
|
+
*/
|
|
1737
1610
|
views: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyType>;
|
|
1611
|
+
/**
|
|
1612
|
+
* #property
|
|
1613
|
+
*/
|
|
1738
1614
|
stickyViewHeaders: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1739
|
-
|
|
1615
|
+
/**
|
|
1616
|
+
* #property
|
|
1617
|
+
* enables the tabbed/tiled workspace layout for this session. Undefined
|
|
1618
|
+
* means unspecified — read `effectiveUseWorkspaces`.
|
|
1619
|
+
*/
|
|
1620
|
+
useWorkspaces: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>, [undefined]>;
|
|
1621
|
+
}>, "activeWidgets" | "drawerPosition" | "drawerWidth" | "minimized" | "widgets"> & import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1622
|
+
drawerPosition: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<import("@jbrowse/core/util").DrawerPosition>, [undefined]>;
|
|
1623
|
+
drawerWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
1624
|
+
widgets: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IAnyType>, [undefined]>;
|
|
1625
|
+
activeWidgets: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>>, [undefined]>;
|
|
1626
|
+
minimized: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1740
1627
|
}>>;
|
|
1628
|
+
/** Session mixin MST type for a session that manages multiple views */
|
|
1741
1629
|
export type SessionWithMultipleViewsType = ReturnType<typeof MultipleViewsSessionMixin>;
|
|
1630
|
+
/** Instance of a session with multiple views */
|
|
1742
1631
|
export type SessionWithMultipleViews = Instance<SessionWithMultipleViewsType>;
|
|
1632
|
+
/** Type guard for SessionWithMultipleViews */
|
|
1743
1633
|
export declare function isSessionWithMultipleViews(session: IAnyStateTreeNode): session is SessionWithMultipleViews;
|