@jbrowse/add-track-core 4.1.14 → 5.0.0-beta.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.
Files changed (2) hide show
  1. package/esm/formats.js +20 -0
  2. package/package.json +1 -1
package/esm/formats.js CHANGED
@@ -153,6 +153,26 @@ export const formats = [
153
153
  indexType: 'TBI',
154
154
  },
155
155
  },
156
+ {
157
+ // `.bedGraph` is UCSC's own spelling and what bedGraphToBigWig is pointed
158
+ // at, so it turns up far more often than the `.bg` short form below
159
+ regex: /\.bedgraph\.b?gz$/i,
160
+ spec: {
161
+ kind: 'indexed',
162
+ adapterType: 'BedGraphTabixAdapter',
163
+ locField: 'bedGraphGzLocation',
164
+ suffix: '.tbi',
165
+ indexType: 'TBI',
166
+ },
167
+ },
168
+ {
169
+ regex: /\.bedgraph$/i,
170
+ spec: {
171
+ kind: 'single',
172
+ adapterType: 'BedGraphAdapter',
173
+ locField: 'bedGraphLocation',
174
+ },
175
+ },
156
176
  {
157
177
  regex: /\.bg\.b?gz$/i,
158
178
  spec: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/add-track-core",
3
- "version": "4.1.14",
3
+ "version": "5.0.0-beta.2",
4
4
  "type": "module",
5
5
  "description": "The file-format table the add-track guessers and the CLI both read — no framework deps",
6
6
  "keywords": [