jbrowse-plugin-tview 2.1.0 → 2.2.1
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 +139 -30
- package/dist/LaunchTView/align.d.ts +18 -0
- package/dist/LaunchTView/align.js +87 -0
- package/dist/LaunchTView/align.js.map +1 -1
- package/dist/LaunchTView/alleles.d.ts +70 -5
- package/dist/LaunchTView/alleles.js +183 -7
- package/dist/LaunchTView/alleles.js.map +1 -1
- package/dist/LaunchTView/repeatStats.d.ts +64 -0
- package/dist/LaunchTView/repeatStats.js +158 -0
- package/dist/LaunchTView/repeatStats.js.map +1 -0
- package/dist/LaunchTView/tview.js +11 -4
- package/dist/LaunchTView/tview.js.map +1 -1
- package/dist/TViewPanel/model.d.ts +62 -62
- package/dist/jbrowse-plugin-tview.umd.production.min.js +27 -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 +20 -16
- package/src/LaunchTView/align.ts +92 -0
- package/src/LaunchTView/alleles.ts +212 -7
- package/src/LaunchTView/repeatStats.ts +225 -0
- package/src/LaunchTView/tview.ts +11 -7
- 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" | "
|
|
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"> & {
|
|
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]>;
|
|
@@ -29,12 +29,12 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
29
29
|
drawTree: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
30
30
|
drawNodeBubbles: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
31
31
|
autoTreeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
32
|
-
}, "bgColor" | "colorSchemeName" | "
|
|
32
|
+
}, "bgColor" | "colorSchemeName" | "msaFormat" | "showColumnStats"> & {
|
|
33
33
|
bgColor: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
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" | "
|
|
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"> & {
|
|
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
40
|
hideGaps: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
@@ -88,18 +88,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
88
88
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
89
89
|
}> | undefined;
|
|
90
90
|
}, ({
|
|
91
|
-
locationType: "UriLocation";
|
|
92
|
-
uri: string;
|
|
93
|
-
} & Partial<{
|
|
94
|
-
locationType: "UriLocation";
|
|
95
|
-
uri: string;
|
|
96
|
-
baseUri: string | undefined;
|
|
97
|
-
internetAccountId: string | undefined;
|
|
98
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
99
|
-
internetAccountType: string;
|
|
100
|
-
authInfo: any;
|
|
101
|
-
}> | undefined;
|
|
102
|
-
}>) | ({
|
|
103
91
|
blobId: string;
|
|
104
92
|
locationType: "BlobLocation";
|
|
105
93
|
name: string;
|
|
@@ -121,6 +109,18 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
121
109
|
} & Partial<{
|
|
122
110
|
locationType: "LocalPathLocation";
|
|
123
111
|
localPath: string;
|
|
112
|
+
}>) | ({
|
|
113
|
+
locationType: "UriLocation";
|
|
114
|
+
uri: string;
|
|
115
|
+
} & Partial<{
|
|
116
|
+
locationType: "UriLocation";
|
|
117
|
+
uri: string;
|
|
118
|
+
baseUri: string | undefined;
|
|
119
|
+
internetAccountId: string | undefined;
|
|
120
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
121
|
+
internetAccountType: string;
|
|
122
|
+
authInfo: any;
|
|
123
|
+
}> | undefined;
|
|
124
124
|
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
125
125
|
locationType: "LocalPathLocation";
|
|
126
126
|
localPath: string;
|
|
@@ -182,18 +182,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
182
182
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
183
183
|
}> | undefined;
|
|
184
184
|
}, ({
|
|
185
|
-
locationType: "UriLocation";
|
|
186
|
-
uri: string;
|
|
187
|
-
} & Partial<{
|
|
188
|
-
locationType: "UriLocation";
|
|
189
|
-
uri: string;
|
|
190
|
-
baseUri: string | undefined;
|
|
191
|
-
internetAccountId: string | undefined;
|
|
192
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
193
|
-
internetAccountType: string;
|
|
194
|
-
authInfo: any;
|
|
195
|
-
}> | undefined;
|
|
196
|
-
}>) | ({
|
|
197
185
|
blobId: string;
|
|
198
186
|
locationType: "BlobLocation";
|
|
199
187
|
name: string;
|
|
@@ -215,6 +203,18 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
215
203
|
} & Partial<{
|
|
216
204
|
locationType: "LocalPathLocation";
|
|
217
205
|
localPath: string;
|
|
206
|
+
}>) | ({
|
|
207
|
+
locationType: "UriLocation";
|
|
208
|
+
uri: string;
|
|
209
|
+
} & Partial<{
|
|
210
|
+
locationType: "UriLocation";
|
|
211
|
+
uri: string;
|
|
212
|
+
baseUri: string | undefined;
|
|
213
|
+
internetAccountId: string | undefined;
|
|
214
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
215
|
+
internetAccountType: string;
|
|
216
|
+
authInfo: any;
|
|
217
|
+
}> | undefined;
|
|
218
218
|
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
219
219
|
locationType: "LocalPathLocation";
|
|
220
220
|
localPath: string;
|
|
@@ -276,18 +276,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
276
276
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
277
277
|
}> | undefined;
|
|
278
278
|
}, ({
|
|
279
|
-
locationType: "UriLocation";
|
|
280
|
-
uri: string;
|
|
281
|
-
} & Partial<{
|
|
282
|
-
locationType: "UriLocation";
|
|
283
|
-
uri: string;
|
|
284
|
-
baseUri: string | undefined;
|
|
285
|
-
internetAccountId: string | undefined;
|
|
286
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
287
|
-
internetAccountType: string;
|
|
288
|
-
authInfo: any;
|
|
289
|
-
}> | undefined;
|
|
290
|
-
}>) | ({
|
|
291
279
|
blobId: string;
|
|
292
280
|
locationType: "BlobLocation";
|
|
293
281
|
name: string;
|
|
@@ -309,6 +297,18 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
309
297
|
} & Partial<{
|
|
310
298
|
locationType: "LocalPathLocation";
|
|
311
299
|
localPath: string;
|
|
300
|
+
}>) | ({
|
|
301
|
+
locationType: "UriLocation";
|
|
302
|
+
uri: string;
|
|
303
|
+
} & Partial<{
|
|
304
|
+
locationType: "UriLocation";
|
|
305
|
+
uri: string;
|
|
306
|
+
baseUri: string | undefined;
|
|
307
|
+
internetAccountId: string | undefined;
|
|
308
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
309
|
+
internetAccountType: string;
|
|
310
|
+
authInfo: any;
|
|
311
|
+
}> | undefined;
|
|
312
312
|
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
313
313
|
locationType: "LocalPathLocation";
|
|
314
314
|
localPath: string;
|
|
@@ -370,18 +370,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
370
370
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
371
371
|
}> | undefined;
|
|
372
372
|
}, ({
|
|
373
|
-
locationType: "UriLocation";
|
|
374
|
-
uri: string;
|
|
375
|
-
} & Partial<{
|
|
376
|
-
locationType: "UriLocation";
|
|
377
|
-
uri: string;
|
|
378
|
-
baseUri: string | undefined;
|
|
379
|
-
internetAccountId: string | undefined;
|
|
380
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
381
|
-
internetAccountType: string;
|
|
382
|
-
authInfo: any;
|
|
383
|
-
}> | undefined;
|
|
384
|
-
}>) | ({
|
|
385
373
|
blobId: string;
|
|
386
374
|
locationType: "BlobLocation";
|
|
387
375
|
name: string;
|
|
@@ -403,6 +391,18 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
403
391
|
} & Partial<{
|
|
404
392
|
locationType: "LocalPathLocation";
|
|
405
393
|
localPath: string;
|
|
394
|
+
}>) | ({
|
|
395
|
+
locationType: "UriLocation";
|
|
396
|
+
uri: string;
|
|
397
|
+
} & Partial<{
|
|
398
|
+
locationType: "UriLocation";
|
|
399
|
+
uri: string;
|
|
400
|
+
baseUri: string | undefined;
|
|
401
|
+
internetAccountId: string | undefined;
|
|
402
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
403
|
+
internetAccountType: string;
|
|
404
|
+
authInfo: any;
|
|
405
|
+
}> | undefined;
|
|
406
406
|
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
407
407
|
locationType: "LocalPathLocation";
|
|
408
408
|
localPath: string;
|
|
@@ -595,7 +595,7 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
595
595
|
readonly noTree: boolean;
|
|
596
596
|
readonly noDomains: boolean;
|
|
597
597
|
menuItems(): never[];
|
|
598
|
-
readonly treeMetadata:
|
|
598
|
+
readonly treeMetadata: Record<string, Record<string, string> | undefined>;
|
|
599
599
|
readonly MSA: import("react-msaview").MSAParserType | null;
|
|
600
600
|
readonly numColumns: number;
|
|
601
601
|
readonly tree: import("react-msaview").NodeWithIds;
|
|
@@ -803,7 +803,7 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
803
803
|
accession?: string;
|
|
804
804
|
dbxref?: string;
|
|
805
805
|
} | undefined;
|
|
806
|
-
treeMetadata:
|
|
806
|
+
treeMetadata: Record<string, string> | undefined;
|
|
807
807
|
};
|
|
808
808
|
} & {
|
|
809
809
|
setHeaderHeight(arg: number): void;
|
|
@@ -919,11 +919,10 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
919
919
|
displayName: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
920
920
|
minimized: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
921
921
|
}> & {
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
};
|
|
922
|
+
bgColor: boolean;
|
|
923
|
+
colorSchemeName: string;
|
|
924
|
+
showColumnStats: boolean;
|
|
925
|
+
msaFormat: import("react-msaview").MSAFormat | undefined;
|
|
927
926
|
drawLabels: boolean;
|
|
928
927
|
labelsAlignRight: boolean;
|
|
929
928
|
treeAreaWidth: number;
|
|
@@ -932,10 +931,6 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
932
931
|
drawTree: boolean;
|
|
933
932
|
drawNodeBubbles: boolean;
|
|
934
933
|
autoTreeAreaWidth: boolean;
|
|
935
|
-
bgColor: boolean;
|
|
936
|
-
colorSchemeName: string;
|
|
937
|
-
showColumnStats: boolean;
|
|
938
|
-
msaFormat: import("react-msaview").MSAFormat | undefined;
|
|
939
934
|
id: string;
|
|
940
935
|
showDomains: boolean;
|
|
941
936
|
hideGaps: boolean;
|
|
@@ -1036,6 +1031,11 @@ export default function stateModelFactory(): import("@jbrowse/mobx-state-tree").
|
|
|
1036
1031
|
featureFilters: import("mobx").IKeyValueMap<boolean>;
|
|
1037
1032
|
relativeTo: string | undefined;
|
|
1038
1033
|
highlightColumns: number[] | undefined;
|
|
1034
|
+
data: {
|
|
1035
|
+
tree?: string | undefined;
|
|
1036
|
+
msa?: string | undefined;
|
|
1037
|
+
treeMetadata?: string | undefined;
|
|
1038
|
+
};
|
|
1039
1039
|
} & import("@jbrowse/mobx-state-tree")._NotCustomized>;
|
|
1040
1040
|
export type JBrowsePluginTViewStateModel = ReturnType<typeof stateModelFactory>;
|
|
1041
1041
|
export type JBrowsePluginTViewModel = Instance<JBrowsePluginTViewStateModel>;
|