@jbrowse/plugin-bed 2.8.0 → 2.10.0

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.
@@ -8,6 +8,7 @@ const BaseAdapter_1 = require("@jbrowse/core/data_adapters/BaseAdapter");
8
8
  const io_1 = require("@jbrowse/core/util/io");
9
9
  const rxjs_1 = require("@jbrowse/core/util/rxjs");
10
10
  const tabix_1 = require("@gmod/tabix");
11
+ // locals
11
12
  const util_1 = require("../util");
12
13
  class BedTabixAdapter extends BaseAdapter_1.BaseFeatureDataAdapter {
13
14
  constructor(config, getSubAdapter, pluginManager) {
@@ -37,7 +37,7 @@ function featureData(line, uniqueId, flip, names) {
37
37
  start: start1,
38
38
  end: end1,
39
39
  refName: ref1,
40
- ...(ALT ? { ALT: [ALT] } : {}),
40
+ ...(ALT ? { ALT: [ALT] } : {}), // it's an array in VCF
41
41
  strand: strand1,
42
42
  name,
43
43
  ...rest,
@@ -3,6 +3,7 @@ import { BaseFeatureDataAdapter, } from '@jbrowse/core/data_adapters/BaseAdapter
3
3
  import { openLocation } from '@jbrowse/core/util/io';
4
4
  import { ObservableCreate } from '@jbrowse/core/util/rxjs';
5
5
  import { TabixIndexedFile } from '@gmod/tabix';
6
+ // locals
6
7
  import { featureData } from '../util';
7
8
  class BedTabixAdapter extends BaseFeatureDataAdapter {
8
9
  constructor(config, getSubAdapter, pluginManager) {
@@ -31,7 +31,7 @@ export function featureData(line, uniqueId, flip, names) {
31
31
  start: start1,
32
32
  end: end1,
33
33
  refName: ref1,
34
- ...(ALT ? { ALT: [ALT] } : {}),
34
+ ...(ALT ? { ALT: [ALT] } : {}), // it's an array in VCF
35
35
  strand: strand1,
36
36
  name,
37
37
  ...rest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-bed",
3
- "version": "2.8.0",
3
+ "version": "2.10.0",
4
4
  "description": "JBrowse 2 bed adapters, tracks, etc.",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -55,5 +55,5 @@
55
55
  "distModule": "esm/index.js",
56
56
  "srcModule": "src/index.ts",
57
57
  "module": "esm/index.js",
58
- "gitHead": "ee8c2bdc8bd4f1a70b1eefda984f04a2830d9ca0"
58
+ "gitHead": "223d8bfb68fd1bacaf22852639ad5920f1b7f43b"
59
59
  }