@jbrowse/plugin-legacy-jbrowse 1.7.7 → 1.7.8
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.
|
@@ -21,7 +21,9 @@ interface Jb2Adapter {
|
|
|
21
21
|
bigWigLocation?: Jb2Location;
|
|
22
22
|
bigBedLocation?: Jb2Location;
|
|
23
23
|
vcfGzLocation?: Jb2Location;
|
|
24
|
+
gffLocation?: Jb2Location;
|
|
24
25
|
gffGzLocation?: Jb2Location;
|
|
26
|
+
gtfLocation?: Jb2Location;
|
|
25
27
|
bedGzLocation?: Jb2Location;
|
|
26
28
|
index?: {
|
|
27
29
|
location: Jb2Location;
|
|
@@ -199,7 +199,16 @@ function convertTrackConfig(jb1TrackConfig, dataRoot, sequenceAdapter) {
|
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
if (storeClass === 'JBrowse/Store/SeqFeature/GFF3') {
|
|
202
|
-
return (
|
|
202
|
+
return _objectSpread(_objectSpread({}, jb2TrackConfig), {}, {
|
|
203
|
+
type: 'FeatureTrack',
|
|
204
|
+
adapter: {
|
|
205
|
+
type: 'Gff3Adapter',
|
|
206
|
+
gffLocation: {
|
|
207
|
+
uri: urlTemplate,
|
|
208
|
+
locationType: 'UriLocation'
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
});
|
|
203
212
|
}
|
|
204
213
|
|
|
205
214
|
if (storeClass === 'JBrowse/Store/SeqFeature/BigBed') {
|
|
@@ -298,7 +307,16 @@ function convertTrackConfig(jb1TrackConfig, dataRoot, sequenceAdapter) {
|
|
|
298
307
|
}
|
|
299
308
|
|
|
300
309
|
if (storeClass === 'JBrowse/Store/SeqFeature/GTF') {
|
|
301
|
-
return (
|
|
310
|
+
return _objectSpread(_objectSpread({}, jb2TrackConfig), {}, {
|
|
311
|
+
type: 'FeatureTrack',
|
|
312
|
+
adapter: {
|
|
313
|
+
type: 'GtfAdapter',
|
|
314
|
+
gtfLocation: {
|
|
315
|
+
uri: urlTemplate,
|
|
316
|
+
locationType: 'UriLocation'
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
});
|
|
302
320
|
}
|
|
303
321
|
|
|
304
322
|
if (storeClass === 'JBrowse/Store/SeqFeature/StaticChunked' || storeClass === 'JBrowse/Store/Sequence/StaticChunked') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-legacy-jbrowse",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.8",
|
|
4
4
|
"description": "JBrowse 2 plugin for connecting to and reading JBrowse 1 data",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "b429fa2bb5734fc8a5380988f6dfdd3f7a41a39f"
|
|
52
52
|
}
|
|
@@ -33,7 +33,9 @@ interface Jb2Adapter {
|
|
|
33
33
|
bigWigLocation?: Jb2Location
|
|
34
34
|
bigBedLocation?: Jb2Location
|
|
35
35
|
vcfGzLocation?: Jb2Location
|
|
36
|
+
gffLocation?: Jb2Location
|
|
36
37
|
gffGzLocation?: Jb2Location
|
|
38
|
+
gtfLocation?: Jb2Location
|
|
37
39
|
bedGzLocation?: Jb2Location
|
|
38
40
|
index?: { location: Jb2Location; indexType?: string }
|
|
39
41
|
rootUrlTemplate?: Jb2Location
|
|
@@ -224,11 +226,14 @@ export function convertTrackConfig(
|
|
|
224
226
|
)
|
|
225
227
|
}
|
|
226
228
|
if (storeClass === 'JBrowse/Store/SeqFeature/GFF3') {
|
|
227
|
-
return
|
|
228
|
-
jb2TrackConfig
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
229
|
+
return {
|
|
230
|
+
...jb2TrackConfig,
|
|
231
|
+
type: 'FeatureTrack',
|
|
232
|
+
adapter: {
|
|
233
|
+
type: 'Gff3Adapter',
|
|
234
|
+
gffLocation: { uri: urlTemplate, locationType: 'UriLocation' },
|
|
235
|
+
},
|
|
236
|
+
}
|
|
232
237
|
}
|
|
233
238
|
if (storeClass === 'JBrowse/Store/SeqFeature/BigBed') {
|
|
234
239
|
return {
|
|
@@ -310,11 +315,14 @@ export function convertTrackConfig(
|
|
|
310
315
|
}
|
|
311
316
|
}
|
|
312
317
|
if (storeClass === 'JBrowse/Store/SeqFeature/GTF') {
|
|
313
|
-
return
|
|
314
|
-
jb2TrackConfig
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
+
return {
|
|
319
|
+
...jb2TrackConfig,
|
|
320
|
+
type: 'FeatureTrack',
|
|
321
|
+
adapter: {
|
|
322
|
+
type: 'GtfAdapter',
|
|
323
|
+
gtfLocation: { uri: urlTemplate, locationType: 'UriLocation' },
|
|
324
|
+
},
|
|
325
|
+
}
|
|
318
326
|
}
|
|
319
327
|
if (
|
|
320
328
|
storeClass === 'JBrowse/Store/SeqFeature/StaticChunked' ||
|