@jbrowse/plugin-sequence 3.4.0 → 3.5.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.
|
@@ -79,7 +79,14 @@ class IndexedFastaAdapter extends BaseAdapter_1.BaseSequenceAdapter {
|
|
|
79
79
|
end: chunkStart + chunkSize,
|
|
80
80
|
};
|
|
81
81
|
(0, stopToken_1.checkStopToken)(stopToken);
|
|
82
|
-
|
|
82
|
+
const res = await this.seqCache.get(JSON.stringify(r), {
|
|
83
|
+
...r,
|
|
84
|
+
fasta,
|
|
85
|
+
});
|
|
86
|
+
if (!res) {
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
chunks.push(res);
|
|
83
90
|
}
|
|
84
91
|
const seq = chunks
|
|
85
92
|
.filter(f => !!f)
|
|
@@ -184,6 +184,7 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
|
|
|
184
184
|
readonly renderDelay: number;
|
|
185
185
|
readonly TooltipComponent: import("@jbrowse/core/util").AnyReactComponentType;
|
|
186
186
|
readonly selectedFeatureId: string | undefined;
|
|
187
|
+
copyInfoToClipboard(feature: import("@jbrowse/core/util").Feature): void;
|
|
187
188
|
} & {
|
|
188
189
|
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
189
190
|
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
@@ -193,7 +194,7 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
|
|
|
193
194
|
} & {
|
|
194
195
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
195
196
|
deleteBlock(key: string): void;
|
|
196
|
-
selectFeature(feature: import("@jbrowse/core/util").Feature):
|
|
197
|
+
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
197
198
|
navToFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
198
199
|
clearFeatureSelection(): void;
|
|
199
200
|
setFeatureIdUnderMouse(feature?: string): void;
|
|
@@ -74,7 +74,14 @@ export default class IndexedFastaAdapter extends BaseSequenceAdapter {
|
|
|
74
74
|
end: chunkStart + chunkSize,
|
|
75
75
|
};
|
|
76
76
|
checkStopToken(stopToken);
|
|
77
|
-
|
|
77
|
+
const res = await this.seqCache.get(JSON.stringify(r), {
|
|
78
|
+
...r,
|
|
79
|
+
fasta,
|
|
80
|
+
});
|
|
81
|
+
if (!res) {
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
chunks.push(res);
|
|
78
85
|
}
|
|
79
86
|
const seq = chunks
|
|
80
87
|
.filter(f => !!f)
|
|
@@ -184,6 +184,7 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
|
|
|
184
184
|
readonly renderDelay: number;
|
|
185
185
|
readonly TooltipComponent: import("@jbrowse/core/util").AnyReactComponentType;
|
|
186
186
|
readonly selectedFeatureId: string | undefined;
|
|
187
|
+
copyInfoToClipboard(feature: import("@jbrowse/core/util").Feature): void;
|
|
187
188
|
} & {
|
|
188
189
|
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
189
190
|
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
@@ -193,7 +194,7 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
|
|
|
193
194
|
} & {
|
|
194
195
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
195
196
|
deleteBlock(key: string): void;
|
|
196
|
-
selectFeature(feature: import("@jbrowse/core/util").Feature):
|
|
197
|
+
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
197
198
|
navToFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
198
199
|
clearFeatureSelection(): void;
|
|
199
200
|
setFeatureIdUnderMouse(feature?: string): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-sequence",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"description": "JBrowse 2 sequence adapters, tracks, etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"@gmod/abortable-promise-cache": "^3.0.1",
|
|
40
40
|
"@gmod/indexedfasta": "^4.0.0",
|
|
41
41
|
"@gmod/twobit": "^6.0.0",
|
|
42
|
-
"@jbrowse/core": "^3.
|
|
43
|
-
"@jbrowse/plugin-linear-genome-view": "^3.
|
|
44
|
-
"@jbrowse/plugin-wiggle": "^3.
|
|
42
|
+
"@jbrowse/core": "^3.5.1",
|
|
43
|
+
"@jbrowse/plugin-linear-genome-view": "^3.5.1",
|
|
44
|
+
"@jbrowse/plugin-wiggle": "^3.5.1",
|
|
45
45
|
"@mui/material": "^7.0.0",
|
|
46
46
|
"mobx": "^6.0.0",
|
|
47
47
|
"mobx-react": "^9.0.0",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"distModule": "esm/index.js",
|
|
58
58
|
"srcModule": "src/index.ts",
|
|
59
59
|
"module": "esm/index.js",
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "cb8859da9d838ad2594964777c5c54f385d98f5e"
|
|
61
61
|
}
|