@jbrowse/plugin-gff3 2.6.3 → 2.7.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/Gff3Adapter/Gff3Adapter.d.ts +1 -1
- package/dist/Gff3Adapter/Gff3Adapter.js +1 -1
- package/dist/Gff3TabixAdapter/Gff3TabixAdapter.js +0 -1
- package/esm/Gff3Adapter/Gff3Adapter.d.ts +1 -1
- package/esm/Gff3Adapter/Gff3Adapter.js +1 -1
- package/esm/Gff3TabixAdapter/Gff3TabixAdapter.js +0 -1
- package/package.json +2 -2
|
@@ -9,7 +9,7 @@ export default class extends BaseFeatureDataAdapter {
|
|
|
9
9
|
}>;
|
|
10
10
|
private loadDataP;
|
|
11
11
|
private loadData;
|
|
12
|
-
getRefNames(
|
|
12
|
+
getRefNames(_opts?: BaseOptions): Promise<string[]>;
|
|
13
13
|
getHeader(): Promise<string>;
|
|
14
14
|
getFeatures(query: NoAssemblyRegion, opts?: BaseOptions): import("rxjs").Observable<Feature>;
|
|
15
15
|
private featureData;
|
|
@@ -58,7 +58,7 @@ class default_1 extends BaseAdapter_1.BaseFeatureDataAdapter {
|
|
|
58
58
|
}
|
|
59
59
|
return this.gffFeatures;
|
|
60
60
|
}
|
|
61
|
-
async getRefNames(
|
|
61
|
+
async getRefNames(_opts = {}) {
|
|
62
62
|
const { intervalTree } = await this.loadData();
|
|
63
63
|
return Object.keys(intervalTree);
|
|
64
64
|
}
|
|
@@ -118,7 +118,6 @@ class default_1 extends BaseAdapter_1.BaseFeatureDataAdapter {
|
|
|
118
118
|
formatFeatures(featureLocs) {
|
|
119
119
|
return featureLocs.map(featureLoc => new simpleFeature_1.default({
|
|
120
120
|
data: this.featureData(featureLoc),
|
|
121
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
122
121
|
id: `${this.id}-offset-${featureLoc.attributes._lineHash[0]}`,
|
|
123
122
|
}));
|
|
124
123
|
}
|
|
@@ -9,7 +9,7 @@ export default class extends BaseFeatureDataAdapter {
|
|
|
9
9
|
}>;
|
|
10
10
|
private loadDataP;
|
|
11
11
|
private loadData;
|
|
12
|
-
getRefNames(
|
|
12
|
+
getRefNames(_opts?: BaseOptions): Promise<string[]>;
|
|
13
13
|
getHeader(): Promise<string>;
|
|
14
14
|
getFeatures(query: NoAssemblyRegion, opts?: BaseOptions): import("rxjs").Observable<Feature>;
|
|
15
15
|
private featureData;
|
|
@@ -113,7 +113,6 @@ export default class extends BaseFeatureDataAdapter {
|
|
|
113
113
|
formatFeatures(featureLocs) {
|
|
114
114
|
return featureLocs.map(featureLoc => new SimpleFeature({
|
|
115
115
|
data: this.featureData(featureLoc),
|
|
116
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
117
116
|
id: `${this.id}-offset-${featureLoc.attributes._lineHash[0]}`,
|
|
118
117
|
}));
|
|
119
118
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-gff3",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "JBrowse 2 gff3.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"distModule": "esm/index.js",
|
|
56
56
|
"srcModule": "src/index.ts",
|
|
57
57
|
"module": "esm/index.js",
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "dbe7fb1af01fc89f833d2744635eb44a17365b41"
|
|
59
59
|
}
|