@jbrowse/plugin-bed 2.12.0 → 2.12.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/dist/BedAdapter/index.js +1 -1
- package/dist/BedTabixAdapter/index.js +1 -1
- package/dist/BedpeAdapter/BedpeAdapter.js +1 -2
- package/dist/BedpeAdapter/index.js +1 -1
- package/dist/BigBedAdapter/BigBedAdapter.d.ts +1 -1
- package/dist/BigBedAdapter/index.js +1 -1
- package/dist/util.js +4 -5
- package/esm/BigBedAdapter/BigBedAdapter.d.ts +1 -1
- package/package.json +2 -2
package/dist/BedAdapter/index.js
CHANGED
|
@@ -26,6 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.default = BedAdapterF;
|
|
29
30
|
const AdapterType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/AdapterType"));
|
|
30
31
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
31
32
|
function BedAdapterF(pluginManager) {
|
|
@@ -36,4 +37,3 @@ function BedAdapterF(pluginManager) {
|
|
|
36
37
|
getAdapterClass: () => Promise.resolve().then(() => __importStar(require('./BedAdapter'))).then(r => r.default),
|
|
37
38
|
}));
|
|
38
39
|
}
|
|
39
|
-
exports.default = BedAdapterF;
|
|
@@ -26,6 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.default = BedTabixAdapterF;
|
|
29
30
|
const AdapterType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/AdapterType"));
|
|
30
31
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
31
32
|
function BedTabixAdapterF(pluginManager) {
|
|
@@ -36,4 +37,3 @@ function BedTabixAdapterF(pluginManager) {
|
|
|
36
37
|
getAdapterClass: () => Promise.resolve().then(() => __importStar(require('./BedTabixAdapter'))).then(r => r.default),
|
|
37
38
|
}));
|
|
38
39
|
}
|
|
39
|
-
exports.default = BedTabixAdapterF;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.featureData =
|
|
6
|
+
exports.featureData = featureData;
|
|
7
7
|
const BaseAdapter_1 = require("@jbrowse/core/data_adapters/BaseAdapter");
|
|
8
8
|
const io_1 = require("@jbrowse/core/util/io");
|
|
9
9
|
const rxjs_1 = require("@jbrowse/core/util/rxjs");
|
|
@@ -46,7 +46,6 @@ function featureData(line, uniqueId, flip, names) {
|
|
|
46
46
|
mate: { refName: ref2, start: start2, end: end2, strand: strand2 },
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
-
exports.featureData = featureData;
|
|
50
49
|
function parseStrand(strand) {
|
|
51
50
|
if (strand === '+') {
|
|
52
51
|
return 1;
|
|
@@ -26,6 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.default = BedpeAdapterF;
|
|
29
30
|
const AdapterType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/AdapterType"));
|
|
30
31
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
31
32
|
function BedpeAdapterF(pluginManager) {
|
|
@@ -36,4 +37,3 @@ function BedpeAdapterF(pluginManager) {
|
|
|
36
37
|
getAdapterClass: () => Promise.resolve().then(() => __importStar(require('./BedpeAdapter'))).then(r => r.default),
|
|
37
38
|
}));
|
|
38
39
|
}
|
|
39
|
-
exports.default = BedpeAdapterF;
|
|
@@ -13,7 +13,7 @@ export default class BigBedAdapter extends BaseFeatureDataAdapter {
|
|
|
13
13
|
}>;
|
|
14
14
|
configure(opts?: BaseOptions): Promise<{
|
|
15
15
|
bigbed: BigBed;
|
|
16
|
-
header:
|
|
16
|
+
header: Awaited<ReturnType<BigBed["getHeader"]>>;
|
|
17
17
|
parser: BED;
|
|
18
18
|
}>;
|
|
19
19
|
getRefNames(opts?: BaseOptions): Promise<string[]>;
|
|
@@ -26,6 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.default = BigBedAdapterF;
|
|
29
30
|
const AdapterType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/AdapterType"));
|
|
30
31
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
31
32
|
function BigBedAdapterF(pluginManager) {
|
|
@@ -36,4 +37,3 @@ function BigBedAdapterF(pluginManager) {
|
|
|
36
37
|
getAdapterClass: () => Promise.resolve().then(() => __importStar(require('./BigBedAdapter'))).then(r => r.default),
|
|
37
38
|
}));
|
|
38
39
|
}
|
|
39
|
-
exports.default = BigBedAdapterF;
|
package/dist/util.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ucscProcessedTranscript = ucscProcessedTranscript;
|
|
4
|
+
exports.makeBlocks = makeBlocks;
|
|
5
|
+
exports.featureData = featureData;
|
|
6
|
+
exports.isUcscProcessedTranscript = isUcscProcessedTranscript;
|
|
4
7
|
const util_1 = require("@jbrowse/core/util");
|
|
5
8
|
function ucscProcessedTranscript(feature) {
|
|
6
9
|
var _a;
|
|
@@ -97,7 +100,6 @@ function ucscProcessedTranscript(feature) {
|
|
|
97
100
|
});
|
|
98
101
|
return { ...rest, strand, type: 'mRNA', refName, subfeatures };
|
|
99
102
|
}
|
|
100
|
-
exports.ucscProcessedTranscript = ucscProcessedTranscript;
|
|
101
103
|
function defaultParser(fields, line) {
|
|
102
104
|
const { blockStarts, blockCount, chromStarts, thickEnd, thickStart, blockSizes, ...rest } = Object.fromEntries(line.split('\t').map((f, i) => [fields[i], f]));
|
|
103
105
|
return {
|
|
@@ -126,7 +128,6 @@ function makeBlocks({ start, uniqueId, refName, chromStarts, blockCount, blockSi
|
|
|
126
128
|
}
|
|
127
129
|
return subfeatures;
|
|
128
130
|
}
|
|
129
|
-
exports.makeBlocks = makeBlocks;
|
|
130
131
|
function featureData(line, colRef, colStart, colEnd, scoreColumn, parser, uniqueId, names) {
|
|
131
132
|
const l = line.split('\t');
|
|
132
133
|
const refName = l[colRef];
|
|
@@ -172,8 +173,6 @@ function featureData(line, colRef, colStart, colEnd, scoreColumn, parser, unique
|
|
|
172
173
|
: f,
|
|
173
174
|
});
|
|
174
175
|
}
|
|
175
|
-
exports.featureData = featureData;
|
|
176
176
|
function isUcscProcessedTranscript(f) {
|
|
177
177
|
return f.thickStart && f.blockCount && f.strand !== 0;
|
|
178
178
|
}
|
|
179
|
-
exports.isUcscProcessedTranscript = isUcscProcessedTranscript;
|
|
@@ -13,7 +13,7 @@ export default class BigBedAdapter extends BaseFeatureDataAdapter {
|
|
|
13
13
|
}>;
|
|
14
14
|
configure(opts?: BaseOptions): Promise<{
|
|
15
15
|
bigbed: BigBed;
|
|
16
|
-
header:
|
|
16
|
+
header: Awaited<ReturnType<BigBed["getHeader"]>>;
|
|
17
17
|
parser: BED;
|
|
18
18
|
}>;
|
|
19
19
|
getRefNames(opts?: BaseOptions): Promise<string[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-bed",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.1",
|
|
4
4
|
"description": "JBrowse 2 bed adapters, tracks, etc.",
|
|
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": "20f16ae5a56ae5e4806aaa373131e540b0b5b0fd"
|
|
59
59
|
}
|