@jbrowse/add-track-core 5.0.0-beta.3 → 5.0.0-beta.7
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/esm/formats.js +12 -0
- package/package.json +1 -1
package/esm/formats.js
CHANGED
|
@@ -267,6 +267,18 @@ export const formats = [
|
|
|
267
267
|
locField: 'twoBitLocation',
|
|
268
268
|
},
|
|
269
269
|
},
|
|
270
|
+
{
|
|
271
|
+
// the pattern `jbrowse add-assembly` has always inferred `--type
|
|
272
|
+
// chromSizes` from, so a file that names a genome on the command line names
|
|
273
|
+
// one in a config. The bare `.sizes` below stays refused: it is nobody's
|
|
274
|
+
// convention, and a genome with no sequence is too easy to reach by accident
|
|
275
|
+
regex: /\.chrom\.sizes$/i,
|
|
276
|
+
spec: {
|
|
277
|
+
kind: 'single',
|
|
278
|
+
adapterType: 'ChromSizesAdapter',
|
|
279
|
+
locField: 'chromSizesLocation',
|
|
280
|
+
},
|
|
281
|
+
},
|
|
270
282
|
{ regex: /\.sizes$/i, spec: { kind: 'unsupported' } },
|
|
271
283
|
{
|
|
272
284
|
regex: /trackData\.jsonz?$/i,
|
package/package.json
CHANGED