jbrowse-plugin-msaview 2.2.8 → 2.3.2
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 +3 -3
- 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 +31 -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 +6 -6
- package/dist/index.js +21 -22
- package/dist/index.js.map +1 -1
- package/dist/jbrowse-plugin-msaview.umd.production.min.js +29 -29
- 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 +33 -30
- 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 +5 -4
- 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;
|
|
@@ -540,9 +533,22 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
540
533
|
seqPosToGlobalCol(rowName: string, seqPos: number): number;
|
|
541
534
|
seqPosToVisibleCol(rowName: string, seqPos: number): number | undefined;
|
|
542
535
|
} & {
|
|
536
|
+
readonly hoveredCell: {
|
|
537
|
+
rowName: string;
|
|
538
|
+
col: number;
|
|
539
|
+
base: string | undefined;
|
|
540
|
+
seqPos: number | undefined;
|
|
541
|
+
} | undefined;
|
|
543
542
|
readonly msaAreaHeight: number;
|
|
544
543
|
readonly totalTrackAreaHeight: number;
|
|
545
|
-
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
|
+
}>;
|
|
546
552
|
readonly tidyInterProAnnotations: {
|
|
547
553
|
id: string;
|
|
548
554
|
name: string;
|
|
@@ -579,9 +585,9 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
579
585
|
};
|
|
580
586
|
getRowData(name: string): {
|
|
581
587
|
data: {
|
|
582
|
-
name
|
|
583
|
-
accession
|
|
584
|
-
dbxref
|
|
588
|
+
name?: string;
|
|
589
|
+
accession?: string;
|
|
590
|
+
dbxref?: string;
|
|
585
591
|
} | undefined;
|
|
586
592
|
treeMetadata: any;
|
|
587
593
|
};
|
|
@@ -617,18 +623,15 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
617
623
|
error: unknown;
|
|
618
624
|
/**
|
|
619
625
|
* #volatile
|
|
620
|
-
* True when loading MSA data from IndexedDB
|
|
621
626
|
*/
|
|
622
627
|
loadingStoredData: boolean;
|
|
623
628
|
} & {
|
|
624
629
|
/**
|
|
625
630
|
* #method
|
|
626
|
-
* Get a row by name, returns [name, sequence] or undefined
|
|
627
631
|
*/
|
|
628
632
|
getRowByName(rowName: string): [string, string] | undefined;
|
|
629
633
|
/**
|
|
630
634
|
* #method
|
|
631
|
-
* Get the sequence for a row by name
|
|
632
635
|
*/
|
|
633
636
|
getSequenceByRowName(rowName: string): string | undefined;
|
|
634
637
|
} & {
|
|
@@ -651,7 +654,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
651
654
|
readonly connectedView: MaybeLGV;
|
|
652
655
|
/**
|
|
653
656
|
* #getter
|
|
654
|
-
* Get connected protein views with their full model references
|
|
655
657
|
*/
|
|
656
658
|
readonly connectedProteinViews: (StructureConnection & {
|
|
657
659
|
proteinView: any;
|
|
@@ -659,16 +661,11 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
659
661
|
} & {
|
|
660
662
|
/**
|
|
661
663
|
* #getter
|
|
662
|
-
* Get the MSA column that corresponds to the currently hovered structure position
|
|
663
|
-
* Returns the first match from any connected structure
|
|
664
664
|
*/
|
|
665
665
|
readonly structureHoverCol: number | undefined;
|
|
666
666
|
} & {
|
|
667
667
|
/**
|
|
668
668
|
* #getter
|
|
669
|
-
* Returns a secondary highlight column from either:
|
|
670
|
-
* 1. Structure hover (from connected protein 3D view)
|
|
671
|
-
* 2. Genome hover (from connected linear genome view)
|
|
672
669
|
*/
|
|
673
670
|
readonly mouseCol2: number | undefined;
|
|
674
671
|
/**
|
|
@@ -738,29 +735,24 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
738
735
|
handleMsaClick(coord: number): void;
|
|
739
736
|
/**
|
|
740
737
|
* #action
|
|
741
|
-
* Connect to a protein structure for synchronized highlighting
|
|
742
738
|
*/
|
|
743
739
|
connectToStructure(proteinViewId: string, structureIdx: number, msaRowName?: string): void;
|
|
744
740
|
/**
|
|
745
741
|
* #action
|
|
746
|
-
* Disconnect from a protein structure
|
|
747
742
|
*/
|
|
748
743
|
disconnectFromStructure(proteinViewId: string, structureIdx: number): void;
|
|
749
744
|
/**
|
|
750
745
|
* #action
|
|
751
|
-
* Disconnect from all protein structures
|
|
752
746
|
*/
|
|
753
747
|
disconnectAllStructures(): void;
|
|
754
748
|
} & {
|
|
755
749
|
/**
|
|
756
750
|
* #action
|
|
757
|
-
* overrides base setMouseClickPos to trigger navigation
|
|
758
751
|
*/
|
|
759
752
|
setMouseClickPos(col?: number, row?: number): void;
|
|
760
753
|
} & {
|
|
761
754
|
/**
|
|
762
755
|
* #method
|
|
763
|
-
* overrides base
|
|
764
756
|
*/
|
|
765
757
|
extraViewMenuItems(): ({
|
|
766
758
|
label: string;
|
|
@@ -784,7 +776,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
784
776
|
labelsAlignRight: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
785
777
|
treeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
786
778
|
treeWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
787
|
-
treeWidthMatchesArea: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
788
779
|
showBranchLen: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
789
780
|
drawTree: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
790
781
|
drawNodeBubbles: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -796,7 +787,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
796
787
|
showDomains: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
797
788
|
hideGaps: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
798
789
|
allowedGappyness: import("@jbrowse/mobx-state-tree").IType<number | undefined, number, number>;
|
|
799
|
-
contrastLettering: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
800
790
|
subFeatureRows: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
801
791
|
type: import("@jbrowse/mobx-state-tree").ISimpleType<"MsaView">;
|
|
802
792
|
drawMsaLetters: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -1059,21 +1049,23 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
1059
1049
|
}>> & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject)>, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1060
1050
|
currentAlignment: import("@jbrowse/mobx-state-tree").IType<number | undefined, number, number>;
|
|
1061
1051
|
collapsed: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1062
|
-
collapsedLeaves: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1063
1052
|
showOnly: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1064
1053
|
turnedOffTracks: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
1065
1054
|
data: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1066
1055
|
tree: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1067
1056
|
msa: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1068
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>>;
|
|
1069
1059
|
}, {
|
|
1070
1060
|
setTree(tree?: string): void;
|
|
1071
1061
|
setMSA(msa?: string): void;
|
|
1072
1062
|
setTreeMetadata(treeMetadata?: string): void;
|
|
1063
|
+
setGFF(gff?: string): void;
|
|
1073
1064
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, {
|
|
1074
1065
|
tree: string | undefined;
|
|
1075
1066
|
msa: string | undefined;
|
|
1076
1067
|
treeMetadata: string | undefined;
|
|
1068
|
+
gff: string | undefined;
|
|
1077
1069
|
}>, [undefined]>;
|
|
1078
1070
|
featureFilters: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
1079
1071
|
relativeTo: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|