@jbrowse/add-track-core 5.0.0-beta.1 → 5.0.0-beta.3

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 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: {
@@ -325,7 +345,7 @@ export const formats = [
325
345
  // mapping come from its add-track form
326
346
  spec: {
327
347
  kind: 'single',
328
- adapterType: 'AllVsAllPAFAdapter',
348
+ adapterType: 'MultiGenomePAFAdapter',
329
349
  locField: 'pafLocation',
330
350
  },
331
351
  },
@@ -333,7 +353,7 @@ export const formats = [
333
353
  // likewise an all-vs-all PIF against a pairwise one
334
354
  spec: {
335
355
  kind: 'indexed',
336
- adapterType: 'AllVsAllIndexedPAFAdapter',
356
+ adapterType: 'MultiGenomeIndexedPAFAdapter',
337
357
  locField: 'pifGzLocation',
338
358
  suffix: '.tbi',
339
359
  indexType: 'TBI',
@@ -6,8 +6,6 @@
6
6
  * fall back to `FeatureTrack`.
7
7
  */
8
8
  export const adapterTypesToTrackTypeMap = {
9
- AllVsAllIndexedPAFAdapter: 'SyntenyTrack',
10
- AllVsAllPAFAdapter: 'SyntenyTrack',
11
9
  BamAdapter: 'AlignmentsTrack',
12
10
  BedAdapter: 'FeatureTrack',
13
11
  BedGraphAdapter: 'QuantitativeTrack',
@@ -43,6 +41,9 @@ export const adapterTypesToTrackTypeMap = {
43
41
  MCScanAnchorsAdapter: 'SyntenyTrack',
44
42
  MCScanBlocksAdapter: 'SyntenyTrack',
45
43
  MCScanSimpleAnchorsAdapter: 'SyntenyTrack',
44
+ MultiGenomeIndexedPAFAdapter: 'SyntenyTrack',
45
+ MultiGenomePAFAdapter: 'SyntenyTrack',
46
+ MultiPairwiseSyntenyAdapter: 'SyntenyTrack',
46
47
  MultiWiggleAdapter: 'MultiQuantitativeTrack',
47
48
  NCListAdapter: 'FeatureTrack',
48
49
  PAFAdapter: 'SyntenyTrack',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/add-track-core",
3
- "version": "5.0.0-beta.1",
3
+ "version": "5.0.0-beta.3",
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": [