@jbrowse/plugin-sequence 2.11.0 → 2.11.2
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/BgzipFastaAdapter/BgzipFastaAdapter.d.ts +1 -1
- package/dist/BgzipFastaAdapter/BgzipFastaAdapter.js +2 -2
- package/dist/BgzipFastaAdapter/index.d.ts +1 -2
- package/dist/BgzipFastaAdapter/index.js +3 -2
- package/dist/ChromSizesAdapter/ChromSizesAdapter.d.ts +1 -1
- package/dist/ChromSizesAdapter/ChromSizesAdapter.js +2 -2
- package/dist/ChromSizesAdapter/index.d.ts +1 -2
- package/dist/ChromSizesAdapter/index.js +3 -2
- package/dist/DivSequenceRenderer/index.d.ts +1 -2
- package/dist/DivSequenceRenderer/index.js +3 -2
- package/dist/IndexedFastaAdapter/IndexedFastaAdapter.d.ts +1 -1
- package/dist/IndexedFastaAdapter/IndexedFastaAdapter.js +2 -2
- package/dist/IndexedFastaAdapter/index.d.ts +1 -2
- package/dist/IndexedFastaAdapter/index.js +3 -2
- package/dist/LinearReferenceSequenceDisplay/index.d.ts +1 -2
- package/dist/LinearReferenceSequenceDisplay/index.js +3 -2
- package/dist/LinearReferenceSequenceDisplay/model.d.ts +23 -26
- package/dist/ReferenceSequenceTrack/index.d.ts +1 -2
- package/dist/ReferenceSequenceTrack/index.js +3 -2
- package/dist/SequenceSearchAdapter/SequenceSearchAdapter.d.ts +1 -1
- package/dist/SequenceSearchAdapter/SequenceSearchAdapter.js +16 -15
- package/dist/SequenceSearchAdapter/index.d.ts +1 -2
- package/dist/SequenceSearchAdapter/index.js +3 -2
- package/dist/TwoBitAdapter/index.d.ts +1 -2
- package/dist/TwoBitAdapter/index.js +3 -2
- package/dist/createExtensionPoints.d.ts +1 -2
- package/dist/createExtensionPoints.js +3 -2
- package/esm/BgzipFastaAdapter/BgzipFastaAdapter.d.ts +1 -1
- package/esm/BgzipFastaAdapter/BgzipFastaAdapter.js +1 -1
- package/esm/BgzipFastaAdapter/index.d.ts +1 -2
- package/esm/BgzipFastaAdapter/index.js +2 -2
- package/esm/ChromSizesAdapter/ChromSizesAdapter.d.ts +1 -1
- package/esm/ChromSizesAdapter/ChromSizesAdapter.js +1 -1
- package/esm/ChromSizesAdapter/index.d.ts +1 -2
- package/esm/ChromSizesAdapter/index.js +2 -2
- package/esm/DivSequenceRenderer/index.d.ts +1 -2
- package/esm/DivSequenceRenderer/index.js +2 -2
- package/esm/IndexedFastaAdapter/IndexedFastaAdapter.d.ts +1 -1
- package/esm/IndexedFastaAdapter/IndexedFastaAdapter.js +1 -1
- package/esm/IndexedFastaAdapter/index.d.ts +1 -2
- package/esm/IndexedFastaAdapter/index.js +2 -2
- package/esm/LinearReferenceSequenceDisplay/index.d.ts +1 -2
- package/esm/LinearReferenceSequenceDisplay/index.js +2 -2
- package/esm/LinearReferenceSequenceDisplay/model.d.ts +23 -26
- package/esm/ReferenceSequenceTrack/index.d.ts +1 -2
- package/esm/ReferenceSequenceTrack/index.js +2 -2
- package/esm/SequenceSearchAdapter/SequenceSearchAdapter.d.ts +1 -1
- package/esm/SequenceSearchAdapter/SequenceSearchAdapter.js +15 -14
- package/esm/SequenceSearchAdapter/index.d.ts +1 -2
- package/esm/SequenceSearchAdapter/index.js +2 -2
- package/esm/TwoBitAdapter/index.d.ts +1 -2
- package/esm/TwoBitAdapter/index.js +2 -2
- package/esm/createExtensionPoints.d.ts +1 -2
- package/esm/createExtensionPoints.js +2 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BgzipIndexedFasta } from '@gmod/indexedfasta';
|
|
2
2
|
import IndexedFasta from '../IndexedFastaAdapter/IndexedFastaAdapter';
|
|
3
|
-
export default class extends IndexedFasta {
|
|
3
|
+
export default class BgzipFastaAdapter extends IndexedFasta {
|
|
4
4
|
setupPre(): Promise<{
|
|
5
5
|
fasta: BgzipIndexedFasta;
|
|
6
6
|
}>;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const indexedfasta_1 = require("@gmod/indexedfasta");
|
|
7
7
|
const io_1 = require("@jbrowse/core/util/io");
|
|
8
8
|
const IndexedFastaAdapter_1 = __importDefault(require("../IndexedFastaAdapter/IndexedFastaAdapter"));
|
|
9
|
-
class
|
|
9
|
+
class BgzipFastaAdapter extends IndexedFastaAdapter_1.default {
|
|
10
10
|
async setupPre() {
|
|
11
11
|
const fastaLocation = this.getConf('fastaLocation');
|
|
12
12
|
const faiLocation = this.getConf('faiLocation');
|
|
@@ -19,4 +19,4 @@ class default_1 extends IndexedFastaAdapter_1.default {
|
|
|
19
19
|
return { fasta: new indexedfasta_1.BgzipIndexedFasta(fastaOpts) };
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
exports.default =
|
|
22
|
+
exports.default = BgzipFastaAdapter;
|
|
@@ -28,7 +28,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
const AdapterType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/AdapterType"));
|
|
30
30
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
31
|
-
|
|
31
|
+
function BgzipFastaAdapterF(pluginManager) {
|
|
32
32
|
pluginManager.addAdapterType(() => new AdapterType_1.default({
|
|
33
33
|
name: 'BgzipFastaAdapter',
|
|
34
34
|
displayName: 'Bgzip-indexed FASTA adapter',
|
|
@@ -38,4 +38,5 @@ exports.default = (pluginManager) => {
|
|
|
38
38
|
},
|
|
39
39
|
getAdapterClass: () => Promise.resolve().then(() => __importStar(require('./BgzipFastaAdapter'))).then(r => r.default),
|
|
40
40
|
}));
|
|
41
|
-
}
|
|
41
|
+
}
|
|
42
|
+
exports.default = BgzipFastaAdapterF;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RegionsAdapter, BaseAdapter } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
2
|
-
export default class extends BaseAdapter implements RegionsAdapter {
|
|
2
|
+
export default class ChromSizesAdapter extends BaseAdapter implements RegionsAdapter {
|
|
3
3
|
protected setupP?: Promise<Record<string, number>>;
|
|
4
4
|
setupPre(): Promise<{
|
|
5
5
|
[k: string]: number;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const BaseAdapter_1 = require("@jbrowse/core/data_adapters/BaseAdapter");
|
|
4
4
|
const io_1 = require("@jbrowse/core/util/io");
|
|
5
|
-
class
|
|
5
|
+
class ChromSizesAdapter extends BaseAdapter_1.BaseAdapter {
|
|
6
6
|
async setupPre() {
|
|
7
7
|
const pm = this.pluginManager;
|
|
8
8
|
const file = (0, io_1.openLocation)(this.getConf('chromSizesLocation'), pm);
|
|
@@ -38,4 +38,4 @@ class default_1 extends BaseAdapter_1.BaseAdapter {
|
|
|
38
38
|
}
|
|
39
39
|
freeResources( /* { region } */) { }
|
|
40
40
|
}
|
|
41
|
-
exports.default =
|
|
41
|
+
exports.default = ChromSizesAdapter;
|
|
@@ -28,7 +28,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
const AdapterType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/AdapterType"));
|
|
30
30
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
31
|
-
|
|
31
|
+
function ChromSizesAdapterF(pluginManager) {
|
|
32
32
|
pluginManager.addAdapterType(() => new AdapterType_1.default({
|
|
33
33
|
name: 'ChromSizesAdapter',
|
|
34
34
|
displayName: 'Chrom sizes adapter',
|
|
@@ -38,4 +38,5 @@ exports.default = (pluginManager) => {
|
|
|
38
38
|
},
|
|
39
39
|
getAdapterClass: () => Promise.resolve().then(() => __importStar(require('./ChromSizesAdapter'))).then(r => r.default),
|
|
40
40
|
}));
|
|
41
|
-
}
|
|
41
|
+
}
|
|
42
|
+
exports.default = ChromSizesAdapterF;
|
|
@@ -20,11 +20,12 @@ class DivSequenceRenderer extends FeatureRendererType_1.default {
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
function DivSequenceRendererF(pluginManager) {
|
|
24
24
|
pluginManager.addRendererType(() => new DivSequenceRenderer({
|
|
25
25
|
name: 'DivSequenceRenderer',
|
|
26
26
|
ReactComponent: DivSequenceRendering_1.default,
|
|
27
27
|
configSchema: configSchema_1.default,
|
|
28
28
|
pluginManager,
|
|
29
29
|
}));
|
|
30
|
-
}
|
|
30
|
+
}
|
|
31
|
+
exports.default = DivSequenceRendererF;
|
|
@@ -2,7 +2,7 @@ import { IndexedFasta } from '@gmod/indexedfasta';
|
|
|
2
2
|
import { BaseSequenceAdapter, BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
3
3
|
import { NoAssemblyRegion } from '@jbrowse/core/util/types';
|
|
4
4
|
import { Feature } from '@jbrowse/core/util';
|
|
5
|
-
export default class extends BaseSequenceAdapter {
|
|
5
|
+
export default class IndexedFastaAdapter extends BaseSequenceAdapter {
|
|
6
6
|
protected setupP?: Promise<{
|
|
7
7
|
fasta: IndexedFasta;
|
|
8
8
|
}>;
|
|
@@ -10,7 +10,7 @@ const rxjs_1 = require("@jbrowse/core/util/rxjs");
|
|
|
10
10
|
const util_1 = require("@jbrowse/core/util");
|
|
11
11
|
const abortable_promise_cache_1 = __importDefault(require("abortable-promise-cache"));
|
|
12
12
|
const QuickLRU_1 = __importDefault(require("@jbrowse/core/util/QuickLRU"));
|
|
13
|
-
class
|
|
13
|
+
class IndexedFastaAdapter extends BaseAdapter_1.BaseSequenceAdapter {
|
|
14
14
|
constructor() {
|
|
15
15
|
super(...arguments);
|
|
16
16
|
this.seqCache = new abortable_promise_cache_1.default({
|
|
@@ -97,4 +97,4 @@ class default_1 extends BaseAdapter_1.BaseSequenceAdapter {
|
|
|
97
97
|
*/
|
|
98
98
|
freeResources( /* { region } */) { }
|
|
99
99
|
}
|
|
100
|
-
exports.default =
|
|
100
|
+
exports.default = IndexedFastaAdapter;
|
|
@@ -28,7 +28,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
const AdapterType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/AdapterType"));
|
|
30
30
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
31
|
-
|
|
31
|
+
function IndexedFastaAdapterF(pluginManager) {
|
|
32
32
|
pluginManager.addAdapterType(() => new AdapterType_1.default({
|
|
33
33
|
name: 'IndexedFastaAdapter',
|
|
34
34
|
displayName: 'Indexed FASTA adapter',
|
|
@@ -38,4 +38,5 @@ exports.default = (pluginManager) => {
|
|
|
38
38
|
},
|
|
39
39
|
getAdapterClass: () => Promise.resolve().then(() => __importStar(require('./IndexedFastaAdapter'))).then(r => r.default),
|
|
40
40
|
}));
|
|
41
|
-
}
|
|
41
|
+
}
|
|
42
|
+
exports.default = IndexedFastaAdapterF;
|
|
@@ -4,7 +4,7 @@ const pluggableElementTypes_1 = require("@jbrowse/core/pluggableElementTypes");
|
|
|
4
4
|
const plugin_linear_genome_view_1 = require("@jbrowse/plugin-linear-genome-view");
|
|
5
5
|
const configSchema_1 = require("./configSchema");
|
|
6
6
|
const model_1 = require("./model");
|
|
7
|
-
|
|
7
|
+
function LinearReferenceSequenceDisplayF(pluginManager) {
|
|
8
8
|
pluginManager.addDisplayType(() => {
|
|
9
9
|
const stateModel = (0, model_1.modelFactory)(configSchema_1.configSchema);
|
|
10
10
|
return new pluggableElementTypes_1.DisplayType({
|
|
@@ -17,4 +17,5 @@ exports.default = (pluginManager) => {
|
|
|
17
17
|
ReactComponent: plugin_linear_genome_view_1.BaseLinearDisplayComponent,
|
|
18
18
|
});
|
|
19
19
|
});
|
|
20
|
-
}
|
|
20
|
+
}
|
|
21
|
+
exports.default = LinearReferenceSequenceDisplayF;
|
|
@@ -70,34 +70,32 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
|
|
|
70
70
|
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
71
71
|
maxFeatureScreenDensity: {
|
|
72
72
|
type: string;
|
|
73
|
-
description: string;
|
|
74
|
-
* #property
|
|
75
|
-
*/
|
|
73
|
+
description: string;
|
|
76
74
|
defaultValue: number;
|
|
77
75
|
};
|
|
78
76
|
fetchSizeLimit: {
|
|
79
|
-
type: string;
|
|
80
|
-
* #property
|
|
81
|
-
*/
|
|
77
|
+
type: string;
|
|
82
78
|
defaultValue: number;
|
|
83
79
|
description: string;
|
|
84
|
-
};
|
|
80
|
+
}; /**
|
|
81
|
+
* #property
|
|
82
|
+
*/
|
|
85
83
|
height: {
|
|
86
84
|
type: string;
|
|
87
|
-
defaultValue: number;
|
|
88
|
-
* #property
|
|
89
|
-
*/
|
|
85
|
+
defaultValue: number;
|
|
90
86
|
description: string;
|
|
91
87
|
};
|
|
92
88
|
mouseover: {
|
|
93
89
|
type: string;
|
|
94
90
|
description: string;
|
|
95
|
-
/**
|
|
96
|
-
* #getter
|
|
97
|
-
*/
|
|
98
91
|
defaultValue: string;
|
|
99
92
|
contextVariable: string[];
|
|
100
93
|
};
|
|
94
|
+
jexlFilters: {
|
|
95
|
+
type: string;
|
|
96
|
+
description: string;
|
|
97
|
+
defaultValue: never[];
|
|
98
|
+
};
|
|
101
99
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
102
100
|
} & {
|
|
103
101
|
type: import("mobx-state-tree").ISimpleType<"LinearReferenceSequenceDisplay">;
|
|
@@ -227,6 +225,7 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
|
|
|
227
225
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
228
226
|
deleteBlock(key: string): void;
|
|
229
227
|
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
228
|
+
navToFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
230
229
|
clearFeatureSelection(): void;
|
|
231
230
|
setFeatureIdUnderMouse(feature?: string | undefined): void;
|
|
232
231
|
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
@@ -355,34 +354,32 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
|
|
|
355
354
|
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
356
355
|
maxFeatureScreenDensity: {
|
|
357
356
|
type: string;
|
|
358
|
-
description: string;
|
|
359
|
-
* #property
|
|
360
|
-
*/
|
|
357
|
+
description: string;
|
|
361
358
|
defaultValue: number;
|
|
362
359
|
};
|
|
363
360
|
fetchSizeLimit: {
|
|
364
|
-
type: string;
|
|
365
|
-
* #property
|
|
366
|
-
*/
|
|
361
|
+
type: string;
|
|
367
362
|
defaultValue: number;
|
|
368
363
|
description: string;
|
|
369
|
-
};
|
|
364
|
+
}; /**
|
|
365
|
+
* #property
|
|
366
|
+
*/
|
|
370
367
|
height: {
|
|
371
368
|
type: string;
|
|
372
|
-
defaultValue: number;
|
|
373
|
-
* #property
|
|
374
|
-
*/
|
|
369
|
+
defaultValue: number;
|
|
375
370
|
description: string;
|
|
376
371
|
};
|
|
377
372
|
mouseover: {
|
|
378
373
|
type: string;
|
|
379
374
|
description: string;
|
|
380
|
-
/**
|
|
381
|
-
* #getter
|
|
382
|
-
*/
|
|
383
375
|
defaultValue: string;
|
|
384
376
|
contextVariable: string[];
|
|
385
377
|
};
|
|
378
|
+
jexlFilters: {
|
|
379
|
+
type: string;
|
|
380
|
+
description: string;
|
|
381
|
+
defaultValue: never[];
|
|
382
|
+
};
|
|
386
383
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
387
384
|
}>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, {
|
|
388
385
|
type: string;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const TrackType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/TrackType"));
|
|
7
7
|
const models_1 = require("@jbrowse/core/pluggableElementTypes/models");
|
|
8
8
|
const configSchema_1 = require("./configSchema");
|
|
9
|
-
|
|
9
|
+
function ReferenceSequenceTrackF(pluginManager) {
|
|
10
10
|
pluginManager.addTrackType(() => {
|
|
11
11
|
const configSchema = (0, configSchema_1.createReferenceSeqTrackConfig)(pluginManager);
|
|
12
12
|
return new TrackType_1.default({
|
|
@@ -16,4 +16,5 @@ exports.default = (pluginManager) => {
|
|
|
16
16
|
stateModel: (0, models_1.createBaseTrackModel)(pluginManager, 'ReferenceSequenceTrack', configSchema),
|
|
17
17
|
});
|
|
18
18
|
});
|
|
19
|
-
}
|
|
19
|
+
}
|
|
20
|
+
exports.default = ReferenceSequenceTrackF;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseFeatureDataAdapter, BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
2
2
|
import { Feature, Region } from '@jbrowse/core/util';
|
|
3
|
-
export default class extends BaseFeatureDataAdapter {
|
|
3
|
+
export default class SequenceSearchAdapter extends BaseFeatureDataAdapter {
|
|
4
4
|
configure(): Promise<BaseFeatureDataAdapter>;
|
|
5
5
|
getRefNames(): Promise<string[]>;
|
|
6
6
|
getFeatures(query: Region, opts: BaseOptions): import("rxjs").Observable<Feature>;
|
|
@@ -5,7 +5,7 @@ const rxjs_1 = require("@jbrowse/core/util/rxjs");
|
|
|
5
5
|
const util_1 = require("@jbrowse/core/util");
|
|
6
6
|
const operators_1 = require("rxjs/operators");
|
|
7
7
|
const rxjs_2 = require("rxjs");
|
|
8
|
-
class
|
|
8
|
+
class SequenceSearchAdapter extends BaseAdapter_1.BaseFeatureDataAdapter {
|
|
9
9
|
async configure() {
|
|
10
10
|
var _a;
|
|
11
11
|
const adapter = await ((_a = this.getSubAdapter) === null || _a === void 0 ? void 0 : _a.call(this, this.getConf('sequenceAdapter')));
|
|
@@ -22,10 +22,9 @@ class default_1 extends BaseAdapter_1.BaseFeatureDataAdapter {
|
|
|
22
22
|
return (0, rxjs_1.ObservableCreate)(async (observer) => {
|
|
23
23
|
var _a;
|
|
24
24
|
const sequenceAdapter = await this.configure();
|
|
25
|
-
const hw =
|
|
26
|
-
|
|
27
|
-
queryStart = Math.max(0,
|
|
28
|
-
queryEnd += hw;
|
|
25
|
+
const hw = 10000;
|
|
26
|
+
const queryEnd = query.end + hw;
|
|
27
|
+
const queryStart = Math.max(0, query.start - hw);
|
|
29
28
|
if (queryEnd < 0 || queryStart > queryEnd) {
|
|
30
29
|
observer.complete();
|
|
31
30
|
return;
|
|
@@ -46,13 +45,14 @@ class default_1 extends BaseAdapter_1.BaseFeatureDataAdapter {
|
|
|
46
45
|
if (searchForward) {
|
|
47
46
|
const matches = residues.matchAll(re);
|
|
48
47
|
for (const match of matches) {
|
|
49
|
-
const s = queryStart +
|
|
50
|
-
|
|
48
|
+
const s = queryStart + match.index;
|
|
49
|
+
const e = queryStart + match.index + match[0].length;
|
|
50
|
+
if ((0, util_1.doesIntersect2)(s, e, query.start, query.end)) {
|
|
51
51
|
observer.next(new util_1.SimpleFeature({
|
|
52
|
-
uniqueId: `${this.id}
|
|
52
|
+
uniqueId: `${this.id}-${s}-${match[0]}-pos`,
|
|
53
53
|
refName: query.refName,
|
|
54
54
|
start: s,
|
|
55
|
-
end:
|
|
55
|
+
end: e,
|
|
56
56
|
name: match[0],
|
|
57
57
|
strand: 1,
|
|
58
58
|
}));
|
|
@@ -62,14 +62,15 @@ class default_1 extends BaseAdapter_1.BaseFeatureDataAdapter {
|
|
|
62
62
|
if (searchReverse) {
|
|
63
63
|
const matches = (0, util_1.revcom)(residues).matchAll(re);
|
|
64
64
|
for (const match of matches) {
|
|
65
|
-
const
|
|
66
|
-
|
|
65
|
+
const e = queryEnd - match.index;
|
|
66
|
+
const s = queryEnd - match.index - match[0].length;
|
|
67
|
+
if ((0, util_1.doesIntersect2)(s, e, query.start, query.end)) {
|
|
67
68
|
observer.next(new util_1.SimpleFeature({
|
|
68
|
-
uniqueId: `${this.id}
|
|
69
|
+
uniqueId: `${this.id}-${s}-${match[0]}-neg`,
|
|
69
70
|
refName: query.refName,
|
|
70
|
-
start: s
|
|
71
|
+
start: s,
|
|
72
|
+
end: e,
|
|
71
73
|
name: match[0],
|
|
72
|
-
end: s,
|
|
73
74
|
strand: -1,
|
|
74
75
|
}));
|
|
75
76
|
}
|
|
@@ -81,4 +82,4 @@ class default_1 extends BaseAdapter_1.BaseFeatureDataAdapter {
|
|
|
81
82
|
}
|
|
82
83
|
freeResources() { }
|
|
83
84
|
}
|
|
84
|
-
exports.default =
|
|
85
|
+
exports.default = SequenceSearchAdapter;
|
|
@@ -28,7 +28,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
const AdapterType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/AdapterType"));
|
|
30
30
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
31
|
-
|
|
31
|
+
function SequenceSearchAdapterF(pluginManager) {
|
|
32
32
|
pluginManager.addAdapterType(() => new AdapterType_1.default({
|
|
33
33
|
name: 'SequenceSearchAdapter',
|
|
34
34
|
displayName: 'Sequence search adapter',
|
|
@@ -38,4 +38,5 @@ exports.default = (pluginManager) => {
|
|
|
38
38
|
configSchema: configSchema_1.default,
|
|
39
39
|
getAdapterClass: () => Promise.resolve().then(() => __importStar(require('./SequenceSearchAdapter'))).then(r => r.default),
|
|
40
40
|
}));
|
|
41
|
-
}
|
|
41
|
+
}
|
|
42
|
+
exports.default = SequenceSearchAdapterF;
|
|
@@ -28,7 +28,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
const AdapterType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/AdapterType"));
|
|
30
30
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
31
|
-
|
|
31
|
+
function TwoBitAdapterF(pluginManager) {
|
|
32
32
|
pluginManager.addAdapterType(() => new AdapterType_1.default({
|
|
33
33
|
name: 'TwoBitAdapter',
|
|
34
34
|
displayName: 'TwoBit adapter',
|
|
@@ -38,4 +38,5 @@ exports.default = (pluginManager) => {
|
|
|
38
38
|
},
|
|
39
39
|
getAdapterClass: () => Promise.resolve().then(() => __importStar(require('./TwoBitAdapter'))).then(r => r.default),
|
|
40
40
|
}));
|
|
41
|
-
}
|
|
41
|
+
}
|
|
42
|
+
exports.default = TwoBitAdapterF;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tracks_1 = require("@jbrowse/core/util/tracks");
|
|
4
|
-
|
|
4
|
+
function ExtensionPointsF(pluginManager) {
|
|
5
5
|
pluginManager.addToExtensionPoint('Core-guessAdapterForLocation', (adapterGuesser) => {
|
|
6
6
|
return (file, index, adapterHint) => {
|
|
7
7
|
const regexGuess = /\.2bit$/i;
|
|
@@ -82,4 +82,5 @@ exports.default = (pluginManager) => {
|
|
|
82
82
|
return trackTypeGuesser(adapterName);
|
|
83
83
|
};
|
|
84
84
|
});
|
|
85
|
-
}
|
|
85
|
+
}
|
|
86
|
+
exports.default = ExtensionPointsF;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BgzipIndexedFasta } from '@gmod/indexedfasta';
|
|
2
2
|
import IndexedFasta from '../IndexedFastaAdapter/IndexedFastaAdapter';
|
|
3
|
-
export default class extends IndexedFasta {
|
|
3
|
+
export default class BgzipFastaAdapter extends IndexedFasta {
|
|
4
4
|
setupPre(): Promise<{
|
|
5
5
|
fasta: BgzipIndexedFasta;
|
|
6
6
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BgzipIndexedFasta } from '@gmod/indexedfasta';
|
|
2
2
|
import { openLocation } from '@jbrowse/core/util/io';
|
|
3
3
|
import IndexedFasta from '../IndexedFastaAdapter/IndexedFastaAdapter';
|
|
4
|
-
export default class extends IndexedFasta {
|
|
4
|
+
export default class BgzipFastaAdapter extends IndexedFasta {
|
|
5
5
|
async setupPre() {
|
|
6
6
|
const fastaLocation = this.getConf('fastaLocation');
|
|
7
7
|
const faiLocation = this.getConf('faiLocation');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import AdapterType from '@jbrowse/core/pluggableElementTypes/AdapterType';
|
|
2
2
|
import configSchema from './configSchema';
|
|
3
|
-
export default (pluginManager)
|
|
3
|
+
export default function BgzipFastaAdapterF(pluginManager) {
|
|
4
4
|
pluginManager.addAdapterType(() => new AdapterType({
|
|
5
5
|
name: 'BgzipFastaAdapter',
|
|
6
6
|
displayName: 'Bgzip-indexed FASTA adapter',
|
|
@@ -10,4 +10,4 @@ export default (pluginManager) => {
|
|
|
10
10
|
},
|
|
11
11
|
getAdapterClass: () => import('./BgzipFastaAdapter').then(r => r.default),
|
|
12
12
|
}));
|
|
13
|
-
}
|
|
13
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RegionsAdapter, BaseAdapter } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
2
|
-
export default class extends BaseAdapter implements RegionsAdapter {
|
|
2
|
+
export default class ChromSizesAdapter extends BaseAdapter implements RegionsAdapter {
|
|
3
3
|
protected setupP?: Promise<Record<string, number>>;
|
|
4
4
|
setupPre(): Promise<{
|
|
5
5
|
[k: string]: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseAdapter, } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
2
2
|
import { openLocation } from '@jbrowse/core/util/io';
|
|
3
|
-
export default class extends BaseAdapter {
|
|
3
|
+
export default class ChromSizesAdapter extends BaseAdapter {
|
|
4
4
|
async setupPre() {
|
|
5
5
|
const pm = this.pluginManager;
|
|
6
6
|
const file = openLocation(this.getConf('chromSizesLocation'), pm);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import AdapterType from '@jbrowse/core/pluggableElementTypes/AdapterType';
|
|
2
2
|
import configSchema from './configSchema';
|
|
3
|
-
export default (pluginManager)
|
|
3
|
+
export default function ChromSizesAdapterF(pluginManager) {
|
|
4
4
|
pluginManager.addAdapterType(() => new AdapterType({
|
|
5
5
|
name: 'ChromSizesAdapter',
|
|
6
6
|
displayName: 'Chrom sizes adapter',
|
|
@@ -10,4 +10,4 @@ export default (pluginManager) => {
|
|
|
10
10
|
},
|
|
11
11
|
getAdapterClass: () => import('./ChromSizesAdapter').then(r => r.default),
|
|
12
12
|
}));
|
|
13
|
-
}
|
|
13
|
+
}
|
|
@@ -15,11 +15,11 @@ class DivSequenceRenderer extends FeatureRendererType {
|
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
export default (pluginManager)
|
|
18
|
+
export default function DivSequenceRendererF(pluginManager) {
|
|
19
19
|
pluginManager.addRendererType(() => new DivSequenceRenderer({
|
|
20
20
|
name: 'DivSequenceRenderer',
|
|
21
21
|
ReactComponent,
|
|
22
22
|
configSchema,
|
|
23
23
|
pluginManager,
|
|
24
24
|
}));
|
|
25
|
-
}
|
|
25
|
+
}
|
|
@@ -2,7 +2,7 @@ import { IndexedFasta } from '@gmod/indexedfasta';
|
|
|
2
2
|
import { BaseSequenceAdapter, BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
3
3
|
import { NoAssemblyRegion } from '@jbrowse/core/util/types';
|
|
4
4
|
import { Feature } from '@jbrowse/core/util';
|
|
5
|
-
export default class extends BaseSequenceAdapter {
|
|
5
|
+
export default class IndexedFastaAdapter extends BaseSequenceAdapter {
|
|
6
6
|
protected setupP?: Promise<{
|
|
7
7
|
fasta: IndexedFasta;
|
|
8
8
|
}>;
|
|
@@ -5,7 +5,7 @@ import { ObservableCreate } from '@jbrowse/core/util/rxjs';
|
|
|
5
5
|
import { SimpleFeature } from '@jbrowse/core/util';
|
|
6
6
|
import AbortablePromiseCache from 'abortable-promise-cache';
|
|
7
7
|
import QuickLRU from '@jbrowse/core/util/QuickLRU';
|
|
8
|
-
export default class extends BaseSequenceAdapter {
|
|
8
|
+
export default class IndexedFastaAdapter extends BaseSequenceAdapter {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments);
|
|
11
11
|
this.seqCache = new AbortablePromiseCache({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import AdapterType from '@jbrowse/core/pluggableElementTypes/AdapterType';
|
|
2
2
|
import configSchema from './configSchema';
|
|
3
|
-
export default (pluginManager)
|
|
3
|
+
export default function IndexedFastaAdapterF(pluginManager) {
|
|
4
4
|
pluginManager.addAdapterType(() => new AdapterType({
|
|
5
5
|
name: 'IndexedFastaAdapter',
|
|
6
6
|
displayName: 'Indexed FASTA adapter',
|
|
@@ -10,4 +10,4 @@ export default (pluginManager) => {
|
|
|
10
10
|
},
|
|
11
11
|
getAdapterClass: () => import('./IndexedFastaAdapter').then(r => r.default),
|
|
12
12
|
}));
|
|
13
|
-
}
|
|
13
|
+
}
|
|
@@ -2,7 +2,7 @@ import { DisplayType } from '@jbrowse/core/pluggableElementTypes';
|
|
|
2
2
|
import { BaseLinearDisplayComponent } from '@jbrowse/plugin-linear-genome-view';
|
|
3
3
|
import { configSchema } from './configSchema';
|
|
4
4
|
import { modelFactory } from './model';
|
|
5
|
-
export default (pluginManager)
|
|
5
|
+
export default function LinearReferenceSequenceDisplayF(pluginManager) {
|
|
6
6
|
pluginManager.addDisplayType(() => {
|
|
7
7
|
const stateModel = modelFactory(configSchema);
|
|
8
8
|
return new DisplayType({
|
|
@@ -15,4 +15,4 @@ export default (pluginManager) => {
|
|
|
15
15
|
ReactComponent: BaseLinearDisplayComponent,
|
|
16
16
|
});
|
|
17
17
|
});
|
|
18
|
-
}
|
|
18
|
+
}
|
|
@@ -70,34 +70,32 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
|
|
|
70
70
|
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
71
71
|
maxFeatureScreenDensity: {
|
|
72
72
|
type: string;
|
|
73
|
-
description: string;
|
|
74
|
-
* #property
|
|
75
|
-
*/
|
|
73
|
+
description: string;
|
|
76
74
|
defaultValue: number;
|
|
77
75
|
};
|
|
78
76
|
fetchSizeLimit: {
|
|
79
|
-
type: string;
|
|
80
|
-
* #property
|
|
81
|
-
*/
|
|
77
|
+
type: string;
|
|
82
78
|
defaultValue: number;
|
|
83
79
|
description: string;
|
|
84
|
-
};
|
|
80
|
+
}; /**
|
|
81
|
+
* #property
|
|
82
|
+
*/
|
|
85
83
|
height: {
|
|
86
84
|
type: string;
|
|
87
|
-
defaultValue: number;
|
|
88
|
-
* #property
|
|
89
|
-
*/
|
|
85
|
+
defaultValue: number;
|
|
90
86
|
description: string;
|
|
91
87
|
};
|
|
92
88
|
mouseover: {
|
|
93
89
|
type: string;
|
|
94
90
|
description: string;
|
|
95
|
-
/**
|
|
96
|
-
* #getter
|
|
97
|
-
*/
|
|
98
91
|
defaultValue: string;
|
|
99
92
|
contextVariable: string[];
|
|
100
93
|
};
|
|
94
|
+
jexlFilters: {
|
|
95
|
+
type: string;
|
|
96
|
+
description: string;
|
|
97
|
+
defaultValue: never[];
|
|
98
|
+
};
|
|
101
99
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
102
100
|
} & {
|
|
103
101
|
type: import("mobx-state-tree").ISimpleType<"LinearReferenceSequenceDisplay">;
|
|
@@ -227,6 +225,7 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
|
|
|
227
225
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
228
226
|
deleteBlock(key: string): void;
|
|
229
227
|
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
228
|
+
navToFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
230
229
|
clearFeatureSelection(): void;
|
|
231
230
|
setFeatureIdUnderMouse(feature?: string | undefined): void;
|
|
232
231
|
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
@@ -355,34 +354,32 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
|
|
|
355
354
|
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
356
355
|
maxFeatureScreenDensity: {
|
|
357
356
|
type: string;
|
|
358
|
-
description: string;
|
|
359
|
-
* #property
|
|
360
|
-
*/
|
|
357
|
+
description: string;
|
|
361
358
|
defaultValue: number;
|
|
362
359
|
};
|
|
363
360
|
fetchSizeLimit: {
|
|
364
|
-
type: string;
|
|
365
|
-
* #property
|
|
366
|
-
*/
|
|
361
|
+
type: string;
|
|
367
362
|
defaultValue: number;
|
|
368
363
|
description: string;
|
|
369
|
-
};
|
|
364
|
+
}; /**
|
|
365
|
+
* #property
|
|
366
|
+
*/
|
|
370
367
|
height: {
|
|
371
368
|
type: string;
|
|
372
|
-
defaultValue: number;
|
|
373
|
-
* #property
|
|
374
|
-
*/
|
|
369
|
+
defaultValue: number;
|
|
375
370
|
description: string;
|
|
376
371
|
};
|
|
377
372
|
mouseover: {
|
|
378
373
|
type: string;
|
|
379
374
|
description: string;
|
|
380
|
-
/**
|
|
381
|
-
* #getter
|
|
382
|
-
*/
|
|
383
375
|
defaultValue: string;
|
|
384
376
|
contextVariable: string[];
|
|
385
377
|
};
|
|
378
|
+
jexlFilters: {
|
|
379
|
+
type: string;
|
|
380
|
+
description: string;
|
|
381
|
+
defaultValue: never[];
|
|
382
|
+
};
|
|
386
383
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
387
384
|
}>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, {
|
|
388
385
|
type: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import TrackType from '@jbrowse/core/pluggableElementTypes/TrackType';
|
|
2
2
|
import { createBaseTrackModel } from '@jbrowse/core/pluggableElementTypes/models';
|
|
3
3
|
import { createReferenceSeqTrackConfig } from './configSchema';
|
|
4
|
-
export default (pluginManager)
|
|
4
|
+
export default function ReferenceSequenceTrackF(pluginManager) {
|
|
5
5
|
pluginManager.addTrackType(() => {
|
|
6
6
|
const configSchema = createReferenceSeqTrackConfig(pluginManager);
|
|
7
7
|
return new TrackType({
|
|
@@ -11,4 +11,4 @@ export default (pluginManager) => {
|
|
|
11
11
|
stateModel: createBaseTrackModel(pluginManager, 'ReferenceSequenceTrack', configSchema),
|
|
12
12
|
});
|
|
13
13
|
});
|
|
14
|
-
}
|
|
14
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseFeatureDataAdapter, BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
2
2
|
import { Feature, Region } from '@jbrowse/core/util';
|
|
3
|
-
export default class extends BaseFeatureDataAdapter {
|
|
3
|
+
export default class SequenceSearchAdapter extends BaseFeatureDataAdapter {
|
|
4
4
|
configure(): Promise<BaseFeatureDataAdapter>;
|
|
5
5
|
getRefNames(): Promise<string[]>;
|
|
6
6
|
getFeatures(query: Region, opts: BaseOptions): import("rxjs").Observable<Feature>;
|
|
@@ -3,7 +3,7 @@ import { ObservableCreate } from '@jbrowse/core/util/rxjs';
|
|
|
3
3
|
import { SimpleFeature, revcom, doesIntersect2, } from '@jbrowse/core/util';
|
|
4
4
|
import { toArray } from 'rxjs/operators';
|
|
5
5
|
import { firstValueFrom } from 'rxjs';
|
|
6
|
-
export default class extends BaseFeatureDataAdapter {
|
|
6
|
+
export default class SequenceSearchAdapter extends BaseFeatureDataAdapter {
|
|
7
7
|
async configure() {
|
|
8
8
|
var _a;
|
|
9
9
|
const adapter = await ((_a = this.getSubAdapter) === null || _a === void 0 ? void 0 : _a.call(this, this.getConf('sequenceAdapter')));
|
|
@@ -20,10 +20,9 @@ export default class extends BaseFeatureDataAdapter {
|
|
|
20
20
|
return ObservableCreate(async (observer) => {
|
|
21
21
|
var _a;
|
|
22
22
|
const sequenceAdapter = await this.configure();
|
|
23
|
-
const hw =
|
|
24
|
-
|
|
25
|
-
queryStart = Math.max(0,
|
|
26
|
-
queryEnd += hw;
|
|
23
|
+
const hw = 10000;
|
|
24
|
+
const queryEnd = query.end + hw;
|
|
25
|
+
const queryStart = Math.max(0, query.start - hw);
|
|
27
26
|
if (queryEnd < 0 || queryStart > queryEnd) {
|
|
28
27
|
observer.complete();
|
|
29
28
|
return;
|
|
@@ -44,13 +43,14 @@ export default class extends BaseFeatureDataAdapter {
|
|
|
44
43
|
if (searchForward) {
|
|
45
44
|
const matches = residues.matchAll(re);
|
|
46
45
|
for (const match of matches) {
|
|
47
|
-
const s = queryStart +
|
|
48
|
-
|
|
46
|
+
const s = queryStart + match.index;
|
|
47
|
+
const e = queryStart + match.index + match[0].length;
|
|
48
|
+
if (doesIntersect2(s, e, query.start, query.end)) {
|
|
49
49
|
observer.next(new SimpleFeature({
|
|
50
|
-
uniqueId: `${this.id}
|
|
50
|
+
uniqueId: `${this.id}-${s}-${match[0]}-pos`,
|
|
51
51
|
refName: query.refName,
|
|
52
52
|
start: s,
|
|
53
|
-
end:
|
|
53
|
+
end: e,
|
|
54
54
|
name: match[0],
|
|
55
55
|
strand: 1,
|
|
56
56
|
}));
|
|
@@ -60,14 +60,15 @@ export default class extends BaseFeatureDataAdapter {
|
|
|
60
60
|
if (searchReverse) {
|
|
61
61
|
const matches = revcom(residues).matchAll(re);
|
|
62
62
|
for (const match of matches) {
|
|
63
|
-
const
|
|
64
|
-
|
|
63
|
+
const e = queryEnd - match.index;
|
|
64
|
+
const s = queryEnd - match.index - match[0].length;
|
|
65
|
+
if (doesIntersect2(s, e, query.start, query.end)) {
|
|
65
66
|
observer.next(new SimpleFeature({
|
|
66
|
-
uniqueId: `${this.id}
|
|
67
|
+
uniqueId: `${this.id}-${s}-${match[0]}-neg`,
|
|
67
68
|
refName: query.refName,
|
|
68
|
-
start: s
|
|
69
|
+
start: s,
|
|
70
|
+
end: e,
|
|
69
71
|
name: match[0],
|
|
70
|
-
end: s,
|
|
71
72
|
strand: -1,
|
|
72
73
|
}));
|
|
73
74
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import AdapterType from '@jbrowse/core/pluggableElementTypes/AdapterType';
|
|
2
2
|
import configSchema from './configSchema';
|
|
3
|
-
export default (pluginManager)
|
|
3
|
+
export default function SequenceSearchAdapterF(pluginManager) {
|
|
4
4
|
pluginManager.addAdapterType(() => new AdapterType({
|
|
5
5
|
name: 'SequenceSearchAdapter',
|
|
6
6
|
displayName: 'Sequence search adapter',
|
|
@@ -10,4 +10,4 @@ export default (pluginManager) => {
|
|
|
10
10
|
configSchema,
|
|
11
11
|
getAdapterClass: () => import('./SequenceSearchAdapter').then(r => r.default),
|
|
12
12
|
}));
|
|
13
|
-
}
|
|
13
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import AdapterType from '@jbrowse/core/pluggableElementTypes/AdapterType';
|
|
2
2
|
import configSchema from './configSchema';
|
|
3
|
-
export default (pluginManager)
|
|
3
|
+
export default function TwoBitAdapterF(pluginManager) {
|
|
4
4
|
pluginManager.addAdapterType(() => new AdapterType({
|
|
5
5
|
name: 'TwoBitAdapter',
|
|
6
6
|
displayName: 'TwoBit adapter',
|
|
@@ -10,4 +10,4 @@ export default (pluginManager) => {
|
|
|
10
10
|
},
|
|
11
11
|
getAdapterClass: () => import('./TwoBitAdapter').then(r => r.default),
|
|
12
12
|
}));
|
|
13
|
-
}
|
|
13
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeIndex, getFileName, } from '@jbrowse/core/util/tracks';
|
|
2
|
-
export default (pluginManager)
|
|
2
|
+
export default function ExtensionPointsF(pluginManager) {
|
|
3
3
|
pluginManager.addToExtensionPoint('Core-guessAdapterForLocation', (adapterGuesser) => {
|
|
4
4
|
return (file, index, adapterHint) => {
|
|
5
5
|
const regexGuess = /\.2bit$/i;
|
|
@@ -80,4 +80,4 @@ export default (pluginManager) => {
|
|
|
80
80
|
return trackTypeGuesser(adapterName);
|
|
81
81
|
};
|
|
82
82
|
});
|
|
83
|
-
}
|
|
83
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-sequence",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.2",
|
|
4
4
|
"description": "JBrowse 2 sequence adapters, tracks, etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -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": "511048cb6965f0bf624c96de244e7fd47fce17d6"
|
|
61
61
|
}
|