jbrowse-plugin-tview 2.2.0 → 2.2.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/README.md +143 -31
- package/dist/LaunchTView/align.d.ts +20 -8
- package/dist/LaunchTView/align.js +51 -16
- package/dist/LaunchTView/align.js.map +1 -1
- package/dist/LaunchTView/alleles.d.ts +66 -27
- package/dist/LaunchTView/alleles.js +172 -81
- package/dist/LaunchTView/alleles.js.map +1 -1
- package/dist/LaunchTView/repeatStats.d.ts +11 -3
- package/dist/LaunchTView/repeatStats.js +78 -14
- package/dist/LaunchTView/repeatStats.js.map +1 -1
- package/dist/LaunchTView/repeats.js +6 -4
- package/dist/LaunchTView/repeats.js.map +1 -1
- package/dist/LaunchTView/tview.d.ts +13 -1
- package/dist/LaunchTView/tview.js +76 -32
- package/dist/LaunchTView/tview.js.map +1 -1
- package/dist/TViewPanel/model.d.ts +162 -90
- package/dist/jbrowse-plugin-tview.umd.production.min.js +26 -27
- package/dist/jbrowse-plugin-tview.umd.production.min.js.map +4 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +24 -20
- package/src/LaunchTView/align.ts +53 -17
- package/src/LaunchTView/alleles.ts +197 -89
- package/src/LaunchTView/repeatStats.ts +87 -16
- package/src/LaunchTView/repeats.ts +6 -4
- package/src/LaunchTView/tview.ts +86 -39
- package/src/version.ts +1 -1
|
@@ -20,7 +20,7 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
20
20
|
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
21
21
|
displayName: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
22
22
|
minimized: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
23
|
-
}, "height" | "id" | "type" | "data" | "autoTreeAreaWidth" | "drawLabels" | "drawNodeBubbles" | "drawTree" | "labelsAlignRight" | "showBranchLen" | "treeAreaWidth" | "treeWidth" | "bgColor" | "colorSchemeName" | "msaFormat" | "showColumnStats" | "allowedGappyness" | "colWidth" | "collapsed" | "currentAlignment" | "drawMsaLetters" | "featureFilters" | "gffFilehandle" | "hideGaps" | "highlightColumns" | "msaFilehandle" | "relativeTo" | "rowHeight" | "scrollX" | "scrollY" | "scrollZoom" | "showDomains" | "showOnly" | "subFeatureRows" | "treeFilehandle" | "treeMetadataFilehandle" | "turnedOffTracks"> & Omit<Omit<Omit<{}, "autoTreeAreaWidth" | "drawLabels" | "drawNodeBubbles" | "drawTree" | "labelsAlignRight" | "showBranchLen" | "treeAreaWidth" | "treeWidth"> & {
|
|
23
|
+
}, "height" | "id" | "type" | "data" | "autoTreeAreaWidth" | "drawLabels" | "drawNodeBubbles" | "drawTree" | "labelsAlignRight" | "showBranchLen" | "treeAreaWidth" | "treeWidth" | "bgColor" | "colorSchemeName" | "msaFormat" | "showColumnStats" | "allowedGappyness" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "drawMsaLetters" | "featureFilters" | "gffFilehandle" | "hideGaps" | "highlightColumns" | "highlights" | "msaFilehandle" | "relativeTo" | "rowHeight" | "scrollX" | "scrollY" | "scrollZoom" | "showDomainLegend" | "showDomains" | "showOnly" | "subFeatureRows" | "treeFilehandle" | "treeMetadataFilehandle" | "turnedOffTracks"> & Omit<Omit<Omit<{}, "autoTreeAreaWidth" | "drawLabels" | "drawNodeBubbles" | "drawTree" | "labelsAlignRight" | "showBranchLen" | "treeAreaWidth" | "treeWidth"> & {
|
|
24
24
|
drawLabels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
25
25
|
labelsAlignRight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
26
26
|
treeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
@@ -34,9 +34,10 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
34
34
|
colorSchemeName: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
35
35
|
showColumnStats: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
36
36
|
msaFormat: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<import("react-msaview").MSAFormat>>;
|
|
37
|
-
}, "height" | "id" | "type" | "data" | "allowedGappyness" | "colWidth" | "collapsed" | "currentAlignment" | "drawMsaLetters" | "featureFilters" | "gffFilehandle" | "hideGaps" | "highlightColumns" | "msaFilehandle" | "relativeTo" | "rowHeight" | "scrollX" | "scrollY" | "scrollZoom" | "showDomains" | "showOnly" | "subFeatureRows" | "treeFilehandle" | "treeMetadataFilehandle" | "turnedOffTracks"> & {
|
|
37
|
+
}, "height" | "id" | "type" | "data" | "allowedGappyness" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "drawMsaLetters" | "featureFilters" | "gffFilehandle" | "hideGaps" | "highlightColumns" | "highlights" | "msaFilehandle" | "relativeTo" | "rowHeight" | "scrollX" | "scrollY" | "scrollZoom" | "showDomainLegend" | "showDomains" | "showOnly" | "subFeatureRows" | "treeFilehandle" | "treeMetadataFilehandle" | "turnedOffTracks"> & {
|
|
38
38
|
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
39
39
|
showDomains: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
40
|
+
showDomainLegend: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
40
41
|
hideGaps: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
41
42
|
allowedGappyness: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
42
43
|
subFeatureRows: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
@@ -428,6 +429,7 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
428
429
|
collapsed: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
429
430
|
showOnly: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
430
431
|
turnedOffTracks: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>, [undefined]>;
|
|
432
|
+
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]>;
|
|
431
433
|
data: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
432
434
|
tree: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
433
435
|
msa: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
@@ -439,16 +441,14 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
439
441
|
setTreeMetadata(treeMetadata?: string): void;
|
|
440
442
|
setGFF(gff?: string): void;
|
|
441
443
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, {
|
|
442
|
-
|
|
443
|
-
msa: string | undefined;
|
|
444
|
-
treeMetadata: string | undefined;
|
|
445
|
-
gff: string | undefined;
|
|
444
|
+
[k: string]: string | undefined;
|
|
446
445
|
}>, [undefined]>;
|
|
447
446
|
featureFilters: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>, [undefined]>;
|
|
448
447
|
relativeTo: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
449
448
|
highlightColumns: import("@jbrowse/mobx-state-tree").IType<number[] | undefined, number[] | undefined, number[] | undefined>;
|
|
449
|
+
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]>;
|
|
450
450
|
}, "type" | "init" | "insertionWidths" | "arraySpans" | "connectedViewId" | "msaRegion" | "zoomToBaseLevel"> & {
|
|
451
|
-
type: import("@jbrowse/mobx-state-tree").
|
|
451
|
+
type: import("@jbrowse/mobx-state-tree").ILiteralType<"TView">;
|
|
452
452
|
/**
|
|
453
453
|
* #property
|
|
454
454
|
* LGV this pileup was launched from; drives highlights and click-to-nav
|
|
@@ -534,9 +534,10 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
534
534
|
highlightedColumns: number[] | undefined;
|
|
535
535
|
minimapHeight: number;
|
|
536
536
|
conservationTrackHeight: number;
|
|
537
|
+
sequenceLogoTrackHeight: number;
|
|
537
538
|
marginLeft: number;
|
|
538
539
|
error: unknown;
|
|
539
|
-
|
|
540
|
+
annotations: import("react-msaview").Annotation[];
|
|
540
541
|
} & {
|
|
541
542
|
drawRelativeTo(id: string | undefined): void;
|
|
542
543
|
setHideGaps(arg: boolean): void;
|
|
@@ -549,12 +550,13 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
549
550
|
setError(error?: unknown): void;
|
|
550
551
|
setMousePos(col?: number, row?: number): void;
|
|
551
552
|
setHighlightedColumns(columns?: number[]): void;
|
|
553
|
+
setHighlights(highlights: import("react-msaview").Highlight[]): void;
|
|
552
554
|
setShowDomains(arg: boolean): void;
|
|
555
|
+
setShowDomainLegend(arg: boolean): void;
|
|
553
556
|
setSubFeatureRows(arg: boolean): void;
|
|
554
557
|
setMouseClickPos(col?: number, row?: number): void;
|
|
555
558
|
setRowHeight(n: number): void;
|
|
556
559
|
setColWidth(n: number): void;
|
|
557
|
-
setScrollY(n: number): void;
|
|
558
560
|
setCurrentAlignment(n: number): void;
|
|
559
561
|
toggleCollapsed(node: string): void;
|
|
560
562
|
setShowOnly(node?: string): void;
|
|
@@ -566,6 +568,7 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
566
568
|
}): void;
|
|
567
569
|
setMSAFilehandle(msaFilehandle?: import("@jbrowse/core/util").FileLocation): void;
|
|
568
570
|
setTreeFilehandle(treeFilehandle?: import("@jbrowse/core/util").FileLocation): void;
|
|
571
|
+
setTreeMetadataFilehandle(treeMetadataFilehandle?: import("@jbrowse/core/util").FileLocation): void;
|
|
569
572
|
setGFFFilehandle(gffFilehandle?: import("@jbrowse/core/util").FileLocation): void;
|
|
570
573
|
setMSA(result: string): void;
|
|
571
574
|
setTree(result: string): void;
|
|
@@ -611,7 +614,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
611
614
|
readonly msaAreaWidth: number;
|
|
612
615
|
readonly treeAreaWidthMinusMargin: number;
|
|
613
616
|
readonly blanks: number[];
|
|
614
|
-
readonly blanksSet: Set<number>;
|
|
615
617
|
readonly insertionPositions: Map<string, {
|
|
616
618
|
pos: number;
|
|
617
619
|
letters: string;
|
|
@@ -624,7 +626,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
624
626
|
readonly columns2d: string[];
|
|
625
627
|
readonly fontSize: number;
|
|
626
628
|
readonly colStats: import("react-msaview").ColumnCounts;
|
|
627
|
-
readonly colStatsSums: Uint32Array<ArrayBufferLike>;
|
|
628
629
|
readonly sequenceType: "dna" | "rna" | "amino";
|
|
629
630
|
readonly colConsensus: {
|
|
630
631
|
letter: string;
|
|
@@ -632,6 +633,7 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
632
633
|
}[];
|
|
633
634
|
readonly colClustalX: Record<string, string>[];
|
|
634
635
|
readonly conservation: number[];
|
|
636
|
+
readonly alphabetMaxBits: number;
|
|
635
637
|
readonly propertyConservation: number[];
|
|
636
638
|
readonly hierarchy: import("react-msaview").HierarchyNode<import("react-msaview").NodeWithIdsAndLength>;
|
|
637
639
|
readonly totalHeight: number;
|
|
@@ -646,6 +648,7 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
646
648
|
readonly dataInitialized: boolean;
|
|
647
649
|
readonly blocksX: number[];
|
|
648
650
|
readonly blocksY: number[];
|
|
651
|
+
readonly visibleMsaHeight: number;
|
|
649
652
|
} & {
|
|
650
653
|
readonly blocks2d: (readonly [number, number])[];
|
|
651
654
|
readonly isLoading: boolean;
|
|
@@ -667,10 +670,13 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
667
670
|
zoomOut(): void;
|
|
668
671
|
zoomToPos(scaleFactor: number, offsetX: number, offsetY: number): void;
|
|
669
672
|
doScrollY(deltaY: number): void;
|
|
673
|
+
setScrollY(n: number): void;
|
|
674
|
+
setAnnotations(annotations: import("react-msaview").Annotation[]): void;
|
|
670
675
|
setDomains(data?: Record<string, import("react-msaview").InterProScanResults>): void;
|
|
671
676
|
applyGFFText(gffText: string): void;
|
|
672
677
|
doScrollX(deltaX: number): void;
|
|
673
678
|
setScrollX(n: number): void;
|
|
679
|
+
setColumnTracks(tracks: import("react-msaview").ColumnTrackSpec[]): void;
|
|
674
680
|
toggleTrack(id: string): void;
|
|
675
681
|
setStatus(status?: {
|
|
676
682
|
msg: string;
|
|
@@ -679,10 +685,16 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
679
685
|
}): void;
|
|
680
686
|
} & {
|
|
681
687
|
readonly labelWidthMap: Map<string, number>;
|
|
688
|
+
readonly labelWidthScale: number;
|
|
682
689
|
readonly labelsWidth: number;
|
|
683
690
|
readonly secondaryStructureConsensus: string | undefined;
|
|
684
691
|
readonly seqConsensus: string | undefined;
|
|
685
692
|
readonly adapterTrackModels: import("react-msaview").BasicTrack[];
|
|
693
|
+
readonly columnTrackContent: Map<string, {
|
|
694
|
+
values?: number[];
|
|
695
|
+
data?: string;
|
|
696
|
+
}>;
|
|
697
|
+
readonly columnTrackModels: import("react-msaview").BasicTrack[];
|
|
686
698
|
readonly tracks: import("react-msaview").BasicTrack[];
|
|
687
699
|
readonly turnedOnTracks: import("react-msaview").BasicTrack[];
|
|
688
700
|
readonly showHorizontalScrollbar: boolean;
|
|
@@ -695,70 +707,16 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
695
707
|
} & {
|
|
696
708
|
readonly msaAreaHeight: number;
|
|
697
709
|
readonly totalTrackAreaHeight: number;
|
|
698
|
-
readonly
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
accession: string;
|
|
702
|
-
description: string;
|
|
703
|
-
featureType: string | undefined;
|
|
704
|
-
start: number;
|
|
705
|
-
end: number;
|
|
706
|
-
strand: number | undefined;
|
|
707
|
-
}>;
|
|
708
|
-
readonly tidyInterProAnnotations: {
|
|
709
|
-
id: string;
|
|
710
|
-
name: string;
|
|
711
|
-
accession: string;
|
|
712
|
-
description: string;
|
|
713
|
-
featureType: string | undefined;
|
|
714
|
-
start: number;
|
|
715
|
-
end: number;
|
|
716
|
-
strand: number | undefined;
|
|
717
|
-
}[];
|
|
718
|
-
readonly tidyFilteredInterProAnnotations: {
|
|
719
|
-
id: string;
|
|
720
|
-
name: string;
|
|
721
|
-
accession: string;
|
|
722
|
-
description: string;
|
|
723
|
-
featureType: string | undefined;
|
|
724
|
-
start: number;
|
|
725
|
-
end: number;
|
|
726
|
-
strand: number | undefined;
|
|
727
|
-
}[];
|
|
728
|
-
readonly tidyFilteredGatheredInterProAnnotations: Record<string, {
|
|
729
|
-
id: string;
|
|
730
|
-
name: string;
|
|
731
|
-
accession: string;
|
|
732
|
-
description: string;
|
|
733
|
-
featureType: string | undefined;
|
|
734
|
-
start: number;
|
|
735
|
-
end: number;
|
|
736
|
-
strand: number | undefined;
|
|
737
|
-
}[]>;
|
|
710
|
+
readonly annotationTypes: Map<string, import("react-msaview").Annotation>;
|
|
711
|
+
readonly filteredAnnotations: import("react-msaview").Annotation[];
|
|
712
|
+
readonly annotationsByRow: Record<string, import("react-msaview").Annotation[]>;
|
|
738
713
|
} & {
|
|
739
714
|
readonly showVerticalScrollbar: boolean;
|
|
740
715
|
} & {
|
|
741
716
|
readonly verticalScrollbarWidth: 0 | 20;
|
|
742
|
-
readonly
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
accession: string;
|
|
746
|
-
description: string;
|
|
747
|
-
featureType: string | undefined;
|
|
748
|
-
start: number;
|
|
749
|
-
end: number;
|
|
750
|
-
strand: number | undefined;
|
|
751
|
-
}[];
|
|
752
|
-
readonly categoricalDomainTypes: {
|
|
753
|
-
id: string;
|
|
754
|
-
name: string;
|
|
755
|
-
accession: string;
|
|
756
|
-
description: string;
|
|
757
|
-
featureType: string | undefined;
|
|
758
|
-
start: number;
|
|
759
|
-
end: number;
|
|
760
|
-
strand: number | undefined;
|
|
761
|
-
}[];
|
|
717
|
+
readonly msaCanvasWidth: number;
|
|
718
|
+
readonly segmentDomainTypes: import("react-msaview").Annotation[];
|
|
719
|
+
readonly categoricalDomainTypes: import("react-msaview").Annotation[];
|
|
762
720
|
readonly fillPalette: {
|
|
763
721
|
[x: string]: string;
|
|
764
722
|
};
|
|
@@ -766,25 +724,17 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
766
724
|
[k: string]: string;
|
|
767
725
|
};
|
|
768
726
|
readonly segmentLabels: Map<string, string>;
|
|
769
|
-
readonly visibleDomainTypes:
|
|
770
|
-
id: string;
|
|
771
|
-
name: string;
|
|
772
|
-
accession: string;
|
|
773
|
-
description: string;
|
|
774
|
-
featureType: string | undefined;
|
|
775
|
-
start: number;
|
|
776
|
-
end: number;
|
|
777
|
-
strand: number | undefined;
|
|
778
|
-
}[];
|
|
727
|
+
readonly visibleDomainTypes: import("react-msaview").Annotation[];
|
|
779
728
|
readonly domainBands: Map<string, import("react-msaview").DomainBand[]>;
|
|
780
729
|
readonly domainBandsByStart: Map<string, import("react-msaview").DomainBand[]>;
|
|
781
|
-
readonly mouseOverDomains: import("react-msaview").
|
|
730
|
+
readonly mouseOverDomains: import("react-msaview").Annotation[];
|
|
782
731
|
readonly referenceRowIndex: number | undefined;
|
|
783
732
|
readonly hoveredRowIndices: number[];
|
|
784
733
|
readonly highlightedColumnRuns: {
|
|
785
734
|
start: number;
|
|
786
735
|
end: number;
|
|
787
736
|
}[];
|
|
737
|
+
readonly resolvedHighlights: import("react-msaview").ResolvedHighlight[];
|
|
788
738
|
readonly mouseOverColumnStats: {
|
|
789
739
|
col: number;
|
|
790
740
|
total: number;
|
|
@@ -808,13 +758,9 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
808
758
|
} & {
|
|
809
759
|
setHeaderHeight(arg: number): void;
|
|
810
760
|
setConservationTrackHeight(arg: number): void;
|
|
761
|
+
setSequenceLogoTrackHeight(arg: number): void;
|
|
811
762
|
reset(): void;
|
|
812
|
-
exportSVG(opts:
|
|
813
|
-
theme: import("@mui/material").Theme;
|
|
814
|
-
includeMinimap?: boolean;
|
|
815
|
-
includeTracks?: boolean;
|
|
816
|
-
exportType: "entire" | "viewport";
|
|
817
|
-
}): Promise<void>;
|
|
763
|
+
exportSVG(opts: import("react-msaview").ExportSvgOptions): Promise<void>;
|
|
818
764
|
initFilter(arg: string): void;
|
|
819
765
|
setFilter(arg: string, flag: boolean): void;
|
|
820
766
|
fit(): void;
|
|
@@ -918,7 +864,129 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
918
864
|
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
919
865
|
displayName: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
920
866
|
minimized: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
921
|
-
}> & {
|
|
867
|
+
}> & (({
|
|
868
|
+
bgColor: boolean;
|
|
869
|
+
colorSchemeName: string;
|
|
870
|
+
showColumnStats: boolean;
|
|
871
|
+
msaFormat: import("react-msaview").MSAFormat | undefined;
|
|
872
|
+
drawLabels: boolean;
|
|
873
|
+
labelsAlignRight: boolean;
|
|
874
|
+
treeAreaWidth: number;
|
|
875
|
+
treeWidth: number;
|
|
876
|
+
showBranchLen: boolean;
|
|
877
|
+
drawTree: boolean;
|
|
878
|
+
drawNodeBubbles: boolean;
|
|
879
|
+
autoTreeAreaWidth: boolean;
|
|
880
|
+
columnTracks: import("react-msaview").ColumnTrackSpec[];
|
|
881
|
+
id: string;
|
|
882
|
+
showDomains: boolean;
|
|
883
|
+
showDomainLegend: boolean;
|
|
884
|
+
hideGaps: boolean;
|
|
885
|
+
allowedGappyness: number;
|
|
886
|
+
subFeatureRows: boolean;
|
|
887
|
+
type: "MsaView";
|
|
888
|
+
drawMsaLetters: boolean;
|
|
889
|
+
scrollZoom: boolean;
|
|
890
|
+
height: number;
|
|
891
|
+
rowHeight: number;
|
|
892
|
+
scrollY: number;
|
|
893
|
+
scrollX: number;
|
|
894
|
+
colWidth: number;
|
|
895
|
+
treeFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
896
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
897
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
898
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
899
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
900
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
901
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
902
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
903
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
904
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
905
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
906
|
+
}> | {
|
|
907
|
+
locationType: "UriLocation";
|
|
908
|
+
uri: string;
|
|
909
|
+
internetAccountId: string | undefined;
|
|
910
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
911
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
912
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
913
|
+
}> | undefined;
|
|
914
|
+
} | undefined;
|
|
915
|
+
msaFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
916
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
917
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
918
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
919
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
920
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
921
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
922
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
923
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
924
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
925
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
926
|
+
}> | {
|
|
927
|
+
locationType: "UriLocation";
|
|
928
|
+
uri: string;
|
|
929
|
+
internetAccountId: string | undefined;
|
|
930
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
931
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
932
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
933
|
+
}> | undefined;
|
|
934
|
+
} | undefined;
|
|
935
|
+
treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
936
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
937
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
938
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
939
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
940
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
941
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
942
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
943
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
944
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
945
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
946
|
+
}> | {
|
|
947
|
+
locationType: "UriLocation";
|
|
948
|
+
uri: string;
|
|
949
|
+
internetAccountId: string | undefined;
|
|
950
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
951
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
952
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
953
|
+
}> | undefined;
|
|
954
|
+
} | undefined;
|
|
955
|
+
gffFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
956
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
|
|
957
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
958
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
959
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
|
|
960
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
961
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
962
|
+
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
963
|
+
locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
|
|
964
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
965
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
966
|
+
}> | {
|
|
967
|
+
locationType: "UriLocation";
|
|
968
|
+
uri: string;
|
|
969
|
+
internetAccountId: string | undefined;
|
|
970
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
971
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
972
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
973
|
+
}> | undefined;
|
|
974
|
+
} | undefined;
|
|
975
|
+
currentAlignment: number;
|
|
976
|
+
collapsed: string[];
|
|
977
|
+
showOnly: string | undefined;
|
|
978
|
+
turnedOffTracks: import("mobx").IKeyValueMap<boolean>;
|
|
979
|
+
featureFilters: import("mobx").IKeyValueMap<boolean>;
|
|
980
|
+
relativeTo: string | undefined;
|
|
981
|
+
highlightColumns: number[] | undefined;
|
|
982
|
+
highlights: import("react-msaview").Highlight[];
|
|
983
|
+
data: {
|
|
984
|
+
tree?: string | undefined;
|
|
985
|
+
msa?: string | undefined;
|
|
986
|
+
treeMetadata?: string | undefined;
|
|
987
|
+
gff?: string | undefined;
|
|
988
|
+
};
|
|
989
|
+
} & import("@jbrowse/mobx-state-tree")._NotCustomized) | ({
|
|
922
990
|
bgColor: boolean;
|
|
923
991
|
colorSchemeName: string;
|
|
924
992
|
showColumnStats: boolean;
|
|
@@ -931,8 +999,10 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
931
999
|
drawTree: boolean;
|
|
932
1000
|
drawNodeBubbles: boolean;
|
|
933
1001
|
autoTreeAreaWidth: boolean;
|
|
1002
|
+
columnTracks?: undefined;
|
|
934
1003
|
id: string;
|
|
935
1004
|
showDomains: boolean;
|
|
1005
|
+
showDomainLegend: boolean;
|
|
936
1006
|
hideGaps: boolean;
|
|
937
1007
|
allowedGappyness: number;
|
|
938
1008
|
subFeatureRows: boolean;
|
|
@@ -1031,12 +1101,14 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
1031
1101
|
featureFilters: import("mobx").IKeyValueMap<boolean>;
|
|
1032
1102
|
relativeTo: string | undefined;
|
|
1033
1103
|
highlightColumns: number[] | undefined;
|
|
1104
|
+
highlights: import("react-msaview").Highlight[];
|
|
1034
1105
|
data: {
|
|
1035
1106
|
tree?: string | undefined;
|
|
1036
1107
|
msa?: string | undefined;
|
|
1037
1108
|
treeMetadata?: string | undefined;
|
|
1109
|
+
gff?: string | undefined;
|
|
1038
1110
|
};
|
|
1039
|
-
} & import("@jbrowse/mobx-state-tree")._NotCustomized>;
|
|
1111
|
+
} & import("@jbrowse/mobx-state-tree")._NotCustomized))>;
|
|
1040
1112
|
export type JBrowsePluginTViewStateModel = ReturnType<typeof stateModelFactory>;
|
|
1041
1113
|
export type JBrowsePluginTViewModel = Instance<JBrowsePluginTViewStateModel>;
|
|
1042
1114
|
export declare function isTView(view: {
|