@jbrowse/plugin-variants 4.0.3 → 4.1.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/esm/ChordVariantDisplay/models/stateModelFactory.d.ts +9 -0
- package/esm/LDDisplay/SharedLDConfigSchema.d.ts +102 -0
- package/esm/LDDisplay/SharedLDConfigSchema.js +83 -0
- package/esm/LDDisplay/afterAttach.d.ts +2 -0
- package/esm/LDDisplay/afterAttach.js +123 -0
- package/esm/LDDisplay/components/BaseDisplayComponent.d.ts +15 -0
- package/esm/LDDisplay/components/BaseDisplayComponent.js +39 -0
- package/esm/LDDisplay/components/LDColorLegend.d.ts +15 -0
- package/esm/LDDisplay/components/LDColorLegend.js +75 -0
- package/esm/LDDisplay/components/LDDisplayComponent.d.ts +5 -0
- package/esm/LDDisplay/components/LDDisplayComponent.js +203 -0
- package/esm/LDDisplay/components/LinesConnectingMatrixToGenomicPosition.d.ts +16 -0
- package/esm/LDDisplay/components/LinesConnectingMatrixToGenomicPosition.js +109 -0
- package/esm/LDDisplay/configSchema1.d.ts +115 -0
- package/esm/LDDisplay/configSchema1.js +16 -0
- package/esm/LDDisplay/configSchema2.d.ts +115 -0
- package/esm/LDDisplay/configSchema2.js +16 -0
- package/esm/LDDisplay/index.d.ts +2 -0
- package/esm/LDDisplay/index.js +35 -0
- package/esm/LDDisplay/renderSvg.d.ts +3 -0
- package/esm/LDDisplay/renderSvg.js +36 -0
- package/esm/LDDisplay/shared.d.ts +367 -0
- package/esm/LDDisplay/shared.js +467 -0
- package/esm/LDDisplay/stateModel1.d.ts +365 -0
- package/esm/LDDisplay/stateModel1.js +10 -0
- package/esm/LDDisplay/stateModel2.d.ts +365 -0
- package/esm/LDDisplay/stateModel2.js +10 -0
- package/esm/LDRenderer/LDRenderer.d.ts +30 -0
- package/esm/LDRenderer/LDRenderer.js +109 -0
- package/esm/LDRenderer/components/LDRendering.d.ts +2 -0
- package/esm/LDRenderer/components/LDRendering.js +4 -0
- package/esm/LDRenderer/configSchema.d.ts +8 -0
- package/esm/LDRenderer/configSchema.js +10 -0
- package/esm/LDRenderer/index.d.ts +2 -0
- package/esm/LDRenderer/index.js +11 -0
- package/esm/LDRenderer/makeImageData.d.ts +20 -0
- package/esm/LDRenderer/makeImageData.js +158 -0
- package/esm/LDRenderer/types.d.ts +8 -0
- package/esm/LDRenderer/types.js +1 -0
- package/esm/LDTrack/configSchema.d.ts +85 -0
- package/esm/LDTrack/configSchema.js +7 -0
- package/esm/LDTrack/index.d.ts +2 -0
- package/esm/LDTrack/index.js +14 -0
- package/esm/LinearVariantDisplay/model.d.ts +139 -42
- package/esm/LinearVariantDisplay/model.js +46 -8
- package/esm/MultiLinearVariantDisplay/configSchema.d.ts +27 -1
- package/esm/MultiLinearVariantDisplay/model.d.ts +2647 -58
- package/esm/MultiLinearVariantDisplay/model.js +6 -0
- package/esm/MultiLinearVariantDisplay/renderSvg.d.ts +10 -2
- package/esm/MultiLinearVariantMatrixDisplay/configSchema.d.ts +25 -0
- package/esm/MultiLinearVariantMatrixDisplay/configSchema.js +26 -0
- package/esm/MultiLinearVariantMatrixDisplay/model.d.ts +2648 -59
- package/esm/MultiLinearVariantMatrixDisplay/model.js +6 -0
- package/esm/MultiLinearVariantMatrixRenderer/MultiLinearVariantMatrixRenderer.d.ts +2 -2
- package/esm/MultiLinearVariantMatrixRenderer/MultiLinearVariantMatrixRenderer.js +11 -9
- package/esm/MultiLinearVariantMatrixRenderer/components/MultiLinearVariantMatrixRendering.d.ts +8 -0
- package/esm/MultiLinearVariantMatrixRenderer/components/MultiLinearVariantMatrixRendering.js +14 -2
- package/esm/MultiLinearVariantMatrixRenderer/makeImageData.js +14 -8
- package/esm/MultiLinearVariantRenderer/MultiVariantRenderer.d.ts +2 -2
- package/esm/MultiLinearVariantRenderer/MultiVariantRenderer.js +4 -3
- package/esm/MultiLinearVariantRenderer/components/MultiLinearVariantRendering.d.ts +4 -0
- package/esm/MultiLinearVariantRenderer/components/MultiLinearVariantRendering.js +23 -2
- package/esm/MultiLinearVariantRenderer/makeImageData.js +8 -3
- package/esm/PlinkLDAdapter/PlinkLDAdapter.d.ts +25 -0
- package/esm/PlinkLDAdapter/PlinkLDAdapter.js +147 -0
- package/esm/PlinkLDAdapter/PlinkLDTabixAdapter.d.ts +24 -0
- package/esm/PlinkLDAdapter/PlinkLDTabixAdapter.js +156 -0
- package/esm/PlinkLDAdapter/configSchema.d.ts +10 -0
- package/esm/PlinkLDAdapter/configSchema.js +25 -0
- package/esm/PlinkLDAdapter/configSchemaTabix.d.ts +24 -0
- package/esm/PlinkLDAdapter/configSchemaTabix.js +46 -0
- package/esm/PlinkLDAdapter/index.d.ts +2 -0
- package/esm/PlinkLDAdapter/index.js +25 -0
- package/esm/PlinkLDAdapter/types.d.ts +29 -0
- package/esm/PlinkLDAdapter/types.js +1 -0
- package/esm/VariantFeatureWidget/VariantSampleGrid/VariantSampleGrid.js +1 -1
- package/esm/VariantRPC/MultiVariantGetFeatureDetails.d.ts +14 -0
- package/esm/VariantRPC/MultiVariantGetFeatureDetails.js +15 -0
- package/esm/VariantRPC/executeClusterGenotypeMatrix.d.ts +3 -1
- package/esm/VariantRPC/executeClusterGenotypeMatrix.js +8 -4
- package/esm/VariantRPC/getLDMatrix.d.ts +48 -0
- package/esm/VariantRPC/getLDMatrix.js +388 -0
- package/esm/VariantRPC/getLDMatrixFromPlink.d.ts +16 -0
- package/esm/VariantRPC/getLDMatrixFromPlink.js +105 -0
- package/esm/VariantRPC/getPhasedGenotypeMatrix.d.ts +20 -0
- package/esm/VariantRPC/getPhasedGenotypeMatrix.js +50 -0
- package/esm/VariantRPC/types.d.ts +3 -0
- package/esm/VcfAdapter/VcfAdapter.d.ts +1 -1
- package/esm/VcfAdapter/VcfAdapter.js +1 -2
- package/esm/VcfExtensionPoints/index.js +29 -3
- package/esm/VcfFeature/index.d.ts +2 -1
- package/esm/VcfFeature/index.js +4 -2
- package/esm/index.d.ts +1 -0
- package/esm/index.js +23 -0
- package/esm/shared/MultiVariantBaseModel.d.ts +2638 -53
- package/esm/shared/MultiVariantBaseModel.js +100 -47
- package/esm/shared/SharedVariantConfigSchema.d.ts +27 -1
- package/esm/shared/SharedVariantConfigSchema.js +28 -1
- package/esm/shared/VariantFeatureCache.d.ts +27 -0
- package/esm/shared/VariantFeatureCache.js +48 -0
- package/esm/shared/VariantRendererType.d.ts +23 -0
- package/esm/shared/VariantRendererType.js +15 -0
- package/esm/shared/applyColorPalette.d.ts +9 -0
- package/esm/shared/applyColorPalette.js +23 -0
- package/esm/shared/colorByAutorun.d.ts +10 -0
- package/esm/shared/colorByAutorun.js +39 -0
- package/esm/shared/components/AddFiltersDialog.d.ts +3 -3
- package/esm/shared/components/AddFiltersDialog.js +29 -22
- package/esm/shared/components/LDFilterDialog.d.ts +13 -0
- package/esm/shared/components/LDFilterDialog.js +102 -0
- package/esm/shared/components/MAFFilterDialog.js +23 -16
- package/esm/shared/components/MultiVariantClusterDialog/ClusterDialogAuto.js +19 -6
- package/esm/shared/components/MultiVariantClusterDialog/types.d.ts +4 -1
- package/esm/shared/components/MultiVariantColorLegend.js +4 -4
- package/esm/shared/components/MultiVariantLegendBar.js +1 -1
- package/esm/shared/components/MultiVariantTooltip.d.ts +1 -0
- package/esm/shared/components/MultiVariantTooltip.js +2 -2
- package/esm/shared/components/RecombinationTrack.d.ts +21 -0
- package/esm/shared/components/RecombinationTrack.js +54 -0
- package/esm/shared/components/RecombinationYScaleBar.d.ts +7 -0
- package/esm/shared/components/RecombinationYScaleBar.js +34 -0
- package/esm/shared/components/RectBg.js +1 -1
- package/esm/shared/components/SetColorDialogRowPalettizer.d.ts +3 -8
- package/esm/shared/components/SetColorDialogRowPalettizer.js +2 -14
- package/esm/shared/components/SourcesDataGrid.js +4 -4
- package/esm/shared/components/TreeSidebar.js +11 -1
- package/esm/shared/drawAlleleCount.js +9 -0
- package/esm/shared/drawPhased.d.ts +1 -1
- package/esm/shared/drawPhased.js +31 -2
- package/esm/shared/getMultiVariantFeaturesAutorun.d.ts +1 -0
- package/esm/shared/getMultiVariantFeaturesAutorun.js +3 -0
- package/esm/shared/getMultiVariantSourcesAutorun.d.ts +1 -0
- package/esm/shared/getMultiVariantSourcesAutorun.js +3 -0
- package/esm/shared/getSources.d.ts +5 -9
- package/esm/shared/getSources.js +30 -25
- package/esm/shared/mafFilterUtils.d.ts +5 -0
- package/esm/shared/mafFilterUtils.js +17 -0
- package/esm/shared/minorAlleleFrequencyUtils.d.ts +2 -0
- package/esm/shared/minorAlleleFrequencyUtils.js +259 -17
- package/esm/shared/setupMultiVariantAutoruns.js +2 -0
- package/esm/shared/treeDrawingAutorun.d.ts +1 -0
- package/esm/shared/treeDrawingAutorun.js +7 -1
- package/esm/shared/types.d.ts +1 -2
- package/package.json +12 -11
|
@@ -45,7 +45,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
45
45
|
setStatusMessage(message: string): void;
|
|
46
46
|
setLoading(newStopToken: import("@jbrowse/core/util").StopToken): void;
|
|
47
47
|
setMessage(messageText: string): void;
|
|
48
|
-
setRendered(props: import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/models/serverSideRenderedBlock").RenderedProps | undefined): void;
|
|
48
|
+
setRendered(props: import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/models/serverSideRenderedBlock.ts").RenderedProps | undefined): void;
|
|
49
49
|
setError(error: unknown): void;
|
|
50
50
|
reload(): void;
|
|
51
51
|
setCachedDisplay(display: import("@jbrowse/core/util").AbstractDisplayModel): void;
|
|
@@ -55,7 +55,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
55
55
|
} & {
|
|
56
56
|
afterAttach(): void;
|
|
57
57
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
58
|
-
configuration: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
58
|
+
configuration: import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
|
|
59
59
|
maxFeatureScreenDensity: {
|
|
60
60
|
type: string;
|
|
61
61
|
description: string;
|
|
@@ -82,7 +82,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
82
82
|
description: string;
|
|
83
83
|
defaultValue: never[];
|
|
84
84
|
};
|
|
85
|
-
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
85
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
86
86
|
showLegend: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
87
87
|
showTooltips: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
88
88
|
} & {
|
|
@@ -92,10 +92,11 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
92
92
|
trackDisplayMode: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
93
93
|
trackMaxHeight: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<number>>;
|
|
94
94
|
configuration: AnyConfigurationSchemaType;
|
|
95
|
-
|
|
95
|
+
jexlFiltersSetting: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>>;
|
|
96
96
|
} & {
|
|
97
97
|
type: import("@jbrowse/mobx-state-tree").ISimpleType<"LinearVariantDisplay">;
|
|
98
98
|
configuration: AnyConfigurationSchemaType;
|
|
99
|
+
minorAlleleFrequencyFilterSetting: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<number>>;
|
|
99
100
|
}, {
|
|
100
101
|
rendererTypeName: string;
|
|
101
102
|
error: unknown;
|
|
@@ -143,6 +144,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
143
144
|
}> | null;
|
|
144
145
|
readonly adapterConfig: any;
|
|
145
146
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
147
|
+
readonly isMinimized: boolean;
|
|
146
148
|
readonly parentDisplay: any;
|
|
147
149
|
readonly effectiveRpcDriverName: any;
|
|
148
150
|
} & {
|
|
@@ -199,6 +201,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
199
201
|
}> | null;
|
|
200
202
|
readonly adapterConfig: any;
|
|
201
203
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
204
|
+
readonly isMinimized: boolean;
|
|
202
205
|
readonly parentDisplay: any;
|
|
203
206
|
readonly effectiveRpcDriverName: any;
|
|
204
207
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -252,6 +255,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
252
255
|
}> | null;
|
|
253
256
|
readonly adapterConfig: any;
|
|
254
257
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
258
|
+
readonly isMinimized: boolean;
|
|
255
259
|
readonly parentDisplay: any;
|
|
256
260
|
readonly effectiveRpcDriverName: any;
|
|
257
261
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -324,11 +328,11 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
324
328
|
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
325
329
|
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
326
330
|
getFeatureById(featureId: string, parentFeatureId?: string): import("@jbrowse/core/util").Feature | undefined;
|
|
327
|
-
readonly layoutFeatures: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types").LayoutRecord>;
|
|
331
|
+
readonly layoutFeatures: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types.ts").LayoutRecord>;
|
|
328
332
|
getFeatureOverlapping(blockKey: string, x: number, y: number): string | undefined;
|
|
329
|
-
getFeatureByID(blockKey: string, id: string): import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types").LayoutRecord | undefined;
|
|
330
|
-
searchFeatureByID(id: string): import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types").LayoutRecord | undefined;
|
|
331
|
-
readonly floatingLabelData: Map<string, import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/components/util").FeatureLabelData>;
|
|
333
|
+
getFeatureByID(blockKey: string, id: string): import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types.ts").LayoutRecord | undefined;
|
|
334
|
+
searchFeatureByID(id: string): import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types.ts").LayoutRecord | undefined;
|
|
335
|
+
readonly floatingLabelData: Map<string, import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/components/util.ts").FeatureLabelData>;
|
|
332
336
|
} & {
|
|
333
337
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
334
338
|
deleteBlock(key: string): void;
|
|
@@ -392,7 +396,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
392
396
|
setStatusMessage(message: string): void;
|
|
393
397
|
setLoading(newStopToken: import("@jbrowse/core/util").StopToken): void;
|
|
394
398
|
setMessage(messageText: string): void;
|
|
395
|
-
setRendered(props: import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/models/serverSideRenderedBlock").RenderedProps | undefined): void;
|
|
399
|
+
setRendered(props: import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/models/serverSideRenderedBlock.ts").RenderedProps | undefined): void;
|
|
396
400
|
setError(error: unknown): void;
|
|
397
401
|
reload(): void;
|
|
398
402
|
setCachedDisplay(display: import("@jbrowse/core/util").AbstractDisplayModel): void;
|
|
@@ -436,7 +440,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
436
440
|
setStatusMessage(message: string): void;
|
|
437
441
|
setLoading(newStopToken: import("@jbrowse/core/util").StopToken): void;
|
|
438
442
|
setMessage(messageText: string): void;
|
|
439
|
-
setRendered(props: import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/models/serverSideRenderedBlock").RenderedProps | undefined): void;
|
|
443
|
+
setRendered(props: import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/models/serverSideRenderedBlock.ts").RenderedProps | undefined): void;
|
|
440
444
|
setError(error: unknown): void;
|
|
441
445
|
reload(): void;
|
|
442
446
|
setCachedDisplay(display: import("@jbrowse/core/util").AbstractDisplayModel): void;
|
|
@@ -456,7 +460,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
456
460
|
[x: string]: any;
|
|
457
461
|
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & any & import("@jbrowse/mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>);
|
|
458
462
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>);
|
|
459
|
-
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
463
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
|
|
460
464
|
maxFeatureScreenDensity: {
|
|
461
465
|
type: string;
|
|
462
466
|
description: string;
|
|
@@ -483,7 +487,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
483
487
|
description: string;
|
|
484
488
|
defaultValue: never[];
|
|
485
489
|
};
|
|
486
|
-
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>>;
|
|
490
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<undefined, "displayId">>>;
|
|
487
491
|
showLegend: boolean | undefined;
|
|
488
492
|
showTooltips: boolean | undefined;
|
|
489
493
|
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
@@ -533,6 +537,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
533
537
|
}> | null;
|
|
534
538
|
readonly adapterConfig: any;
|
|
535
539
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
540
|
+
readonly isMinimized: boolean;
|
|
536
541
|
readonly parentDisplay: any;
|
|
537
542
|
readonly effectiveRpcDriverName: any;
|
|
538
543
|
} & {
|
|
@@ -589,6 +594,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
589
594
|
}> | null;
|
|
590
595
|
readonly adapterConfig: any;
|
|
591
596
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
597
|
+
readonly isMinimized: boolean;
|
|
592
598
|
readonly parentDisplay: any;
|
|
593
599
|
readonly effectiveRpcDriverName: any;
|
|
594
600
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -642,6 +648,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
642
648
|
}> | null;
|
|
643
649
|
readonly adapterConfig: any;
|
|
644
650
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
651
|
+
readonly isMinimized: boolean;
|
|
645
652
|
readonly parentDisplay: any;
|
|
646
653
|
readonly effectiveRpcDriverName: any;
|
|
647
654
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -714,11 +721,11 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
714
721
|
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
715
722
|
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
716
723
|
getFeatureById(featureId: string, parentFeatureId?: string): import("@jbrowse/core/util").Feature | undefined;
|
|
717
|
-
readonly layoutFeatures: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types").LayoutRecord>;
|
|
724
|
+
readonly layoutFeatures: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types.ts").LayoutRecord>;
|
|
718
725
|
getFeatureOverlapping(blockKey: string, x: number, y: number): string | undefined;
|
|
719
|
-
getFeatureByID(blockKey: string, id: string): import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types").LayoutRecord | undefined;
|
|
720
|
-
searchFeatureByID(id: string): import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types").LayoutRecord | undefined;
|
|
721
|
-
readonly floatingLabelData: Map<string, import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/components/util").FeatureLabelData>;
|
|
726
|
+
getFeatureByID(blockKey: string, id: string): import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types.ts").LayoutRecord | undefined;
|
|
727
|
+
searchFeatureByID(id: string): import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types.ts").LayoutRecord | undefined;
|
|
728
|
+
readonly floatingLabelData: Map<string, import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/components/util.ts").FeatureLabelData>;
|
|
722
729
|
} & {
|
|
723
730
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
724
731
|
deleteBlock(key: string): void;
|
|
@@ -781,7 +788,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
781
788
|
setStatusMessage(message: string): void;
|
|
782
789
|
setLoading(newStopToken: import("@jbrowse/core/util").StopToken): void;
|
|
783
790
|
setMessage(messageText: string): void;
|
|
784
|
-
setRendered(props: import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/models/serverSideRenderedBlock").RenderedProps | undefined): void;
|
|
791
|
+
setRendered(props: import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/models/serverSideRenderedBlock.ts").RenderedProps | undefined): void;
|
|
785
792
|
setError(error: unknown): void;
|
|
786
793
|
reload(): void;
|
|
787
794
|
setCachedDisplay(display: import("@jbrowse/core/util").AbstractDisplayModel): void;
|
|
@@ -791,7 +798,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
791
798
|
} & {
|
|
792
799
|
afterAttach(): void;
|
|
793
800
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
794
|
-
configuration: import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
801
|
+
configuration: import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
|
|
795
802
|
maxFeatureScreenDensity: {
|
|
796
803
|
type: string;
|
|
797
804
|
description: string;
|
|
@@ -818,7 +825,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
818
825
|
description: string;
|
|
819
826
|
defaultValue: never[];
|
|
820
827
|
};
|
|
821
|
-
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
828
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
822
829
|
showLegend: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
823
830
|
showTooltips: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
824
831
|
}, {
|
|
@@ -868,6 +875,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
868
875
|
}> | null;
|
|
869
876
|
readonly adapterConfig: any;
|
|
870
877
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
878
|
+
readonly isMinimized: boolean;
|
|
871
879
|
readonly parentDisplay: any;
|
|
872
880
|
readonly effectiveRpcDriverName: any;
|
|
873
881
|
} & {
|
|
@@ -924,6 +932,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
924
932
|
}> | null;
|
|
925
933
|
readonly adapterConfig: any;
|
|
926
934
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
935
|
+
readonly isMinimized: boolean;
|
|
927
936
|
readonly parentDisplay: any;
|
|
928
937
|
readonly effectiveRpcDriverName: any;
|
|
929
938
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -977,6 +986,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
977
986
|
}> | null;
|
|
978
987
|
readonly adapterConfig: any;
|
|
979
988
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
989
|
+
readonly isMinimized: boolean;
|
|
980
990
|
readonly parentDisplay: any;
|
|
981
991
|
readonly effectiveRpcDriverName: any;
|
|
982
992
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
@@ -1049,11 +1059,11 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
1049
1059
|
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
1050
1060
|
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
1051
1061
|
getFeatureById(featureId: string, parentFeatureId?: string): import("@jbrowse/core/util").Feature | undefined;
|
|
1052
|
-
readonly layoutFeatures: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types").LayoutRecord>;
|
|
1062
|
+
readonly layoutFeatures: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types.ts").LayoutRecord>;
|
|
1053
1063
|
getFeatureOverlapping(blockKey: string, x: number, y: number): string | undefined;
|
|
1054
|
-
getFeatureByID(blockKey: string, id: string): import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types").LayoutRecord | undefined;
|
|
1055
|
-
searchFeatureByID(id: string): import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types").LayoutRecord | undefined;
|
|
1056
|
-
readonly floatingLabelData: Map<string, import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/components/util").FeatureLabelData>;
|
|
1064
|
+
getFeatureByID(blockKey: string, id: string): import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types.ts").LayoutRecord | undefined;
|
|
1065
|
+
searchFeatureByID(id: string): import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/types.ts").LayoutRecord | undefined;
|
|
1066
|
+
readonly floatingLabelData: Map<string, import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/components/util.ts").FeatureLabelData>;
|
|
1057
1067
|
} & {
|
|
1058
1068
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
1059
1069
|
deleteBlock(key: string): void;
|
|
@@ -1083,7 +1093,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
1083
1093
|
} & {
|
|
1084
1094
|
featureUnderMouseVolatile: import("@jbrowse/core/util").Feature | undefined;
|
|
1085
1095
|
} & {
|
|
1086
|
-
|
|
1096
|
+
activeFilters(): string[];
|
|
1087
1097
|
readonly rendererTypeName: any;
|
|
1088
1098
|
readonly sequenceAdapter: any;
|
|
1089
1099
|
readonly showLabels: any;
|
|
@@ -1171,6 +1181,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
1171
1181
|
}> | null;
|
|
1172
1182
|
readonly adapterConfig: any;
|
|
1173
1183
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1184
|
+
readonly isMinimized: boolean;
|
|
1174
1185
|
readonly parentDisplay: any;
|
|
1175
1186
|
readonly effectiveRpcDriverName: any;
|
|
1176
1187
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
@@ -1224,38 +1235,124 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
1224
1235
|
}> | null;
|
|
1225
1236
|
readonly adapterConfig: any;
|
|
1226
1237
|
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1238
|
+
readonly isMinimized: boolean;
|
|
1227
1239
|
readonly parentDisplay: any;
|
|
1228
1240
|
readonly effectiveRpcDriverName: any;
|
|
1229
1241
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1230
1242
|
};
|
|
1243
|
+
filterMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
1244
|
+
} & {
|
|
1231
1245
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
1246
|
+
} & {
|
|
1247
|
+
afterAttach(): void;
|
|
1248
|
+
} & {
|
|
1249
|
+
readonly minorAlleleFrequencyFilter: any;
|
|
1250
|
+
} & {
|
|
1251
|
+
setMafFilter(value: number): void;
|
|
1232
1252
|
} & {
|
|
1233
1253
|
readonly featureWidgetType: {
|
|
1234
1254
|
type: string;
|
|
1235
1255
|
id: string;
|
|
1236
1256
|
};
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1257
|
+
activeFilters(): string[];
|
|
1258
|
+
filterMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
1259
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1260
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1261
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1262
|
+
rpcDriverName: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1263
|
+
} & {
|
|
1264
|
+
heightPreConfig: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<number>>;
|
|
1265
|
+
} & {
|
|
1266
|
+
userBpPerPxLimit: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<number>>;
|
|
1267
|
+
userByteSizeLimit: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<number>>;
|
|
1268
|
+
} & {
|
|
1269
|
+
blockState: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1245
1270
|
key: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1246
1271
|
region: import("@jbrowse/mobx-state-tree").IType<import("@jbrowse/core/util").Region, import("@jbrowse/core/util").Region, import("@jbrowse/core/util").Region>;
|
|
1247
1272
|
reloadFlag: import("@jbrowse/mobx-state-tree").IType<number | undefined, number, number>;
|
|
1248
1273
|
isLeftEndOfDisplayedRegion: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1249
1274
|
isRightEndOfDisplayedRegion: import("@jbrowse/mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1275
|
+
}, {
|
|
1276
|
+
stopToken: import("@jbrowse/core/util").StopToken | undefined;
|
|
1277
|
+
filled: boolean;
|
|
1278
|
+
reactElement: React.ReactElement | undefined;
|
|
1279
|
+
features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
|
|
1280
|
+
layout: any;
|
|
1281
|
+
blockStatusMessage: string;
|
|
1282
|
+
error: unknown;
|
|
1283
|
+
message: string | undefined;
|
|
1284
|
+
maxHeightReached: boolean;
|
|
1285
|
+
ReactComponent: ({ model, }: {
|
|
1286
|
+
model: {
|
|
1287
|
+
error?: unknown;
|
|
1288
|
+
reload: () => void;
|
|
1289
|
+
message?: React.ReactNode;
|
|
1290
|
+
statusMessage?: string;
|
|
1291
|
+
reactElement?: React.ReactElement;
|
|
1292
|
+
isRenderingPending?: boolean;
|
|
1293
|
+
};
|
|
1294
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
1295
|
+
renderProps: any;
|
|
1296
|
+
renderArgs: Record<string, unknown> | undefined;
|
|
1297
|
+
isRenderingPending: boolean;
|
|
1298
|
+
cachedDisplay: import("@jbrowse/core/util").AbstractDisplayModel | undefined;
|
|
1299
|
+
} & {
|
|
1300
|
+
doReload(): void;
|
|
1301
|
+
setStatusMessage(message: string): void;
|
|
1302
|
+
setLoading(newStopToken: import("@jbrowse/core/util").StopToken): void;
|
|
1303
|
+
setMessage(messageText: string): void;
|
|
1304
|
+
setRendered(props: import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/models/serverSideRenderedBlock.ts").RenderedProps | undefined): void;
|
|
1305
|
+
setError(error: unknown): void;
|
|
1306
|
+
reload(): void;
|
|
1307
|
+
setCachedDisplay(display: import("@jbrowse/core/util").AbstractDisplayModel): void;
|
|
1308
|
+
beforeDestroy(): void;
|
|
1309
|
+
} & {
|
|
1310
|
+
readonly statusMessage: any;
|
|
1311
|
+
} & {
|
|
1312
|
+
afterAttach(): void;
|
|
1313
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1314
|
+
configuration: import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
|
|
1315
|
+
maxFeatureScreenDensity: {
|
|
1316
|
+
type: string;
|
|
1317
|
+
description: string;
|
|
1318
|
+
defaultValue: number;
|
|
1319
|
+
};
|
|
1320
|
+
fetchSizeLimit: {
|
|
1321
|
+
type: string;
|
|
1322
|
+
defaultValue: number;
|
|
1323
|
+
description: string;
|
|
1324
|
+
};
|
|
1325
|
+
height: {
|
|
1326
|
+
type: string;
|
|
1327
|
+
defaultValue: number;
|
|
1328
|
+
description: string;
|
|
1329
|
+
};
|
|
1330
|
+
mouseover: {
|
|
1331
|
+
type: string;
|
|
1332
|
+
description: string;
|
|
1333
|
+
defaultValue: string;
|
|
1334
|
+
contextVariable: string[];
|
|
1335
|
+
};
|
|
1336
|
+
jexlFilters: {
|
|
1337
|
+
type: string;
|
|
1338
|
+
description: string;
|
|
1339
|
+
defaultValue: never[];
|
|
1340
|
+
};
|
|
1341
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
1342
|
+
showLegend: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
1343
|
+
showTooltips: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
1344
|
+
} & {
|
|
1345
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<"LinearFeatureDisplay">;
|
|
1346
|
+
trackShowLabels: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
1347
|
+
trackShowDescriptions: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>>;
|
|
1348
|
+
trackDisplayMode: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1349
|
+
trackMaxHeight: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<number>>;
|
|
1350
|
+
configuration: AnyConfigurationSchemaType;
|
|
1351
|
+
jexlFiltersSetting: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>>;
|
|
1352
|
+
} & {
|
|
1353
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<"LinearVariantDisplay">;
|
|
1354
|
+
configuration: AnyConfigurationSchemaType;
|
|
1355
|
+
minorAlleleFrequencyFilterSetting: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<number>>;
|
|
1356
|
+
}>>;
|
|
1260
1357
|
export type LinearVariantDisplayStateModel = ReturnType<typeof stateModelFactory>;
|
|
1261
1358
|
export type LinearVariantDisplayModel = Instance<LinearVariantDisplayStateModel>;
|
|
@@ -1,18 +1,56 @@
|
|
|
1
|
-
import { ConfigurationReference } from '@jbrowse/core/configuration';
|
|
1
|
+
import { ConfigurationReference, getConf } from '@jbrowse/core/configuration';
|
|
2
2
|
import { types } from '@jbrowse/mobx-state-tree';
|
|
3
3
|
import { linearFeatureDisplayModelFactory } from '@jbrowse/plugin-linear-genome-view';
|
|
4
|
+
import { createMAFFilterMenuItem } from "../shared/mafFilterUtils.js";
|
|
4
5
|
export default function stateModelFactory(configSchema) {
|
|
5
6
|
return types
|
|
6
7
|
.compose('LinearVariantDisplay', linearFeatureDisplayModelFactory(configSchema), types.model({
|
|
7
8
|
type: types.literal('LinearVariantDisplay'),
|
|
8
9
|
configuration: ConfigurationReference(configSchema),
|
|
10
|
+
minorAlleleFrequencyFilterSetting: types.maybe(types.number),
|
|
9
11
|
}))
|
|
10
|
-
.views(
|
|
11
|
-
get
|
|
12
|
-
return
|
|
13
|
-
|
|
14
|
-
id: 'variantFeature',
|
|
15
|
-
};
|
|
12
|
+
.views(self => ({
|
|
13
|
+
get minorAlleleFrequencyFilter() {
|
|
14
|
+
return (self.minorAlleleFrequencyFilterSetting ??
|
|
15
|
+
getConf(self, 'minorAlleleFrequencyFilter'));
|
|
16
16
|
},
|
|
17
|
-
}))
|
|
17
|
+
}))
|
|
18
|
+
.actions(self => ({
|
|
19
|
+
setMafFilter(value) {
|
|
20
|
+
self.minorAlleleFrequencyFilterSetting = value;
|
|
21
|
+
},
|
|
22
|
+
}))
|
|
23
|
+
.views(self => {
|
|
24
|
+
const { activeFilters: superActiveFilters, filterMenuItems: superFilterMenuItems, } = self;
|
|
25
|
+
return {
|
|
26
|
+
get featureWidgetType() {
|
|
27
|
+
return {
|
|
28
|
+
type: 'VariantFeatureWidget',
|
|
29
|
+
id: 'variantFeature',
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
activeFilters() {
|
|
33
|
+
const filters = [...superActiveFilters()];
|
|
34
|
+
if (self.minorAlleleFrequencyFilter > 0) {
|
|
35
|
+
filters.push(`jexl:maf(feature) >= ${self.minorAlleleFrequencyFilter}`);
|
|
36
|
+
}
|
|
37
|
+
return filters;
|
|
38
|
+
},
|
|
39
|
+
filterMenuItems() {
|
|
40
|
+
return [...superFilterMenuItems(), createMAFFilterMenuItem(self)];
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
})
|
|
44
|
+
.postProcessSnapshot(snap => {
|
|
45
|
+
if (!snap) {
|
|
46
|
+
return snap;
|
|
47
|
+
}
|
|
48
|
+
const { minorAlleleFrequencyFilterSetting, ...rest } = snap;
|
|
49
|
+
return {
|
|
50
|
+
...rest,
|
|
51
|
+
...(minorAlleleFrequencyFilterSetting
|
|
52
|
+
? { minorAlleleFrequencyFilterSetting }
|
|
53
|
+
: {}),
|
|
54
|
+
};
|
|
55
|
+
});
|
|
18
56
|
}
|
|
@@ -12,7 +12,33 @@ export default function VariantConfigFactory(pluginManager: PluginManager): impo
|
|
|
12
12
|
type: string;
|
|
13
13
|
defaultValue: number;
|
|
14
14
|
};
|
|
15
|
-
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
|
|
15
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
|
|
16
|
+
showReferenceAlleles: {
|
|
17
|
+
type: string;
|
|
18
|
+
defaultValue: boolean;
|
|
19
|
+
};
|
|
20
|
+
showSidebarLabels: {
|
|
21
|
+
type: string;
|
|
22
|
+
defaultValue: boolean;
|
|
23
|
+
};
|
|
24
|
+
showTree: {
|
|
25
|
+
type: string;
|
|
26
|
+
defaultValue: boolean;
|
|
27
|
+
};
|
|
28
|
+
renderingMode: {
|
|
29
|
+
type: string;
|
|
30
|
+
model: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
31
|
+
defaultValue: string;
|
|
32
|
+
};
|
|
33
|
+
minorAlleleFrequencyFilter: {
|
|
34
|
+
type: string;
|
|
35
|
+
defaultValue: number;
|
|
36
|
+
};
|
|
37
|
+
colorBy: {
|
|
38
|
+
type: string;
|
|
39
|
+
defaultValue: string;
|
|
40
|
+
};
|
|
41
|
+
}, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
|
|
16
42
|
maxFeatureScreenDensity: {
|
|
17
43
|
type: string;
|
|
18
44
|
description: string;
|