@jbrowse/plugin-linear-genome-view 5.0.0-beta.18 → 5.0.0-beta.19
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/esm/LinearGenomeView/components/ImportForm.js +2 -4
- package/esm/LinearGenomeView/components/LinearGenomeViewContainer.js +1 -1
- package/esm/LinearGenomeView/components/SearchBox.js +1 -9
- package/esm/LinearGenomeView/components/SearchResultsDialog.js +1 -1
- package/esm/LinearGenomeView/components/SearchResultsTable.d.ts +2 -1
- package/esm/LinearGenomeView/components/SearchResultsTable.js +23 -5
- package/esm/LinearGenomeView/components/SequenceFeatureHoverHighlight.js +2 -3
- package/esm/LinearGenomeView/components/TrackContainer.d.ts +2 -3
- package/esm/LinearGenomeView/components/TrackContainer.js +3 -4
- package/esm/LinearGenomeView/components/TrackLabelRefNameWarning.d.ts +3 -4
- package/esm/LinearGenomeView/components/TrackLabelRefNameWarning.js +23 -10
- package/esm/LinearGenomeView/components/TrackRenderingContainer.d.ts +2 -3
- package/esm/LinearGenomeView/components/TrackRenderingContainer.js +1 -1
- package/esm/LinearGenomeView/index.d.ts +1 -1
- package/esm/LinearGenomeView/index.js +2 -0
- package/esm/LinearGenomeView/keyboardHandler.d.ts +8 -9
- package/esm/LinearGenomeView/keyboardHandler.js +58 -34
- package/esm/LinearGenomeView/menuItems.js +3 -2
- package/esm/LinearGenomeView/model.d.ts +412 -45
- package/esm/LinearGenomeView/model.js +23 -15
- package/esm/LinearGenomeView/rExport/exportLinearView.js +4 -5
- package/esm/LinearGenomeView/rExport/rScript.d.ts +5 -1
- package/esm/LinearGenomeView/rExport/rScript.js +24 -3
- package/esm/LinearGenomeView/showRegionsWithUndo.d.ts +1 -1
- package/esm/LinearGenomeView/showRegionsWithUndo.js +1 -1
- package/esm/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js +3 -1
- package/esm/LinearGenomeView/util.d.ts +1 -1
- package/esm/LinearGenomeView/util.js +1 -1
- package/esm/displayKitTests/perRegionTestEnv.d.ts +10 -4
- package/esm/index.js +0 -2
- package/esm/searchUtils.d.ts +14 -2
- package/esm/searchUtils.js +56 -36
- package/package.json +9 -9
- package/esm/FeatureTrack/configSchema.d.ts +0 -219
- package/esm/FeatureTrack/configSchema.js +0 -57
- package/esm/FeatureTrack/index.d.ts +0 -2
- package/esm/FeatureTrack/index.js +0 -13
|
@@ -9,6 +9,7 @@ import type { BlockSet, ContentBlock } from '@jbrowse/core/util/blockTypes';
|
|
|
9
9
|
import type { Region } from '@jbrowse/core/util/types';
|
|
10
10
|
import type { ViewStatus } from '@jbrowse/core/util/viewStatus';
|
|
11
11
|
import type { LaunchInput } from '@jbrowse/core/util/withLaunchInput';
|
|
12
|
+
import type { LinearDisplayModel } from '@jbrowse/display-kit/types';
|
|
12
13
|
import type { Instance } from '@jbrowse/mobx-state-tree';
|
|
13
14
|
/** One place a name search points at, as a picker lists it. */
|
|
14
15
|
export interface SearchPickerRow {
|
|
@@ -93,11 +94,11 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
93
94
|
windowWidthBp: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
94
95
|
legacyBpPerPx: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
95
96
|
displayedRegions: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IType<Region[], Region[], Region[]>, [undefined]>;
|
|
96
|
-
tracks: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/
|
|
97
|
+
tracks: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>;
|
|
97
98
|
hideHeader: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
98
99
|
hideHeaderOverview: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
99
100
|
hideNoTracksActive: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
100
|
-
trackSelectorType: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<
|
|
101
|
+
trackSelectorType: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
101
102
|
showCenterLine: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
102
103
|
showCytobands: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
103
104
|
trackLabels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -249,11 +250,11 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
249
250
|
/**
|
|
250
251
|
* #getter
|
|
251
252
|
*/
|
|
252
|
-
readonly pinnedTracks:
|
|
253
|
+
readonly pinnedTracks: (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
|
|
253
254
|
/**
|
|
254
255
|
* #getter
|
|
255
256
|
*/
|
|
256
|
-
readonly unpinnedTracks:
|
|
257
|
+
readonly unpinnedTracks: (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
|
|
257
258
|
/**
|
|
258
259
|
* #getter
|
|
259
260
|
* the effective track labels setting, resolving the stored `trackLabels`
|
|
@@ -300,7 +301,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
300
301
|
* The census entry for this view: the tracks it holds itself. Declared
|
|
301
302
|
* rather than derived — see `BaseViewModel.ownTracks`.
|
|
302
303
|
*/
|
|
303
|
-
readonly ownTracks:
|
|
304
|
+
readonly ownTracks: (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
|
|
304
305
|
/**
|
|
305
306
|
* #getter
|
|
306
307
|
* See `BaseViewModel.rendersDisplays`.
|
|
@@ -337,7 +338,48 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
337
338
|
* and error checks resolve it directly through here.
|
|
338
339
|
*/
|
|
339
340
|
readonly initAssembly: (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
340
|
-
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/
|
|
341
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
342
|
+
readonly aliases: {
|
|
343
|
+
type: "stringArray";
|
|
344
|
+
} & {
|
|
345
|
+
defaultValue: unknown;
|
|
346
|
+
};
|
|
347
|
+
readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
348
|
+
readonly refNameColors: {
|
|
349
|
+
type: "stringArray";
|
|
350
|
+
} & {
|
|
351
|
+
defaultValue: unknown;
|
|
352
|
+
};
|
|
353
|
+
readonly geneticCodes: {
|
|
354
|
+
type: "frozen";
|
|
355
|
+
} & {
|
|
356
|
+
defaultValue: unknown;
|
|
357
|
+
};
|
|
358
|
+
readonly circularRefNames: {
|
|
359
|
+
type: "stringArray";
|
|
360
|
+
} & {
|
|
361
|
+
defaultValue: unknown;
|
|
362
|
+
};
|
|
363
|
+
readonly geneticCodesLocation: {
|
|
364
|
+
type: "maybeFileLocation";
|
|
365
|
+
};
|
|
366
|
+
readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
367
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
368
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
369
|
+
readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
370
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
371
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
372
|
+
readonly displayName: {
|
|
373
|
+
type: "string";
|
|
374
|
+
} & {
|
|
375
|
+
defaultValue: string;
|
|
376
|
+
};
|
|
377
|
+
name: {
|
|
378
|
+
type: "string";
|
|
379
|
+
} & {
|
|
380
|
+
defaultValue: string;
|
|
381
|
+
};
|
|
382
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
|
|
341
383
|
}> & {
|
|
342
384
|
error: unknown;
|
|
343
385
|
loadingP: Promise<void> | undefined;
|
|
@@ -352,6 +394,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
352
394
|
statusProgress: number | undefined;
|
|
353
395
|
statusSource: string | undefined;
|
|
354
396
|
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
397
|
+
contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
|
|
355
398
|
} & {
|
|
356
399
|
getConf(arg: string): any;
|
|
357
400
|
} & {
|
|
@@ -365,6 +408,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
365
408
|
} & {
|
|
366
409
|
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
367
410
|
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
411
|
+
setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
|
|
368
412
|
} & {
|
|
369
413
|
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
|
|
370
414
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -404,8 +448,50 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
404
448
|
[x: string]: unknown;
|
|
405
449
|
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
|
|
406
450
|
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
451
|
+
getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
|
|
407
452
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
408
|
-
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/
|
|
453
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
454
|
+
readonly aliases: {
|
|
455
|
+
type: "stringArray";
|
|
456
|
+
} & {
|
|
457
|
+
defaultValue: unknown;
|
|
458
|
+
};
|
|
459
|
+
readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
460
|
+
readonly refNameColors: {
|
|
461
|
+
type: "stringArray";
|
|
462
|
+
} & {
|
|
463
|
+
defaultValue: unknown;
|
|
464
|
+
};
|
|
465
|
+
readonly geneticCodes: {
|
|
466
|
+
type: "frozen";
|
|
467
|
+
} & {
|
|
468
|
+
defaultValue: unknown;
|
|
469
|
+
};
|
|
470
|
+
readonly circularRefNames: {
|
|
471
|
+
type: "stringArray";
|
|
472
|
+
} & {
|
|
473
|
+
defaultValue: unknown;
|
|
474
|
+
};
|
|
475
|
+
readonly geneticCodesLocation: {
|
|
476
|
+
type: "maybeFileLocation";
|
|
477
|
+
};
|
|
478
|
+
readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
479
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
480
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
481
|
+
readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
482
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
483
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
484
|
+
readonly displayName: {
|
|
485
|
+
type: "string";
|
|
486
|
+
} & {
|
|
487
|
+
defaultValue: string;
|
|
488
|
+
};
|
|
489
|
+
name: {
|
|
490
|
+
type: "string";
|
|
491
|
+
} & {
|
|
492
|
+
defaultValue: string;
|
|
493
|
+
};
|
|
494
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
|
|
409
495
|
}, {
|
|
410
496
|
error: unknown;
|
|
411
497
|
loadingP: Promise<void> | undefined;
|
|
@@ -420,6 +506,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
420
506
|
statusProgress: number | undefined;
|
|
421
507
|
statusSource: string | undefined;
|
|
422
508
|
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
509
|
+
contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
|
|
423
510
|
} & {
|
|
424
511
|
getConf(arg: string): any;
|
|
425
512
|
} & {
|
|
@@ -433,6 +520,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
433
520
|
} & {
|
|
434
521
|
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
435
522
|
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
523
|
+
setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
|
|
436
524
|
} & {
|
|
437
525
|
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
|
|
438
526
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -472,6 +560,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
472
560
|
[x: string]: unknown;
|
|
473
561
|
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
|
|
474
562
|
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
563
|
+
getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
|
|
475
564
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
|
|
476
565
|
/**
|
|
477
566
|
* #getter
|
|
@@ -498,7 +587,48 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
498
587
|
* displayed assemblies that hasn't finished loading.
|
|
499
588
|
*/
|
|
500
589
|
readonly loadingAssembly: (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
501
|
-
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/
|
|
590
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
591
|
+
readonly aliases: {
|
|
592
|
+
type: "stringArray";
|
|
593
|
+
} & {
|
|
594
|
+
defaultValue: unknown;
|
|
595
|
+
};
|
|
596
|
+
readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
597
|
+
readonly refNameColors: {
|
|
598
|
+
type: "stringArray";
|
|
599
|
+
} & {
|
|
600
|
+
defaultValue: unknown;
|
|
601
|
+
};
|
|
602
|
+
readonly geneticCodes: {
|
|
603
|
+
type: "frozen";
|
|
604
|
+
} & {
|
|
605
|
+
defaultValue: unknown;
|
|
606
|
+
};
|
|
607
|
+
readonly circularRefNames: {
|
|
608
|
+
type: "stringArray";
|
|
609
|
+
} & {
|
|
610
|
+
defaultValue: unknown;
|
|
611
|
+
};
|
|
612
|
+
readonly geneticCodesLocation: {
|
|
613
|
+
type: "maybeFileLocation";
|
|
614
|
+
};
|
|
615
|
+
readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
616
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
617
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
618
|
+
readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
619
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
620
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
621
|
+
readonly displayName: {
|
|
622
|
+
type: "string";
|
|
623
|
+
} & {
|
|
624
|
+
defaultValue: string;
|
|
625
|
+
};
|
|
626
|
+
name: {
|
|
627
|
+
type: "string";
|
|
628
|
+
} & {
|
|
629
|
+
defaultValue: string;
|
|
630
|
+
};
|
|
631
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
|
|
502
632
|
}> & {
|
|
503
633
|
error: unknown;
|
|
504
634
|
loadingP: Promise<void> | undefined;
|
|
@@ -513,6 +643,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
513
643
|
statusProgress: number | undefined;
|
|
514
644
|
statusSource: string | undefined;
|
|
515
645
|
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
646
|
+
contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
|
|
516
647
|
} & {
|
|
517
648
|
getConf(arg: string): any;
|
|
518
649
|
} & {
|
|
@@ -526,6 +657,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
526
657
|
} & {
|
|
527
658
|
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
528
659
|
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
660
|
+
setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
|
|
529
661
|
} & {
|
|
530
662
|
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
|
|
531
663
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -565,8 +697,50 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
565
697
|
[x: string]: unknown;
|
|
566
698
|
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
|
|
567
699
|
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
700
|
+
getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
|
|
568
701
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
569
|
-
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/
|
|
702
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
703
|
+
readonly aliases: {
|
|
704
|
+
type: "stringArray";
|
|
705
|
+
} & {
|
|
706
|
+
defaultValue: unknown;
|
|
707
|
+
};
|
|
708
|
+
readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
709
|
+
readonly refNameColors: {
|
|
710
|
+
type: "stringArray";
|
|
711
|
+
} & {
|
|
712
|
+
defaultValue: unknown;
|
|
713
|
+
};
|
|
714
|
+
readonly geneticCodes: {
|
|
715
|
+
type: "frozen";
|
|
716
|
+
} & {
|
|
717
|
+
defaultValue: unknown;
|
|
718
|
+
};
|
|
719
|
+
readonly circularRefNames: {
|
|
720
|
+
type: "stringArray";
|
|
721
|
+
} & {
|
|
722
|
+
defaultValue: unknown;
|
|
723
|
+
};
|
|
724
|
+
readonly geneticCodesLocation: {
|
|
725
|
+
type: "maybeFileLocation";
|
|
726
|
+
};
|
|
727
|
+
readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
728
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
729
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
730
|
+
readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
731
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
732
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
733
|
+
readonly displayName: {
|
|
734
|
+
type: "string";
|
|
735
|
+
} & {
|
|
736
|
+
defaultValue: string;
|
|
737
|
+
};
|
|
738
|
+
name: {
|
|
739
|
+
type: "string";
|
|
740
|
+
} & {
|
|
741
|
+
defaultValue: string;
|
|
742
|
+
};
|
|
743
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
|
|
570
744
|
}, {
|
|
571
745
|
error: unknown;
|
|
572
746
|
loadingP: Promise<void> | undefined;
|
|
@@ -581,6 +755,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
581
755
|
statusProgress: number | undefined;
|
|
582
756
|
statusSource: string | undefined;
|
|
583
757
|
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
758
|
+
contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
|
|
584
759
|
} & {
|
|
585
760
|
getConf(arg: string): any;
|
|
586
761
|
} & {
|
|
@@ -594,6 +769,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
594
769
|
} & {
|
|
595
770
|
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
596
771
|
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
772
|
+
setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
|
|
597
773
|
} & {
|
|
598
774
|
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
|
|
599
775
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -633,6 +809,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
633
809
|
[x: string]: unknown;
|
|
634
810
|
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
|
|
635
811
|
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
812
|
+
getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
|
|
636
813
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
|
|
637
814
|
/**
|
|
638
815
|
* #getter
|
|
@@ -740,13 +917,13 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
740
917
|
* mounts — rather than re-picking `displays[0]`, so the view's height math
|
|
741
918
|
* can't diverge from what is on screen.
|
|
742
919
|
*/
|
|
743
|
-
trackHeight(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/
|
|
920
|
+
trackHeight(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>>)[number]): number;
|
|
744
921
|
/**
|
|
745
922
|
* #method
|
|
746
923
|
* the measured in-flow label band above a track's rendering container,
|
|
747
924
|
* 0 until TrackContainer has measured one or when no label is in flow
|
|
748
925
|
*/
|
|
749
|
-
trackLabelBand(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/
|
|
926
|
+
trackLabelBand(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>>)[number]): number;
|
|
750
927
|
/**
|
|
751
928
|
* #getter
|
|
752
929
|
*/
|
|
@@ -764,7 +941,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
764
941
|
* The display height of each track a whole-stack resize moves, by track
|
|
765
942
|
* instance id: every shown track that is not minimized.
|
|
766
943
|
*/
|
|
767
|
-
readonly resizableTrackHeights: Map<
|
|
944
|
+
readonly resizableTrackHeights: Map<string, number>;
|
|
768
945
|
/**
|
|
769
946
|
* #method
|
|
770
947
|
* Y offset (in pixels, from the top of the view) where a track's
|
|
@@ -784,7 +961,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
784
961
|
* up/down/top/bottom reorder inside this section rather than the full
|
|
785
962
|
* `tracks` array, since the two sections lay out independently
|
|
786
963
|
*/
|
|
787
|
-
trackSection(id: string):
|
|
964
|
+
trackSection(id: string): (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
|
|
788
965
|
/**
|
|
789
966
|
* #getter
|
|
790
967
|
*/
|
|
@@ -851,11 +1028,11 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
851
1028
|
/**
|
|
852
1029
|
* #getter
|
|
853
1030
|
*/
|
|
854
|
-
readonly trackMap: Map<string,
|
|
1031
|
+
readonly trackMap: Map<string, import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>>;
|
|
855
1032
|
/**
|
|
856
1033
|
* #method
|
|
857
1034
|
*/
|
|
858
|
-
getTrack(id: string):
|
|
1035
|
+
getTrack(id: string): (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>) | undefined;
|
|
859
1036
|
/**
|
|
860
1037
|
* #method
|
|
861
1038
|
* displayId of the active (shown) display for a track in this view, used
|
|
@@ -1034,7 +1211,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
1034
1211
|
* both name one shown track. Answers the model id, or the argument
|
|
1035
1212
|
* unchanged when nothing shown matches, so the move reports it.
|
|
1036
1213
|
*/
|
|
1037
|
-
trackModelId(idOrTrackId: string):
|
|
1214
|
+
trackModelId(idOrTrackId: string): string;
|
|
1038
1215
|
} & {
|
|
1039
1216
|
moveTrack: (moving: string, target: string) => void;
|
|
1040
1217
|
/**
|
|
@@ -1520,7 +1697,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
1520
1697
|
*
|
|
1521
1698
|
* The coarse blocks are a 500ms throttle, and every consumer trades
|
|
1522
1699
|
* freshness for not recomputing per animation frame — the location box,
|
|
1523
|
-
*
|
|
1700
|
+
* the feature display's on-screen feature set, and the two per-bp scans behind
|
|
1524
1701
|
* `settledDynamicBlocks`. That trade is only sound while the answer is a
|
|
1525
1702
|
* few frames old. **A jump makes it unrelated instead**, because there is
|
|
1526
1703
|
* nothing to coalesce: the viewport left behind is not an approximation of
|
|
@@ -1746,10 +1923,17 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
1746
1923
|
* adds the region in view to the session's highlights
|
|
1747
1924
|
*/
|
|
1748
1925
|
highlightCurrentRegion(): void;
|
|
1926
|
+
/**
|
|
1927
|
+
* #action
|
|
1928
|
+
* navigates to a highlight, zoomed out a little for context. Goes through
|
|
1929
|
+
* a locstring so it reaches a refName the view is not displaying
|
|
1930
|
+
*/
|
|
1931
|
+
navToHighlight(highlight: HighlightType): Promise<boolean>;
|
|
1932
|
+
} & {
|
|
1749
1933
|
/**
|
|
1750
1934
|
* #action
|
|
1751
1935
|
* navigates to the most recently added highlight on this view's
|
|
1752
|
-
* assemblies
|
|
1936
|
+
* assemblies
|
|
1753
1937
|
*/
|
|
1754
1938
|
navigateNewestHighlight(): Promise<void>;
|
|
1755
1939
|
} & {
|
|
@@ -1786,7 +1970,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
1786
1970
|
*/
|
|
1787
1971
|
nonGenomicTrackBands(): {
|
|
1788
1972
|
top: number;
|
|
1789
|
-
height:
|
|
1973
|
+
height: number;
|
|
1790
1974
|
}[];
|
|
1791
1975
|
/**
|
|
1792
1976
|
* #method
|
|
@@ -1830,8 +2014,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
1830
2014
|
rubberbandClickMenuItems(clickOffset: BpOffset): MenuItem[];
|
|
1831
2015
|
/**
|
|
1832
2016
|
* #method
|
|
1833
|
-
*
|
|
1834
|
-
* this via Core-extendPluggableElement to add items
|
|
2017
|
+
* a highlight chip's menu rows after Dismiss; extend this to add one
|
|
1835
2018
|
*/
|
|
1836
2019
|
highlightMenuItems(_highlight: HighlightType): MenuItem[];
|
|
1837
2020
|
} & {
|
|
@@ -1864,11 +2047,11 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
1864
2047
|
windowWidthBp: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
1865
2048
|
legacyBpPerPx: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
1866
2049
|
displayedRegions: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IType<Region[], Region[], Region[]>, [undefined]>;
|
|
1867
|
-
tracks: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/
|
|
2050
|
+
tracks: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>;
|
|
1868
2051
|
hideHeader: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1869
2052
|
hideHeaderOverview: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1870
2053
|
hideNoTracksActive: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1871
|
-
trackSelectorType: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<
|
|
2054
|
+
trackSelectorType: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1872
2055
|
showCenterLine: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1873
2056
|
showCytobands: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1874
2057
|
trackLabels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -2020,11 +2203,11 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2020
2203
|
/**
|
|
2021
2204
|
* #getter
|
|
2022
2205
|
*/
|
|
2023
|
-
readonly pinnedTracks:
|
|
2206
|
+
readonly pinnedTracks: (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
|
|
2024
2207
|
/**
|
|
2025
2208
|
* #getter
|
|
2026
2209
|
*/
|
|
2027
|
-
readonly unpinnedTracks:
|
|
2210
|
+
readonly unpinnedTracks: (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
|
|
2028
2211
|
/**
|
|
2029
2212
|
* #getter
|
|
2030
2213
|
* the effective track labels setting, resolving the stored `trackLabels`
|
|
@@ -2071,7 +2254,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2071
2254
|
* The census entry for this view: the tracks it holds itself. Declared
|
|
2072
2255
|
* rather than derived — see `BaseViewModel.ownTracks`.
|
|
2073
2256
|
*/
|
|
2074
|
-
readonly ownTracks:
|
|
2257
|
+
readonly ownTracks: (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
|
|
2075
2258
|
/**
|
|
2076
2259
|
* #getter
|
|
2077
2260
|
* See `BaseViewModel.rendersDisplays`.
|
|
@@ -2108,7 +2291,48 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2108
2291
|
* and error checks resolve it directly through here.
|
|
2109
2292
|
*/
|
|
2110
2293
|
readonly initAssembly: (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
2111
|
-
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/
|
|
2294
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
2295
|
+
readonly aliases: {
|
|
2296
|
+
type: "stringArray";
|
|
2297
|
+
} & {
|
|
2298
|
+
defaultValue: unknown;
|
|
2299
|
+
};
|
|
2300
|
+
readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2301
|
+
readonly refNameColors: {
|
|
2302
|
+
type: "stringArray";
|
|
2303
|
+
} & {
|
|
2304
|
+
defaultValue: unknown;
|
|
2305
|
+
};
|
|
2306
|
+
readonly geneticCodes: {
|
|
2307
|
+
type: "frozen";
|
|
2308
|
+
} & {
|
|
2309
|
+
defaultValue: unknown;
|
|
2310
|
+
};
|
|
2311
|
+
readonly circularRefNames: {
|
|
2312
|
+
type: "stringArray";
|
|
2313
|
+
} & {
|
|
2314
|
+
defaultValue: unknown;
|
|
2315
|
+
};
|
|
2316
|
+
readonly geneticCodesLocation: {
|
|
2317
|
+
type: "maybeFileLocation";
|
|
2318
|
+
};
|
|
2319
|
+
readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
2320
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
2321
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
2322
|
+
readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
2323
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
2324
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
2325
|
+
readonly displayName: {
|
|
2326
|
+
type: "string";
|
|
2327
|
+
} & {
|
|
2328
|
+
defaultValue: string;
|
|
2329
|
+
};
|
|
2330
|
+
name: {
|
|
2331
|
+
type: "string";
|
|
2332
|
+
} & {
|
|
2333
|
+
defaultValue: string;
|
|
2334
|
+
};
|
|
2335
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
|
|
2112
2336
|
}> & {
|
|
2113
2337
|
error: unknown;
|
|
2114
2338
|
loadingP: Promise<void> | undefined;
|
|
@@ -2123,6 +2347,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2123
2347
|
statusProgress: number | undefined;
|
|
2124
2348
|
statusSource: string | undefined;
|
|
2125
2349
|
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
2350
|
+
contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
|
|
2126
2351
|
} & {
|
|
2127
2352
|
getConf(arg: string): any;
|
|
2128
2353
|
} & {
|
|
@@ -2136,6 +2361,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2136
2361
|
} & {
|
|
2137
2362
|
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
2138
2363
|
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
2364
|
+
setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
|
|
2139
2365
|
} & {
|
|
2140
2366
|
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
|
|
2141
2367
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -2175,8 +2401,50 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2175
2401
|
[x: string]: unknown;
|
|
2176
2402
|
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
|
|
2177
2403
|
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
2404
|
+
getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
|
|
2178
2405
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
2179
|
-
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/
|
|
2406
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
2407
|
+
readonly aliases: {
|
|
2408
|
+
type: "stringArray";
|
|
2409
|
+
} & {
|
|
2410
|
+
defaultValue: unknown;
|
|
2411
|
+
};
|
|
2412
|
+
readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2413
|
+
readonly refNameColors: {
|
|
2414
|
+
type: "stringArray";
|
|
2415
|
+
} & {
|
|
2416
|
+
defaultValue: unknown;
|
|
2417
|
+
};
|
|
2418
|
+
readonly geneticCodes: {
|
|
2419
|
+
type: "frozen";
|
|
2420
|
+
} & {
|
|
2421
|
+
defaultValue: unknown;
|
|
2422
|
+
};
|
|
2423
|
+
readonly circularRefNames: {
|
|
2424
|
+
type: "stringArray";
|
|
2425
|
+
} & {
|
|
2426
|
+
defaultValue: unknown;
|
|
2427
|
+
};
|
|
2428
|
+
readonly geneticCodesLocation: {
|
|
2429
|
+
type: "maybeFileLocation";
|
|
2430
|
+
};
|
|
2431
|
+
readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
2432
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
2433
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
2434
|
+
readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
2435
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
2436
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
2437
|
+
readonly displayName: {
|
|
2438
|
+
type: "string";
|
|
2439
|
+
} & {
|
|
2440
|
+
defaultValue: string;
|
|
2441
|
+
};
|
|
2442
|
+
name: {
|
|
2443
|
+
type: "string";
|
|
2444
|
+
} & {
|
|
2445
|
+
defaultValue: string;
|
|
2446
|
+
};
|
|
2447
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
|
|
2180
2448
|
}, {
|
|
2181
2449
|
error: unknown;
|
|
2182
2450
|
loadingP: Promise<void> | undefined;
|
|
@@ -2191,6 +2459,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2191
2459
|
statusProgress: number | undefined;
|
|
2192
2460
|
statusSource: string | undefined;
|
|
2193
2461
|
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
2462
|
+
contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
|
|
2194
2463
|
} & {
|
|
2195
2464
|
getConf(arg: string): any;
|
|
2196
2465
|
} & {
|
|
@@ -2204,6 +2473,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2204
2473
|
} & {
|
|
2205
2474
|
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
2206
2475
|
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
2476
|
+
setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
|
|
2207
2477
|
} & {
|
|
2208
2478
|
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
|
|
2209
2479
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -2243,6 +2513,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2243
2513
|
[x: string]: unknown;
|
|
2244
2514
|
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
|
|
2245
2515
|
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
2516
|
+
getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
|
|
2246
2517
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
|
|
2247
2518
|
/**
|
|
2248
2519
|
* #getter
|
|
@@ -2269,7 +2540,48 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2269
2540
|
* displayed assemblies that hasn't finished loading.
|
|
2270
2541
|
*/
|
|
2271
2542
|
readonly loadingAssembly: (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
2272
|
-
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/
|
|
2543
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
2544
|
+
readonly aliases: {
|
|
2545
|
+
type: "stringArray";
|
|
2546
|
+
} & {
|
|
2547
|
+
defaultValue: unknown;
|
|
2548
|
+
};
|
|
2549
|
+
readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2550
|
+
readonly refNameColors: {
|
|
2551
|
+
type: "stringArray";
|
|
2552
|
+
} & {
|
|
2553
|
+
defaultValue: unknown;
|
|
2554
|
+
};
|
|
2555
|
+
readonly geneticCodes: {
|
|
2556
|
+
type: "frozen";
|
|
2557
|
+
} & {
|
|
2558
|
+
defaultValue: unknown;
|
|
2559
|
+
};
|
|
2560
|
+
readonly circularRefNames: {
|
|
2561
|
+
type: "stringArray";
|
|
2562
|
+
} & {
|
|
2563
|
+
defaultValue: unknown;
|
|
2564
|
+
};
|
|
2565
|
+
readonly geneticCodesLocation: {
|
|
2566
|
+
type: "maybeFileLocation";
|
|
2567
|
+
};
|
|
2568
|
+
readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
2569
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
2570
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
2571
|
+
readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
2572
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
2573
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
2574
|
+
readonly displayName: {
|
|
2575
|
+
type: "string";
|
|
2576
|
+
} & {
|
|
2577
|
+
defaultValue: string;
|
|
2578
|
+
};
|
|
2579
|
+
name: {
|
|
2580
|
+
type: "string";
|
|
2581
|
+
} & {
|
|
2582
|
+
defaultValue: string;
|
|
2583
|
+
};
|
|
2584
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
|
|
2273
2585
|
}> & {
|
|
2274
2586
|
error: unknown;
|
|
2275
2587
|
loadingP: Promise<void> | undefined;
|
|
@@ -2284,6 +2596,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2284
2596
|
statusProgress: number | undefined;
|
|
2285
2597
|
statusSource: string | undefined;
|
|
2286
2598
|
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
2599
|
+
contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
|
|
2287
2600
|
} & {
|
|
2288
2601
|
getConf(arg: string): any;
|
|
2289
2602
|
} & {
|
|
@@ -2297,6 +2610,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2297
2610
|
} & {
|
|
2298
2611
|
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
2299
2612
|
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
2613
|
+
setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
|
|
2300
2614
|
} & {
|
|
2301
2615
|
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
|
|
2302
2616
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -2336,8 +2650,50 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2336
2650
|
[x: string]: unknown;
|
|
2337
2651
|
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
|
|
2338
2652
|
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
2653
|
+
getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
|
|
2339
2654
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
2340
|
-
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/
|
|
2655
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
2656
|
+
readonly aliases: {
|
|
2657
|
+
type: "stringArray";
|
|
2658
|
+
} & {
|
|
2659
|
+
defaultValue: unknown;
|
|
2660
|
+
};
|
|
2661
|
+
readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2662
|
+
readonly refNameColors: {
|
|
2663
|
+
type: "stringArray";
|
|
2664
|
+
} & {
|
|
2665
|
+
defaultValue: unknown;
|
|
2666
|
+
};
|
|
2667
|
+
readonly geneticCodes: {
|
|
2668
|
+
type: "frozen";
|
|
2669
|
+
} & {
|
|
2670
|
+
defaultValue: unknown;
|
|
2671
|
+
};
|
|
2672
|
+
readonly circularRefNames: {
|
|
2673
|
+
type: "stringArray";
|
|
2674
|
+
} & {
|
|
2675
|
+
defaultValue: unknown;
|
|
2676
|
+
};
|
|
2677
|
+
readonly geneticCodesLocation: {
|
|
2678
|
+
type: "maybeFileLocation";
|
|
2679
|
+
};
|
|
2680
|
+
readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
2681
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
2682
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
2683
|
+
readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
2684
|
+
readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
|
|
2685
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
|
|
2686
|
+
readonly displayName: {
|
|
2687
|
+
type: "string";
|
|
2688
|
+
} & {
|
|
2689
|
+
defaultValue: string;
|
|
2690
|
+
};
|
|
2691
|
+
name: {
|
|
2692
|
+
type: "string";
|
|
2693
|
+
} & {
|
|
2694
|
+
defaultValue: string;
|
|
2695
|
+
};
|
|
2696
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
|
|
2341
2697
|
}, {
|
|
2342
2698
|
error: unknown;
|
|
2343
2699
|
loadingP: Promise<void> | undefined;
|
|
@@ -2352,6 +2708,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2352
2708
|
statusProgress: number | undefined;
|
|
2353
2709
|
statusSource: string | undefined;
|
|
2354
2710
|
refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
|
|
2711
|
+
contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
|
|
2355
2712
|
} & {
|
|
2356
2713
|
getConf(arg: string): any;
|
|
2357
2714
|
} & {
|
|
@@ -2365,6 +2722,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2365
2722
|
} & {
|
|
2366
2723
|
setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
2367
2724
|
setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
|
|
2725
|
+
setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
|
|
2368
2726
|
} & {
|
|
2369
2727
|
setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
|
|
2370
2728
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -2404,6 +2762,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2404
2762
|
[x: string]: unknown;
|
|
2405
2763
|
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
|
|
2406
2764
|
getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
|
|
2765
|
+
getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
|
|
2407
2766
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
|
|
2408
2767
|
/**
|
|
2409
2768
|
* #getter
|
|
@@ -2511,13 +2870,13 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2511
2870
|
* mounts — rather than re-picking `displays[0]`, so the view's height math
|
|
2512
2871
|
* can't diverge from what is on screen.
|
|
2513
2872
|
*/
|
|
2514
|
-
trackHeight(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/
|
|
2873
|
+
trackHeight(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>>)[number]): number;
|
|
2515
2874
|
/**
|
|
2516
2875
|
* #method
|
|
2517
2876
|
* the measured in-flow label band above a track's rendering container,
|
|
2518
2877
|
* 0 until TrackContainer has measured one or when no label is in flow
|
|
2519
2878
|
*/
|
|
2520
|
-
trackLabelBand(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/
|
|
2879
|
+
trackLabelBand(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>>)[number]): number;
|
|
2521
2880
|
/**
|
|
2522
2881
|
* #getter
|
|
2523
2882
|
*/
|
|
@@ -2535,7 +2894,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2535
2894
|
* The display height of each track a whole-stack resize moves, by track
|
|
2536
2895
|
* instance id: every shown track that is not minimized.
|
|
2537
2896
|
*/
|
|
2538
|
-
readonly resizableTrackHeights: Map<
|
|
2897
|
+
readonly resizableTrackHeights: Map<string, number>;
|
|
2539
2898
|
/**
|
|
2540
2899
|
* #method
|
|
2541
2900
|
* Y offset (in pixels, from the top of the view) where a track's
|
|
@@ -2555,7 +2914,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2555
2914
|
* up/down/top/bottom reorder inside this section rather than the full
|
|
2556
2915
|
* `tracks` array, since the two sections lay out independently
|
|
2557
2916
|
*/
|
|
2558
|
-
trackSection(id: string):
|
|
2917
|
+
trackSection(id: string): (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
|
|
2559
2918
|
/**
|
|
2560
2919
|
* #getter
|
|
2561
2920
|
*/
|
|
@@ -2622,11 +2981,11 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2622
2981
|
/**
|
|
2623
2982
|
* #getter
|
|
2624
2983
|
*/
|
|
2625
|
-
readonly trackMap: Map<string,
|
|
2984
|
+
readonly trackMap: Map<string, import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>>;
|
|
2626
2985
|
/**
|
|
2627
2986
|
* #method
|
|
2628
2987
|
*/
|
|
2629
|
-
getTrack(id: string):
|
|
2988
|
+
getTrack(id: string): (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>) | undefined;
|
|
2630
2989
|
/**
|
|
2631
2990
|
* #method
|
|
2632
2991
|
* displayId of the active (shown) display for a track in this view, used
|
|
@@ -2805,7 +3164,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
2805
3164
|
* both name one shown track. Answers the model id, or the argument
|
|
2806
3165
|
* unchanged when nothing shown matches, so the move reports it.
|
|
2807
3166
|
*/
|
|
2808
|
-
trackModelId(idOrTrackId: string):
|
|
3167
|
+
trackModelId(idOrTrackId: string): string;
|
|
2809
3168
|
} & {
|
|
2810
3169
|
moveTrack: (moving: string, target: string) => void;
|
|
2811
3170
|
/**
|
|
@@ -3291,7 +3650,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
3291
3650
|
*
|
|
3292
3651
|
* The coarse blocks are a 500ms throttle, and every consumer trades
|
|
3293
3652
|
* freshness for not recomputing per animation frame — the location box,
|
|
3294
|
-
*
|
|
3653
|
+
* the feature display's on-screen feature set, and the two per-bp scans behind
|
|
3295
3654
|
* `settledDynamicBlocks`. That trade is only sound while the answer is a
|
|
3296
3655
|
* few frames old. **A jump makes it unrelated instead**, because there is
|
|
3297
3656
|
* nothing to coalesce: the viewport left behind is not an approximation of
|
|
@@ -3517,10 +3876,17 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
3517
3876
|
* adds the region in view to the session's highlights
|
|
3518
3877
|
*/
|
|
3519
3878
|
highlightCurrentRegion(): void;
|
|
3879
|
+
/**
|
|
3880
|
+
* #action
|
|
3881
|
+
* navigates to a highlight, zoomed out a little for context. Goes through
|
|
3882
|
+
* a locstring so it reaches a refName the view is not displaying
|
|
3883
|
+
*/
|
|
3884
|
+
navToHighlight(highlight: HighlightType): Promise<boolean>;
|
|
3885
|
+
} & {
|
|
3520
3886
|
/**
|
|
3521
3887
|
* #action
|
|
3522
3888
|
* navigates to the most recently added highlight on this view's
|
|
3523
|
-
* assemblies
|
|
3889
|
+
* assemblies
|
|
3524
3890
|
*/
|
|
3525
3891
|
navigateNewestHighlight(): Promise<void>;
|
|
3526
3892
|
} & {
|
|
@@ -3557,7 +3923,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
3557
3923
|
*/
|
|
3558
3924
|
nonGenomicTrackBands(): {
|
|
3559
3925
|
top: number;
|
|
3560
|
-
height:
|
|
3926
|
+
height: number;
|
|
3561
3927
|
}[];
|
|
3562
3928
|
/**
|
|
3563
3929
|
* #method
|
|
@@ -3601,8 +3967,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
3601
3967
|
rubberbandClickMenuItems(clickOffset: BpOffset): MenuItem[];
|
|
3602
3968
|
/**
|
|
3603
3969
|
* #method
|
|
3604
|
-
*
|
|
3605
|
-
* this via Core-extendPluggableElement to add items
|
|
3970
|
+
* a highlight chip's menu rows after Dismiss; extend this to add one
|
|
3606
3971
|
*/
|
|
3607
3972
|
highlightMenuItems(_highlight: HighlightType): MenuItem[];
|
|
3608
3973
|
} & {
|
|
@@ -3633,11 +3998,11 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
3633
3998
|
windowWidthBp: number;
|
|
3634
3999
|
legacyBpPerPx: number;
|
|
3635
4000
|
displayedRegions: Region[];
|
|
3636
|
-
tracks:
|
|
4001
|
+
tracks: import("@jbrowse/core/util/tracks").TrackSnapshot[];
|
|
3637
4002
|
hideHeader: boolean;
|
|
3638
4003
|
hideHeaderOverview: boolean;
|
|
3639
4004
|
hideNoTracksActive: boolean;
|
|
3640
|
-
trackSelectorType:
|
|
4005
|
+
trackSelectorType: string;
|
|
3641
4006
|
showCytobands: boolean;
|
|
3642
4007
|
trackLabels: string;
|
|
3643
4008
|
axis: import("@jbrowse/mobx-state-tree").ModelSnapshotType<Record<string, any>>;
|
|
@@ -3647,8 +4012,10 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
3647
4012
|
scalebarOnly: boolean;
|
|
3648
4013
|
launch: LaunchInput<InitState> | undefined;
|
|
3649
4014
|
}>;
|
|
3650
|
-
export
|
|
4015
|
+
export interface LinearGenomeViewStateModel extends ReturnType<typeof stateModelFactory> {
|
|
4016
|
+
}
|
|
3651
4017
|
export type LinearGenomeViewModel = Instance<LinearGenomeViewStateModel>;
|
|
4018
|
+
export type LinearGenomeViewTrack = LinearGenomeViewModel['tracks'][number];
|
|
3652
4019
|
declare module '@jbrowse/core/PluginManager' {
|
|
3653
4020
|
interface ViewTypeRegistry {
|
|
3654
4021
|
LinearGenomeView: LinearGenomeViewStateModel;
|