@jbrowse/plugin-gff3 3.0.4 → 3.1.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.
|
@@ -5,7 +5,23 @@ function x() { }
|
|
|
5
5
|
const Gff3Adapter = (0, configuration_1.ConfigurationSchema)('Gff3Adapter', {
|
|
6
6
|
gffLocation: {
|
|
7
7
|
type: 'fileLocation',
|
|
8
|
-
defaultValue: {
|
|
8
|
+
defaultValue: {
|
|
9
|
+
uri: '/path/to/my.gff',
|
|
10
|
+
locationType: 'UriLocation',
|
|
11
|
+
},
|
|
9
12
|
},
|
|
10
|
-
}, {
|
|
13
|
+
}, {
|
|
14
|
+
explicitlyTyped: true,
|
|
15
|
+
preProcessSnapshot: snap => {
|
|
16
|
+
return snap.uri
|
|
17
|
+
? {
|
|
18
|
+
...snap,
|
|
19
|
+
gffLocation: {
|
|
20
|
+
uri: snap.uri,
|
|
21
|
+
baseUri: snap.baseUri,
|
|
22
|
+
},
|
|
23
|
+
}
|
|
24
|
+
: snap;
|
|
25
|
+
},
|
|
26
|
+
});
|
|
11
27
|
exports.default = Gff3Adapter;
|
|
@@ -6,7 +6,10 @@ function x() { }
|
|
|
6
6
|
const Gff3TabixAdapter = (0, configuration_1.ConfigurationSchema)('Gff3TabixAdapter', {
|
|
7
7
|
gffGzLocation: {
|
|
8
8
|
type: 'fileLocation',
|
|
9
|
-
defaultValue: {
|
|
9
|
+
defaultValue: {
|
|
10
|
+
uri: '/path/to/my.gff.gz',
|
|
11
|
+
locationType: 'UriLocation',
|
|
12
|
+
},
|
|
10
13
|
},
|
|
11
14
|
index: (0, configuration_1.ConfigurationSchema)('Gff3TabixIndex', {
|
|
12
15
|
indexType: {
|
|
@@ -26,5 +29,24 @@ const Gff3TabixAdapter = (0, configuration_1.ConfigurationSchema)('Gff3TabixAdap
|
|
|
26
29
|
type: 'stringArray',
|
|
27
30
|
defaultValue: ['chromosome', 'region', 'contig'],
|
|
28
31
|
},
|
|
29
|
-
}, {
|
|
32
|
+
}, {
|
|
33
|
+
explicitlyTyped: true,
|
|
34
|
+
preProcessSnapshot: snap => {
|
|
35
|
+
return snap.uri
|
|
36
|
+
? {
|
|
37
|
+
...snap,
|
|
38
|
+
gffGzLocation: {
|
|
39
|
+
uri: snap.uri,
|
|
40
|
+
baseUri: snap.baseUri,
|
|
41
|
+
},
|
|
42
|
+
index: {
|
|
43
|
+
location: {
|
|
44
|
+
uri: snap.uri,
|
|
45
|
+
baseUri: snap.baseUri,
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
}
|
|
49
|
+
: snap;
|
|
50
|
+
},
|
|
51
|
+
});
|
|
30
52
|
exports.default = Gff3TabixAdapter;
|
|
@@ -3,7 +3,23 @@ function x() { }
|
|
|
3
3
|
const Gff3Adapter = ConfigurationSchema('Gff3Adapter', {
|
|
4
4
|
gffLocation: {
|
|
5
5
|
type: 'fileLocation',
|
|
6
|
-
defaultValue: {
|
|
6
|
+
defaultValue: {
|
|
7
|
+
uri: '/path/to/my.gff',
|
|
8
|
+
locationType: 'UriLocation',
|
|
9
|
+
},
|
|
7
10
|
},
|
|
8
|
-
}, {
|
|
11
|
+
}, {
|
|
12
|
+
explicitlyTyped: true,
|
|
13
|
+
preProcessSnapshot: snap => {
|
|
14
|
+
return snap.uri
|
|
15
|
+
? {
|
|
16
|
+
...snap,
|
|
17
|
+
gffLocation: {
|
|
18
|
+
uri: snap.uri,
|
|
19
|
+
baseUri: snap.baseUri,
|
|
20
|
+
},
|
|
21
|
+
}
|
|
22
|
+
: snap;
|
|
23
|
+
},
|
|
24
|
+
});
|
|
9
25
|
export default Gff3Adapter;
|
|
@@ -4,7 +4,10 @@ function x() { }
|
|
|
4
4
|
const Gff3TabixAdapter = ConfigurationSchema('Gff3TabixAdapter', {
|
|
5
5
|
gffGzLocation: {
|
|
6
6
|
type: 'fileLocation',
|
|
7
|
-
defaultValue: {
|
|
7
|
+
defaultValue: {
|
|
8
|
+
uri: '/path/to/my.gff.gz',
|
|
9
|
+
locationType: 'UriLocation',
|
|
10
|
+
},
|
|
8
11
|
},
|
|
9
12
|
index: ConfigurationSchema('Gff3TabixIndex', {
|
|
10
13
|
indexType: {
|
|
@@ -24,5 +27,24 @@ const Gff3TabixAdapter = ConfigurationSchema('Gff3TabixAdapter', {
|
|
|
24
27
|
type: 'stringArray',
|
|
25
28
|
defaultValue: ['chromosome', 'region', 'contig'],
|
|
26
29
|
},
|
|
27
|
-
}, {
|
|
30
|
+
}, {
|
|
31
|
+
explicitlyTyped: true,
|
|
32
|
+
preProcessSnapshot: snap => {
|
|
33
|
+
return snap.uri
|
|
34
|
+
? {
|
|
35
|
+
...snap,
|
|
36
|
+
gffGzLocation: {
|
|
37
|
+
uri: snap.uri,
|
|
38
|
+
baseUri: snap.baseUri,
|
|
39
|
+
},
|
|
40
|
+
index: {
|
|
41
|
+
location: {
|
|
42
|
+
uri: snap.uri,
|
|
43
|
+
baseUri: snap.baseUri,
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
}
|
|
47
|
+
: snap;
|
|
48
|
+
},
|
|
49
|
+
});
|
|
28
50
|
export default Gff3TabixAdapter;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-gff3",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "JBrowse 2 gff3.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"@flatten-js/interval-tree": "^1.0.15",
|
|
40
40
|
"@gmod/bgzf-filehandle": "^2.0.1",
|
|
41
41
|
"@gmod/tabix": "^2.0.0",
|
|
42
|
-
"@jbrowse/core": "^3.0
|
|
43
|
-
"@jbrowse/plugin-linear-genome-view": "^3.0
|
|
42
|
+
"@jbrowse/core": "^3.1.0",
|
|
43
|
+
"@jbrowse/plugin-linear-genome-view": "^3.1.0",
|
|
44
44
|
"@mui/material": "^6.0.0",
|
|
45
45
|
"gff-nostream": "^1.3.3",
|
|
46
46
|
"mobx": "^6.0.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"distModule": "esm/index.js",
|
|
54
54
|
"srcModule": "src/index.ts",
|
|
55
55
|
"module": "esm/index.js",
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "91492049ddea0aed90eb24d3c066c2d9f5a6b189"
|
|
57
57
|
}
|