@jbrowse/cli 2.4.0 → 2.4.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/README.md CHANGED
@@ -173,7 +173,7 @@ EXAMPLES
173
173
  ```
174
174
 
175
175
  _See code:
176
- [src/commands/add-assembly.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.0/products/jbrowse-cli/src/commands/add-assembly.ts)_
176
+ [src/commands/add-assembly.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.1/products/jbrowse-cli/src/commands/add-assembly.ts)_
177
177
 
178
178
  ## `jbrowse add-connection CONNECTIONURLORPATH`
179
179
 
@@ -228,7 +228,7 @@ EXAMPLES
228
228
  ```
229
229
 
230
230
  _See code:
231
- [src/commands/add-connection.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.0/products/jbrowse-cli/src/commands/add-connection.ts)_
231
+ [src/commands/add-connection.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.1/products/jbrowse-cli/src/commands/add-connection.ts)_
232
232
 
233
233
  ## `jbrowse add-track TRACK`
234
234
 
@@ -259,6 +259,10 @@ OPTIONS
259
259
 
260
260
  -t, --trackType=trackType Type of track, by default inferred from track file
261
261
 
262
+ --bed1=bed1 Used only for mcscan anchors/simpleAnchors types
263
+
264
+ --bed2=bed2 Used only for mcscan anchors/simpleAnchors types
265
+
262
266
  --category=category Optional Comma separated string of categories to group tracks
263
267
 
264
268
  --config=config Any extra config settings to add to a track. i.e '{"defaultRendering":
@@ -303,7 +307,7 @@ EXAMPLES
303
307
  ```
304
308
 
305
309
  _See code:
306
- [src/commands/add-track.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.0/products/jbrowse-cli/src/commands/add-track.ts)_
310
+ [src/commands/add-track.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.1/products/jbrowse-cli/src/commands/add-track.ts)_
307
311
 
308
312
  ## `jbrowse add-track-json TRACK`
309
313
 
@@ -330,7 +334,7 @@ EXAMPLES
330
334
  ```
331
335
 
332
336
  _See code:
333
- [src/commands/add-track-json.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.0/products/jbrowse-cli/src/commands/add-track-json.ts)_
337
+ [src/commands/add-track-json.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.1/products/jbrowse-cli/src/commands/add-track-json.ts)_
334
338
 
335
339
  ## `jbrowse admin-server`
336
340
 
@@ -361,7 +365,7 @@ EXAMPLES
361
365
  ```
362
366
 
363
367
  _See code:
364
- [src/commands/admin-server.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.0/products/jbrowse-cli/src/commands/admin-server.ts)_
368
+ [src/commands/admin-server.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.1/products/jbrowse-cli/src/commands/admin-server.ts)_
365
369
 
366
370
  ## `jbrowse create LOCALPATH`
367
371
 
@@ -406,7 +410,7 @@ EXAMPLES
406
410
  ```
407
411
 
408
412
  _See code:
409
- [src/commands/create.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.0/products/jbrowse-cli/src/commands/create.ts)_
413
+ [src/commands/create.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.1/products/jbrowse-cli/src/commands/create.ts)_
410
414
 
411
415
  ## `jbrowse help [COMMAND]`
412
416
 
@@ -449,7 +453,7 @@ EXAMPLE
449
453
  ```
450
454
 
451
455
  _See code:
452
- [src/commands/remove-track.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.0/products/jbrowse-cli/src/commands/remove-track.ts)_
456
+ [src/commands/remove-track.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.1/products/jbrowse-cli/src/commands/remove-track.ts)_
453
457
 
454
458
  ## `jbrowse set-default-session`
455
459
 
@@ -487,7 +491,7 @@ EXAMPLES
487
491
  ```
488
492
 
489
493
  _See code:
490
- [src/commands/set-default-session.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.0/products/jbrowse-cli/src/commands/set-default-session.ts)_
494
+ [src/commands/set-default-session.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.1/products/jbrowse-cli/src/commands/set-default-session.ts)_
491
495
 
492
496
  ## `jbrowse text-index`
493
497
 
@@ -551,7 +555,7 @@ EXAMPLES
551
555
  ```
552
556
 
553
557
  _See code:
554
- [src/commands/text-index.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.0/products/jbrowse-cli/src/commands/text-index.ts)_
558
+ [src/commands/text-index.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.1/products/jbrowse-cli/src/commands/text-index.ts)_
555
559
 
556
560
  ## `jbrowse upgrade [LOCALPATH]`
557
561
 
@@ -600,7 +604,7 @@ EXAMPLES
600
604
  ```
601
605
 
602
606
  _See code:
603
- [src/commands/upgrade.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.0/products/jbrowse-cli/src/commands/upgrade.ts)_
607
+ [src/commands/upgrade.ts](https://github.com/GMOD/jbrowse-components/blob/v2.4.1/products/jbrowse-cli/src/commands/upgrade.ts)_
604
608
 
605
609
  <!-- commandsstop -->
606
610
 
package/lib/base.js CHANGED
@@ -85,12 +85,7 @@ class JBrowseCommand extends command_1.default {
85
85
  }
86
86
  let locationPath;
87
87
  try {
88
- if (check) {
89
- locationPath = await fs_1.promises.realpath(location);
90
- }
91
- else {
92
- locationPath = location;
93
- }
88
+ locationPath = check ? await fs_1.promises.realpath(location) : location;
94
89
  }
95
90
  catch (e) {
96
91
  // ignore
@@ -128,7 +123,7 @@ class JBrowseCommand extends command_1.default {
128
123
  _d = false;
129
124
  try {
130
125
  const iter = _c;
131
- versions = versions.concat(iter);
126
+ versions = [...versions, ...iter];
132
127
  }
133
128
  finally {
134
129
  _d = true;
@@ -158,8 +153,8 @@ class JBrowseCommand extends command_1.default {
158
153
  const nonprereleases = versions
159
154
  .filter(release => release.prerelease === false)
160
155
  .filter(release => release.assets && release.assets.length > 0);
161
- if (nonprereleases.length !== 0) {
162
- // @ts-ignore
156
+ if (nonprereleases.length > 0) {
157
+ // @ts-expect-error
163
158
  const file = (_d = nonprereleases[0].assets.find(f => f.name.includes('jbrowse-web'))) === null || _d === void 0 ? void 0 : _d.browser_download_url;
164
159
  if (!file) {
165
160
  throw new Error('no jbrowse-web download found');
@@ -42,24 +42,17 @@ class AddAssembly extends base_1.default {
42
42
  }
43
43
  switch (type) {
44
44
  case 'indexedFasta': {
45
- let sequenceLocation = await this.resolveFileLocation(argsSequence, !(runFlags.skipCheck || runFlags.force), runFlags.load === 'inPlace');
45
+ const { skipCheck, force, load, faiLocation } = runFlags;
46
+ let sequenceLocation = await this.resolveFileLocation(argsSequence, !(skipCheck || force), load === 'inPlace');
46
47
  this.debug(`FASTA location resolved to: ${sequenceLocation}`);
47
- let indexLocation = await this.resolveFileLocation(runFlags.faiLocation || `${argsSequence}.fai`, !(runFlags.skipCheck || runFlags.force), runFlags.load === 'inPlace');
48
+ let indexLocation = await this.resolveFileLocation(faiLocation || `${argsSequence}.fai`, !(skipCheck || force), load === 'inPlace');
48
49
  this.debug(`FASTA index location resolved to: ${indexLocation}`);
49
50
  if (!name) {
50
- if (sequenceLocation.endsWith('.fasta')) {
51
- name = path_1.default.basename(sequenceLocation, '.fasta');
52
- }
53
- else {
54
- name = path_1.default.basename(sequenceLocation, '.fa');
55
- }
51
+ name = path_1.default.basename(sequenceLocation, sequenceLocation.endsWith('.fasta') ? '.fasta' : '.fa');
56
52
  this.debug(`Guessing name: ${name}`);
57
53
  }
58
- const loaded = runFlags.load
59
- ? await this.loadData(runFlags.load, [
60
- sequenceLocation,
61
- indexLocation,
62
- ])
54
+ const loaded = load
55
+ ? await this.loadData(load, [sequenceLocation, indexLocation])
63
56
  : false;
64
57
  if (loaded) {
65
58
  sequenceLocation = path_1.default.basename(sequenceLocation);
@@ -87,12 +80,7 @@ class AddAssembly extends base_1.default {
87
80
  let bgzipIndexLocation = await this.resolveFileLocation(runFlags.gziLocation || `${sequenceLocation}.gzi`, !(runFlags.skipCheck || runFlags.force), runFlags.load === 'inPlace');
88
81
  this.debug(`bgzip index location resolved to: ${bgzipIndexLocation}`);
89
82
  if (!name) {
90
- if (sequenceLocation.endsWith('.fasta.gz')) {
91
- name = path_1.default.basename(sequenceLocation, '.fasta.gz');
92
- }
93
- else {
94
- name = path_1.default.basename(sequenceLocation, '.fa.gz');
95
- }
83
+ name = path_1.default.basename(sequenceLocation, sequenceLocation.endsWith('.fasta.gz') ? '.fasta.gz' : '.fa.gz');
96
84
  this.debug(`Guessing name: ${name}`);
97
85
  }
98
86
  const loaded = runFlags.load
@@ -18,10 +18,11 @@ class AddConnection extends base_1.default {
18
18
  const { connectionUrlOrPath: argsPath } = runArgs;
19
19
  const { config } = runFlags;
20
20
  let { type, name, connectionId, assemblyName } = runFlags;
21
- const url = await this.resolveURL(argsPath, !(runFlags.skipCheck || runFlags.force));
21
+ const { skipCheck, force } = runFlags;
22
+ const url = await this.resolveURL(argsPath, !(skipCheck || force));
22
23
  const configContents = await this.readJsonFile(this.target);
23
24
  this.debug(`Using config file ${this.target}`);
24
- if (!configContents.assemblies || !configContents.assemblies.length) {
25
+ if (!configContents.assemblies || configContents.assemblies.length === 0) {
25
26
  this.error('No assemblies found. Please add one before adding connections', { exit: 120 });
26
27
  }
27
28
  else if (configContents.assemblies.length > 1 && !assemblyName) {
@@ -35,26 +35,53 @@ export default class AddTrack extends JBrowseCommand {
35
35
  overwrite: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
36
36
  force: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
37
37
  protocol: flags.IOptionFlag<string>;
38
+ bed1: flags.IOptionFlag<string | undefined>;
39
+ bed2: flags.IOptionFlag<string | undefined>;
38
40
  };
39
41
  run(): Promise<void>;
40
- guessFileNames(fileName: string, index?: string): {
42
+ guessFileNames({ location, index, bed1, bed2, }: {
43
+ location: string;
44
+ index?: string;
45
+ bed1?: string;
46
+ bed2?: string;
47
+ }): {
48
+ file: string;
49
+ bed1: string;
50
+ bed2: string;
51
+ index?: undefined;
52
+ index2?: undefined;
53
+ } | {
41
54
  file: string;
42
55
  index: string;
56
+ bed1?: undefined;
57
+ bed2?: undefined;
43
58
  index2?: undefined;
44
59
  } | {
45
60
  file: string;
61
+ index: string;
62
+ index2: string;
63
+ bed1?: undefined;
64
+ bed2?: undefined;
65
+ } | {
66
+ file: string;
67
+ bed1?: undefined;
68
+ bed2?: undefined;
46
69
  index?: undefined;
47
70
  index2?: undefined;
48
71
  } | {
49
72
  file?: undefined;
73
+ bed1?: undefined;
74
+ bed2?: undefined;
50
75
  index?: undefined;
51
76
  index2?: undefined;
52
- } | {
53
- file: string;
54
- index: string;
55
- index2: string;
56
77
  };
57
- guessAdapter(fileName: string, protocol: string, index?: string): {
78
+ guessAdapter({ location, protocol, index, bed1, bed2, }: {
79
+ location: string;
80
+ protocol: string;
81
+ index?: string;
82
+ bed1?: string;
83
+ bed2?: string;
84
+ }): {
58
85
  type: string;
59
86
  bamLocation: UriLocation | LocalPathLocation;
60
87
  index: {
@@ -80,6 +107,13 @@ export default class AddTrack extends JBrowseCommand {
80
107
  endpoint?: undefined;
81
108
  hicLocation?: undefined;
82
109
  pafLocation?: undefined;
110
+ outLocation?: undefined;
111
+ chainLocation?: undefined;
112
+ deltaLocation?: undefined;
113
+ mcscanAnchorsLocation?: undefined;
114
+ bed1Location?: undefined;
115
+ bed2Location?: undefined;
116
+ mcscanSimpleAnchorsLocation?: undefined;
83
117
  } | {
84
118
  type: string;
85
119
  cramLocation: UriLocation | LocalPathLocation;
@@ -103,6 +137,13 @@ export default class AddTrack extends JBrowseCommand {
103
137
  endpoint?: undefined;
104
138
  hicLocation?: undefined;
105
139
  pafLocation?: undefined;
140
+ outLocation?: undefined;
141
+ chainLocation?: undefined;
142
+ deltaLocation?: undefined;
143
+ mcscanAnchorsLocation?: undefined;
144
+ bed1Location?: undefined;
145
+ bed2Location?: undefined;
146
+ mcscanSimpleAnchorsLocation?: undefined;
106
147
  } | {
107
148
  type: string;
108
149
  gffLocation: UriLocation | LocalPathLocation;
@@ -126,6 +167,13 @@ export default class AddTrack extends JBrowseCommand {
126
167
  endpoint?: undefined;
127
168
  hicLocation?: undefined;
128
169
  pafLocation?: undefined;
170
+ outLocation?: undefined;
171
+ chainLocation?: undefined;
172
+ deltaLocation?: undefined;
173
+ mcscanAnchorsLocation?: undefined;
174
+ bed1Location?: undefined;
175
+ bed2Location?: undefined;
176
+ mcscanSimpleAnchorsLocation?: undefined;
129
177
  } | {
130
178
  type: string;
131
179
  gffGzLocation: UriLocation | LocalPathLocation;
@@ -152,6 +200,13 @@ export default class AddTrack extends JBrowseCommand {
152
200
  endpoint?: undefined;
153
201
  hicLocation?: undefined;
154
202
  pafLocation?: undefined;
203
+ outLocation?: undefined;
204
+ chainLocation?: undefined;
205
+ deltaLocation?: undefined;
206
+ mcscanAnchorsLocation?: undefined;
207
+ bed1Location?: undefined;
208
+ bed2Location?: undefined;
209
+ mcscanSimpleAnchorsLocation?: undefined;
155
210
  } | {
156
211
  type: string;
157
212
  gtfLocation: UriLocation | LocalPathLocation;
@@ -175,6 +230,13 @@ export default class AddTrack extends JBrowseCommand {
175
230
  endpoint?: undefined;
176
231
  hicLocation?: undefined;
177
232
  pafLocation?: undefined;
233
+ outLocation?: undefined;
234
+ chainLocation?: undefined;
235
+ deltaLocation?: undefined;
236
+ mcscanAnchorsLocation?: undefined;
237
+ bed1Location?: undefined;
238
+ bed2Location?: undefined;
239
+ mcscanSimpleAnchorsLocation?: undefined;
178
240
  } | {
179
241
  type: string;
180
242
  vcfLocation: UriLocation | LocalPathLocation;
@@ -198,6 +260,13 @@ export default class AddTrack extends JBrowseCommand {
198
260
  endpoint?: undefined;
199
261
  hicLocation?: undefined;
200
262
  pafLocation?: undefined;
263
+ outLocation?: undefined;
264
+ chainLocation?: undefined;
265
+ deltaLocation?: undefined;
266
+ mcscanAnchorsLocation?: undefined;
267
+ bed1Location?: undefined;
268
+ bed2Location?: undefined;
269
+ mcscanSimpleAnchorsLocation?: undefined;
201
270
  } | {
202
271
  type: string;
203
272
  vcfGzLocation: UriLocation | LocalPathLocation;
@@ -224,6 +293,13 @@ export default class AddTrack extends JBrowseCommand {
224
293
  endpoint?: undefined;
225
294
  hicLocation?: undefined;
226
295
  pafLocation?: undefined;
296
+ outLocation?: undefined;
297
+ chainLocation?: undefined;
298
+ deltaLocation?: undefined;
299
+ mcscanAnchorsLocation?: undefined;
300
+ bed1Location?: undefined;
301
+ bed2Location?: undefined;
302
+ mcscanSimpleAnchorsLocation?: undefined;
227
303
  } | {
228
304
  type: string;
229
305
  bamLocation?: undefined;
@@ -247,6 +323,13 @@ export default class AddTrack extends JBrowseCommand {
247
323
  endpoint?: undefined;
248
324
  hicLocation?: undefined;
249
325
  pafLocation?: undefined;
326
+ outLocation?: undefined;
327
+ chainLocation?: undefined;
328
+ deltaLocation?: undefined;
329
+ mcscanAnchorsLocation?: undefined;
330
+ bed1Location?: undefined;
331
+ bed2Location?: undefined;
332
+ mcscanSimpleAnchorsLocation?: undefined;
250
333
  } | {
251
334
  type: string;
252
335
  bedGzLocation: UriLocation | LocalPathLocation;
@@ -273,6 +356,13 @@ export default class AddTrack extends JBrowseCommand {
273
356
  endpoint?: undefined;
274
357
  hicLocation?: undefined;
275
358
  pafLocation?: undefined;
359
+ outLocation?: undefined;
360
+ chainLocation?: undefined;
361
+ deltaLocation?: undefined;
362
+ mcscanAnchorsLocation?: undefined;
363
+ bed1Location?: undefined;
364
+ bed2Location?: undefined;
365
+ mcscanSimpleAnchorsLocation?: undefined;
276
366
  } | {
277
367
  type: string;
278
368
  bedLocation: UriLocation | LocalPathLocation;
@@ -296,6 +386,13 @@ export default class AddTrack extends JBrowseCommand {
296
386
  endpoint?: undefined;
297
387
  hicLocation?: undefined;
298
388
  pafLocation?: undefined;
389
+ outLocation?: undefined;
390
+ chainLocation?: undefined;
391
+ deltaLocation?: undefined;
392
+ mcscanAnchorsLocation?: undefined;
393
+ bed1Location?: undefined;
394
+ bed2Location?: undefined;
395
+ mcscanSimpleAnchorsLocation?: undefined;
299
396
  } | {
300
397
  type: string;
301
398
  bigBedLocation: UriLocation | LocalPathLocation;
@@ -319,6 +416,13 @@ export default class AddTrack extends JBrowseCommand {
319
416
  endpoint?: undefined;
320
417
  hicLocation?: undefined;
321
418
  pafLocation?: undefined;
419
+ outLocation?: undefined;
420
+ chainLocation?: undefined;
421
+ deltaLocation?: undefined;
422
+ mcscanAnchorsLocation?: undefined;
423
+ bed1Location?: undefined;
424
+ bed2Location?: undefined;
425
+ mcscanSimpleAnchorsLocation?: undefined;
322
426
  } | {
323
427
  type: string;
324
428
  bigWigLocation: UriLocation | LocalPathLocation;
@@ -342,6 +446,13 @@ export default class AddTrack extends JBrowseCommand {
342
446
  endpoint?: undefined;
343
447
  hicLocation?: undefined;
344
448
  pafLocation?: undefined;
449
+ outLocation?: undefined;
450
+ chainLocation?: undefined;
451
+ deltaLocation?: undefined;
452
+ mcscanAnchorsLocation?: undefined;
453
+ bed1Location?: undefined;
454
+ bed2Location?: undefined;
455
+ mcscanSimpleAnchorsLocation?: undefined;
345
456
  } | {
346
457
  type: string;
347
458
  fastaLocation: UriLocation | LocalPathLocation;
@@ -365,6 +476,13 @@ export default class AddTrack extends JBrowseCommand {
365
476
  endpoint?: undefined;
366
477
  hicLocation?: undefined;
367
478
  pafLocation?: undefined;
479
+ outLocation?: undefined;
480
+ chainLocation?: undefined;
481
+ deltaLocation?: undefined;
482
+ mcscanAnchorsLocation?: undefined;
483
+ bed1Location?: undefined;
484
+ bed2Location?: undefined;
485
+ mcscanSimpleAnchorsLocation?: undefined;
368
486
  } | {
369
487
  type: string;
370
488
  fastaLocation: UriLocation | LocalPathLocation;
@@ -388,6 +506,13 @@ export default class AddTrack extends JBrowseCommand {
388
506
  endpoint?: undefined;
389
507
  hicLocation?: undefined;
390
508
  pafLocation?: undefined;
509
+ outLocation?: undefined;
510
+ chainLocation?: undefined;
511
+ deltaLocation?: undefined;
512
+ mcscanAnchorsLocation?: undefined;
513
+ bed1Location?: undefined;
514
+ bed2Location?: undefined;
515
+ mcscanSimpleAnchorsLocation?: undefined;
391
516
  } | {
392
517
  type: string;
393
518
  twoBitLocation: UriLocation | LocalPathLocation;
@@ -411,6 +536,13 @@ export default class AddTrack extends JBrowseCommand {
411
536
  endpoint?: undefined;
412
537
  hicLocation?: undefined;
413
538
  pafLocation?: undefined;
539
+ outLocation?: undefined;
540
+ chainLocation?: undefined;
541
+ deltaLocation?: undefined;
542
+ mcscanAnchorsLocation?: undefined;
543
+ bed1Location?: undefined;
544
+ bed2Location?: undefined;
545
+ mcscanSimpleAnchorsLocation?: undefined;
414
546
  } | {
415
547
  type: string;
416
548
  rootUrlTemplate: UriLocation | LocalPathLocation;
@@ -434,6 +566,13 @@ export default class AddTrack extends JBrowseCommand {
434
566
  endpoint?: undefined;
435
567
  hicLocation?: undefined;
436
568
  pafLocation?: undefined;
569
+ outLocation?: undefined;
570
+ chainLocation?: undefined;
571
+ deltaLocation?: undefined;
572
+ mcscanAnchorsLocation?: undefined;
573
+ bed1Location?: undefined;
574
+ bed2Location?: undefined;
575
+ mcscanSimpleAnchorsLocation?: undefined;
437
576
  } | {
438
577
  type: string;
439
578
  endpoint: string;
@@ -457,6 +596,13 @@ export default class AddTrack extends JBrowseCommand {
457
596
  rootUrlTemplate?: undefined;
458
597
  hicLocation?: undefined;
459
598
  pafLocation?: undefined;
599
+ outLocation?: undefined;
600
+ chainLocation?: undefined;
601
+ deltaLocation?: undefined;
602
+ mcscanAnchorsLocation?: undefined;
603
+ bed1Location?: undefined;
604
+ bed2Location?: undefined;
605
+ mcscanSimpleAnchorsLocation?: undefined;
460
606
  } | {
461
607
  type: string;
462
608
  hicLocation: UriLocation | LocalPathLocation;
@@ -480,6 +626,13 @@ export default class AddTrack extends JBrowseCommand {
480
626
  rootUrlTemplate?: undefined;
481
627
  endpoint?: undefined;
482
628
  pafLocation?: undefined;
629
+ outLocation?: undefined;
630
+ chainLocation?: undefined;
631
+ deltaLocation?: undefined;
632
+ mcscanAnchorsLocation?: undefined;
633
+ bed1Location?: undefined;
634
+ bed2Location?: undefined;
635
+ mcscanSimpleAnchorsLocation?: undefined;
483
636
  } | {
484
637
  type: string;
485
638
  pafLocation: UriLocation | LocalPathLocation;
@@ -503,6 +656,163 @@ export default class AddTrack extends JBrowseCommand {
503
656
  rootUrlTemplate?: undefined;
504
657
  endpoint?: undefined;
505
658
  hicLocation?: undefined;
659
+ outLocation?: undefined;
660
+ chainLocation?: undefined;
661
+ deltaLocation?: undefined;
662
+ mcscanAnchorsLocation?: undefined;
663
+ bed1Location?: undefined;
664
+ bed2Location?: undefined;
665
+ mcscanSimpleAnchorsLocation?: undefined;
666
+ } | {
667
+ type: string;
668
+ outLocation: UriLocation | LocalPathLocation;
669
+ bamLocation?: undefined;
670
+ index?: undefined;
671
+ cramLocation?: undefined;
672
+ craiLocation?: undefined;
673
+ gffLocation?: undefined;
674
+ gffGzLocation?: undefined;
675
+ gtfLocation?: undefined;
676
+ vcfLocation?: undefined;
677
+ vcfGzLocation?: undefined;
678
+ bedGzLocation?: undefined;
679
+ bedLocation?: undefined;
680
+ bigBedLocation?: undefined;
681
+ bigWigLocation?: undefined;
682
+ fastaLocation?: undefined;
683
+ faiLocation?: undefined;
684
+ gziLocation?: undefined;
685
+ twoBitLocation?: undefined;
686
+ rootUrlTemplate?: undefined;
687
+ endpoint?: undefined;
688
+ hicLocation?: undefined;
689
+ pafLocation?: undefined;
690
+ chainLocation?: undefined;
691
+ deltaLocation?: undefined;
692
+ mcscanAnchorsLocation?: undefined;
693
+ bed1Location?: undefined;
694
+ bed2Location?: undefined;
695
+ mcscanSimpleAnchorsLocation?: undefined;
696
+ } | {
697
+ type: string;
698
+ chainLocation: UriLocation | LocalPathLocation;
699
+ bamLocation?: undefined;
700
+ index?: undefined;
701
+ cramLocation?: undefined;
702
+ craiLocation?: undefined;
703
+ gffLocation?: undefined;
704
+ gffGzLocation?: undefined;
705
+ gtfLocation?: undefined;
706
+ vcfLocation?: undefined;
707
+ vcfGzLocation?: undefined;
708
+ bedGzLocation?: undefined;
709
+ bedLocation?: undefined;
710
+ bigBedLocation?: undefined;
711
+ bigWigLocation?: undefined;
712
+ fastaLocation?: undefined;
713
+ faiLocation?: undefined;
714
+ gziLocation?: undefined;
715
+ twoBitLocation?: undefined;
716
+ rootUrlTemplate?: undefined;
717
+ endpoint?: undefined;
718
+ hicLocation?: undefined;
719
+ pafLocation?: undefined;
720
+ outLocation?: undefined;
721
+ deltaLocation?: undefined;
722
+ mcscanAnchorsLocation?: undefined;
723
+ bed1Location?: undefined;
724
+ bed2Location?: undefined;
725
+ mcscanSimpleAnchorsLocation?: undefined;
726
+ } | {
727
+ type: string;
728
+ deltaLocation: UriLocation | LocalPathLocation;
729
+ bamLocation?: undefined;
730
+ index?: undefined;
731
+ cramLocation?: undefined;
732
+ craiLocation?: undefined;
733
+ gffLocation?: undefined;
734
+ gffGzLocation?: undefined;
735
+ gtfLocation?: undefined;
736
+ vcfLocation?: undefined;
737
+ vcfGzLocation?: undefined;
738
+ bedGzLocation?: undefined;
739
+ bedLocation?: undefined;
740
+ bigBedLocation?: undefined;
741
+ bigWigLocation?: undefined;
742
+ fastaLocation?: undefined;
743
+ faiLocation?: undefined;
744
+ gziLocation?: undefined;
745
+ twoBitLocation?: undefined;
746
+ rootUrlTemplate?: undefined;
747
+ endpoint?: undefined;
748
+ hicLocation?: undefined;
749
+ pafLocation?: undefined;
750
+ outLocation?: undefined;
751
+ chainLocation?: undefined;
752
+ mcscanAnchorsLocation?: undefined;
753
+ bed1Location?: undefined;
754
+ bed2Location?: undefined;
755
+ mcscanSimpleAnchorsLocation?: undefined;
756
+ } | {
757
+ type: string;
758
+ mcscanAnchorsLocation: UriLocation | LocalPathLocation;
759
+ bed1Location: UriLocation | LocalPathLocation | undefined;
760
+ bed2Location: UriLocation | LocalPathLocation | undefined;
761
+ bamLocation?: undefined;
762
+ index?: undefined;
763
+ cramLocation?: undefined;
764
+ craiLocation?: undefined;
765
+ gffLocation?: undefined;
766
+ gffGzLocation?: undefined;
767
+ gtfLocation?: undefined;
768
+ vcfLocation?: undefined;
769
+ vcfGzLocation?: undefined;
770
+ bedGzLocation?: undefined;
771
+ bedLocation?: undefined;
772
+ bigBedLocation?: undefined;
773
+ bigWigLocation?: undefined;
774
+ fastaLocation?: undefined;
775
+ faiLocation?: undefined;
776
+ gziLocation?: undefined;
777
+ twoBitLocation?: undefined;
778
+ rootUrlTemplate?: undefined;
779
+ endpoint?: undefined;
780
+ hicLocation?: undefined;
781
+ pafLocation?: undefined;
782
+ outLocation?: undefined;
783
+ chainLocation?: undefined;
784
+ deltaLocation?: undefined;
785
+ mcscanSimpleAnchorsLocation?: undefined;
786
+ } | {
787
+ type: string;
788
+ mcscanSimpleAnchorsLocation: UriLocation | LocalPathLocation;
789
+ bed1Location: UriLocation | LocalPathLocation | undefined;
790
+ bed2Location: UriLocation | LocalPathLocation | undefined;
791
+ bamLocation?: undefined;
792
+ index?: undefined;
793
+ cramLocation?: undefined;
794
+ craiLocation?: undefined;
795
+ gffLocation?: undefined;
796
+ gffGzLocation?: undefined;
797
+ gtfLocation?: undefined;
798
+ vcfLocation?: undefined;
799
+ vcfGzLocation?: undefined;
800
+ bedGzLocation?: undefined;
801
+ bedLocation?: undefined;
802
+ bigBedLocation?: undefined;
803
+ bigWigLocation?: undefined;
804
+ fastaLocation?: undefined;
805
+ faiLocation?: undefined;
806
+ gziLocation?: undefined;
807
+ twoBitLocation?: undefined;
808
+ rootUrlTemplate?: undefined;
809
+ endpoint?: undefined;
810
+ hicLocation?: undefined;
811
+ pafLocation?: undefined;
812
+ outLocation?: undefined;
813
+ chainLocation?: undefined;
814
+ deltaLocation?: undefined;
815
+ mcscanAnchorsLocation?: undefined;
506
816
  };
507
817
  guessTrackType(adapterType: string): string;
508
818
  }