@jbrowse/plugin-gtf 2.11.0 → 2.11.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.
|
@@ -2,7 +2,7 @@ import { BaseFeatureDataAdapter, BaseOptions } from '@jbrowse/core/data_adapters
|
|
|
2
2
|
import { NoAssemblyRegion } from '@jbrowse/core/util/types';
|
|
3
3
|
import IntervalTree from '@flatten-js/interval-tree';
|
|
4
4
|
import { Feature } from '@jbrowse/core/util';
|
|
5
|
-
export default class extends BaseFeatureDataAdapter {
|
|
5
|
+
export default class GtfAdapter extends BaseFeatureDataAdapter {
|
|
6
6
|
protected gtfFeatures?: Promise<{
|
|
7
7
|
feats: Record<string, string[]>;
|
|
8
8
|
}>;
|
|
@@ -15,7 +15,7 @@ const util_2 = require("../util");
|
|
|
15
15
|
function isGzip(buf) {
|
|
16
16
|
return buf[0] === 31 && buf[1] === 139 && buf[2] === 8;
|
|
17
17
|
}
|
|
18
|
-
class
|
|
18
|
+
class GtfAdapter extends BaseAdapter_1.BaseFeatureDataAdapter {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments);
|
|
21
21
|
this.intervalTrees = {};
|
|
@@ -105,4 +105,4 @@ class default_1 extends BaseAdapter_1.BaseFeatureDataAdapter {
|
|
|
105
105
|
}
|
|
106
106
|
freeResources( /* { region } */) { }
|
|
107
107
|
}
|
|
108
|
-
exports.default =
|
|
108
|
+
exports.default = GtfAdapter;
|
|
@@ -2,7 +2,7 @@ import { BaseFeatureDataAdapter, BaseOptions } from '@jbrowse/core/data_adapters
|
|
|
2
2
|
import { NoAssemblyRegion } from '@jbrowse/core/util/types';
|
|
3
3
|
import IntervalTree from '@flatten-js/interval-tree';
|
|
4
4
|
import { Feature } from '@jbrowse/core/util';
|
|
5
|
-
export default class extends BaseFeatureDataAdapter {
|
|
5
|
+
export default class GtfAdapter extends BaseFeatureDataAdapter {
|
|
6
6
|
protected gtfFeatures?: Promise<{
|
|
7
7
|
feats: Record<string, string[]>;
|
|
8
8
|
}>;
|
|
@@ -10,7 +10,7 @@ import { featureData } from '../util';
|
|
|
10
10
|
function isGzip(buf) {
|
|
11
11
|
return buf[0] === 31 && buf[1] === 139 && buf[2] === 8;
|
|
12
12
|
}
|
|
13
|
-
export default class extends BaseFeatureDataAdapter {
|
|
13
|
+
export default class GtfAdapter extends BaseFeatureDataAdapter {
|
|
14
14
|
constructor() {
|
|
15
15
|
super(...arguments);
|
|
16
16
|
this.intervalTrees = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-gtf",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.1",
|
|
4
4
|
"description": "JBrowse 2 gtf feature adapter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"distModule": "esm/index.js",
|
|
57
57
|
"srcModule": "src/index.ts",
|
|
58
58
|
"module": "esm/index.js",
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "11b28d66d782eb06f92ccb993108bb6c3c82819e"
|
|
60
60
|
}
|