jbrowse-plugin-msaview 3.4.1 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist/AddHighlightModel/index.js +3 -3
- package/dist/BgzipFastaMsaAdapter/BgzipFastaMsaAdapter.d.ts +8 -2
- package/dist/BgzipFastaMsaAdapter/configSchema.d.ts +3 -3
- package/dist/BgzipFastaMsaAdapter/configSchema.js +1 -1
- package/dist/LaunchMsaView/codingFeature.d.ts +14 -0
- package/dist/LaunchMsaView/codingFeature.js +38 -0
- package/dist/LaunchMsaView/codingFeature.test.js +75 -0
- package/dist/LaunchMsaView/components/BlastQuery/BlastAutomaticPanel.d.ts +3 -1
- package/dist/LaunchMsaView/components/BlastQuery/BlastAutomaticPanel.js +29 -26
- package/dist/LaunchMsaView/components/BlastQuery/BlastManualPanel.d.ts +3 -1
- package/dist/LaunchMsaView/components/BlastQuery/BlastManualPanel.js +7 -2
- package/dist/LaunchMsaView/components/BlastQuery/BlastPanel.d.ts +7 -3
- package/dist/LaunchMsaView/components/BlastQuery/BlastPanel.js +8 -7
- package/dist/LaunchMsaView/components/BlastQuery/BlastSettingsDialog.js +2 -2
- package/dist/LaunchMsaView/components/BlastQuery/MsaAlgorithmSelect.js +5 -3
- package/dist/LaunchMsaView/components/BlastQuery/consts.d.ts +26 -4
- package/dist/LaunchMsaView/components/BlastQuery/consts.js +68 -2
- package/dist/LaunchMsaView/components/BlastQuery/searchChoiceStorage.d.ts +1 -1
- package/dist/LaunchMsaView/components/HelpButton.d.ts +2 -0
- package/dist/LaunchMsaView/components/HelpButton.js +17 -0
- package/dist/LaunchMsaView/components/HelpDialog.d.ts +4 -0
- package/dist/LaunchMsaView/components/HelpDialog.js +18 -0
- package/dist/LaunchMsaView/components/LaunchMsaViewDialog.d.ts +3 -1
- package/dist/LaunchMsaView/components/LaunchMsaViewDialog.js +21 -16
- package/dist/LaunchMsaView/components/ManualMSALoader/ManualMSALoader.d.ts +3 -1
- package/dist/LaunchMsaView/components/ManualMSALoader/ManualMSALoader.js +10 -4
- package/dist/LaunchMsaView/components/ManualMSALoader/launchView.d.ts +3 -1
- package/dist/LaunchMsaView/components/ManualMSALoader/launchView.js +2 -1
- package/dist/LaunchMsaView/components/OrthologQuery/OrthologPanel.d.ts +3 -1
- package/dist/LaunchMsaView/components/OrthologQuery/OrthologPanel.js +21 -7
- package/dist/LaunchMsaView/components/OrthologQuery/OrthologSourceSelect.js +4 -1
- package/dist/LaunchMsaView/components/PreLoadedMSA/PreLoadedMSADataPanel.d.ts +3 -1
- package/dist/LaunchMsaView/components/PreLoadedMSA/PreLoadedMSADataPanel.js +33 -15
- package/dist/LaunchMsaView/components/PreLoadedMSA/preCalculatedLaunchView.d.ts +3 -1
- package/dist/LaunchMsaView/components/PreLoadedMSA/preCalculatedLaunchView.js +2 -1
- package/dist/LaunchMsaView/components/QueryRowSelector.js +21 -5
- package/dist/LaunchMsaView/components/SequenceStatus.d.ts +14 -0
- package/dist/LaunchMsaView/components/SequenceStatus.js +15 -0
- package/dist/LaunchMsaView/components/SubmitCancelActions.d.ts +3 -1
- package/dist/LaunchMsaView/components/SubmitCancelActions.js +25 -13
- package/dist/LaunchMsaView/components/SubmitCancelActions.test.js +33 -3
- package/dist/LaunchMsaView/components/TabPanel.js +15 -3
- package/dist/LaunchMsaView/components/TabPanel.test.d.ts +1 -0
- package/dist/LaunchMsaView/components/TabPanel.test.js +36 -0
- package/dist/LaunchMsaView/components/TranscriptSelector.d.ts +3 -1
- package/dist/LaunchMsaView/components/TranscriptSelector.js +4 -2
- package/dist/LaunchMsaView/components/calculateProteinSequence.d.ts +4 -1
- package/dist/LaunchMsaView/components/calculateProteinSequence.js +20 -10
- package/dist/LaunchMsaView/components/fetchSeq.d.ts +4 -1
- package/dist/LaunchMsaView/components/fetchSeq.js +14 -4
- package/dist/LaunchMsaView/components/launchPlacement.d.ts +8 -0
- package/dist/LaunchMsaView/components/launchPlacement.js +25 -0
- package/dist/LaunchMsaView/components/useFeatureSequence.d.ts +2 -0
- package/dist/LaunchMsaView/components/useFeatureSequence.js +14 -11
- package/dist/LaunchMsaView/components/useTranscriptSelection.d.ts +10 -1
- package/dist/LaunchMsaView/components/useTranscriptSelection.js +21 -3
- package/dist/LaunchMsaView/components/useTranscriptSelection.test.d.ts +1 -0
- package/dist/LaunchMsaView/components/useTranscriptSelection.test.js +57 -0
- package/dist/LaunchMsaView/detectQueryRow.d.ts +11 -0
- package/dist/LaunchMsaView/detectQueryRow.js +11 -4
- package/dist/LaunchMsaView/detectQueryRow.test.js +30 -0
- package/dist/LaunchMsaView/index.js +28 -9
- package/dist/LaunchMsaView/launchTarget.d.ts +36 -8
- package/dist/LaunchMsaView/launchTarget.js +23 -13
- package/dist/LaunchMsaView/launchTarget.test.js +80 -15
- package/dist/LaunchMsaView/useQueryRowName.d.ts +13 -0
- package/dist/LaunchMsaView/useQueryRowName.js +16 -1
- package/dist/LaunchMsaView/useQueryRowName.test.d.ts +1 -0
- package/dist/LaunchMsaView/useQueryRowName.test.js +40 -0
- package/dist/LaunchMsaView/util.js +5 -2
- package/dist/LaunchMsaViewExtensionPoint/index.js +8 -6
- package/dist/LaunchMsaViewExtensionPoint/index.test.js +21 -0
- package/dist/MsaViewPanel/afterCreateAutoruns.d.ts +9 -6
- package/dist/MsaViewPanel/afterCreateAutoruns.js +72 -28
- package/dist/MsaViewPanel/components/LaunchProgress.d.ts +4 -3
- package/dist/MsaViewPanel/components/LaunchProgress.js +22 -10
- package/dist/MsaViewPanel/components/MsaViewPanel.js +10 -2
- package/dist/MsaViewPanel/components/MsaViewPanel.test.js +47 -2
- package/dist/MsaViewPanel/doLaunchBlast.d.ts +8 -0
- package/dist/MsaViewPanel/doLaunchBlast.js +78 -93
- package/dist/MsaViewPanel/doLaunchBlast.test.d.ts +1 -0
- package/dist/MsaViewPanel/doLaunchBlast.test.js +158 -0
- package/dist/MsaViewPanel/doLaunchOrthologs.js +40 -5
- package/dist/MsaViewPanel/doLaunchOrthologs.test.js +10 -0
- package/dist/MsaViewPanel/genomeToMSA.js +25 -7
- package/dist/MsaViewPanel/genomeToMSA.test.js +214 -19
- package/dist/MsaViewPanel/loadProteinDomains.d.ts +8 -2
- package/dist/MsaViewPanel/loadProteinDomains.js +18 -9
- package/dist/MsaViewPanel/loadProteinDomains.test.d.ts +1 -0
- package/dist/MsaViewPanel/loadProteinDomains.test.js +41 -0
- package/dist/MsaViewPanel/model.d.ts +265 -103
- package/dist/MsaViewPanel/model.js +174 -48
- package/dist/MsaViewPanel/model.test.d.ts +1 -0
- package/dist/MsaViewPanel/model.test.js +166 -0
- package/dist/MsaViewPanel/msaCoordToGenomeCoord.d.ts +12 -1
- package/dist/MsaViewPanel/msaCoordToGenomeCoord.js +8 -8
- package/dist/MsaViewPanel/msaCoordToGenomeCoord.test.js +133 -32
- package/dist/MsaViewPanel/msaDataStore.d.ts +2 -0
- package/dist/MsaViewPanel/msaDataStore.js +10 -0
- package/dist/MsaViewPanel/observeProteinHighlights.test.js +20 -3
- package/dist/MsaViewPanel/processInit.test.d.ts +1 -0
- package/dist/MsaViewPanel/processInit.test.js +72 -0
- package/dist/MsaViewPanel/resolveConnectedTranscript.d.ts +9 -0
- package/dist/MsaViewPanel/resolveConnectedTranscript.js +128 -0
- package/dist/MsaViewPanel/runLaunch.d.ts +1 -0
- package/dist/MsaViewPanel/runLaunch.js +35 -0
- package/dist/MsaViewPanel/runLaunch.test.js +46 -0
- package/dist/MsaViewPanel/storedData.test.js +20 -0
- package/dist/MsaViewPanel/structureConnection.d.ts +0 -4
- package/dist/MsaViewPanel/structureConnection.js +0 -19
- package/dist/MsaViewPanel/syncGenomeHoverToMsaColumn.test.js +12 -5
- package/dist/MsaViewPanel/util.d.ts +39 -0
- package/dist/MsaViewPanel/util.js +44 -0
- package/dist/index.d.ts +11 -11
- package/dist/jbrowse-plugin-msaview.umd.production.min.js +56 -68
- package/dist/jbrowse-plugin-msaview.umd.production.min.js.map +4 -4
- package/dist/utils/browserAlign.d.ts +42 -0
- package/dist/utils/browserAlign.js +297 -0
- package/dist/utils/browserAlign.test.d.ts +1 -0
- package/dist/utils/browserAlign.test.js +85 -0
- package/dist/utils/ebiBlast.d.ts +10 -1
- package/dist/utils/ebiBlast.js +27 -1
- package/dist/utils/homologSearch.d.ts +31 -0
- package/dist/utils/homologSearch.js +6 -0
- package/dist/utils/msa.d.ts +3 -11
- package/dist/utils/msa.js +14 -29
- package/dist/utils/msaRows.d.ts +11 -8
- package/dist/utils/msaRows.js +14 -12
- package/dist/utils/phmmer.d.ts +11 -1
- package/dist/utils/phmmer.js +49 -12
- package/dist/utils/unirefHomologs.d.ts +94 -0
- package/dist/utils/unirefHomologs.js +193 -0
- package/dist/utils/unirefHomologs.test.d.ts +1 -0
- package/dist/utils/unirefHomologs.test.js +118 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +23 -22
- package/src/AddHighlightModel/index.tsx +1 -1
- package/src/BgzipFastaMsaAdapter/configSchema.ts +1 -1
- package/src/LaunchMsaView/codingFeature.test.ts +96 -0
- package/src/LaunchMsaView/codingFeature.ts +49 -0
- package/src/LaunchMsaView/components/BlastQuery/BlastAutomaticPanel.tsx +52 -26
- package/src/LaunchMsaView/components/BlastQuery/BlastManualPanel.tsx +9 -1
- package/src/LaunchMsaView/components/BlastQuery/BlastPanel.tsx +24 -11
- package/src/LaunchMsaView/components/BlastQuery/BlastSettingsDialog.tsx +4 -4
- package/src/LaunchMsaView/components/BlastQuery/MsaAlgorithmSelect.tsx +7 -2
- package/src/LaunchMsaView/components/BlastQuery/consts.ts +77 -2
- package/src/LaunchMsaView/components/HelpButton.tsx +33 -0
- package/src/LaunchMsaView/components/HelpDialog.tsx +78 -0
- package/src/LaunchMsaView/components/LaunchMsaViewDialog.tsx +54 -34
- package/src/LaunchMsaView/components/ManualMSALoader/ManualMSALoader.tsx +13 -2
- package/src/LaunchMsaView/components/ManualMSALoader/launchView.ts +4 -0
- package/src/LaunchMsaView/components/OrthologQuery/OrthologPanel.tsx +28 -5
- package/src/LaunchMsaView/components/OrthologQuery/OrthologSourceSelect.tsx +4 -1
- package/src/LaunchMsaView/components/PreLoadedMSA/PreLoadedMSADataPanel.tsx +63 -13
- package/src/LaunchMsaView/components/PreLoadedMSA/preCalculatedLaunchView.ts +4 -0
- package/src/LaunchMsaView/components/QueryRowSelector.tsx +35 -7
- package/src/LaunchMsaView/components/SequenceStatus.tsx +29 -0
- package/src/LaunchMsaView/components/SubmitCancelActions.test.tsx +62 -3
- package/src/LaunchMsaView/components/SubmitCancelActions.tsx +37 -15
- package/src/LaunchMsaView/components/TabPanel.test.tsx +51 -0
- package/src/LaunchMsaView/components/TabPanel.tsx +16 -4
- package/src/LaunchMsaView/components/TranscriptSelector.tsx +6 -1
- package/src/LaunchMsaView/components/calculateProteinSequence.ts +29 -10
- package/src/LaunchMsaView/components/fetchSeq.ts +25 -5
- package/src/LaunchMsaView/components/launchPlacement.tsx +41 -0
- package/src/LaunchMsaView/components/useFeatureSequence.ts +18 -11
- package/src/LaunchMsaView/components/useTranscriptSelection.test.tsx +66 -0
- package/src/LaunchMsaView/components/useTranscriptSelection.ts +41 -2
- package/src/LaunchMsaView/detectQueryRow.test.ts +34 -0
- package/src/LaunchMsaView/detectQueryRow.ts +22 -4
- package/src/LaunchMsaView/index.ts +32 -13
- package/src/LaunchMsaView/launchTarget.test.ts +88 -15
- package/src/LaunchMsaView/launchTarget.ts +49 -14
- package/src/LaunchMsaView/useQueryRowName.test.ts +54 -0
- package/src/LaunchMsaView/useQueryRowName.ts +22 -1
- package/src/LaunchMsaView/util.ts +8 -4
- package/src/LaunchMsaViewExtensionPoint/index.test.ts +23 -0
- package/src/LaunchMsaViewExtensionPoint/index.ts +32 -6
- package/src/MsaViewPanel/afterCreateAutoruns.ts +85 -27
- package/src/MsaViewPanel/components/LaunchProgress.tsx +38 -7
- package/src/MsaViewPanel/components/MsaViewPanel.test.tsx +50 -2
- package/src/MsaViewPanel/components/MsaViewPanel.tsx +10 -2
- package/src/MsaViewPanel/doLaunchBlast.test.ts +207 -0
- package/src/MsaViewPanel/doLaunchBlast.ts +92 -142
- package/src/MsaViewPanel/doLaunchOrthologs.test.ts +13 -0
- package/src/MsaViewPanel/doLaunchOrthologs.ts +55 -5
- package/src/MsaViewPanel/genomeToMSA.test.ts +251 -31
- package/src/MsaViewPanel/genomeToMSA.ts +35 -7
- package/src/MsaViewPanel/loadProteinDomains.test.ts +52 -0
- package/src/MsaViewPanel/loadProteinDomains.ts +24 -11
- package/src/MsaViewPanel/model.test.ts +196 -0
- package/src/MsaViewPanel/model.ts +204 -55
- package/src/MsaViewPanel/msaCoordToGenomeCoord.test.ts +152 -32
- package/src/MsaViewPanel/msaCoordToGenomeCoord.ts +21 -11
- package/src/MsaViewPanel/msaDataStore.ts +10 -0
- package/src/MsaViewPanel/observeProteinHighlights.test.ts +27 -3
- package/src/MsaViewPanel/processInit.test.ts +84 -0
- package/src/MsaViewPanel/resolveConnectedTranscript.ts +160 -0
- package/src/MsaViewPanel/runLaunch.test.ts +54 -0
- package/src/MsaViewPanel/runLaunch.ts +39 -0
- package/src/MsaViewPanel/storedData.test.ts +26 -0
- package/src/MsaViewPanel/structureConnection.ts +0 -26
- package/src/MsaViewPanel/syncGenomeHoverToMsaColumn.test.ts +14 -5
- package/src/MsaViewPanel/util.ts +75 -0
- package/src/utils/browserAlign.test.ts +102 -0
- package/src/utils/browserAlign.ts +352 -0
- package/src/utils/ebiBlast.ts +34 -0
- package/src/utils/homologSearch.ts +51 -0
- package/src/utils/msa.ts +19 -41
- package/src/utils/msaRows.ts +20 -16
- package/src/utils/phmmer.ts +57 -11
- package/src/utils/unirefHomologs.test.ts +149 -0
- package/src/utils/unirefHomologs.ts +323 -0
- package/src/version.ts +1 -1
- package/dist/LaunchMsaView/components/geneticCodes.d.ts +0 -15
- package/dist/LaunchMsaView/components/geneticCodes.js +0 -227
- package/dist/MsaViewPanel/structureConnection.test.js +0 -53
- package/src/LaunchMsaView/components/geneticCodes.ts +0 -298
- package/src/MsaViewPanel/structureConnection.test.ts +0 -62
- /package/dist/{MsaViewPanel/structureConnection.test.d.ts → LaunchMsaView/codingFeature.test.d.ts} +0 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export type { MSAFormat } from 'msa-parsers';
|
|
2
2
|
import type { BlastDatabase, MsaAlgorithm, PhmmerDatabase } from '../LaunchMsaView/components/BlastQuery/consts';
|
|
3
|
+
import type { UnirefIdentity } from '../utils/unirefHomologs';
|
|
3
4
|
import type { MsaDataPayload } from './msaDataStore';
|
|
4
5
|
import type { MafRegion, MsaViewInitState } from './types';
|
|
5
|
-
import type {
|
|
6
|
+
import type { TranscriptRef } from './util';
|
|
7
|
+
import type { MenuItem } from '@jbrowse/core/ui';
|
|
6
8
|
import type { Instance } from '@jbrowse/mobx-state-tree';
|
|
7
9
|
import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view';
|
|
8
10
|
type LGV = LinearGenomeViewModel;
|
|
@@ -23,8 +25,19 @@ export interface IRegion {
|
|
|
23
25
|
* orphan every row already written.
|
|
24
26
|
*/
|
|
25
27
|
export type BlastParams = {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
/** plain JSON, not a Feature: see TranscriptRef */
|
|
29
|
+
selectedTranscript?: TranscriptRef;
|
|
30
|
+
/**
|
|
31
|
+
* The query. The dialog always supplies it, translated from the transcript
|
|
32
|
+
* the user picked. A session spec may instead name a UniProt `accession`
|
|
33
|
+
* and have the sequence fetched at launch, or name a `connectedTranscript`
|
|
34
|
+
* on the view and have it translated from the genome (see
|
|
35
|
+
* resolveConnectedTranscript).
|
|
36
|
+
*/
|
|
37
|
+
proteinSequence?: string;
|
|
38
|
+
accession?: string;
|
|
39
|
+
/** hits to keep: phmmer's `nhits`, blastp's `alignments`; 100 when omitted */
|
|
40
|
+
maxHits?: number;
|
|
28
41
|
} & ({
|
|
29
42
|
/** absent on params written before phmmer existed, which were all blastp */
|
|
30
43
|
searchProgram?: 'blastp';
|
|
@@ -38,17 +51,28 @@ export type BlastParams = {
|
|
|
38
51
|
msaAlgorithm?: undefined;
|
|
39
52
|
});
|
|
40
53
|
/**
|
|
41
|
-
* Where the
|
|
54
|
+
* Where the homolog set comes from. NCBI's ortholog sets cover vertebrates and
|
|
42
55
|
* insects; PANTHER's span its 144 reference proteomes, human to yeast to
|
|
43
|
-
* Arabidopsis
|
|
56
|
+
* Arabidopsis; a UniRef cluster is every UniProtKB entry within 50% (or 90%)
|
|
57
|
+
* identity of the query, one per species, from any organism at all -- and the
|
|
58
|
+
* one source of the three whose rows need no ortholog call, only UniProt's
|
|
59
|
+
* REST api (see utils/unirefHomologs.ts).
|
|
44
60
|
*/
|
|
45
|
-
export declare const orthologSources: readonly ["ncbi", "panther"];
|
|
61
|
+
export declare const orthologSources: readonly ["ncbi", "panther", "uniref"];
|
|
46
62
|
export type OrthologSource = (typeof orthologSources)[number];
|
|
47
63
|
export interface OrthologParams {
|
|
48
64
|
/** NCBI taxon id of the assembly the query gene came from */
|
|
49
65
|
taxId: number;
|
|
50
66
|
/** `ncbi` when omitted, so every launch written before this key keeps its meaning */
|
|
51
67
|
source?: OrthologSource;
|
|
68
|
+
/** UniRef only: the cluster identity level, 50 when omitted */
|
|
69
|
+
identity?: UnirefIdentity;
|
|
70
|
+
/**
|
|
71
|
+
* UniRef only: keep members from reference proteomes, which is what makes a
|
|
72
|
+
* cluster one good entry per species rather than every strain and isolate
|
|
73
|
+
* UniProtKB holds. `true` when omitted.
|
|
74
|
+
*/
|
|
75
|
+
referenceProteomesOnly?: boolean;
|
|
52
76
|
/**
|
|
53
77
|
* taxon ids to include as rows. The query taxon has its own row already, so
|
|
54
78
|
* it is excluded from this set whether or not it is named.
|
|
@@ -66,7 +90,8 @@ export interface OrthologParams {
|
|
|
66
90
|
/** candidate gene identifiers off the feature, tried in order */
|
|
67
91
|
geneCandidates: string[];
|
|
68
92
|
msaAlgorithm: MsaAlgorithm;
|
|
69
|
-
|
|
93
|
+
/** plain JSON, not a Feature: see TranscriptRef */
|
|
94
|
+
selectedTranscript?: TranscriptRef;
|
|
70
95
|
/**
|
|
71
96
|
* The query row, named `<species>_query`. The launch dialog always supplies
|
|
72
97
|
* it, translated from the
|
|
@@ -85,8 +110,8 @@ export interface OrthologParams {
|
|
|
85
110
|
export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").IModelType<Omit<Omit<{
|
|
86
111
|
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
87
112
|
displayName: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
88
|
-
minimized: import("@jbrowse/mobx-state-tree").
|
|
89
|
-
}, "id" | "type" | "autoTreeAreaWidth" | "drawLabels" | "drawNodeBubbles" | "drawTree" | "labelsAlignRight" | "showBranchLen" | "treeAreaWidth" | "treeWidth" | "bgColor" | "colorSchemeName" | "msaFormat" | "showColumnStats" | "allowedGappyness" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "data" | "drawMsaLetters" | "
|
|
113
|
+
minimized: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
114
|
+
}, "id" | "type" | "autoTreeAreaWidth" | "drawLabels" | "drawNodeBubbles" | "drawNodeLabels" | "drawTree" | "labelsAlignRight" | "overviewHeight" | "showBranchLen" | "showTreeOverview" | "treeAreaWidth" | "treeWidth" | "bgColor" | "colorSchemeName" | "msaFormat" | "showColumnStats" | "allowedGappyness" | "clades" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "data" | "drawMsaLetters" | "encodings" | "gffFilehandle" | "height" | "hideGaps" | "highlightColumns" | "highlights" | "msaFilehandle" | "relativeTo" | "residueMappings" | "rowHeight" | "rowPanels" | "scrollX" | "scrollY" | "scrollZoom" | "scrollZoomAxis" | "showDomainLegend" | "showDomains" | "showOnly" | "subFeatureRows" | "trackHeights" | "treeFilehandle" | "treeMetadataFilehandle" | "turnedOffFeatures" | "turnedOffTracks"> & Omit<Omit<Omit<{}, "autoTreeAreaWidth" | "drawLabels" | "drawNodeBubbles" | "drawNodeLabels" | "drawTree" | "labelsAlignRight" | "overviewHeight" | "showBranchLen" | "showTreeOverview" | "treeAreaWidth" | "treeWidth"> & {
|
|
90
115
|
drawLabels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
91
116
|
labelsAlignRight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
92
117
|
treeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
@@ -94,22 +119,26 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
94
119
|
showBranchLen: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
95
120
|
drawTree: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
96
121
|
drawNodeBubbles: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
122
|
+
drawNodeLabels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
123
|
+
showTreeOverview: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
124
|
+
overviewHeight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
97
125
|
autoTreeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
98
126
|
}, "bgColor" | "colorSchemeName" | "msaFormat" | "showColumnStats"> & {
|
|
99
127
|
bgColor: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
100
128
|
colorSchemeName: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
101
129
|
showColumnStats: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
102
130
|
msaFormat: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<import("msa-parsers").MSAFormat>>;
|
|
103
|
-
}, "id" | "type" | "allowedGappyness" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "data" | "drawMsaLetters" | "
|
|
131
|
+
}, "id" | "type" | "allowedGappyness" | "clades" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "data" | "drawMsaLetters" | "encodings" | "gffFilehandle" | "height" | "hideGaps" | "highlightColumns" | "highlights" | "msaFilehandle" | "relativeTo" | "residueMappings" | "rowHeight" | "rowPanels" | "scrollX" | "scrollY" | "scrollZoom" | "scrollZoomAxis" | "showDomainLegend" | "showDomains" | "showOnly" | "subFeatureRows" | "trackHeights" | "treeFilehandle" | "treeMetadataFilehandle" | "turnedOffFeatures" | "turnedOffTracks"> & {
|
|
104
132
|
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
105
133
|
showDomains: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
106
134
|
showDomainLegend: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
107
135
|
hideGaps: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
108
136
|
allowedGappyness: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
109
137
|
subFeatureRows: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
110
|
-
type: import("@jbrowse/mobx-state-tree").
|
|
138
|
+
type: import("@jbrowse/mobx-state-tree").ILiteralType<"MsaView">;
|
|
111
139
|
drawMsaLetters: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
112
140
|
scrollZoom: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
141
|
+
scrollZoomAxis: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<"both" | "horizontal" | "vertical">, [undefined]>;
|
|
113
142
|
height: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
114
143
|
rowHeight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
115
144
|
scrollY: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
@@ -495,7 +524,9 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
495
524
|
collapsed: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
496
525
|
showOnly: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
497
526
|
turnedOffTracks: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>, [undefined]>;
|
|
527
|
+
trackHeights: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<number>>, [undefined]>;
|
|
498
528
|
columnTracks: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").ColumnTrackSpec, import("react-msaview").ColumnTrackSpec, import("react-msaview").ColumnTrackSpec>>, [undefined]>;
|
|
529
|
+
residueMappings: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").ResidueMapping, import("react-msaview").ResidueMapping, import("react-msaview").ResidueMapping>>, [undefined]>;
|
|
499
530
|
data: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
500
531
|
tree: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
501
532
|
msa: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
@@ -509,28 +540,39 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
509
540
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, {
|
|
510
541
|
[k: string]: string | undefined;
|
|
511
542
|
}>, [undefined]>;
|
|
512
|
-
|
|
543
|
+
turnedOffFeatures: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>, [undefined]>;
|
|
513
544
|
relativeTo: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
514
545
|
highlightColumns: import("@jbrowse/mobx-state-tree").IType<number[] | undefined, number[] | undefined, number[] | undefined>;
|
|
515
546
|
highlights: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").Highlight, import("react-msaview").Highlight, import("react-msaview").Highlight>>, [undefined]>;
|
|
516
|
-
|
|
547
|
+
clades: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").Clade, import("react-msaview").Clade, import("react-msaview").Clade>>, [undefined]>;
|
|
548
|
+
encodings: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").Encoding, import("react-msaview").Encoding, import("react-msaview").Encoding>>, [undefined]>;
|
|
549
|
+
rowPanels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("react-msaview").RowPanelSpec, import("react-msaview").RowPanelSpec, import("react-msaview").RowPanelSpec>>, [undefined]>;
|
|
550
|
+
}, "init" | "querySeqName" | "querySeqOffset" | "zoomToBaseLevel" | "launchCompleted" | "connectedViewId" | "connectedFeature" | "connectedTranscript" | "blastParams" | "orthologParams" | "uniprotId" | "dataStoreId" | "mafRegion"> & {
|
|
517
551
|
connectedViewId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
518
552
|
connectedFeature: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
553
|
+
connectedTranscript: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
519
554
|
blastParams: import("@jbrowse/mobx-state-tree").IType<BlastParams | undefined, BlastParams | undefined, BlastParams | undefined>;
|
|
520
555
|
orthologParams: import("@jbrowse/mobx-state-tree").IType<OrthologParams | undefined, OrthologParams | undefined, OrthologParams | undefined>;
|
|
521
556
|
querySeqName: import("@jbrowse/mobx-state-tree").IType<string | undefined, string, string>;
|
|
557
|
+
querySeqOffset: import("@jbrowse/mobx-state-tree").IType<number | undefined, number, number>;
|
|
522
558
|
uniprotId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
523
559
|
zoomToBaseLevel: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
524
560
|
init: import("@jbrowse/mobx-state-tree").IType<MsaViewInitState | undefined, MsaViewInitState | undefined, MsaViewInitState | undefined>;
|
|
525
561
|
dataStoreId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
562
|
+
launchCompleted: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
526
563
|
mafRegion: import("@jbrowse/mobx-state-tree").IType<MafRegion | undefined, MafRegion | undefined, MafRegion | undefined>;
|
|
527
564
|
}, {
|
|
528
565
|
width: number;
|
|
566
|
+
bodyMounted: boolean;
|
|
529
567
|
} & {
|
|
530
|
-
|
|
568
|
+
readonly effectiveBodyMounted: boolean;
|
|
569
|
+
menuItems(): MenuItem[];
|
|
570
|
+
readonly ownTracks: import("@jbrowse/core/util").AbstractTrackModel[];
|
|
571
|
+
readonly ownViews: import("@jbrowse/core/util").AbstractViewModel[];
|
|
531
572
|
} & {
|
|
532
573
|
setDisplayName(name: string): void;
|
|
533
574
|
setWidth(newWidth: number): void;
|
|
575
|
+
setBodyMounted(flag: boolean): void;
|
|
534
576
|
setMinimized(flag: boolean): void;
|
|
535
577
|
} & {
|
|
536
578
|
queueOfDialogs: [import("@jbrowse/core/util").DialogComponentType, any][];
|
|
@@ -548,6 +590,9 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
548
590
|
setAutoTreeAreaWidth(arg: boolean): void;
|
|
549
591
|
setShowBranchLen(arg: boolean): void;
|
|
550
592
|
setDrawNodeBubbles(arg: boolean): void;
|
|
593
|
+
setDrawNodeLabels(arg: boolean): void;
|
|
594
|
+
setShowTreeOverview(arg: boolean): void;
|
|
595
|
+
setOverviewHeight(n: number): void;
|
|
551
596
|
setDrawLabels(arg: boolean): void;
|
|
552
597
|
} & {
|
|
553
598
|
setColorSchemeName(name: string): void;
|
|
@@ -556,9 +601,9 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
556
601
|
setMSAFormat(arg?: import("msa-parsers").MSAFormat): void;
|
|
557
602
|
} & {
|
|
558
603
|
headerHeight: number;
|
|
604
|
+
hideHeader: boolean;
|
|
559
605
|
status: {
|
|
560
606
|
msg: string;
|
|
561
|
-
url?: string;
|
|
562
607
|
onCancel?: () => void;
|
|
563
608
|
} | undefined;
|
|
564
609
|
highResScaleFactor: number;
|
|
@@ -576,11 +621,13 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
576
621
|
descendantNames: string[];
|
|
577
622
|
} | undefined;
|
|
578
623
|
highlightedColumns: number[] | undefined;
|
|
624
|
+
transientHighlights: Record<string, import("react-msaview").Highlight[]>;
|
|
579
625
|
minimapHeight: number;
|
|
580
|
-
conservationTrackHeight: number;
|
|
581
|
-
sequenceLogoTrackHeight: number;
|
|
582
626
|
marginLeft: number;
|
|
583
627
|
error: unknown;
|
|
628
|
+
warnings: string[];
|
|
629
|
+
resetCount: number;
|
|
630
|
+
hostCarriesData: boolean;
|
|
584
631
|
annotations: import("msa-parsers").Annotation[];
|
|
585
632
|
} & {
|
|
586
633
|
drawRelativeTo(id: string | undefined): void;
|
|
@@ -592,9 +639,15 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
592
639
|
setHighResScaleFactor(arg: number): void;
|
|
593
640
|
setHeight(height: number): void;
|
|
594
641
|
setError(error?: unknown): void;
|
|
642
|
+
addWarning(warning: string): void;
|
|
643
|
+
clearWarnings(): void;
|
|
644
|
+
setHostCarriesData(arg: boolean): void;
|
|
595
645
|
setMousePos(col?: number, row?: number): void;
|
|
596
646
|
setHighlightedColumns(columns?: number[]): void;
|
|
597
647
|
setHighlights(highlights: import("react-msaview").Highlight[]): void;
|
|
648
|
+
setClades(clades: import("react-msaview").Clade[]): void;
|
|
649
|
+
applyHighlight(owner: string, highlights: import("react-msaview").Highlight[]): void;
|
|
650
|
+
clearHighlight(owner: string): void;
|
|
598
651
|
setShowDomains(arg: boolean): void;
|
|
599
652
|
setShowDomainLegend(arg: boolean): void;
|
|
600
653
|
setSubFeatureRows(arg: boolean): void;
|
|
@@ -617,14 +670,15 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
617
670
|
setMSA(result: string): void;
|
|
618
671
|
setTree(result: string): void;
|
|
619
672
|
setTreeMetadata(result: string): void;
|
|
673
|
+
setGFF(result: string): void;
|
|
620
674
|
} & {
|
|
621
675
|
readonly hideGapsEffective: boolean;
|
|
622
676
|
readonly realAllowedGappyness: number;
|
|
623
677
|
readonly actuallyShowDomains: boolean;
|
|
678
|
+
readonly hostRestoresData: boolean;
|
|
624
679
|
readonly viewInitialized: boolean;
|
|
625
680
|
readonly width: number;
|
|
626
681
|
} & {
|
|
627
|
-
extraViewMenuItems(): never[];
|
|
628
682
|
readonly colorScheme: Record<string, string>;
|
|
629
683
|
readonly header: Record<string, unknown> | {
|
|
630
684
|
info: string;
|
|
@@ -641,13 +695,18 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
641
695
|
readonly alignmentNames: string[];
|
|
642
696
|
readonly noTree: boolean;
|
|
643
697
|
readonly noDomains: boolean;
|
|
698
|
+
readonly unshareableData: import("react-msaview").UnshareableData[];
|
|
644
699
|
menuItems(): never[];
|
|
645
|
-
readonly
|
|
700
|
+
readonly rowData: Record<string, Record<string, string> | undefined>;
|
|
701
|
+
rowDataOf(name: string): Record<string, string> | undefined;
|
|
702
|
+
readonly rowFields: string[];
|
|
646
703
|
readonly MSA: import("msa-parsers").MSAParserType | null;
|
|
647
704
|
readonly numColumns: number;
|
|
648
705
|
readonly tree: import("react-msaview").NodeWithIds;
|
|
649
706
|
readonly rowNames: string[];
|
|
650
707
|
readonly rowNamesSet: Map<string, number>;
|
|
708
|
+
readonly resolvedClades: import("react-msaview").ResolvedClade[];
|
|
709
|
+
readonly cladeGutterWidth: number;
|
|
651
710
|
readonly mouseOverRowName: string | undefined;
|
|
652
711
|
readonly hoveredInsertion: {
|
|
653
712
|
rowName: string;
|
|
@@ -655,6 +714,21 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
655
714
|
letters: string;
|
|
656
715
|
} | undefined;
|
|
657
716
|
readonly root: import("react-msaview").HierarchyNode<import("react-msaview").NodeWithIds>;
|
|
717
|
+
readonly treeOverviewHeight: number;
|
|
718
|
+
readonly treeOverviewLayout: {
|
|
719
|
+
root: import("react-msaview").HierarchyNode<import("react-msaview").NodeWithIds>;
|
|
720
|
+
numTips: number;
|
|
721
|
+
maxDepthToLeaf: number;
|
|
722
|
+
showBranchLen: boolean;
|
|
723
|
+
} | undefined;
|
|
724
|
+
readonly treeOverviewClades: import("react-msaview").ResolvedClade[];
|
|
725
|
+
readonly treeOverviewFocusRows: [number, number] | undefined;
|
|
726
|
+
treeOverviewHit(y: number): {
|
|
727
|
+
id: string;
|
|
728
|
+
rows: [number, number];
|
|
729
|
+
} | undefined;
|
|
730
|
+
readonly rowPanelsWidth: number;
|
|
731
|
+
readonly rowPanelsHeaderHeight: 0 | 56;
|
|
658
732
|
readonly msaAreaWidth: number;
|
|
659
733
|
readonly treeAreaWidthMinusMargin: number;
|
|
660
734
|
readonly blanks: number[];
|
|
@@ -664,7 +738,7 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
664
738
|
}[]>;
|
|
665
739
|
readonly rows: [string, string][];
|
|
666
740
|
readonly numRows: number;
|
|
667
|
-
|
|
741
|
+
seqPosIndex(rowName: string): Int32Array | undefined;
|
|
668
742
|
readonly rowMap: Map<string, string>;
|
|
669
743
|
readonly columns: Map<string, string>;
|
|
670
744
|
readonly columns2d: string[];
|
|
@@ -682,29 +756,87 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
682
756
|
readonly hierarchy: import("react-msaview").HierarchyNode<import("react-msaview").NodeWithIdsAndLength>;
|
|
683
757
|
readonly totalHeight: number;
|
|
684
758
|
readonly leaves: import("react-msaview").HierarchyNode<import("react-msaview").NodeWithIdsAndLength>[];
|
|
759
|
+
readonly rootToTipLength: number;
|
|
685
760
|
readonly maxBranchLength: number;
|
|
761
|
+
readonly pxPerBranchLength: number;
|
|
686
762
|
readonly maxDepthToLeaf: number;
|
|
687
763
|
readonly allBranchesLength0: boolean;
|
|
688
764
|
readonly showBranchLenEffective: boolean;
|
|
689
765
|
} & {
|
|
690
766
|
readonly totalWidth: number;
|
|
767
|
+
} & {
|
|
768
|
+
readonly showMsaLetters: boolean;
|
|
769
|
+
readonly showTreeText: boolean;
|
|
770
|
+
} & {
|
|
771
|
+
readonly labelWidthMap: Map<string, number>;
|
|
772
|
+
readonly labelWidthScale: number;
|
|
773
|
+
readonly labelsWidth: number;
|
|
774
|
+
readonly secondaryStructureConsensus: string | undefined;
|
|
775
|
+
readonly seqConsensus: string | undefined;
|
|
776
|
+
readonly secondaryStructureArcs: import("react-msaview").Arc[] | undefined;
|
|
777
|
+
readonly adapterTrackModels: import("react-msaview").BasicTrack[];
|
|
778
|
+
readonly columnTrackContent: Map<string, {
|
|
779
|
+
values?: number[];
|
|
780
|
+
data?: string;
|
|
781
|
+
arcs?: import("react-msaview").Arc[];
|
|
782
|
+
}>;
|
|
783
|
+
trackHeight(kind: import("react-msaview").TrackKind, heightKey?: string, given?: number): number;
|
|
784
|
+
readonly columnTrackModels: import("react-msaview").BasicTrack[];
|
|
785
|
+
readonly basePairTrackModels: import("react-msaview").BasicTrack[];
|
|
786
|
+
readonly computedTrackModels: import("react-msaview").BasicTrack[];
|
|
787
|
+
readonly tracks: import("react-msaview").BasicTrack[];
|
|
788
|
+
readonly turnedOnTracks: import("react-msaview").BasicTrack[];
|
|
789
|
+
readonly showHorizontalScrollbar: boolean;
|
|
790
|
+
visibleColToRowLetter(rowName: string, visibleCol: number): string | undefined;
|
|
791
|
+
visibleColToSeqPos(rowName: string, visibleCol: number): number | undefined;
|
|
792
|
+
visibleColToSeqPosOneBased(rowName: string, visibleCol: number): number | undefined;
|
|
793
|
+
globalColToVisibleCol(globalCol: number): number | undefined;
|
|
794
|
+
visibleColToGlobalCol(visibleCol: number): number;
|
|
795
|
+
seqPosToGlobalCol(rowName: string, seqPos: number): number | undefined;
|
|
796
|
+
seqPosToVisibleCol(rowName: string, seqPos: number): number | undefined;
|
|
797
|
+
visibleSpan({ row, start: rawStart, end: rawEnd }: import("react-msaview").Region): {
|
|
798
|
+
startCol: number;
|
|
799
|
+
endCol: number;
|
|
800
|
+
} | undefined;
|
|
801
|
+
readonly residueMappingProblems: import("react-msaview").ResidueMappingProblem[];
|
|
802
|
+
readonly usableResidueMappings: import("react-msaview").ResidueMapping[];
|
|
803
|
+
readonly mappedStructures: {
|
|
804
|
+
row: string;
|
|
805
|
+
structure: import("react-msaview").MappedStructure;
|
|
806
|
+
}[];
|
|
807
|
+
structureResidue(rowName: string, seqPos: number, structureId?: string): import("react-msaview").StructureResidue | undefined;
|
|
808
|
+
rowResidue(structureId: string, position: number, asymId?: string): import("react-msaview").RowResidue | undefined;
|
|
809
|
+
} & {
|
|
810
|
+
readonly treeScaleBar: {
|
|
811
|
+
step: number;
|
|
812
|
+
px: number;
|
|
813
|
+
label: string;
|
|
814
|
+
} | undefined;
|
|
815
|
+
readonly topBandHeight: number;
|
|
816
|
+
readonly msaAreaHeight: number;
|
|
817
|
+
readonly totalTrackAreaHeight: number;
|
|
818
|
+
readonly annotationTypes: Map<string, import("msa-parsers").Annotation>;
|
|
819
|
+
readonly filteredAnnotations: import("msa-parsers").Annotation[];
|
|
820
|
+
readonly annotationsByRow: Record<string, import("msa-parsers").Annotation[]>;
|
|
821
|
+
} & {
|
|
822
|
+
readonly showVerticalScrollbar: boolean;
|
|
691
823
|
} & {
|
|
692
824
|
readonly dataInitialized: boolean;
|
|
693
825
|
readonly blocksX: number[];
|
|
694
826
|
readonly blocksY: number[];
|
|
695
|
-
readonly visibleMsaHeight: number;
|
|
696
827
|
} & {
|
|
697
828
|
readonly blocks2d: (readonly [number, number])[];
|
|
698
829
|
readonly isLoading: boolean;
|
|
699
830
|
readonly maxScrollX: number;
|
|
700
831
|
readonly maxScrollY: number;
|
|
701
|
-
readonly
|
|
702
|
-
readonly showTreeText: boolean;
|
|
832
|
+
readonly wheelZoomAxis: "both" | "horizontal" | "vertical";
|
|
703
833
|
} & {
|
|
704
834
|
setDrawMsaLetters(arg: boolean): void;
|
|
705
835
|
setScrollZoom(arg: boolean): void;
|
|
836
|
+
setScrollZoomAxis(arg: "both" | "horizontal" | "vertical"): void;
|
|
706
837
|
setHoveredTreeNode(nodeId?: string): void;
|
|
707
838
|
calculateNeighborJoiningTreeFromMSA(): void;
|
|
839
|
+
replaceTree(newick: string): void;
|
|
708
840
|
resetZoom(): void;
|
|
709
841
|
zoomOutHorizontal(): void;
|
|
710
842
|
zoomInHorizontal(): void;
|
|
@@ -712,7 +844,7 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
712
844
|
zoomOutVertical(): void;
|
|
713
845
|
zoomIn(): void;
|
|
714
846
|
zoomOut(): void;
|
|
715
|
-
zoomToPos(scaleFactor: number, offsetX: number, offsetY: number): void;
|
|
847
|
+
zoomToPos(scaleFactor: number, offsetX: number, offsetY: number, axis?: "both" | "horizontal" | "vertical"): void;
|
|
716
848
|
doScrollY(deltaY: number): void;
|
|
717
849
|
setScrollY(n: number): void;
|
|
718
850
|
setAnnotations(annotations: import("msa-parsers").Annotation[]): void;
|
|
@@ -721,44 +853,22 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
721
853
|
doScrollX(deltaX: number): void;
|
|
722
854
|
setScrollX(n: number): void;
|
|
723
855
|
setColumnTracks(tracks: import("react-msaview").ColumnTrackSpec[]): void;
|
|
856
|
+
setRowData(rowData: Record<string, Record<string, string>>): void;
|
|
857
|
+
setEncodings(encodings: import("react-msaview").Encoding[]): void;
|
|
858
|
+
setRowPanels(panels: import("react-msaview").RowPanelSpec[]): void;
|
|
859
|
+
setResidueMappings(mappings: import("react-msaview").ResidueMapping[]): void;
|
|
724
860
|
toggleTrack(id: string): void;
|
|
725
861
|
setStatus(status?: {
|
|
726
862
|
msg: string;
|
|
727
|
-
url?: string;
|
|
728
863
|
onCancel?: () => void;
|
|
729
864
|
}): void;
|
|
730
|
-
} & {
|
|
731
|
-
readonly labelWidthMap: Map<string, number>;
|
|
732
|
-
readonly labelWidthScale: number;
|
|
733
|
-
readonly labelsWidth: number;
|
|
734
|
-
readonly secondaryStructureConsensus: string | undefined;
|
|
735
|
-
readonly seqConsensus: string | undefined;
|
|
736
|
-
readonly adapterTrackModels: import("react-msaview").BasicTrack[];
|
|
737
|
-
readonly columnTrackContent: Map<string, {
|
|
738
|
-
values?: number[];
|
|
739
|
-
data?: string;
|
|
740
|
-
}>;
|
|
741
|
-
readonly columnTrackModels: import("react-msaview").BasicTrack[];
|
|
742
|
-
readonly tracks: import("react-msaview").BasicTrack[];
|
|
743
|
-
readonly turnedOnTracks: import("react-msaview").BasicTrack[];
|
|
744
|
-
readonly showHorizontalScrollbar: boolean;
|
|
745
|
-
visibleColToRowLetter(rowName: string, visibleCol: number): string | undefined;
|
|
746
|
-
visibleColToSeqPos(rowName: string, visibleCol: number): number | undefined;
|
|
747
|
-
visibleColToSeqPosOneBased(rowName: string, visibleCol: number): number | undefined;
|
|
748
|
-
globalColToVisibleCol(globalCol: number): number | undefined;
|
|
749
|
-
seqPosToGlobalCol(rowName: string, seqPos: number): number;
|
|
750
|
-
seqPosToVisibleCol(rowName: string, seqPos: number): number | undefined;
|
|
751
|
-
} & {
|
|
752
|
-
readonly msaAreaHeight: number;
|
|
753
|
-
readonly totalTrackAreaHeight: number;
|
|
754
|
-
readonly annotationTypes: Map<string, import("msa-parsers").Annotation>;
|
|
755
|
-
readonly filteredAnnotations: import("msa-parsers").Annotation[];
|
|
756
|
-
readonly annotationsByRow: Record<string, import("msa-parsers").Annotation[]>;
|
|
757
|
-
} & {
|
|
758
|
-
readonly showVerticalScrollbar: boolean;
|
|
759
865
|
} & {
|
|
760
866
|
readonly verticalScrollbarWidth: 0 | 20;
|
|
761
867
|
readonly msaCanvasWidth: number;
|
|
868
|
+
cellAt(visibleCol: number, rowIndex?: number): import("react-msaview").Cell;
|
|
869
|
+
readonly hoveredCell: import("react-msaview").Cell | undefined;
|
|
870
|
+
readonly clickedCell: import("react-msaview").Cell | undefined;
|
|
871
|
+
readonly viewport: import("react-msaview").Viewport | undefined;
|
|
762
872
|
readonly segmentDomainTypes: import("msa-parsers").Annotation[];
|
|
763
873
|
readonly categoricalDomainTypes: import("msa-parsers").Annotation[];
|
|
764
874
|
readonly fillPalette: {
|
|
@@ -767,8 +877,16 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
767
877
|
readonly strokePalette: {
|
|
768
878
|
[k: string]: string;
|
|
769
879
|
};
|
|
880
|
+
readonly featureFillEncoding: import("react-msaview").ResolvedEncoding | undefined;
|
|
881
|
+
readonly featureColors: Map<import("msa-parsers").Annotation, {
|
|
882
|
+
fill: string;
|
|
883
|
+
stroke: string;
|
|
884
|
+
}>;
|
|
885
|
+
readonly featureLabels: Map<import("msa-parsers").Annotation, string> | undefined;
|
|
770
886
|
readonly segmentLabels: Map<string, string>;
|
|
771
887
|
readonly visibleDomainTypes: import("msa-parsers").Annotation[];
|
|
888
|
+
readonly legends: import("react-msaview").Legend[];
|
|
889
|
+
readonly domainUnderline: boolean;
|
|
772
890
|
readonly domainBands: Map<string, import("react-msaview").DomainBand[]>;
|
|
773
891
|
readonly domainBandsByStart: Map<string, import("react-msaview").DomainBand[]>;
|
|
774
892
|
readonly mouseOverDomains: import("msa-parsers").Annotation[];
|
|
@@ -779,56 +897,43 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
779
897
|
end: number;
|
|
780
898
|
}[];
|
|
781
899
|
readonly resolvedHighlights: import("react-msaview").ResolvedHighlight[];
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
total: number;
|
|
785
|
-
gaps: number;
|
|
786
|
-
gapFraction: number;
|
|
787
|
-
conservation: number;
|
|
788
|
-
propertyConservation: number | undefined;
|
|
789
|
-
consensusLetter: string;
|
|
790
|
-
consensusCount: number;
|
|
791
|
-
consensusFraction: number;
|
|
792
|
-
distribution: [string, number][];
|
|
793
|
-
} | undefined;
|
|
900
|
+
columnStatsAt(col: number): import("react-msaview").ColumnStats | undefined;
|
|
901
|
+
readonly mouseOverColumnStats: import("react-msaview").ColumnStats | undefined;
|
|
794
902
|
getRowData(name: string): {
|
|
795
903
|
data: {
|
|
796
904
|
name?: string;
|
|
797
905
|
accession?: string;
|
|
798
906
|
dbxref?: string;
|
|
799
907
|
} | undefined;
|
|
800
|
-
|
|
908
|
+
rowData: Record<string, string> | undefined;
|
|
801
909
|
};
|
|
910
|
+
readonly resolvedEncodings: import("react-msaview").ResolvedEncoding[];
|
|
911
|
+
readonly resolvedRowPanels: import("react-msaview").ResolvedRowPanel[];
|
|
912
|
+
readonly featureAlignShifts: Map<string, Map<string, number>>;
|
|
913
|
+
readonly tipLabelColors: Map<string, string> | undefined;
|
|
914
|
+
readonly rowTints: (string | undefined)[] | undefined;
|
|
915
|
+
readonly branchColors: Map<string, string> | undefined;
|
|
802
916
|
} & {
|
|
803
917
|
setHeaderHeight(arg: number): void;
|
|
804
|
-
|
|
805
|
-
|
|
918
|
+
setHideHeader(arg: boolean): void;
|
|
919
|
+
treeOverviewClick(y: number): void;
|
|
920
|
+
setTrackHeight(heightKey: string, height: number): void;
|
|
806
921
|
reset(): void;
|
|
807
922
|
exportSVG(opts: import("react-msaview").ExportSvgOptions): Promise<void>;
|
|
808
|
-
|
|
809
|
-
setFilter(arg: string, flag: boolean): void;
|
|
923
|
+
setFilter(accession: string, shown: boolean): void;
|
|
810
924
|
fit(): void;
|
|
811
925
|
fitVertically(): void;
|
|
926
|
+
zoomToRegion(region: import("react-msaview").Region): void;
|
|
812
927
|
fitHorizontally(): void;
|
|
813
928
|
afterCreate(): void;
|
|
814
929
|
} & {
|
|
815
930
|
rid: string | undefined;
|
|
816
931
|
progress: string;
|
|
817
|
-
error: unknown;
|
|
818
932
|
loadingStoredData: boolean;
|
|
819
933
|
isStoringData: boolean;
|
|
820
934
|
lastStoredData: MsaDataPayload | undefined;
|
|
821
935
|
launchController: AbortController | undefined;
|
|
822
936
|
domainsRequested: boolean;
|
|
823
|
-
} & {
|
|
824
|
-
/**
|
|
825
|
-
* #method
|
|
826
|
-
*/
|
|
827
|
-
getRowByName(rowName: string): [string, string] | undefined;
|
|
828
|
-
/**
|
|
829
|
-
* #method
|
|
830
|
-
*/
|
|
831
|
-
getSequenceByRowName(rowName: string): string | undefined;
|
|
832
937
|
} & {
|
|
833
938
|
/**
|
|
834
939
|
* #getter
|
|
@@ -866,13 +971,22 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
866
971
|
readonly connectedHighlights: IRegion[];
|
|
867
972
|
} & {
|
|
868
973
|
/**
|
|
869
|
-
* #
|
|
974
|
+
* #getter
|
|
975
|
+
* overrides base
|
|
976
|
+
*
|
|
977
|
+
* react-msaview drops any snapshot document over 50kb and warns that a
|
|
978
|
+
* link to the view opens without it. True for an alignment this browser
|
|
979
|
+
* is holding in IndexedDB; wrong for an indexed view, whose kept `init`
|
|
980
|
+
* names a bgzip block over HTTP that processInit refetches wherever the
|
|
981
|
+
* session is opened -- so that one showed "Not in the link" about an
|
|
982
|
+
* alignment the link does carry.
|
|
870
983
|
*/
|
|
871
|
-
|
|
984
|
+
readonly hostRestoresData: boolean;
|
|
985
|
+
} & {
|
|
872
986
|
/**
|
|
873
987
|
* #action
|
|
874
988
|
*/
|
|
875
|
-
|
|
989
|
+
setZoomToBaseLevel(arg: boolean): void;
|
|
876
990
|
/**
|
|
877
991
|
* #action
|
|
878
992
|
*/
|
|
@@ -885,6 +999,10 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
885
999
|
* #action
|
|
886
1000
|
*/
|
|
887
1001
|
setBlastParams(args?: BlastParams): void;
|
|
1002
|
+
/**
|
|
1003
|
+
* #action
|
|
1004
|
+
*/
|
|
1005
|
+
setConnectedFeature(arg?: Record<string, unknown>): void;
|
|
888
1006
|
/**
|
|
889
1007
|
* #action
|
|
890
1008
|
*/
|
|
@@ -897,6 +1015,10 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
897
1015
|
* #action
|
|
898
1016
|
*/
|
|
899
1017
|
setQuerySeqName(arg: string): void;
|
|
1018
|
+
/**
|
|
1019
|
+
* #action
|
|
1020
|
+
*/
|
|
1021
|
+
setQuerySeqOffset(arg: number): void;
|
|
900
1022
|
/**
|
|
901
1023
|
* #action
|
|
902
1024
|
*/
|
|
@@ -905,6 +1027,10 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
905
1027
|
* #action
|
|
906
1028
|
*/
|
|
907
1029
|
setDataStoreId(arg?: string): void;
|
|
1030
|
+
/**
|
|
1031
|
+
* #action
|
|
1032
|
+
*/
|
|
1033
|
+
setLaunchCompleted(arg: boolean): void;
|
|
908
1034
|
/**
|
|
909
1035
|
* #action
|
|
910
1036
|
*/
|
|
@@ -927,13 +1053,25 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
927
1053
|
setLaunchController(arg?: AbortController): void;
|
|
928
1054
|
/**
|
|
929
1055
|
* #action
|
|
930
|
-
* Abandon the launch in flight. The EBI job keeps running on
|
|
931
|
-
* nothing here can recall it, and its JobLink stays valid —
|
|
932
|
-
* stops the polling and the writes it would make. Dropping
|
|
933
|
-
*
|
|
934
|
-
*
|
|
1056
|
+
* Abandon the launch, in flight or failed. The EBI job keeps running on
|
|
1057
|
+
* their side — nothing here can recall it, and its JobLink stays valid —
|
|
1058
|
+
* so this only stops the polling and the writes it would make. Dropping
|
|
1059
|
+
* the request (the params, or the init) is what keeps it from refiring on
|
|
1060
|
+
* the next reload; the view falls back to the import form, which is where
|
|
1061
|
+
* react-msaview's own cancel leaves it too.
|
|
935
1062
|
*/
|
|
936
1063
|
cancelLaunch(): void;
|
|
1064
|
+
/**
|
|
1065
|
+
* #action
|
|
1066
|
+
* Run the request again. The request IS the params, so re-stating them is
|
|
1067
|
+
* the whole retry: each is a frozen property, and a fresh object is a
|
|
1068
|
+
* change the launch autoruns wake on.
|
|
1069
|
+
*
|
|
1070
|
+
* A launch that already succeeded keeps its params and is marked
|
|
1071
|
+
* `launchCompleted`, so clearing that mark is the whole retry for a view
|
|
1072
|
+
* whose stored alignment expired.
|
|
1073
|
+
*/
|
|
1074
|
+
retryLaunch(): void;
|
|
937
1075
|
/**
|
|
938
1076
|
* #action
|
|
939
1077
|
*/
|
|
@@ -947,23 +1085,29 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
947
1085
|
* #action
|
|
948
1086
|
*/
|
|
949
1087
|
setMouseClickPos(col?: number, row?: number): void;
|
|
1088
|
+
} & {
|
|
1089
|
+
/**
|
|
1090
|
+
* #action
|
|
1091
|
+
* overrides base
|
|
1092
|
+
*
|
|
1093
|
+
* react-msaview's reset applies a snapshot filtered to its own
|
|
1094
|
+
* `preservedOnReset` list, and a downstream property is never on it:
|
|
1095
|
+
* returning to the import form dropped the view's name, un-minimized
|
|
1096
|
+
* it, and forgot the zoom-on-click preference. The volatiles fail the
|
|
1097
|
+
* other way -- applySnapshot cannot reach them, so the last file's
|
|
1098
|
+
* state carried into the next one and the domain auto-load, which fires
|
|
1099
|
+
* once per view, never fired again.
|
|
1100
|
+
*/
|
|
1101
|
+
reset(): void;
|
|
950
1102
|
} & {
|
|
951
1103
|
/**
|
|
952
1104
|
* #method
|
|
1105
|
+
* overrides base
|
|
953
1106
|
*/
|
|
954
|
-
|
|
955
|
-
label: string;
|
|
956
|
-
checked: boolean;
|
|
957
|
-
type: string;
|
|
958
|
-
onClick: () => void;
|
|
959
|
-
}[];
|
|
1107
|
+
menuItems(): MenuItem[];
|
|
960
1108
|
} & {
|
|
961
1109
|
afterCreate(): void;
|
|
962
|
-
}, import("@jbrowse/mobx-state-tree")._NotCustomized,
|
|
963
|
-
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
964
|
-
displayName: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
965
|
-
minimized: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
966
|
-
}> & (({
|
|
1110
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, ({
|
|
967
1111
|
bgColor: boolean;
|
|
968
1112
|
colorSchemeName: string;
|
|
969
1113
|
showColumnStats: boolean;
|
|
@@ -975,6 +1119,9 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
975
1119
|
showBranchLen: boolean;
|
|
976
1120
|
drawTree: boolean;
|
|
977
1121
|
drawNodeBubbles: boolean;
|
|
1122
|
+
drawNodeLabels: boolean;
|
|
1123
|
+
showTreeOverview: boolean;
|
|
1124
|
+
overviewHeight: number;
|
|
978
1125
|
autoTreeAreaWidth: boolean;
|
|
979
1126
|
columnTracks: import("react-msaview").ColumnTrackSpec[];
|
|
980
1127
|
id: string;
|
|
@@ -986,6 +1133,7 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
986
1133
|
type: "MsaView";
|
|
987
1134
|
drawMsaLetters: boolean;
|
|
988
1135
|
scrollZoom: boolean;
|
|
1136
|
+
scrollZoomAxis: "both" | "horizontal" | "vertical";
|
|
989
1137
|
height: number;
|
|
990
1138
|
rowHeight: number;
|
|
991
1139
|
scrollY: number;
|
|
@@ -1075,10 +1223,15 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
1075
1223
|
collapsed: string[];
|
|
1076
1224
|
showOnly: string | undefined;
|
|
1077
1225
|
turnedOffTracks: import("mobx").IKeyValueMap<boolean>;
|
|
1078
|
-
|
|
1226
|
+
trackHeights: import("mobx").IKeyValueMap<number>;
|
|
1227
|
+
residueMappings: import("react-msaview").ResidueMapping[];
|
|
1228
|
+
turnedOffFeatures: import("mobx").IKeyValueMap<boolean>;
|
|
1079
1229
|
relativeTo: string | undefined;
|
|
1080
1230
|
highlightColumns: number[] | undefined;
|
|
1081
1231
|
highlights: import("react-msaview").Highlight[];
|
|
1232
|
+
clades: import("react-msaview").Clade[];
|
|
1233
|
+
encodings: import("react-msaview").Encoding[];
|
|
1234
|
+
rowPanels: import("react-msaview").RowPanelSpec[];
|
|
1082
1235
|
data: {
|
|
1083
1236
|
tree?: string | undefined;
|
|
1084
1237
|
msa?: string | undefined;
|
|
@@ -1097,6 +1250,9 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
1097
1250
|
showBranchLen: boolean;
|
|
1098
1251
|
drawTree: boolean;
|
|
1099
1252
|
drawNodeBubbles: boolean;
|
|
1253
|
+
drawNodeLabels: boolean;
|
|
1254
|
+
showTreeOverview: boolean;
|
|
1255
|
+
overviewHeight: number;
|
|
1100
1256
|
autoTreeAreaWidth: boolean;
|
|
1101
1257
|
columnTracks?: undefined;
|
|
1102
1258
|
id: string;
|
|
@@ -1108,6 +1264,7 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
1108
1264
|
type: "MsaView";
|
|
1109
1265
|
drawMsaLetters: boolean;
|
|
1110
1266
|
scrollZoom: boolean;
|
|
1267
|
+
scrollZoomAxis: "both" | "horizontal" | "vertical";
|
|
1111
1268
|
height: number;
|
|
1112
1269
|
rowHeight: number;
|
|
1113
1270
|
scrollY: number;
|
|
@@ -1197,17 +1354,22 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
1197
1354
|
collapsed: string[];
|
|
1198
1355
|
showOnly: string | undefined;
|
|
1199
1356
|
turnedOffTracks: import("mobx").IKeyValueMap<boolean>;
|
|
1200
|
-
|
|
1357
|
+
trackHeights: import("mobx").IKeyValueMap<number>;
|
|
1358
|
+
residueMappings: import("react-msaview").ResidueMapping[];
|
|
1359
|
+
turnedOffFeatures: import("mobx").IKeyValueMap<boolean>;
|
|
1201
1360
|
relativeTo: string | undefined;
|
|
1202
1361
|
highlightColumns: number[] | undefined;
|
|
1203
1362
|
highlights: import("react-msaview").Highlight[];
|
|
1363
|
+
clades: import("react-msaview").Clade[];
|
|
1364
|
+
encodings: import("react-msaview").Encoding[];
|
|
1365
|
+
rowPanels: import("react-msaview").RowPanelSpec[];
|
|
1204
1366
|
data: {
|
|
1205
1367
|
tree?: string | undefined;
|
|
1206
1368
|
msa?: string | undefined;
|
|
1207
1369
|
treeMetadata?: string | undefined;
|
|
1208
1370
|
gff?: string | undefined;
|
|
1209
1371
|
};
|
|
1210
|
-
} & import("@jbrowse/mobx-state-tree")._NotCustomized)
|
|
1372
|
+
} & import("@jbrowse/mobx-state-tree")._NotCustomized)>;
|
|
1211
1373
|
export type JBrowsePluginMsaViewStateModel = ReturnType<typeof stateModelFactory>;
|
|
1212
1374
|
export type JBrowsePluginMsaViewModel = Instance<JBrowsePluginMsaViewStateModel>;
|
|
1213
1375
|
export { type MafRegion, type MsaViewInitState } from './types';
|