@jbrowse/plugin-config 2.2.0 → 2.2.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/FromConfigAdapter/FromConfigSequenceAdapter.d.ts +1 -1
- package/dist/FromConfigAdapter/FromConfigSequenceAdapter.js +1 -1
- package/dist/FromConfigAdapter/fromConfig.js +0 -7
- package/dist/FromConfigAdapter/fromConfig.js.map +1 -1
- package/dist/FromConfigAdapter/fromConfigRegions.js +0 -7
- package/dist/FromConfigAdapter/fromConfigRegions.js.map +1 -1
- package/dist/FromConfigAdapter/fromConfigSequence.js +0 -7
- package/dist/FromConfigAdapter/fromConfigSequence.js.map +1 -1
- package/dist/FromConfigAdapter/index.d.ts +1 -1
- package/dist/FromConfigAdapter/index.js +2 -2
- package/dist/FromConfigAdapter/index.js.map +1 -1
- package/dist/RefNameAliasAdapter/configSchema.js +4 -0
- package/dist/RefNameAliasAdapter/configSchema.js.map +1 -1
- package/esm/FromConfigAdapter/FromConfigSequenceAdapter.d.ts +1 -1
- package/esm/FromConfigAdapter/FromConfigSequenceAdapter.js +1 -1
- package/esm/FromConfigAdapter/fromConfig.js +0 -7
- package/esm/FromConfigAdapter/fromConfig.js.map +1 -1
- package/esm/FromConfigAdapter/fromConfigRegions.js +0 -7
- package/esm/FromConfigAdapter/fromConfigRegions.js.map +1 -1
- package/esm/FromConfigAdapter/fromConfigSequence.js +0 -7
- package/esm/FromConfigAdapter/fromConfigSequence.js.map +1 -1
- package/esm/FromConfigAdapter/index.d.ts +1 -1
- package/esm/FromConfigAdapter/index.js +1 -1
- package/esm/FromConfigAdapter/index.js.map +1 -1
- package/esm/RefNameAliasAdapter/configSchema.js +4 -0
- package/esm/RefNameAliasAdapter/configSchema.js.map +1 -1
- package/package.json +3 -3
- package/src/ConfigurationEditorWidget/components/__snapshots__/ConfigurationEditor.test.tsx.snap +1 -1
- package/src/FromConfigAdapter/FromConfigAdapter.test.ts +1 -1
- package/src/FromConfigAdapter/FromConfigSequenceAdapter.ts +1 -1
- package/src/FromConfigAdapter/fromConfig.ts +0 -7
- package/src/FromConfigAdapter/fromConfigRegions.ts +0 -7
- package/src/FromConfigAdapter/fromConfigSequence.ts +0 -7
- package/src/FromConfigAdapter/index.ts +1 -1
- package/src/RefNameAliasAdapter/configSchema.ts +4 -0
- package/src/__snapshots__/index.test.js.snap +2 -2
- package/dist/FromConfigAdapter/configSchema.d.ts +0 -1
- package/dist/FromConfigAdapter/configSchema.js +0 -25
- package/dist/FromConfigAdapter/configSchema.js.map +0 -1
- package/esm/FromConfigAdapter/configSchema.d.ts +0 -1
- package/esm/FromConfigAdapter/configSchema.js +0 -22
- package/esm/FromConfigAdapter/configSchema.js.map +0 -1
- package/src/FromConfigAdapter/configSchema.ts +0 -27
|
@@ -19,7 +19,7 @@ export default class FromConfigSequenceAdapter extends FromConfigAdapter impleme
|
|
|
19
19
|
}[]>;
|
|
20
20
|
/**
|
|
21
21
|
* called to provide a hint that data tied to a certain region
|
|
22
|
-
* will not be needed for the
|
|
22
|
+
* will not be needed for the foreseeable future and can be purged
|
|
23
23
|
* from caches, etc
|
|
24
24
|
*/
|
|
25
25
|
freeResources(): void;
|
|
@@ -62,7 +62,7 @@ class FromConfigSequenceAdapter extends FromConfigAdapter_1.default {
|
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* called to provide a hint that data tied to a certain region
|
|
65
|
-
* will not be needed for the
|
|
65
|
+
* will not be needed for the foreseeable future and can be purged
|
|
66
66
|
* from caches, etc
|
|
67
67
|
*/
|
|
68
68
|
freeResources( /* { region } */) { }
|
|
@@ -13,13 +13,6 @@ const configSchema = (0, configuration_1.ConfigurationSchema)('FromConfigAdapter
|
|
|
13
13
|
type: 'frozen',
|
|
14
14
|
defaultValue: [],
|
|
15
15
|
},
|
|
16
|
-
/**
|
|
17
|
-
* #slot
|
|
18
|
-
*/
|
|
19
|
-
featureClass: {
|
|
20
|
-
type: 'string',
|
|
21
|
-
defaultValue: 'SimpleFeature',
|
|
22
|
-
},
|
|
23
16
|
}, { explicitlyTyped: true, implicitIdentifier: 'adapterId' });
|
|
24
17
|
exports.default = configSchema;
|
|
25
18
|
//# sourceMappingURL=fromConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fromConfig.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/fromConfig.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AAEjE;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,YAAY,GAAG,IAAA,mCAAmB,EACtC,mBAAmB,EACnB;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,EAAE;KACjB;
|
|
1
|
+
{"version":3,"file":"fromConfig.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/fromConfig.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AAEjE;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,YAAY,GAAG,IAAA,mCAAmB,EACtC,mBAAmB,EACnB;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,EAAE;KACjB;CACF,EACD,EAAE,eAAe,EAAE,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAC3D,CAAA;AAED,kBAAe,YAAY,CAAA"}
|
|
@@ -14,13 +14,6 @@ const regionsConfigSchema = (0, configuration_1.ConfigurationSchema)('FromConfig
|
|
|
14
14
|
type: 'frozen',
|
|
15
15
|
defaultValue: [],
|
|
16
16
|
},
|
|
17
|
-
/**
|
|
18
|
-
* #slot
|
|
19
|
-
*/
|
|
20
|
-
featureClass: {
|
|
21
|
-
type: 'string',
|
|
22
|
-
defaultValue: 'SimpleFeature',
|
|
23
|
-
},
|
|
24
17
|
}, {
|
|
25
18
|
explicitlyTyped: true,
|
|
26
19
|
implicitIdentifier: 'adapterId',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fromConfigRegions.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/fromConfigRegions.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AACjE;;;GAGG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,mBAAmB,GAAG,IAAA,mCAAmB,EAC7C,0BAA0B,EAC1B;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,EAAE;KACjB;
|
|
1
|
+
{"version":3,"file":"fromConfigRegions.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/fromConfigRegions.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AACjE;;;GAGG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,mBAAmB,GAAG,IAAA,mCAAmB,EAC7C,0BAA0B,EAC1B;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,EAAE;KACjB;CACF,EACD;IACE,eAAe,EAAE,IAAI;IACrB,kBAAkB,EAAE,WAAW;CAChC,CACF,CAAA;AACD,kBAAe,mBAAmB,CAAA"}
|
|
@@ -13,13 +13,6 @@ const sequenceConfigSchema = (0, configuration_1.ConfigurationSchema)('FromConfi
|
|
|
13
13
|
type: 'frozen',
|
|
14
14
|
defaultValue: [],
|
|
15
15
|
},
|
|
16
|
-
/**
|
|
17
|
-
* #slot
|
|
18
|
-
*/
|
|
19
|
-
featureClass: {
|
|
20
|
-
type: 'string',
|
|
21
|
-
defaultValue: 'SimpleFeature',
|
|
22
|
-
},
|
|
23
16
|
}, { explicitlyTyped: true, implicitIdentifier: 'adapterId' });
|
|
24
17
|
exports.default = sequenceConfigSchema;
|
|
25
18
|
//# sourceMappingURL=fromConfigSequence.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fromConfigSequence.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/fromConfigSequence.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AACjE;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,oBAAoB,GAAG,IAAA,mCAAmB,EAC9C,2BAA2B,EAC3B;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,EAAE;KACjB;
|
|
1
|
+
{"version":3,"file":"fromConfigSequence.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/fromConfigSequence.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AACjE;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,oBAAoB,GAAG,IAAA,mCAAmB,EAC9C,2BAA2B,EAC3B;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,EAAE;KACjB;CACF,EACD,EAAE,eAAe,EAAE,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAC3D,CAAA;AAED,kBAAe,oBAAoB,CAAA"}
|
|
@@ -2,5 +2,5 @@ export { default as AdapterClass } from './FromConfigAdapter';
|
|
|
2
2
|
export { default as RegionsAdapterClass } from './FromConfigRegionsAdapter';
|
|
3
3
|
export { default as SequenceAdapterClass } from './FromConfigSequenceAdapter';
|
|
4
4
|
export { default as configSchema } from './fromConfig';
|
|
5
|
-
export { default as regionsConfigSchema } from './
|
|
5
|
+
export { default as regionsConfigSchema } from './fromConfigRegions';
|
|
6
6
|
export { default as sequenceConfigSchema } from './fromConfigSequence';
|
|
@@ -12,8 +12,8 @@ var FromConfigSequenceAdapter_1 = require("./FromConfigSequenceAdapter");
|
|
|
12
12
|
Object.defineProperty(exports, "SequenceAdapterClass", { enumerable: true, get: function () { return __importDefault(FromConfigSequenceAdapter_1).default; } });
|
|
13
13
|
var fromConfig_1 = require("./fromConfig");
|
|
14
14
|
Object.defineProperty(exports, "configSchema", { enumerable: true, get: function () { return __importDefault(fromConfig_1).default; } });
|
|
15
|
-
var
|
|
16
|
-
Object.defineProperty(exports, "regionsConfigSchema", { enumerable: true, get: function () { return __importDefault(
|
|
15
|
+
var fromConfigRegions_1 = require("./fromConfigRegions");
|
|
16
|
+
Object.defineProperty(exports, "regionsConfigSchema", { enumerable: true, get: function () { return __importDefault(fromConfigRegions_1).default; } });
|
|
17
17
|
var fromConfigSequence_1 = require("./fromConfigSequence");
|
|
18
18
|
Object.defineProperty(exports, "sequenceConfigSchema", { enumerable: true, get: function () { return __importDefault(fromConfigSequence_1).default; } });
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/index.ts"],"names":[],"mappings":";;;;;;AAAA,yDAA6D;AAApD,kIAAA,OAAO,OAAgB;AAChC,uEAA2E;AAAlE,gJAAA,OAAO,OAAuB;AACvC,yEAA6E;AAApE,kJAAA,OAAO,OAAwB;AACxC,2CAAsD;AAA7C,2HAAA,OAAO,OAAgB;AAChC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/index.ts"],"names":[],"mappings":";;;;;;AAAA,yDAA6D;AAApD,kIAAA,OAAO,OAAgB;AAChC,uEAA2E;AAAlE,gJAAA,OAAO,OAAuB;AACvC,yEAA6E;AAApE,kJAAA,OAAO,OAAwB;AACxC,2CAAsD;AAA7C,2HAAA,OAAO,OAAgB;AAChC,yDAAoE;AAA3D,yIAAA,OAAO,OAAuB;AACvC,2DAAsE;AAA7D,2IAAA,OAAO,OAAwB"}
|
|
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
4
4
|
/**
|
|
5
5
|
* #config RefNameAliasAdapter
|
|
6
|
+
* can read "chromAliases" type files from UCSC or any tab separated file of
|
|
7
|
+
* refName aliases
|
|
6
8
|
*/
|
|
7
9
|
function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
8
10
|
const RefNameAliasAdapter = (0, configuration_1.ConfigurationSchema)('RefNameAliasAdapter', {
|
|
@@ -18,6 +20,8 @@ const RefNameAliasAdapter = (0, configuration_1.ConfigurationSchema)('RefNameAli
|
|
|
18
20
|
},
|
|
19
21
|
/**
|
|
20
22
|
* #slot
|
|
23
|
+
* by default, the "ref names that match the fasta" are assumed to be in the
|
|
24
|
+
* first column (0), change this variable if needed
|
|
21
25
|
*/
|
|
22
26
|
refNameColumn: {
|
|
23
27
|
type: 'number',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/RefNameAliasAdapter/configSchema.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AAEjE
|
|
1
|
+
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/RefNameAliasAdapter/configSchema.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AAEjE;;;;GAIG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,mBAAmB,GAAG,IAAA,mCAAmB,EAC7C,qBAAqB,EACrB;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,cAAc;QACpB,YAAY,EAAE;YACZ,GAAG,EAAE,yBAAyB;YAC9B,YAAY,EAAE,aAAa;SAC5B;KACF;IACD;;;;OAIG;IACH,aAAa,EAAE;QACb,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,CAAC;KAChB;CACF,EACD,EAAE,eAAe,EAAE,IAAI,EAAE,CAC1B,CAAA;AAED,kBAAe,mBAAmB,CAAA"}
|
|
@@ -19,7 +19,7 @@ export default class FromConfigSequenceAdapter extends FromConfigAdapter impleme
|
|
|
19
19
|
}[]>;
|
|
20
20
|
/**
|
|
21
21
|
* called to provide a hint that data tied to a certain region
|
|
22
|
-
* will not be needed for the
|
|
22
|
+
* will not be needed for the foreseeable future and can be purged
|
|
23
23
|
* from caches, etc
|
|
24
24
|
*/
|
|
25
25
|
freeResources(): void;
|
|
@@ -57,7 +57,7 @@ export default class FromConfigSequenceAdapter extends FromConfigAdapter {
|
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* called to provide a hint that data tied to a certain region
|
|
60
|
-
* will not be needed for the
|
|
60
|
+
* will not be needed for the foreseeable future and can be purged
|
|
61
61
|
* from caches, etc
|
|
62
62
|
*/
|
|
63
63
|
freeResources( /* { region } */) { }
|
|
@@ -11,13 +11,6 @@ const configSchema = ConfigurationSchema('FromConfigAdapter', {
|
|
|
11
11
|
type: 'frozen',
|
|
12
12
|
defaultValue: [],
|
|
13
13
|
},
|
|
14
|
-
/**
|
|
15
|
-
* #slot
|
|
16
|
-
*/
|
|
17
|
-
featureClass: {
|
|
18
|
-
type: 'string',
|
|
19
|
-
defaultValue: 'SimpleFeature',
|
|
20
|
-
},
|
|
21
14
|
}, { explicitlyTyped: true, implicitIdentifier: 'adapterId' });
|
|
22
15
|
export default configSchema;
|
|
23
16
|
//# sourceMappingURL=fromConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fromConfig.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/fromConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAEjE;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,YAAY,GAAG,mBAAmB,CACtC,mBAAmB,EACnB;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,EAAE;KACjB;
|
|
1
|
+
{"version":3,"file":"fromConfig.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/fromConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAEjE;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,YAAY,GAAG,mBAAmB,CACtC,mBAAmB,EACnB;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,EAAE;KACjB;CACF,EACD,EAAE,eAAe,EAAE,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAC3D,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -12,13 +12,6 @@ const regionsConfigSchema = ConfigurationSchema('FromConfigRegionsAdapter', {
|
|
|
12
12
|
type: 'frozen',
|
|
13
13
|
defaultValue: [],
|
|
14
14
|
},
|
|
15
|
-
/**
|
|
16
|
-
* #slot
|
|
17
|
-
*/
|
|
18
|
-
featureClass: {
|
|
19
|
-
type: 'string',
|
|
20
|
-
defaultValue: 'SimpleFeature',
|
|
21
|
-
},
|
|
22
15
|
}, {
|
|
23
16
|
explicitlyTyped: true,
|
|
24
17
|
implicitIdentifier: 'adapterId',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fromConfigRegions.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/fromConfigRegions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACjE;;;GAGG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,mBAAmB,GAAG,mBAAmB,CAC7C,0BAA0B,EAC1B;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,EAAE;KACjB;
|
|
1
|
+
{"version":3,"file":"fromConfigRegions.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/fromConfigRegions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACjE;;;GAGG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,mBAAmB,GAAG,mBAAmB,CAC7C,0BAA0B,EAC1B;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,EAAE;KACjB;CACF,EACD;IACE,eAAe,EAAE,IAAI;IACrB,kBAAkB,EAAE,WAAW;CAChC,CACF,CAAA;AACD,eAAe,mBAAmB,CAAA"}
|
|
@@ -11,13 +11,6 @@ const sequenceConfigSchema = ConfigurationSchema('FromConfigSequenceAdapter', {
|
|
|
11
11
|
type: 'frozen',
|
|
12
12
|
defaultValue: [],
|
|
13
13
|
},
|
|
14
|
-
/**
|
|
15
|
-
* #slot
|
|
16
|
-
*/
|
|
17
|
-
featureClass: {
|
|
18
|
-
type: 'string',
|
|
19
|
-
defaultValue: 'SimpleFeature',
|
|
20
|
-
},
|
|
21
14
|
}, { explicitlyTyped: true, implicitIdentifier: 'adapterId' });
|
|
22
15
|
export default sequenceConfigSchema;
|
|
23
16
|
//# sourceMappingURL=fromConfigSequence.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fromConfigSequence.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/fromConfigSequence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACjE;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,oBAAoB,GAAG,mBAAmB,CAC9C,2BAA2B,EAC3B;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,EAAE;KACjB;
|
|
1
|
+
{"version":3,"file":"fromConfigSequence.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/fromConfigSequence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACjE;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,oBAAoB,GAAG,mBAAmB,CAC9C,2BAA2B,EAC3B;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,EAAE;KACjB;CACF,EACD,EAAE,eAAe,EAAE,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAC3D,CAAA;AAED,eAAe,oBAAoB,CAAA"}
|
|
@@ -2,5 +2,5 @@ export { default as AdapterClass } from './FromConfigAdapter';
|
|
|
2
2
|
export { default as RegionsAdapterClass } from './FromConfigRegionsAdapter';
|
|
3
3
|
export { default as SequenceAdapterClass } from './FromConfigSequenceAdapter';
|
|
4
4
|
export { default as configSchema } from './fromConfig';
|
|
5
|
-
export { default as regionsConfigSchema } from './
|
|
5
|
+
export { default as regionsConfigSchema } from './fromConfigRegions';
|
|
6
6
|
export { default as sequenceConfigSchema } from './fromConfigSequence';
|
|
@@ -2,6 +2,6 @@ export { default as AdapterClass } from './FromConfigAdapter';
|
|
|
2
2
|
export { default as RegionsAdapterClass } from './FromConfigRegionsAdapter';
|
|
3
3
|
export { default as SequenceAdapterClass } from './FromConfigSequenceAdapter';
|
|
4
4
|
export { default as configSchema } from './fromConfig';
|
|
5
|
-
export { default as regionsConfigSchema } from './
|
|
5
|
+
export { default as regionsConfigSchema } from './fromConfigRegions';
|
|
6
6
|
export { default as sequenceConfigSchema } from './fromConfigSequence';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAC7D,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAC3E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,6BAA6B,CAAA;AAC7E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,cAAc,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAC7D,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAC3E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,6BAA6B,CAAA;AAC7E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,cAAc,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ConfigurationSchema } from '@jbrowse/core/configuration';
|
|
2
2
|
/**
|
|
3
3
|
* #config RefNameAliasAdapter
|
|
4
|
+
* can read "chromAliases" type files from UCSC or any tab separated file of
|
|
5
|
+
* refName aliases
|
|
4
6
|
*/
|
|
5
7
|
function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
6
8
|
const RefNameAliasAdapter = ConfigurationSchema('RefNameAliasAdapter', {
|
|
@@ -16,6 +18,8 @@ const RefNameAliasAdapter = ConfigurationSchema('RefNameAliasAdapter', {
|
|
|
16
18
|
},
|
|
17
19
|
/**
|
|
18
20
|
* #slot
|
|
21
|
+
* by default, the "ref names that match the fasta" are assumed to be in the
|
|
22
|
+
* first column (0), change this variable if needed
|
|
19
23
|
*/
|
|
20
24
|
refNameColumn: {
|
|
21
25
|
type: 'number',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/RefNameAliasAdapter/configSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAEjE
|
|
1
|
+
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/RefNameAliasAdapter/configSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAEjE;;;;GAIG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,mBAAmB,GAAG,mBAAmB,CAC7C,qBAAqB,EACrB;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,cAAc;QACpB,YAAY,EAAE;YACZ,GAAG,EAAE,yBAAyB;YAC9B,YAAY,EAAE,aAAa;SAC5B;KACF;IACD;;;;OAIG;IACH,aAAa,EAAE;QACb,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,CAAC;KAChB;CACF,EACD,EAAE,eAAe,EAAE,IAAI,EAAE,CAC1B,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-config",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"description": "JBrowse 2 config utilities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"build": "npm-run-all build:*",
|
|
28
28
|
"test": "cd ../..; jest plugins/config",
|
|
29
29
|
"prepublishOnly": "yarn test",
|
|
30
|
-
"prepack": "yarn build
|
|
30
|
+
"prepack": "yarn build && yarn useDist",
|
|
31
31
|
"postpack": "yarn useSrc",
|
|
32
32
|
"useDist": "node ../../scripts/useDist.js",
|
|
33
33
|
"useSrc": "node ../../scripts/useSrc.js",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"distModule": "esm/index.js",
|
|
59
59
|
"srcModule": "src/index.ts",
|
|
60
60
|
"module": "esm/index.js",
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "abbc00e8feedbc58de84a7a3e735ec0224909b29"
|
|
62
62
|
}
|
package/src/ConfigurationEditorWidget/components/__snapshots__/ConfigurationEditor.test.tsx.snap
CHANGED
|
@@ -1405,7 +1405,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1405
1405
|
id="mui-18-helper-text"
|
|
1406
1406
|
>
|
|
1407
1407
|
<div>
|
|
1408
|
-
read sequencer
|
|
1408
|
+
read sequencer orientation. fr is normal "reads pointing at each other ---> <--- while some other sequencers can use other options
|
|
1409
1409
|
</div>
|
|
1410
1410
|
</div>
|
|
1411
1411
|
</div>
|
|
@@ -74,7 +74,7 @@ export default class FromConfigSequenceAdapter
|
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* called to provide a hint that data tied to a certain region
|
|
77
|
-
* will not be needed for the
|
|
77
|
+
* will not be needed for the foreseeable future and can be purged
|
|
78
78
|
* from caches, etc
|
|
79
79
|
*/
|
|
80
80
|
freeResources(/* { region } */): void {}
|
|
@@ -15,13 +15,6 @@ const configSchema = ConfigurationSchema(
|
|
|
15
15
|
type: 'frozen',
|
|
16
16
|
defaultValue: [],
|
|
17
17
|
},
|
|
18
|
-
/**
|
|
19
|
-
* #slot
|
|
20
|
-
*/
|
|
21
|
-
featureClass: {
|
|
22
|
-
type: 'string',
|
|
23
|
-
defaultValue: 'SimpleFeature',
|
|
24
|
-
},
|
|
25
18
|
},
|
|
26
19
|
{ explicitlyTyped: true, implicitIdentifier: 'adapterId' },
|
|
27
20
|
)
|
|
@@ -14,13 +14,6 @@ const sequenceConfigSchema = ConfigurationSchema(
|
|
|
14
14
|
type: 'frozen',
|
|
15
15
|
defaultValue: [],
|
|
16
16
|
},
|
|
17
|
-
/**
|
|
18
|
-
* #slot
|
|
19
|
-
*/
|
|
20
|
-
featureClass: {
|
|
21
|
-
type: 'string',
|
|
22
|
-
defaultValue: 'SimpleFeature',
|
|
23
|
-
},
|
|
24
17
|
},
|
|
25
18
|
{ explicitlyTyped: true, implicitIdentifier: 'adapterId' },
|
|
26
19
|
)
|
|
@@ -2,5 +2,5 @@ export { default as AdapterClass } from './FromConfigAdapter'
|
|
|
2
2
|
export { default as RegionsAdapterClass } from './FromConfigRegionsAdapter'
|
|
3
3
|
export { default as SequenceAdapterClass } from './FromConfigSequenceAdapter'
|
|
4
4
|
export { default as configSchema } from './fromConfig'
|
|
5
|
-
export { default as regionsConfigSchema } from './
|
|
5
|
+
export { default as regionsConfigSchema } from './fromConfigRegions'
|
|
6
6
|
export { default as sequenceConfigSchema } from './fromConfigSequence'
|
|
@@ -2,6 +2,8 @@ import { ConfigurationSchema } from '@jbrowse/core/configuration'
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* #config RefNameAliasAdapter
|
|
5
|
+
* can read "chromAliases" type files from UCSC or any tab separated file of
|
|
6
|
+
* refName aliases
|
|
5
7
|
*/
|
|
6
8
|
function x() {} // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
7
9
|
|
|
@@ -20,6 +22,8 @@ const RefNameAliasAdapter = ConfigurationSchema(
|
|
|
20
22
|
},
|
|
21
23
|
/**
|
|
22
24
|
* #slot
|
|
25
|
+
* by default, the "ref names that match the fasta" are assumed to be in the
|
|
26
|
+
* first column (0), change this variable if needed
|
|
23
27
|
*/
|
|
24
28
|
refNameColumn: {
|
|
25
29
|
type: 'number',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`Config editing adds config editor widget 1`] = `
|
|
3
|
+
exports[`Config editing adds config editor widget 1`] = `{}`;
|
|
4
4
|
|
|
5
5
|
exports[`Config editing creates proper FromConfigAdapter 1`] = `
|
|
6
|
-
|
|
6
|
+
{
|
|
7
7
|
"adapterId": "testFromConfigAdapterId",
|
|
8
8
|
"type": "FromConfigAdapter",
|
|
9
9
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.configSchema = void 0;
|
|
4
|
-
const configuration_1 = require("@jbrowse/core/configuration");
|
|
5
|
-
/**
|
|
6
|
-
* #config FromConfigAdapter
|
|
7
|
-
*/
|
|
8
|
-
function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
9
|
-
exports.configSchema = (0, configuration_1.ConfigurationSchema)('FromConfigAdapter', {
|
|
10
|
-
/**
|
|
11
|
-
* #slot
|
|
12
|
-
*/
|
|
13
|
-
features: {
|
|
14
|
-
type: 'frozen',
|
|
15
|
-
defaultValue: [],
|
|
16
|
-
},
|
|
17
|
-
/**
|
|
18
|
-
* #slot
|
|
19
|
-
*/
|
|
20
|
-
featureClass: {
|
|
21
|
-
type: 'string',
|
|
22
|
-
defaultValue: 'SimpleFeature',
|
|
23
|
-
},
|
|
24
|
-
}, { explicitlyTyped: true, implicitIdentifier: 'adapterId' });
|
|
25
|
-
//# sourceMappingURL=configSchema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/configSchema.ts"],"names":[],"mappings":";;;AAAA,+DAAiE;AAEjE;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAE3D,QAAA,YAAY,GAAG,IAAA,mCAAmB,EAC7C,mBAAmB,EACnB;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,EAAE;KACjB;IACD;;OAEG;IACH,YAAY,EAAE;QACZ,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,eAAe;KAC9B;CACF,EACD,EAAE,eAAe,EAAE,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAC3D,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ConfigurationSchema } from '@jbrowse/core/configuration';
|
|
2
|
-
/**
|
|
3
|
-
* #config FromConfigAdapter
|
|
4
|
-
*/
|
|
5
|
-
function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
6
|
-
export const configSchema = ConfigurationSchema('FromConfigAdapter', {
|
|
7
|
-
/**
|
|
8
|
-
* #slot
|
|
9
|
-
*/
|
|
10
|
-
features: {
|
|
11
|
-
type: 'frozen',
|
|
12
|
-
defaultValue: [],
|
|
13
|
-
},
|
|
14
|
-
/**
|
|
15
|
-
* #slot
|
|
16
|
-
*/
|
|
17
|
-
featureClass: {
|
|
18
|
-
type: 'string',
|
|
19
|
-
defaultValue: 'SimpleFeature',
|
|
20
|
-
},
|
|
21
|
-
}, { explicitlyTyped: true, implicitIdentifier: 'adapterId' });
|
|
22
|
-
//# sourceMappingURL=configSchema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/FromConfigAdapter/configSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAEjE;;GAEG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,CAAC,MAAM,YAAY,GAAG,mBAAmB,CAC7C,mBAAmB,EACnB;IACE;;OAEG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,EAAE;KACjB;IACD;;OAEG;IACH,YAAY,EAAE;QACZ,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,eAAe;KAC9B;CACF,EACD,EAAE,eAAe,EAAE,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAC3D,CAAA"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ConfigurationSchema } from '@jbrowse/core/configuration'
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* #config FromConfigAdapter
|
|
5
|
-
*/
|
|
6
|
-
function x() {} // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
7
|
-
|
|
8
|
-
export const configSchema = ConfigurationSchema(
|
|
9
|
-
'FromConfigAdapter',
|
|
10
|
-
{
|
|
11
|
-
/**
|
|
12
|
-
* #slot
|
|
13
|
-
*/
|
|
14
|
-
features: {
|
|
15
|
-
type: 'frozen',
|
|
16
|
-
defaultValue: [],
|
|
17
|
-
},
|
|
18
|
-
/**
|
|
19
|
-
* #slot
|
|
20
|
-
*/
|
|
21
|
-
featureClass: {
|
|
22
|
-
type: 'string',
|
|
23
|
-
defaultValue: 'SimpleFeature',
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
{ explicitlyTyped: true, implicitIdentifier: 'adapterId' },
|
|
27
|
-
)
|