@jbrowse/plugin-variants 1.5.3 → 1.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-variants",
3
- "version": "1.5.3",
3
+ "version": "1.5.7",
4
4
  "description": "JBrowse 2 variant adapters, tracks, etc.",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -35,10 +35,10 @@
35
35
  "useSrc": "node ../../scripts/useSrc.js"
36
36
  },
37
37
  "dependencies": {
38
- "@flatten-js/interval-tree": "^1.0.14",
39
- "@gmod/bgzf-filehandle": "^1.4.1",
38
+ "@flatten-js/interval-tree": "^1.0.15",
39
+ "@gmod/bgzf-filehandle": "^1.4.2",
40
40
  "@gmod/tabix": "^1.5.2",
41
- "@gmod/vcf": "^5.0.3",
41
+ "@gmod/vcf": "^5.0.4",
42
42
  "@material-ui/icons": "^4.11.2",
43
43
  "@mui/x-data-grid": "^4.0.1",
44
44
  "generic-filehandle": "^2.2.2"
@@ -58,5 +58,5 @@
58
58
  "publishConfig": {
59
59
  "access": "public"
60
60
  },
61
- "gitHead": "cea9023ebce8bbe5c08ae9e00c4e74fe3f02a7f1"
61
+ "gitHead": "b9b69276a6760ca01c7c7d905e2172b4adf9df8d"
62
62
  }
@@ -225,7 +225,7 @@ function VariantFeatureDetails(props: any) {
225
225
  <BreakendPanel
226
226
  feature={feat}
227
227
  locStrings={feat.ALT.map(
228
- (alt: string) => parseBreakend(alt).MatePosition,
228
+ (alt: string) => parseBreakend(alt)?.MatePosition || '',
229
229
  )}
230
230
  model={model}
231
231
  />
@@ -182,6 +182,7 @@ exports[`VariantTrack widget renders with just the required model elements 1`] =
182
182
  >
183
183
  <div
184
184
  class="makeStyles-fieldName"
185
+ style="width: 62px;"
185
186
  >
186
187
  INFO.MQ
187
188
  </div>
@@ -56,7 +56,7 @@ export default class VcfAdapter extends BaseFeatureDataAdapter {
56
56
  this.pluginManager,
57
57
  ).readFile()
58
58
 
59
- const buf = isGzip(buffer as Buffer) ? await unzip(buffer) : buffer
59
+ const buf = isGzip(buffer) ? await unzip(buffer) : buffer
60
60
 
61
61
  // 512MB max chrome string length is 512MB
62
62
  if (buf.length > 536_870_888) {
@@ -20,7 +20,7 @@ import VcfFeature from './VcfFeature'
20
20
  export default class extends BaseFeatureDataAdapter {
21
21
  protected configured?: Promise<{
22
22
  vcf: TabixIndexedFile
23
- parser: typeof VcfParser
23
+ parser: VcfParser
24
24
  filehandle: GenericFilehandle
25
25
  }>
26
26
 
package/src/declare.d.ts DELETED
@@ -1,2 +0,0 @@
1
- declare module '@gmod/vcf'
2
- declare module '@gmod/bgzf-filehandle'