jbrowse-plugin-msaview 2.2.11 → 2.3.3
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/dist/AddHighlightModel/index.d.ts +1 -1
- package/dist/AddHighlightModel/index.js.map +1 -1
- package/dist/BgzipFastaMsaAdapter/BgzipFastaMsaAdapter.d.ts +2 -1
- package/dist/BgzipFastaMsaAdapter/BgzipFastaMsaAdapter.js +1 -1
- package/dist/BgzipFastaMsaAdapter/BgzipFastaMsaAdapter.js.map +1 -1
- package/dist/BgzipFastaMsaAdapter/configSchema.d.ts +1 -1
- package/dist/BgzipFastaMsaAdapter/configSchema.js.map +1 -1
- package/dist/BgzipFastaMsaAdapter/index.d.ts +1 -1
- package/dist/BgzipFastaMsaAdapter/index.js.map +1 -1
- package/dist/LaunchMsaView/components/EnsemblGeneTree/EnsemblGeneTree.d.ts +1 -1
- package/dist/LaunchMsaView/components/EnsemblGeneTree/EnsemblGeneTree.js +1 -1
- package/dist/LaunchMsaView/components/EnsemblGeneTree/EnsemblGeneTree.js.map +1 -1
- package/dist/LaunchMsaView/components/EnsemblGeneTree/ensemblGeneTreeUtils.js.map +1 -1
- package/dist/LaunchMsaView/components/LaunchMsaViewDialog.d.ts +1 -1
- package/dist/LaunchMsaView/components/LaunchMsaViewDialog.js.map +1 -1
- package/dist/LaunchMsaView/components/ManualMSALoader/ManualMSALoader.d.ts +1 -1
- package/dist/LaunchMsaView/components/ManualMSALoader/ManualMSALoader.js +1 -1
- package/dist/LaunchMsaView/components/ManualMSALoader/ManualMSALoader.js.map +1 -1
- package/dist/LaunchMsaView/components/ManualMSALoader/launchView.d.ts +1 -1
- package/dist/LaunchMsaView/components/ManualMSALoader/launchView.js.map +1 -1
- package/dist/LaunchMsaView/components/NCBIBlastQuery/CachedBlastResults.d.ts +1 -2
- package/dist/LaunchMsaView/components/NCBIBlastQuery/CachedBlastResults.js +21 -14
- package/dist/LaunchMsaView/components/NCBIBlastQuery/CachedBlastResults.js.map +1 -1
- package/dist/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastAutomaticPanel.d.ts +1 -1
- package/dist/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastAutomaticPanel.js +32 -35
- package/dist/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastAutomaticPanel.js.map +1 -1
- package/dist/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastRIDPanel.d.ts +1 -1
- package/dist/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastRIDPanel.js +2 -2
- package/dist/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastRIDPanel.js.map +1 -1
- package/dist/LaunchMsaView/components/NCBIBlastQuery/blastLaunchView.d.ts +1 -1
- package/dist/LaunchMsaView/components/NCBIBlastQuery/blastLaunchView.js.map +1 -1
- package/dist/LaunchMsaView/components/NCBIBlastQuery/consts.d.ts +2 -0
- package/dist/LaunchMsaView/components/NCBIBlastQuery/consts.js +1 -0
- package/dist/LaunchMsaView/components/NCBIBlastQuery/consts.js.map +1 -1
- package/dist/LaunchMsaView/components/PreLoadedMSA/PreLoadedMSADataPanel.d.ts +1 -1
- package/dist/LaunchMsaView/components/PreLoadedMSA/PreLoadedMSADataPanel.js +6 -8
- package/dist/LaunchMsaView/components/PreLoadedMSA/PreLoadedMSADataPanel.js.map +1 -1
- package/dist/LaunchMsaView/components/PreLoadedMSA/fetchMSAData.d.ts +2 -2
- package/dist/LaunchMsaView/components/PreLoadedMSA/fetchMSAData.js.map +1 -1
- package/dist/LaunchMsaView/components/PreLoadedMSA/preCalculatedLaunchView.d.ts +1 -1
- package/dist/LaunchMsaView/components/PreLoadedMSA/preCalculatedLaunchView.js.map +1 -1
- package/dist/LaunchMsaView/components/TranscriptSelector.d.ts +3 -3
- package/dist/LaunchMsaView/components/TranscriptSelector.js +4 -4
- package/dist/LaunchMsaView/components/TranscriptSelector.js.map +1 -1
- package/dist/LaunchMsaView/components/useTranscriptSelection.d.ts +1 -1
- package/dist/LaunchMsaView/components/useTranscriptSelection.js +1 -2
- package/dist/LaunchMsaView/components/useTranscriptSelection.js.map +1 -1
- package/dist/LaunchMsaView/components/util.js +1 -1
- package/dist/LaunchMsaView/components/util.js.map +1 -1
- package/dist/LaunchMsaView/index.d.ts +1 -1
- package/dist/LaunchMsaView/index.js.map +1 -1
- package/dist/LaunchMsaView/util.d.ts +1 -0
- package/dist/LaunchMsaView/util.js +10 -0
- package/dist/LaunchMsaView/util.js.map +1 -1
- package/dist/MsaViewPanel/afterCreateAutoruns.d.ts +10 -0
- package/dist/MsaViewPanel/afterCreateAutoruns.js +258 -0
- package/dist/MsaViewPanel/afterCreateAutoruns.js.map +1 -0
- package/dist/MsaViewPanel/blosum62.d.ts +2 -0
- package/dist/MsaViewPanel/blosum62.js +628 -0
- package/dist/MsaViewPanel/blosum62.js.map +1 -0
- package/dist/MsaViewPanel/components/LoadingBLAST.d.ts +1 -1
- package/dist/MsaViewPanel/components/LoadingBLAST.js.map +1 -1
- package/dist/MsaViewPanel/components/MsaViewPanel.d.ts +1 -1
- package/dist/MsaViewPanel/components/MsaViewPanel.js.map +1 -1
- package/dist/MsaViewPanel/doLaunchBlast.d.ts +1 -1
- package/dist/MsaViewPanel/doLaunchBlast.js.map +1 -1
- package/dist/MsaViewPanel/genomeToMSA.d.ts +1 -1
- package/dist/MsaViewPanel/genomeToMSA.js.map +1 -1
- package/dist/MsaViewPanel/index.d.ts +1 -1
- package/dist/MsaViewPanel/index.js.map +1 -1
- package/dist/MsaViewPanel/model.d.ts +25 -39
- package/dist/MsaViewPanel/model.js +17 -309
- package/dist/MsaViewPanel/model.js.map +1 -1
- package/dist/MsaViewPanel/msaDataStore.d.ts +3 -4
- package/dist/MsaViewPanel/msaDataStore.js +59 -173
- package/dist/MsaViewPanel/msaDataStore.js.map +1 -1
- package/dist/MsaViewPanel/pairwiseAlignment.d.ts +0 -7
- package/dist/MsaViewPanel/pairwiseAlignment.js +1 -636
- package/dist/MsaViewPanel/pairwiseAlignment.js.map +1 -1
- package/dist/MsaViewPanel/structureConnection.js +1 -5
- package/dist/MsaViewPanel/structureConnection.js.map +1 -1
- package/dist/MsaViewPanel/util.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/jbrowse-plugin-msaview.umd.production.min.js +30 -30
- package/dist/jbrowse-plugin-msaview.umd.production.min.js.map +4 -4
- package/dist/utils/msa.js +35 -77
- package/dist/utils/msa.js.map +1 -1
- package/dist/utils/ncbiBlast.js +1 -10
- package/dist/utils/ncbiBlast.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +30 -26
- package/src/AddHighlightModel/index.tsx +1 -1
- package/src/BgzipFastaMsaAdapter/BgzipFastaMsaAdapter.ts +3 -4
- package/src/BgzipFastaMsaAdapter/configSchema.ts +2 -1
- package/src/BgzipFastaMsaAdapter/index.ts +2 -1
- package/src/LaunchMsaView/components/EnsemblGeneTree/EnsemblGeneTree.tsx +2 -6
- package/src/LaunchMsaView/components/EnsemblGeneTree/ensemblGeneTreeUtils.ts +2 -1
- package/src/LaunchMsaView/components/LaunchMsaViewDialog.tsx +2 -1
- package/src/LaunchMsaView/components/ManualMSALoader/ManualMSALoader.tsx +6 -7
- package/src/LaunchMsaView/components/ManualMSALoader/launchView.ts +5 -2
- package/src/LaunchMsaView/components/NCBIBlastQuery/CachedBlastResults.tsx +22 -17
- package/src/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastAutomaticPanel.tsx +40 -52
- package/src/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastRIDPanel.tsx +6 -13
- package/src/LaunchMsaView/components/NCBIBlastQuery/blastLaunchView.ts +2 -1
- package/src/LaunchMsaView/components/NCBIBlastQuery/consts.ts +2 -0
- package/src/LaunchMsaView/components/PreLoadedMSA/PreLoadedMSADataPanel.tsx +7 -19
- package/src/LaunchMsaView/components/PreLoadedMSA/fetchMSAData.ts +2 -2
- package/src/LaunchMsaView/components/PreLoadedMSA/preCalculatedLaunchView.ts +1 -2
- package/src/LaunchMsaView/components/TranscriptSelector.tsx +7 -6
- package/src/LaunchMsaView/components/useTranscriptSelection.ts +1 -6
- package/src/LaunchMsaView/components/util.ts +1 -1
- package/src/LaunchMsaView/index.ts +6 -5
- package/src/LaunchMsaView/util.ts +11 -0
- package/src/MsaViewPanel/afterCreateAutoruns.ts +299 -0
- package/src/MsaViewPanel/blosum62.ts +628 -0
- package/src/MsaViewPanel/components/LoadingBLAST.tsx +2 -1
- package/src/MsaViewPanel/components/MsaViewPanel.tsx +2 -1
- package/src/MsaViewPanel/doLaunchBlast.ts +1 -1
- package/src/MsaViewPanel/genomeToMSA.ts +2 -1
- package/src/MsaViewPanel/index.ts +2 -1
- package/src/MsaViewPanel/model.ts +30 -392
- package/src/MsaViewPanel/msaDataStore.ts +56 -196
- package/src/MsaViewPanel/pairwiseAlignment.ts +1 -637
- package/src/MsaViewPanel/structureConnection.ts +1 -5
- package/src/MsaViewPanel/util.ts +1 -1
- package/src/index.ts +4 -2
- package/src/utils/msa.ts +45 -100
- package/src/utils/ncbiBlast.ts +3 -13
- package/src/version.ts +1 -1
- package/CHANGELOG.md +0 -101
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genomeToMSA.js","sourceRoot":"","sources":["../../src/MsaViewPanel/genomeToMSA.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"genomeToMSA.js","sourceRoot":"","sources":["../../src/MsaViewPanel/genomeToMSA.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AAIrC;;;;;GAKG;AACH,MAAM,UAAU,WAAW,CAAC,EAAE,KAAK,EAAwC;IACzE,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,KAAK,CAAC,CAAA;IACrC,MAAM,EAAE,YAAY,EAAE,kBAAkB,EAAE,aAAa,EAAE,SAAS,EAAE,GAAG,KAAK,CAAA;IAE5E,IAAI,CAAC,aAAa,EAAE,WAAW,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1D,OAAO,SAAS,CAAA;IAClB,CAAC;IAED,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,aAAa,CAAA;IAE5D,4BAA4B;IAC5B,IAAI,SAAS,EAAE,CAAC;QACd,8DAA8D;QAC9D,IAAI,OAAO,KAAK,SAAS,CAAC,OAAO,EAAE,CAAC;YAClC,OAAO,SAAS,CAAA;QAClB,CAAC;QACD,sEAAsE;QACtE,MAAM,cAAc,GAAG,aAAa,CAAC,aAAa,CAAA;QAClD,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC,EAAE,CAAC;YACrD,OAAO,SAAS,CAAA;QAClB,CAAC;QACD,yDAAyD;QACzD,IAAI,UAAU,GAAG,SAAS,CAAC,KAAK,IAAI,UAAU,IAAI,SAAS,CAAC,GAAG,EAAE,CAAC;YAChE,OAAO,SAAS,CAAA;QAClB,CAAC;QACD,+DAA+D;QAC/D,MAAM,WAAW,GAAG,UAAU,GAAG,SAAS,CAAC,KAAK,CAAA;QAChD,qDAAqD;QACrD,OAAO,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,WAAW,CAAC,CAAA;IAC5D,CAAC;IAED,gDAAgD;IAChD,IAAI,kBAAkB,EAAE,CAAC;QACvB,MAAM,EAAE,GAAG,EAAE,GAAG,kBAAkB,CAAA;QAClC,4DAA4D;QAC5D,MAAM,MAAM,GAAG,GAAG,CAAC,UAAU,CAAC,CAAA;QAC9B,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,8CAA8C;YAC9C,OAAO,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAA;QACvD,CAAC;IACH,CAAC;IAED,OAAO,SAAS,CAAA;AAClB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import PluginManager from '@jbrowse/core/PluginManager';
|
|
1
|
+
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
2
|
export default function MsaViewF(pluginManager: PluginManager): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/MsaViewPanel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/MsaViewPanel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAE5B,OAAO,QAAQ,MAAM,8CAA8C,CAAA;AAEnE,OAAO,iBAAiB,MAAM,SAAS,CAAA;AAIvC,SAAS;AACT,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAAC,CAAA;AAEpE,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,aAA4B;IAC3D,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE;QAC7B,OAAO,IAAI,QAAQ,CAAC;YAClB,IAAI,EAAE,SAAS;YACf,UAAU,EAAE,iBAAiB,EAAE;YAC/B,cAAc,EAAE,YAAY;SAC7B,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -33,7 +33,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
33
33
|
labelsAlignRight: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
34
34
|
treeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
35
35
|
treeWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
36
|
-
treeWidthMatchesArea: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
37
36
|
showBranchLen: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
38
37
|
drawTree: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
39
38
|
drawNodeBubbles: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -45,7 +44,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
45
44
|
showDomains: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
46
45
|
hideGaps: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
47
46
|
allowedGappyness: import("@jbrowse/mobx-state-tree").IType<number | undefined, number, number>;
|
|
48
|
-
contrastLettering: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
49
47
|
subFeatureRows: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
50
48
|
type: import("@jbrowse/mobx-state-tree").ISimpleType<"MsaView">;
|
|
51
49
|
drawMsaLetters: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -308,21 +306,23 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
308
306
|
}>> & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject)>, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
309
307
|
currentAlignment: import("@jbrowse/mobx-state-tree").IType<number | undefined, number, number>;
|
|
310
308
|
collapsed: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
311
|
-
collapsedLeaves: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
312
309
|
showOnly: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
313
310
|
turnedOffTracks: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
314
311
|
data: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
315
312
|
tree: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
316
313
|
msa: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
317
314
|
treeMetadata: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
315
|
+
gff: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
318
316
|
}, {
|
|
319
317
|
setTree(tree?: string): void;
|
|
320
318
|
setMSA(msa?: string): void;
|
|
321
319
|
setTreeMetadata(treeMetadata?: string): void;
|
|
320
|
+
setGFF(gff?: string): void;
|
|
322
321
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, {
|
|
323
322
|
tree: string | undefined;
|
|
324
323
|
msa: string | undefined;
|
|
325
324
|
treeMetadata: string | undefined;
|
|
325
|
+
gff: string | undefined;
|
|
326
326
|
}>, [undefined]>;
|
|
327
327
|
featureFilters: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
328
328
|
relativeTo: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
@@ -359,7 +359,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
359
359
|
removeActiveDialog(): void;
|
|
360
360
|
queueDialog(cb: (doneCallback: () => void) => [import("@jbrowse/core/util").DialogComponentType, unknown]): void;
|
|
361
361
|
} & {
|
|
362
|
-
setTreeWidthMatchesArea(arg: boolean): void;
|
|
363
362
|
setTreeAreaWidth(n: number): void;
|
|
364
363
|
setTreeWidth(n: number): void;
|
|
365
364
|
setLabelsAlignRight(arg: boolean): void;
|
|
@@ -377,7 +376,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
377
376
|
url?: string;
|
|
378
377
|
} | undefined;
|
|
379
378
|
highResScaleFactor: number;
|
|
380
|
-
showZoomStar: boolean;
|
|
381
379
|
loadingMSA: boolean;
|
|
382
380
|
loadingTree: boolean;
|
|
383
381
|
volatileWidth: number | undefined;
|
|
@@ -397,18 +395,12 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
397
395
|
conservationTrackHeight: number;
|
|
398
396
|
marginLeft: number;
|
|
399
397
|
error: unknown;
|
|
400
|
-
annotPos: {
|
|
401
|
-
left: number;
|
|
402
|
-
right: number;
|
|
403
|
-
} | undefined;
|
|
404
398
|
interProAnnotations: undefined | Record<string, import("react-msaview").InterProScanResults>;
|
|
405
399
|
} & {
|
|
406
400
|
drawRelativeTo(id: string | undefined): void;
|
|
407
401
|
setHideGaps(arg: boolean): void;
|
|
408
402
|
setAllowedGappyness(arg: number): void;
|
|
409
|
-
setContrastLettering(arg: boolean): void;
|
|
410
403
|
setLoadingMSA(arg: boolean): void;
|
|
411
|
-
setShowZoomStar(arg: boolean): void;
|
|
412
404
|
setLoadingTree(arg: boolean): void;
|
|
413
405
|
setWidth(arg: number): void;
|
|
414
406
|
setHeight(height: number): void;
|
|
@@ -424,12 +416,12 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
424
416
|
setScrollY(n: number): void;
|
|
425
417
|
setCurrentAlignment(n: number): void;
|
|
426
418
|
toggleCollapsed(node: string): void;
|
|
427
|
-
toggleCollapsedLeaf(node: string): void;
|
|
428
419
|
setShowOnly(node?: string): void;
|
|
429
420
|
setData(data: {
|
|
430
421
|
msa?: string;
|
|
431
422
|
tree?: string;
|
|
432
423
|
treeMetadata?: string;
|
|
424
|
+
gff?: string;
|
|
433
425
|
}): void;
|
|
434
426
|
setMSAFilehandle(msaFilehandle?: import("@jbrowse/core/util").FileLocation): void;
|
|
435
427
|
setTreeFilehandle(treeFilehandle?: import("@jbrowse/core/util").FileLocation): void;
|
|
@@ -446,13 +438,13 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
446
438
|
} & {
|
|
447
439
|
extraViewMenuItems(): never[];
|
|
448
440
|
readonly colorScheme: Record<string, string>;
|
|
449
|
-
readonly header:
|
|
441
|
+
readonly header: Record<string, unknown>;
|
|
450
442
|
readonly alignmentNames: string[];
|
|
451
443
|
readonly noTree: boolean;
|
|
452
444
|
readonly noDomains: boolean;
|
|
453
445
|
menuItems(): never[];
|
|
454
446
|
readonly treeMetadata: any;
|
|
455
|
-
readonly MSA: import("
|
|
447
|
+
readonly MSA: import("react-msaview").MSAParserType | null;
|
|
456
448
|
readonly numColumns: number;
|
|
457
449
|
readonly tree: import("react-msaview").NodeWithIds;
|
|
458
450
|
readonly rowNames: string[];
|
|
@@ -462,7 +454,7 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
462
454
|
col: number;
|
|
463
455
|
letters: string;
|
|
464
456
|
} | undefined;
|
|
465
|
-
readonly root: HierarchyNode<import("react-msaview").NodeWithIds>;
|
|
457
|
+
readonly root: import("react-msaview").HierarchyNode<import("react-msaview").NodeWithIds>;
|
|
466
458
|
readonly msaAreaWidth: number;
|
|
467
459
|
readonly treeAreaWidthMinusMargin: number;
|
|
468
460
|
readonly blanks: number[];
|
|
@@ -488,9 +480,9 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
488
480
|
}[];
|
|
489
481
|
readonly colClustalX: Record<string, string>[];
|
|
490
482
|
readonly conservation: number[];
|
|
491
|
-
readonly hierarchy: HierarchyNode<import("react-msaview").NodeWithIdsAndLength>;
|
|
483
|
+
readonly hierarchy: import("react-msaview").HierarchyNode<import("react-msaview").NodeWithIdsAndLength>;
|
|
492
484
|
readonly totalHeight: number;
|
|
493
|
-
readonly leaves: HierarchyNode<import("react-msaview").NodeWithIdsAndLength>[];
|
|
485
|
+
readonly leaves: import("react-msaview").HierarchyNode<import("react-msaview").NodeWithIdsAndLength>[];
|
|
494
486
|
readonly allBranchesLength0: boolean;
|
|
495
487
|
readonly showBranchLenEffective: boolean;
|
|
496
488
|
} & {
|
|
@@ -515,8 +507,9 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
515
507
|
zoomOutVertical(): void;
|
|
516
508
|
zoomIn(): void;
|
|
517
509
|
zoomOut(): void;
|
|
518
|
-
setInterProAnnotations(data: Record<string, import("react-msaview").InterProScanResults>): void;
|
|
519
510
|
doScrollY(deltaY: number): void;
|
|
511
|
+
setInterProAnnotations(data: Record<string, import("react-msaview").InterProScanResults>): void;
|
|
512
|
+
applyGFFText(gffText: string): void;
|
|
520
513
|
doScrollX(deltaX: number): void;
|
|
521
514
|
setScrollX(n: number): void;
|
|
522
515
|
toggleTrack(id: string): void;
|
|
@@ -548,7 +541,14 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
548
541
|
} | undefined;
|
|
549
542
|
readonly msaAreaHeight: number;
|
|
550
543
|
readonly totalTrackAreaHeight: number;
|
|
551
|
-
readonly tidyInterProAnnotationTypes: Map<string,
|
|
544
|
+
readonly tidyInterProAnnotationTypes: Map<string, {
|
|
545
|
+
id: string;
|
|
546
|
+
name: string;
|
|
547
|
+
accession: string;
|
|
548
|
+
description: string;
|
|
549
|
+
start: number;
|
|
550
|
+
end: number;
|
|
551
|
+
}>;
|
|
552
552
|
readonly tidyInterProAnnotations: {
|
|
553
553
|
id: string;
|
|
554
554
|
name: string;
|
|
@@ -585,9 +585,9 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
585
585
|
};
|
|
586
586
|
getRowData(name: string): {
|
|
587
587
|
data: {
|
|
588
|
-
name
|
|
589
|
-
accession
|
|
590
|
-
dbxref
|
|
588
|
+
name?: string;
|
|
589
|
+
accession?: string;
|
|
590
|
+
dbxref?: string;
|
|
591
591
|
} | undefined;
|
|
592
592
|
treeMetadata: any;
|
|
593
593
|
};
|
|
@@ -623,18 +623,15 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
623
623
|
error: unknown;
|
|
624
624
|
/**
|
|
625
625
|
* #volatile
|
|
626
|
-
* True when loading MSA data from IndexedDB
|
|
627
626
|
*/
|
|
628
627
|
loadingStoredData: boolean;
|
|
629
628
|
} & {
|
|
630
629
|
/**
|
|
631
630
|
* #method
|
|
632
|
-
* Get a row by name, returns [name, sequence] or undefined
|
|
633
631
|
*/
|
|
634
632
|
getRowByName(rowName: string): [string, string] | undefined;
|
|
635
633
|
/**
|
|
636
634
|
* #method
|
|
637
|
-
* Get the sequence for a row by name
|
|
638
635
|
*/
|
|
639
636
|
getSequenceByRowName(rowName: string): string | undefined;
|
|
640
637
|
} & {
|
|
@@ -657,7 +654,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
657
654
|
readonly connectedView: MaybeLGV;
|
|
658
655
|
/**
|
|
659
656
|
* #getter
|
|
660
|
-
* Get connected protein views with their full model references
|
|
661
657
|
*/
|
|
662
658
|
readonly connectedProteinViews: (StructureConnection & {
|
|
663
659
|
proteinView: any;
|
|
@@ -665,16 +661,11 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
665
661
|
} & {
|
|
666
662
|
/**
|
|
667
663
|
* #getter
|
|
668
|
-
* Get the MSA column that corresponds to the currently hovered structure position
|
|
669
|
-
* Returns the first match from any connected structure
|
|
670
664
|
*/
|
|
671
665
|
readonly structureHoverCol: number | undefined;
|
|
672
666
|
} & {
|
|
673
667
|
/**
|
|
674
668
|
* #getter
|
|
675
|
-
* Returns a secondary highlight column from either:
|
|
676
|
-
* 1. Structure hover (from connected protein 3D view)
|
|
677
|
-
* 2. Genome hover (from connected linear genome view)
|
|
678
669
|
*/
|
|
679
670
|
readonly mouseCol2: number | undefined;
|
|
680
671
|
/**
|
|
@@ -744,29 +735,24 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
744
735
|
handleMsaClick(coord: number): void;
|
|
745
736
|
/**
|
|
746
737
|
* #action
|
|
747
|
-
* Connect to a protein structure for synchronized highlighting
|
|
748
738
|
*/
|
|
749
739
|
connectToStructure(proteinViewId: string, structureIdx: number, msaRowName?: string): void;
|
|
750
740
|
/**
|
|
751
741
|
* #action
|
|
752
|
-
* Disconnect from a protein structure
|
|
753
742
|
*/
|
|
754
743
|
disconnectFromStructure(proteinViewId: string, structureIdx: number): void;
|
|
755
744
|
/**
|
|
756
745
|
* #action
|
|
757
|
-
* Disconnect from all protein structures
|
|
758
746
|
*/
|
|
759
747
|
disconnectAllStructures(): void;
|
|
760
748
|
} & {
|
|
761
749
|
/**
|
|
762
750
|
* #action
|
|
763
|
-
* overrides base setMouseClickPos to trigger navigation
|
|
764
751
|
*/
|
|
765
752
|
setMouseClickPos(col?: number, row?: number): void;
|
|
766
753
|
} & {
|
|
767
754
|
/**
|
|
768
755
|
* #method
|
|
769
|
-
* overrides base
|
|
770
756
|
*/
|
|
771
757
|
extraViewMenuItems(): ({
|
|
772
758
|
label: string;
|
|
@@ -790,7 +776,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
790
776
|
labelsAlignRight: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
791
777
|
treeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
792
778
|
treeWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
793
|
-
treeWidthMatchesArea: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
794
779
|
showBranchLen: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
795
780
|
drawTree: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
796
781
|
drawNodeBubbles: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -802,7 +787,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
802
787
|
showDomains: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
803
788
|
hideGaps: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
804
789
|
allowedGappyness: import("@jbrowse/mobx-state-tree").IType<number | undefined, number, number>;
|
|
805
|
-
contrastLettering: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
806
790
|
subFeatureRows: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
807
791
|
type: import("@jbrowse/mobx-state-tree").ISimpleType<"MsaView">;
|
|
808
792
|
drawMsaLetters: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -1065,21 +1049,23 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
1065
1049
|
}>> & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject)>, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1066
1050
|
currentAlignment: import("@jbrowse/mobx-state-tree").IType<number | undefined, number, number>;
|
|
1067
1051
|
collapsed: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1068
|
-
collapsedLeaves: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1069
1052
|
showOnly: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1070
1053
|
turnedOffTracks: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
1071
1054
|
data: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1072
1055
|
tree: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1073
1056
|
msa: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1074
1057
|
treeMetadata: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1058
|
+
gff: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1075
1059
|
}, {
|
|
1076
1060
|
setTree(tree?: string): void;
|
|
1077
1061
|
setMSA(msa?: string): void;
|
|
1078
1062
|
setTreeMetadata(treeMetadata?: string): void;
|
|
1063
|
+
setGFF(gff?: string): void;
|
|
1079
1064
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, {
|
|
1080
1065
|
tree: string | undefined;
|
|
1081
1066
|
msa: string | undefined;
|
|
1082
1067
|
treeMetadata: string | undefined;
|
|
1068
|
+
gff: string | undefined;
|
|
1083
1069
|
}>, [undefined]>;
|
|
1084
1070
|
featureFilters: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
1085
1071
|
relativeTo: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|