@jbrowse/plugin-gccontent 2.10.2 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/GCContentTrack/configSchema.d.ts +82 -0
- package/dist/GCContentTrack/configSchema.js +16 -0
- package/dist/GCContentTrack/index.d.ts +3 -0
- package/dist/GCContentTrack/index.js +19 -0
- package/dist/LinearGCContentDisplay/{config.d.ts → config1.d.ts} +1 -1
- package/dist/LinearGCContentDisplay/{config.js → config1.js} +2 -2
- package/dist/LinearGCContentDisplay/config2.d.ts +16 -0
- package/dist/LinearGCContentDisplay/config2.js +28 -0
- package/dist/LinearGCContentDisplay/index.js +19 -4
- package/dist/LinearGCContentDisplay/shared.d.ts +417 -0
- package/dist/LinearGCContentDisplay/{stateModel.js → shared.js} +6 -9
- package/{esm/LinearGCContentDisplay/stateModel.d.ts → dist/LinearGCContentDisplay/stateModel1.d.ts} +15 -27
- package/dist/LinearGCContentDisplay/stateModel1.js +19 -0
- package/dist/LinearGCContentDisplay/stateModel2.d.ts +408 -0
- package/dist/LinearGCContentDisplay/stateModel2.js +24 -0
- package/dist/index.js +2 -0
- package/esm/GCContentTrack/configSchema.d.ts +82 -0
- package/esm/GCContentTrack/configSchema.js +14 -0
- package/esm/GCContentTrack/index.d.ts +3 -0
- package/esm/GCContentTrack/index.js +14 -0
- package/esm/LinearGCContentDisplay/{config.d.ts → config1.d.ts} +1 -1
- package/esm/LinearGCContentDisplay/{config.js → config1.js} +1 -1
- package/esm/LinearGCContentDisplay/config2.d.ts +16 -0
- package/esm/LinearGCContentDisplay/config2.js +25 -0
- package/esm/LinearGCContentDisplay/index.js +19 -4
- package/esm/LinearGCContentDisplay/shared.d.ts +417 -0
- package/esm/LinearGCContentDisplay/{stateModel.js → shared.js} +5 -8
- package/{dist/LinearGCContentDisplay/stateModel.d.ts → esm/LinearGCContentDisplay/stateModel1.d.ts} +15 -27
- package/esm/LinearGCContentDisplay/stateModel1.js +13 -0
- package/esm/LinearGCContentDisplay/stateModel2.d.ts +408 -0
- package/esm/LinearGCContentDisplay/stateModel2.js +18 -0
- package/esm/index.js +2 -0
- package/package.json +2 -2
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
+
declare const configSchema: (pluginManager: PluginManager) => import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
3
|
+
name: {
|
|
4
|
+
description: string;
|
|
5
|
+
type: string;
|
|
6
|
+
defaultValue: string;
|
|
7
|
+
};
|
|
8
|
+
assemblyNames: {
|
|
9
|
+
description: string;
|
|
10
|
+
type: string; /**
|
|
11
|
+
* #baseConfiguration
|
|
12
|
+
*/
|
|
13
|
+
defaultValue: string[];
|
|
14
|
+
};
|
|
15
|
+
description: {
|
|
16
|
+
description: string;
|
|
17
|
+
type: string;
|
|
18
|
+
defaultValue: string;
|
|
19
|
+
};
|
|
20
|
+
category: {
|
|
21
|
+
description: string;
|
|
22
|
+
type: string;
|
|
23
|
+
defaultValue: never[];
|
|
24
|
+
};
|
|
25
|
+
metadata: {
|
|
26
|
+
type: string;
|
|
27
|
+
description: string;
|
|
28
|
+
defaultValue: {};
|
|
29
|
+
};
|
|
30
|
+
adapter: import("mobx-state-tree").IAnyModelType;
|
|
31
|
+
textSearching: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
32
|
+
indexingAttributes: {
|
|
33
|
+
type: string;
|
|
34
|
+
description: string;
|
|
35
|
+
defaultValue: string[];
|
|
36
|
+
};
|
|
37
|
+
indexingFeatureTypesToExclude: {
|
|
38
|
+
type: string;
|
|
39
|
+
description: string;
|
|
40
|
+
defaultValue: string[];
|
|
41
|
+
};
|
|
42
|
+
textSearchAdapter: import("mobx-state-tree").IAnyModelType;
|
|
43
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
44
|
+
displays: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
45
|
+
formatDetails: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
46
|
+
feature: {
|
|
47
|
+
type: string;
|
|
48
|
+
description: string;
|
|
49
|
+
defaultValue: {};
|
|
50
|
+
contextVariable: string[];
|
|
51
|
+
};
|
|
52
|
+
subfeatures: {
|
|
53
|
+
type: string;
|
|
54
|
+
description: string;
|
|
55
|
+
defaultValue: {};
|
|
56
|
+
contextVariable: string[];
|
|
57
|
+
};
|
|
58
|
+
depth: {
|
|
59
|
+
type: string;
|
|
60
|
+
defaultValue: number;
|
|
61
|
+
description: string;
|
|
62
|
+
};
|
|
63
|
+
maxDepth: {
|
|
64
|
+
type: string;
|
|
65
|
+
defaultValue: number;
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
69
|
+
formatAbout: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
70
|
+
config: {
|
|
71
|
+
type: string;
|
|
72
|
+
description: string;
|
|
73
|
+
defaultValue: {};
|
|
74
|
+
contextVariable: string[];
|
|
75
|
+
};
|
|
76
|
+
hideUris: {
|
|
77
|
+
type: string;
|
|
78
|
+
defaultValue: boolean;
|
|
79
|
+
};
|
|
80
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
81
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "trackId">>, undefined>>;
|
|
82
|
+
export default configSchema;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const configuration_1 = require("@jbrowse/core/configuration");
|
|
4
|
+
const pluggableElementTypes_1 = require("@jbrowse/core/pluggableElementTypes");
|
|
5
|
+
/**
|
|
6
|
+
* #config GCContentTrack
|
|
7
|
+
* used for having a gc content track outside of the "reference sequence display"
|
|
8
|
+
*/
|
|
9
|
+
function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
10
|
+
const configSchema = (pluginManager) => (0, configuration_1.ConfigurationSchema)('GCContentTrack', {}, {
|
|
11
|
+
/**
|
|
12
|
+
* #baseConfiguration
|
|
13
|
+
*/
|
|
14
|
+
baseConfiguration: (0, pluggableElementTypes_1.createBaseTrackConfig)(pluginManager),
|
|
15
|
+
});
|
|
16
|
+
exports.default = configSchema;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const TrackType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/TrackType"));
|
|
7
|
+
const models_1 = require("@jbrowse/core/pluggableElementTypes/models");
|
|
8
|
+
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
9
|
+
exports.default = (pm) => {
|
|
10
|
+
pm.addTrackType(() => {
|
|
11
|
+
const configSchema = (0, configSchema_1.default)(pm);
|
|
12
|
+
return new TrackType_1.default({
|
|
13
|
+
name: 'GCContentTrack',
|
|
14
|
+
displayName: 'GCContent track',
|
|
15
|
+
configSchema,
|
|
16
|
+
stateModel: (0, models_1.createBaseTrackModel)(pm, 'GCContentTrack', configSchema),
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
};
|
|
@@ -4,7 +4,7 @@ import PluginManager from '@jbrowse/core/PluginManager';
|
|
|
4
4
|
* #category display
|
|
5
5
|
* extends LinearWiggleDisplay
|
|
6
6
|
*/
|
|
7
|
-
export default function
|
|
7
|
+
export default function LinearGCContentDisplay(pluginManager: PluginManager): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
8
8
|
windowSize: {
|
|
9
9
|
type: string;
|
|
10
10
|
defaultValue: number;
|
|
@@ -6,7 +6,7 @@ const configuration_1 = require("@jbrowse/core/configuration");
|
|
|
6
6
|
* #category display
|
|
7
7
|
* extends LinearWiggleDisplay
|
|
8
8
|
*/
|
|
9
|
-
function
|
|
9
|
+
function LinearGCContentDisplay(pluginManager) {
|
|
10
10
|
return (0, configuration_1.ConfigurationSchema)('LinearGCContentDisplay', {
|
|
11
11
|
windowSize: {
|
|
12
12
|
type: 'number',
|
|
@@ -25,4 +25,4 @@ function WiggleConfigFactory(pluginManager) {
|
|
|
25
25
|
explicitlyTyped: true,
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
exports.default =
|
|
28
|
+
exports.default = LinearGCContentDisplay;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
+
/**
|
|
3
|
+
* #config LinearGCContentTrackDisplay
|
|
4
|
+
* #category display
|
|
5
|
+
* extends LinearWiggleDisplay, used specifically for GCContentTrack
|
|
6
|
+
*/
|
|
7
|
+
export default function LinearGCContentTrackDisplayF(pluginManager: PluginManager): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
8
|
+
windowSize: {
|
|
9
|
+
type: string;
|
|
10
|
+
defaultValue: number;
|
|
11
|
+
};
|
|
12
|
+
windowDelta: {
|
|
13
|
+
type: string;
|
|
14
|
+
defaultValue: number;
|
|
15
|
+
};
|
|
16
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration").AnyConfigurationSchemaType, undefined>>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const configuration_1 = require("@jbrowse/core/configuration");
|
|
4
|
+
/**
|
|
5
|
+
* #config LinearGCContentTrackDisplay
|
|
6
|
+
* #category display
|
|
7
|
+
* extends LinearWiggleDisplay, used specifically for GCContentTrack
|
|
8
|
+
*/
|
|
9
|
+
function LinearGCContentTrackDisplayF(pluginManager) {
|
|
10
|
+
return (0, configuration_1.ConfigurationSchema)('LinearGCContentTrackDisplay', {
|
|
11
|
+
windowSize: {
|
|
12
|
+
type: 'number',
|
|
13
|
+
defaultValue: 100,
|
|
14
|
+
},
|
|
15
|
+
windowDelta: {
|
|
16
|
+
type: 'number',
|
|
17
|
+
defaultValue: 100,
|
|
18
|
+
},
|
|
19
|
+
}, {
|
|
20
|
+
/**
|
|
21
|
+
* #baseConfiguration
|
|
22
|
+
*/
|
|
23
|
+
baseConfiguration: pluginManager.getDisplayType('LinearWiggleDisplay')
|
|
24
|
+
.configSchema,
|
|
25
|
+
explicitlyTyped: true,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
exports.default = LinearGCContentTrackDisplayF;
|
|
@@ -5,12 +5,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const pluggableElementTypes_1 = require("@jbrowse/core/pluggableElementTypes");
|
|
7
7
|
const plugin_wiggle_1 = require("@jbrowse/plugin-wiggle");
|
|
8
|
-
const
|
|
9
|
-
const
|
|
8
|
+
const config1_1 = __importDefault(require("./config1"));
|
|
9
|
+
const config2_1 = __importDefault(require("./config2"));
|
|
10
|
+
const stateModel1_1 = __importDefault(require("./stateModel1"));
|
|
11
|
+
const stateModel2_1 = __importDefault(require("./stateModel2"));
|
|
10
12
|
exports.default = (pluginManager) => {
|
|
11
13
|
pluginManager.addDisplayType(() => {
|
|
12
|
-
const configSchema = (0,
|
|
13
|
-
const stateModel = (0,
|
|
14
|
+
const configSchema = (0, config1_1.default)(pluginManager);
|
|
15
|
+
const stateModel = (0, stateModel1_1.default)(pluginManager, configSchema);
|
|
14
16
|
return new pluggableElementTypes_1.DisplayType({
|
|
15
17
|
name: 'LinearGCContentDisplay',
|
|
16
18
|
configSchema,
|
|
@@ -21,4 +23,17 @@ exports.default = (pluginManager) => {
|
|
|
21
23
|
ReactComponent: plugin_wiggle_1.LinearWiggleDisplayReactComponent,
|
|
22
24
|
});
|
|
23
25
|
});
|
|
26
|
+
pluginManager.addDisplayType(() => {
|
|
27
|
+
const configSchema = (0, config2_1.default)(pluginManager);
|
|
28
|
+
const stateModel = (0, stateModel2_1.default)(pluginManager, configSchema);
|
|
29
|
+
return new pluggableElementTypes_1.DisplayType({
|
|
30
|
+
name: 'LinearGCContentTrackDisplay',
|
|
31
|
+
configSchema,
|
|
32
|
+
stateModel,
|
|
33
|
+
displayName: 'GC content display',
|
|
34
|
+
trackType: 'GCContentTrack',
|
|
35
|
+
viewType: 'LinearGenomeView',
|
|
36
|
+
ReactComponent: plugin_wiggle_1.LinearWiggleDisplayReactComponent,
|
|
37
|
+
});
|
|
38
|
+
});
|
|
24
39
|
};
|
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
3
|
+
import PluginManager from '@jbrowse/core/PluginManager';
|
|
4
|
+
/**
|
|
5
|
+
* #stateModel SharedGCContentModel
|
|
6
|
+
* #category display
|
|
7
|
+
* extends
|
|
8
|
+
* - [LinearWiggleDisplay](../linearwiggledisplay)
|
|
9
|
+
*/
|
|
10
|
+
export default function SharedModelF(pluginManager: PluginManager, configSchema: AnyConfigurationSchemaType): import("mobx-state-tree").IModelType<{
|
|
11
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
12
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
13
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
14
|
+
} & {
|
|
15
|
+
heightPreConfig: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
16
|
+
} & {
|
|
17
|
+
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
18
|
+
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
19
|
+
} & {
|
|
20
|
+
blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
|
|
21
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
22
|
+
region: import("mobx-state-tree").IModelType<{
|
|
23
|
+
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
24
|
+
start: import("mobx-state-tree").ISimpleType<number>;
|
|
25
|
+
end: import("mobx-state-tree").ISimpleType<number>;
|
|
26
|
+
reversed: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
27
|
+
} & {
|
|
28
|
+
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
29
|
+
}, {
|
|
30
|
+
setRefName(newRefName: string): void;
|
|
31
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
32
|
+
reloadFlag: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
33
|
+
isLeftEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
34
|
+
isRightEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
35
|
+
}, {
|
|
36
|
+
renderInProgress: AbortController | undefined;
|
|
37
|
+
filled: boolean;
|
|
38
|
+
reactElement: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
39
|
+
features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
|
|
40
|
+
layout: any;
|
|
41
|
+
status: string;
|
|
42
|
+
error: unknown;
|
|
43
|
+
message: string | undefined;
|
|
44
|
+
maxHeightReached: boolean;
|
|
45
|
+
ReactComponent: ({ model, }: {
|
|
46
|
+
model: {
|
|
47
|
+
error?: unknown;
|
|
48
|
+
reload: () => void;
|
|
49
|
+
message: import("react").ReactNode;
|
|
50
|
+
filled?: boolean | undefined;
|
|
51
|
+
status?: string | undefined;
|
|
52
|
+
reactElement?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
53
|
+
};
|
|
54
|
+
}) => import("react").JSX.Element | undefined;
|
|
55
|
+
renderProps: any;
|
|
56
|
+
} & {
|
|
57
|
+
doReload(): void;
|
|
58
|
+
afterAttach(): void;
|
|
59
|
+
setStatus(message: string): void;
|
|
60
|
+
setLoading(abortController: AbortController): void;
|
|
61
|
+
setMessage(messageText: string): void;
|
|
62
|
+
setRendered(props: {
|
|
63
|
+
reactElement: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
64
|
+
features: Map<string, import("@jbrowse/core/util").Feature>;
|
|
65
|
+
layout: any;
|
|
66
|
+
maxHeightReached: boolean;
|
|
67
|
+
renderProps: any;
|
|
68
|
+
} | undefined): void;
|
|
69
|
+
setError(error: unknown): void;
|
|
70
|
+
reload(): void;
|
|
71
|
+
beforeDestroy(): void;
|
|
72
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
73
|
+
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
74
|
+
maxFeatureScreenDensity: {
|
|
75
|
+
type: string;
|
|
76
|
+
description: string;
|
|
77
|
+
defaultValue: number;
|
|
78
|
+
};
|
|
79
|
+
fetchSizeLimit: {
|
|
80
|
+
type: string; /**
|
|
81
|
+
* #property
|
|
82
|
+
*/
|
|
83
|
+
defaultValue: number;
|
|
84
|
+
description: string;
|
|
85
|
+
};
|
|
86
|
+
height: {
|
|
87
|
+
type: string;
|
|
88
|
+
defaultValue: number;
|
|
89
|
+
description: string;
|
|
90
|
+
};
|
|
91
|
+
mouseover: {
|
|
92
|
+
type: string;
|
|
93
|
+
description: string;
|
|
94
|
+
defaultValue: string;
|
|
95
|
+
contextVariable: string[];
|
|
96
|
+
};
|
|
97
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
98
|
+
} & {
|
|
99
|
+
selectedRendering: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
100
|
+
resolution: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
101
|
+
fill: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
102
|
+
minSize: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
103
|
+
color: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
104
|
+
posColor: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
105
|
+
negColor: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
106
|
+
summaryScoreMode: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
107
|
+
rendererTypeNameState: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
108
|
+
scale: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
109
|
+
autoscale: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
110
|
+
displayCrossHatches: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
111
|
+
constraints: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
|
|
112
|
+
max: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
113
|
+
min: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
114
|
+
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
115
|
+
configuration: AnyConfigurationSchemaType;
|
|
116
|
+
} & {
|
|
117
|
+
type: import("mobx-state-tree").ISimpleType<"LinearWiggleDisplay">;
|
|
118
|
+
} & {
|
|
119
|
+
/**
|
|
120
|
+
* #property
|
|
121
|
+
*/
|
|
122
|
+
windowSize: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
123
|
+
/**
|
|
124
|
+
* #property
|
|
125
|
+
*/
|
|
126
|
+
windowDelta: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
127
|
+
}, {
|
|
128
|
+
rendererTypeName: string;
|
|
129
|
+
error: unknown;
|
|
130
|
+
message: string | undefined;
|
|
131
|
+
} & {
|
|
132
|
+
readonly RenderingComponent: import("react").FC<{
|
|
133
|
+
model: {
|
|
134
|
+
id: string;
|
|
135
|
+
type: string;
|
|
136
|
+
rpcDriverName: string | undefined; /**
|
|
137
|
+
* #property
|
|
138
|
+
*/
|
|
139
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
140
|
+
rendererTypeName: string;
|
|
141
|
+
error: unknown;
|
|
142
|
+
message: string | undefined;
|
|
143
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
144
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
145
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
146
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
147
|
+
}, {
|
|
148
|
+
rendererTypeName: string;
|
|
149
|
+
error: unknown;
|
|
150
|
+
message: string | undefined;
|
|
151
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
152
|
+
onHorizontalScroll?: Function | undefined;
|
|
153
|
+
blockState?: Record<string, any> | undefined;
|
|
154
|
+
}>;
|
|
155
|
+
readonly DisplayBlurb: import("react").FC<{
|
|
156
|
+
model: {
|
|
157
|
+
id: string;
|
|
158
|
+
type: string;
|
|
159
|
+
rpcDriverName: string | undefined;
|
|
160
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
161
|
+
rendererTypeName: string;
|
|
162
|
+
error: unknown;
|
|
163
|
+
message: string | undefined;
|
|
164
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
165
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
166
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
167
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
168
|
+
}, {
|
|
169
|
+
rendererTypeName: string;
|
|
170
|
+
error: unknown;
|
|
171
|
+
message: string | undefined;
|
|
172
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
173
|
+
}> | null;
|
|
174
|
+
readonly adapterConfig: any;
|
|
175
|
+
readonly parentTrack: any;
|
|
176
|
+
renderProps(): any;
|
|
177
|
+
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType;
|
|
178
|
+
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
179
|
+
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
180
|
+
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
181
|
+
regionCannotBeRendered(): null;
|
|
182
|
+
} & {
|
|
183
|
+
setMessage(arg?: string | undefined): void;
|
|
184
|
+
setError(error?: unknown): void;
|
|
185
|
+
setRpcDriverName(rpcDriverName: string): void;
|
|
186
|
+
reload(): void;
|
|
187
|
+
} & {
|
|
188
|
+
scrollTop: number;
|
|
189
|
+
} & {
|
|
190
|
+
readonly height: number;
|
|
191
|
+
} & {
|
|
192
|
+
setScrollTop(scrollTop: number): void;
|
|
193
|
+
setHeight(displayHeight: number): number;
|
|
194
|
+
resizeHeight(distance: number): number;
|
|
195
|
+
} & {
|
|
196
|
+
featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats> | undefined;
|
|
197
|
+
featureDensityStats: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined;
|
|
198
|
+
currStatsBpPerPx: number;
|
|
199
|
+
} & {
|
|
200
|
+
readonly currentBytesRequested: number;
|
|
201
|
+
readonly currentFeatureScreenDensity: number;
|
|
202
|
+
readonly maxFeatureScreenDensity: any;
|
|
203
|
+
readonly featureDensityStatsReady: boolean;
|
|
204
|
+
readonly maxAllowableBytes: number;
|
|
205
|
+
} & {
|
|
206
|
+
afterAttach(): void;
|
|
207
|
+
} & {
|
|
208
|
+
setCurrStatsBpPerPx(n: number): void;
|
|
209
|
+
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
210
|
+
getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
211
|
+
setFeatureDensityStatsP(arg: any): void;
|
|
212
|
+
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
213
|
+
clearFeatureDensityStats(): void;
|
|
214
|
+
} & {
|
|
215
|
+
readonly regionTooLarge: boolean;
|
|
216
|
+
readonly regionTooLargeReason: string;
|
|
217
|
+
} & {
|
|
218
|
+
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
219
|
+
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react").JSX.Element | null;
|
|
220
|
+
} & {
|
|
221
|
+
featureIdUnderMouse: string | undefined;
|
|
222
|
+
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
223
|
+
} & {
|
|
224
|
+
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
225
|
+
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
226
|
+
} & {
|
|
227
|
+
readonly renderDelay: number;
|
|
228
|
+
readonly TooltipComponent: import("react").FC<any>;
|
|
229
|
+
readonly selectedFeatureId: string | undefined;
|
|
230
|
+
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
231
|
+
} & {
|
|
232
|
+
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
233
|
+
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
234
|
+
getFeatureOverlapping(blockKey: string, x: number, y: number): string | undefined;
|
|
235
|
+
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
236
|
+
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
237
|
+
} & {
|
|
238
|
+
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
239
|
+
deleteBlock(key: string): void;
|
|
240
|
+
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
241
|
+
clearFeatureSelection(): void;
|
|
242
|
+
setFeatureIdUnderMouse(feature?: string | undefined): void;
|
|
243
|
+
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
244
|
+
} & {
|
|
245
|
+
reload(): Promise<void>;
|
|
246
|
+
} & {
|
|
247
|
+
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
248
|
+
contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
249
|
+
renderProps(): any;
|
|
250
|
+
} & {
|
|
251
|
+
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>;
|
|
252
|
+
afterAttach(): void;
|
|
253
|
+
} & {
|
|
254
|
+
message: string | undefined;
|
|
255
|
+
stats: {
|
|
256
|
+
scoreMin: number;
|
|
257
|
+
scoreMax: number;
|
|
258
|
+
} | undefined;
|
|
259
|
+
statsFetchInProgress: AbortController | undefined;
|
|
260
|
+
} & {
|
|
261
|
+
updateQuantitativeStats(stats: {
|
|
262
|
+
scoreMin: number;
|
|
263
|
+
scoreMax: number;
|
|
264
|
+
}): void;
|
|
265
|
+
setColor(color?: string | undefined): void;
|
|
266
|
+
setPosColor(color?: string | undefined): void;
|
|
267
|
+
setNegColor(color?: string | undefined): void;
|
|
268
|
+
setLoading(aborter: AbortController): void;
|
|
269
|
+
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
270
|
+
setResolution(res: number): void;
|
|
271
|
+
setFill(fill: number): void;
|
|
272
|
+
toggleLogScale(): void;
|
|
273
|
+
setScaleType(scale?: string | undefined): void;
|
|
274
|
+
setSummaryScoreMode(val: string): void;
|
|
275
|
+
setAutoscale(val: string): void;
|
|
276
|
+
setMaxScore(val?: number | undefined): void;
|
|
277
|
+
setRendererType(val: string): void;
|
|
278
|
+
setMinScore(val?: number | undefined): void;
|
|
279
|
+
toggleCrossHatches(): void;
|
|
280
|
+
setCrossHatches(cross: boolean): void;
|
|
281
|
+
} & {
|
|
282
|
+
readonly adapterTypeName: any;
|
|
283
|
+
readonly rendererTypeNameSimple: any;
|
|
284
|
+
readonly filters: undefined;
|
|
285
|
+
readonly scaleType: any;
|
|
286
|
+
readonly maxScore: any;
|
|
287
|
+
readonly minScore: any;
|
|
288
|
+
} & {
|
|
289
|
+
readonly adapterCapabilities: string[];
|
|
290
|
+
readonly rendererConfig: {
|
|
291
|
+
[x: string]: any;
|
|
292
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
293
|
+
setSubschema(slotName: string, data: unknown): any;
|
|
294
|
+
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>;
|
|
295
|
+
readonly autoscaleType: any;
|
|
296
|
+
} & {
|
|
297
|
+
readonly domain: number[] | undefined;
|
|
298
|
+
} & {
|
|
299
|
+
readonly filled: boolean;
|
|
300
|
+
readonly summaryScoreModeSetting: string;
|
|
301
|
+
readonly scaleOpts: {
|
|
302
|
+
domain: number[] | undefined;
|
|
303
|
+
stats: {
|
|
304
|
+
scoreMin: number;
|
|
305
|
+
scoreMax: number;
|
|
306
|
+
} | undefined;
|
|
307
|
+
autoscaleType: any;
|
|
308
|
+
scaleType: any;
|
|
309
|
+
inverted: any;
|
|
310
|
+
};
|
|
311
|
+
readonly canHaveFill: boolean;
|
|
312
|
+
readonly displayCrossHatchesSetting: boolean;
|
|
313
|
+
readonly hasResolution: boolean;
|
|
314
|
+
readonly hasGlobalStats: boolean;
|
|
315
|
+
} & {
|
|
316
|
+
scoreTrackMenuItems(): ({
|
|
317
|
+
label: string;
|
|
318
|
+
subMenu: {
|
|
319
|
+
label: string;
|
|
320
|
+
onClick: () => void;
|
|
321
|
+
}[];
|
|
322
|
+
onClick?: undefined;
|
|
323
|
+
} | {
|
|
324
|
+
label: string;
|
|
325
|
+
subMenu: {
|
|
326
|
+
label: string;
|
|
327
|
+
type: string;
|
|
328
|
+
checked: boolean;
|
|
329
|
+
onClick: () => void;
|
|
330
|
+
}[];
|
|
331
|
+
onClick?: undefined;
|
|
332
|
+
} | {
|
|
333
|
+
label: string;
|
|
334
|
+
onClick: () => void;
|
|
335
|
+
subMenu?: undefined;
|
|
336
|
+
})[];
|
|
337
|
+
} & {
|
|
338
|
+
reload(): Promise<void>;
|
|
339
|
+
} & {
|
|
340
|
+
readonly TooltipComponent: import("react").FC<{}>;
|
|
341
|
+
readonly rendererTypeName: string;
|
|
342
|
+
} & {
|
|
343
|
+
readonly ticks: {
|
|
344
|
+
range: number[];
|
|
345
|
+
values: number[];
|
|
346
|
+
format: (d: import("d3-scale").NumberValue) => string;
|
|
347
|
+
position: import("d3-scale").ScaleLinear<number, number, never> | import("d3-scale").ScaleQuantize<number, never>;
|
|
348
|
+
} | undefined;
|
|
349
|
+
} & {
|
|
350
|
+
renderProps(): any;
|
|
351
|
+
readonly needsScalebar: boolean;
|
|
352
|
+
readonly fillSetting: 1 | 2 | 0;
|
|
353
|
+
} & {
|
|
354
|
+
trackMenuItems(): (import("@jbrowse/core/ui").MenuDivider | import("@jbrowse/core/ui").MenuSubHeader | import("@jbrowse/core/ui").NormalMenuItem | import("@jbrowse/core/ui").CheckboxMenuItem | import("@jbrowse/core/ui").RadioMenuItem | import("@jbrowse/core/ui").SubMenuItem | {
|
|
355
|
+
label: string;
|
|
356
|
+
subMenu: ({
|
|
357
|
+
label: string;
|
|
358
|
+
subMenu: {
|
|
359
|
+
label: string;
|
|
360
|
+
onClick: () => void;
|
|
361
|
+
}[];
|
|
362
|
+
onClick?: undefined;
|
|
363
|
+
} | {
|
|
364
|
+
label: string;
|
|
365
|
+
subMenu: {
|
|
366
|
+
label: string;
|
|
367
|
+
type: string;
|
|
368
|
+
checked: boolean;
|
|
369
|
+
onClick: () => void;
|
|
370
|
+
}[];
|
|
371
|
+
onClick?: undefined;
|
|
372
|
+
} | {
|
|
373
|
+
label: string;
|
|
374
|
+
onClick: () => void;
|
|
375
|
+
subMenu?: undefined;
|
|
376
|
+
})[];
|
|
377
|
+
type?: undefined;
|
|
378
|
+
checked?: undefined;
|
|
379
|
+
onClick?: undefined;
|
|
380
|
+
} | {
|
|
381
|
+
label: string;
|
|
382
|
+
subMenu: {
|
|
383
|
+
label: string;
|
|
384
|
+
type: string;
|
|
385
|
+
checked: boolean;
|
|
386
|
+
onClick: () => void;
|
|
387
|
+
}[];
|
|
388
|
+
type?: undefined;
|
|
389
|
+
checked?: undefined;
|
|
390
|
+
onClick?: undefined;
|
|
391
|
+
} | {
|
|
392
|
+
type: string;
|
|
393
|
+
label: string;
|
|
394
|
+
checked: boolean;
|
|
395
|
+
onClick: () => void;
|
|
396
|
+
subMenu?: undefined;
|
|
397
|
+
})[];
|
|
398
|
+
} & {
|
|
399
|
+
afterAttach(): void;
|
|
400
|
+
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>;
|
|
401
|
+
} & {
|
|
402
|
+
setGCContentParams({ windowSize, windowDelta, }: {
|
|
403
|
+
windowSize: number;
|
|
404
|
+
windowDelta: number;
|
|
405
|
+
}): void;
|
|
406
|
+
} & {
|
|
407
|
+
readonly windowSizeSetting: any;
|
|
408
|
+
readonly windowDeltaSetting: any;
|
|
409
|
+
} & {
|
|
410
|
+
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
411
|
+
/**
|
|
412
|
+
* #method
|
|
413
|
+
* retrieves the sequence adapter from parent track, and puts it as a
|
|
414
|
+
* subadapter on a GCContentAdapter
|
|
415
|
+
*/
|
|
416
|
+
renderProps(): any;
|
|
417
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|