@jbrowse/plugin-bed 2.1.7 → 2.2.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/configSchema.d.ts +2 -2
- package/dist/BedAdapter/configSchema.js +27 -1
- package/dist/BedAdapter/configSchema.js.map +1 -1
- package/dist/BedTabixAdapter/configSchema.d.ts +2 -2
- package/dist/BedTabixAdapter/configSchema.js +24 -1
- package/dist/BedTabixAdapter/configSchema.js.map +1 -1
- package/dist/BigBedAdapter/configSchema.d.ts +2 -2
- package/dist/BigBedAdapter/configSchema.js +9 -1
- package/dist/BigBedAdapter/configSchema.js.map +1 -1
- package/esm/BedAdapter/configSchema.d.ts +2 -2
- package/esm/BedAdapter/configSchema.js +27 -1
- package/esm/BedAdapter/configSchema.js.map +1 -1
- package/esm/BedTabixAdapter/configSchema.d.ts +2 -2
- package/esm/BedTabixAdapter/configSchema.js +24 -1
- package/esm/BedTabixAdapter/configSchema.js.map +1 -1
- package/esm/BigBedAdapter/configSchema.d.ts +2 -2
- package/esm/BigBedAdapter/configSchema.js +9 -1
- package/esm/BigBedAdapter/configSchema.js.map +1 -1
- package/package.json +2 -2
- package/src/BedAdapter/__snapshots__/BedAdapter.test.ts.snap +58 -58
- package/src/BedAdapter/configSchema.ts +28 -4
- package/src/BedTabixAdapter/__snapshots__/BedTabixAdapter.test.ts.snap +58 -58
- package/src/BedTabixAdapter/configSchema.ts +26 -1
- package/src/BigBedAdapter/__snapshots__/BigBedAdapter.test.ts.snap +31 -31
- package/src/BigBedAdapter/configSchema.ts +11 -1
- package/src/__snapshots__/index.test.js.snap +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`adapter can fetch features from volvox.bb 1`] = `
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
[
|
|
5
|
+
{
|
|
6
6
|
"end": 9000,
|
|
7
7
|
"geneBioType": "-",
|
|
8
8
|
"geneId": "EDEN",
|
|
@@ -14,8 +14,8 @@ Array [
|
|
|
14
14
|
"score": 1000,
|
|
15
15
|
"start": 1049,
|
|
16
16
|
"strand": 1,
|
|
17
|
-
"subfeatures":
|
|
18
|
-
|
|
17
|
+
"subfeatures": [
|
|
18
|
+
{
|
|
19
19
|
"end": 1200,
|
|
20
20
|
"parentId": "test-bb-358912",
|
|
21
21
|
"start": 1049,
|
|
@@ -23,7 +23,7 @@ Array [
|
|
|
23
23
|
"type": "five_prime_UTR",
|
|
24
24
|
"uniqueId": "test-bb-358912-0",
|
|
25
25
|
},
|
|
26
|
-
|
|
26
|
+
{
|
|
27
27
|
"end": 1500,
|
|
28
28
|
"parentId": "test-bb-358912",
|
|
29
29
|
"start": 1200,
|
|
@@ -31,7 +31,7 @@ Array [
|
|
|
31
31
|
"type": "CDS",
|
|
32
32
|
"uniqueId": "test-bb-358912-1",
|
|
33
33
|
},
|
|
34
|
-
|
|
34
|
+
{
|
|
35
35
|
"end": 3902,
|
|
36
36
|
"parentId": "test-bb-358912",
|
|
37
37
|
"start": 2999,
|
|
@@ -39,7 +39,7 @@ Array [
|
|
|
39
39
|
"type": "CDS",
|
|
40
40
|
"uniqueId": "test-bb-358912-2",
|
|
41
41
|
},
|
|
42
|
-
|
|
42
|
+
{
|
|
43
43
|
"end": 5500,
|
|
44
44
|
"parentId": "test-bb-358912",
|
|
45
45
|
"start": 4999,
|
|
@@ -47,7 +47,7 @@ Array [
|
|
|
47
47
|
"type": "CDS",
|
|
48
48
|
"uniqueId": "test-bb-358912-3",
|
|
49
49
|
},
|
|
50
|
-
|
|
50
|
+
{
|
|
51
51
|
"end": 7608,
|
|
52
52
|
"parentId": "test-bb-358912",
|
|
53
53
|
"start": 6999,
|
|
@@ -55,7 +55,7 @@ Array [
|
|
|
55
55
|
"type": "CDS",
|
|
56
56
|
"uniqueId": "test-bb-358912-4",
|
|
57
57
|
},
|
|
58
|
-
|
|
58
|
+
{
|
|
59
59
|
"end": 9000,
|
|
60
60
|
"parentId": "test-bb-358912",
|
|
61
61
|
"start": 7608,
|
|
@@ -68,7 +68,7 @@ Array [
|
|
|
68
68
|
"type": "mRNA",
|
|
69
69
|
"uniqueId": "test-bb-358912",
|
|
70
70
|
},
|
|
71
|
-
|
|
71
|
+
{
|
|
72
72
|
"end": 9000,
|
|
73
73
|
"geneBioType": "-",
|
|
74
74
|
"geneId": "EDEN",
|
|
@@ -80,8 +80,8 @@ Array [
|
|
|
80
80
|
"score": 1000,
|
|
81
81
|
"start": 1049,
|
|
82
82
|
"strand": 1,
|
|
83
|
-
"subfeatures":
|
|
84
|
-
|
|
83
|
+
"subfeatures": [
|
|
84
|
+
{
|
|
85
85
|
"end": 1200,
|
|
86
86
|
"parentId": "test-bb-359006",
|
|
87
87
|
"start": 1049,
|
|
@@ -89,7 +89,7 @@ Array [
|
|
|
89
89
|
"type": "five_prime_UTR",
|
|
90
90
|
"uniqueId": "test-bb-359006-0",
|
|
91
91
|
},
|
|
92
|
-
|
|
92
|
+
{
|
|
93
93
|
"end": 1500,
|
|
94
94
|
"parentId": "test-bb-359006",
|
|
95
95
|
"start": 1200,
|
|
@@ -97,7 +97,7 @@ Array [
|
|
|
97
97
|
"type": "CDS",
|
|
98
98
|
"uniqueId": "test-bb-359006-1",
|
|
99
99
|
},
|
|
100
|
-
|
|
100
|
+
{
|
|
101
101
|
"end": 5500,
|
|
102
102
|
"parentId": "test-bb-359006",
|
|
103
103
|
"start": 4999,
|
|
@@ -105,7 +105,7 @@ Array [
|
|
|
105
105
|
"type": "CDS",
|
|
106
106
|
"uniqueId": "test-bb-359006-2",
|
|
107
107
|
},
|
|
108
|
-
|
|
108
|
+
{
|
|
109
109
|
"end": 7608,
|
|
110
110
|
"parentId": "test-bb-359006",
|
|
111
111
|
"start": 6999,
|
|
@@ -113,7 +113,7 @@ Array [
|
|
|
113
113
|
"type": "CDS",
|
|
114
114
|
"uniqueId": "test-bb-359006-3",
|
|
115
115
|
},
|
|
116
|
-
|
|
116
|
+
{
|
|
117
117
|
"end": 9000,
|
|
118
118
|
"parentId": "test-bb-359006",
|
|
119
119
|
"start": 7608,
|
|
@@ -126,7 +126,7 @@ Array [
|
|
|
126
126
|
"type": "mRNA",
|
|
127
127
|
"uniqueId": "test-bb-359006",
|
|
128
128
|
},
|
|
129
|
-
|
|
129
|
+
{
|
|
130
130
|
"end": 9000,
|
|
131
131
|
"geneBioType": "-",
|
|
132
132
|
"geneId": "EDEN",
|
|
@@ -138,8 +138,8 @@ Array [
|
|
|
138
138
|
"score": 1000,
|
|
139
139
|
"start": 1299,
|
|
140
140
|
"strand": 1,
|
|
141
|
-
"subfeatures":
|
|
142
|
-
|
|
141
|
+
"subfeatures": [
|
|
142
|
+
{
|
|
143
143
|
"end": 1500,
|
|
144
144
|
"parentId": "test-bb-359091",
|
|
145
145
|
"start": 1299,
|
|
@@ -147,7 +147,7 @@ Array [
|
|
|
147
147
|
"type": "five_prime_UTR",
|
|
148
148
|
"uniqueId": "test-bb-359091-0",
|
|
149
149
|
},
|
|
150
|
-
|
|
150
|
+
{
|
|
151
151
|
"end": 3300,
|
|
152
152
|
"parentId": "test-bb-359091",
|
|
153
153
|
"start": 2999,
|
|
@@ -155,7 +155,7 @@ Array [
|
|
|
155
155
|
"type": "five_prime_UTR",
|
|
156
156
|
"uniqueId": "test-bb-359091-1",
|
|
157
157
|
},
|
|
158
|
-
|
|
158
|
+
{
|
|
159
159
|
"end": 3902,
|
|
160
160
|
"parentId": "test-bb-359091",
|
|
161
161
|
"start": 3300,
|
|
@@ -163,7 +163,7 @@ Array [
|
|
|
163
163
|
"type": "CDS",
|
|
164
164
|
"uniqueId": "test-bb-359091-2",
|
|
165
165
|
},
|
|
166
|
-
|
|
166
|
+
{
|
|
167
167
|
"end": 5500,
|
|
168
168
|
"parentId": "test-bb-359091",
|
|
169
169
|
"start": 4999,
|
|
@@ -171,7 +171,7 @@ Array [
|
|
|
171
171
|
"type": "CDS",
|
|
172
172
|
"uniqueId": "test-bb-359091-3",
|
|
173
173
|
},
|
|
174
|
-
|
|
174
|
+
{
|
|
175
175
|
"end": 7600,
|
|
176
176
|
"parentId": "test-bb-359091",
|
|
177
177
|
"start": 6999,
|
|
@@ -179,7 +179,7 @@ Array [
|
|
|
179
179
|
"type": "CDS",
|
|
180
180
|
"uniqueId": "test-bb-359091-4",
|
|
181
181
|
},
|
|
182
|
-
|
|
182
|
+
{
|
|
183
183
|
"end": 9000,
|
|
184
184
|
"parentId": "test-bb-359091",
|
|
185
185
|
"start": 7600,
|
|
@@ -192,7 +192,7 @@ Array [
|
|
|
192
192
|
"type": "mRNA",
|
|
193
193
|
"uniqueId": "test-bb-359091",
|
|
194
194
|
},
|
|
195
|
-
|
|
195
|
+
{
|
|
196
196
|
"end": 23000,
|
|
197
197
|
"geneBioType": "-",
|
|
198
198
|
"geneId": "rna-Apple3",
|
|
@@ -204,8 +204,8 @@ Array [
|
|
|
204
204
|
"score": 1000,
|
|
205
205
|
"start": 17399,
|
|
206
206
|
"strand": 1,
|
|
207
|
-
"subfeatures":
|
|
208
|
-
|
|
207
|
+
"subfeatures": [
|
|
208
|
+
{
|
|
209
209
|
"end": 17999,
|
|
210
210
|
"parentId": "test-bb-359185",
|
|
211
211
|
"start": 17399,
|
|
@@ -213,7 +213,7 @@ Array [
|
|
|
213
213
|
"type": "five_prime_UTR",
|
|
214
214
|
"uniqueId": "test-bb-359185-0",
|
|
215
215
|
},
|
|
216
|
-
|
|
216
|
+
{
|
|
217
217
|
"end": 18800,
|
|
218
218
|
"parentId": "test-bb-359185",
|
|
219
219
|
"start": 17999,
|
|
@@ -221,7 +221,7 @@ Array [
|
|
|
221
221
|
"type": "CDS",
|
|
222
222
|
"uniqueId": "test-bb-359185-1",
|
|
223
223
|
},
|
|
224
|
-
|
|
224
|
+
{
|
|
225
225
|
"end": 19500,
|
|
226
226
|
"parentId": "test-bb-359185",
|
|
227
227
|
"start": 18999,
|
|
@@ -229,7 +229,7 @@ Array [
|
|
|
229
229
|
"type": "CDS",
|
|
230
230
|
"uniqueId": "test-bb-359185-2",
|
|
231
231
|
},
|
|
232
|
-
|
|
232
|
+
{
|
|
233
233
|
"end": 21200,
|
|
234
234
|
"parentId": "test-bb-359185",
|
|
235
235
|
"start": 20999,
|
|
@@ -237,7 +237,7 @@ Array [
|
|
|
237
237
|
"type": "CDS",
|
|
238
238
|
"uniqueId": "test-bb-359185-3",
|
|
239
239
|
},
|
|
240
|
-
|
|
240
|
+
{
|
|
241
241
|
"end": 23000,
|
|
242
242
|
"parentId": "test-bb-359185",
|
|
243
243
|
"start": 21200,
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import { ConfigurationSchema } from '@jbrowse/core/configuration'
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* #config BigBedAdapter
|
|
5
|
+
*/
|
|
6
|
+
function x() {} // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
7
|
+
|
|
8
|
+
const BigBedAdapter = ConfigurationSchema(
|
|
4
9
|
'BigBedAdapter',
|
|
5
10
|
{
|
|
11
|
+
/**
|
|
12
|
+
* #slot
|
|
13
|
+
*/
|
|
6
14
|
bigBedLocation: {
|
|
7
15
|
type: 'fileLocation',
|
|
8
16
|
defaultValue: { uri: '/path/to/my.bb', locationType: 'UriLocation' },
|
|
@@ -10,3 +18,5 @@ export default ConfigurationSchema(
|
|
|
10
18
|
},
|
|
11
19
|
{ explicitlyTyped: true },
|
|
12
20
|
)
|
|
21
|
+
|
|
22
|
+
export default BigBedAdapter
|