@jbrowse/bandage-core 4.1.0 → 4.2.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.
@@ -3093,7 +3093,7 @@ var LAYOUT_MODES = [
3093
3093
  {
3094
3094
  value: "walkrows",
3095
3095
  label: "Walk rows",
3096
- description: "x is each walk's own bp: one bar per haplotype, blue where the graph aligns it to the reference and purple where it does not, so a repeat expansion reads as bar length, and each bar boxes its haplotype's own genes where the session has them. Needs W or P lines.",
3096
+ description: "x is each walk's own bp: one bar per haplotype, blue on the reference's path and purple off it, so a repeat expansion reads as bar length, and each bar boxes its haplotype's own genes where the session has them. Needs W or P lines.",
3097
3097
  run: walkRowLayout,
3098
3098
  cutMargins: false,
3099
3099
  wholeWalks: true,
@@ -4914,14 +4914,14 @@ function walkRowsKey(bars, o = {}) {
4914
4914
  kind: "bar",
4915
4915
  fill: o.ramp ? o.rampCss ?? ON_REFERENCE : ON_REFERENCE
4916
4916
  },
4917
- label: `aligned to ${bars.reference.label} in the graph`
4917
+ label: `on ${bars.reference.label}'s path`
4918
4918
  },
4919
4919
  {
4920
4920
  swatch: {
4921
4921
  kind: "bar",
4922
4922
  fill: o.ramp ? REFERENCE_RAMP_ALT_CSS : OFF_REFERENCE
4923
4923
  },
4924
- label: "not aligned to it in the graph"
4924
+ label: `off ${bars.reference.label}'s path`
4925
4925
  }
4926
4926
  ];
4927
4927
  if ([bars.reference, ...bars.rows].some((row) => row.gapBp > 0)) {
@@ -5254,7 +5254,7 @@ function svgCanvas(width, height) {
5254
5254
  }
5255
5255
 
5256
5256
  // src/version.ts
5257
- var version = "4.1.0";
5257
+ var version = "4.2.0";
5258
5258
 
5259
5259
  // src/viewport.ts
5260
5260
  function axisScaleOf(scale, pixelRows) {
@@ -17,7 +17,7 @@ import {
17
17
  openGbz,
18
18
  parseRegion,
19
19
  refNameBinding
20
- } from "../chunks/chunk-WAW4SYMY.js";
20
+ } from "../chunks/chunk-FPBV6GNR.js";
21
21
 
22
22
  // src/cli/figure.ts
23
23
  import { access, open, readFile, writeFile } from "node:fs/promises";
package/dist/index.js CHANGED
@@ -126,7 +126,7 @@ import {
126
126
  wellKnownSample,
127
127
  yToXOf,
128
128
  zoomAbout
129
- } from "./chunks/chunk-WAW4SYMY.js";
129
+ } from "./chunks/chunk-FPBV6GNR.js";
130
130
 
131
131
  // src/index.ts
132
132
  import { getDpr } from "@jbrowse/render-core/canvas2dUtils";
@@ -42,7 +42,7 @@ export declare const LAYOUT_MODES: readonly [{
42
42
  }, {
43
43
  readonly value: "walkrows";
44
44
  readonly label: "Walk rows";
45
- readonly description: "x is each walk's own bp: one bar per haplotype, blue where the graph aligns it to the reference and purple where it does not, so a repeat expansion reads as bar length, and each bar boxes its haplotype's own genes where the session has them. Needs W or P lines.";
45
+ readonly description: "x is each walk's own bp: one bar per haplotype, blue on the reference's path and purple off it, so a repeat expansion reads as bar length, and each bar boxes its haplotype's own genes where the session has them. Needs W or P lines.";
46
46
  readonly run: typeof walkRowLayout;
47
47
  readonly cutMargins: false;
48
48
  readonly wholeWalks: true;
@@ -116,7 +116,7 @@ export declare function layoutModeByValue(value: string): {
116
116
  } | {
117
117
  readonly value: "walkrows";
118
118
  readonly label: "Walk rows";
119
- readonly description: "x is each walk's own bp: one bar per haplotype, blue where the graph aligns it to the reference and purple where it does not, so a repeat expansion reads as bar length, and each bar boxes its haplotype's own genes where the session has them. Needs W or P lines.";
119
+ readonly description: "x is each walk's own bp: one bar per haplotype, blue on the reference's path and purple off it, so a repeat expansion reads as bar length, and each bar boxes its haplotype's own genes where the session has them. Needs W or P lines.";
120
120
  readonly run: typeof walkRowLayout;
121
121
  readonly cutMargins: false;
122
122
  readonly wholeWalks: true;
@@ -1 +1 @@
1
- export declare const version = "4.1.0";
1
+ export declare const version = "4.2.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/bandage-core",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "Pangenome graph layout and drawing with no host: GFA in, the Bandage force-directed engine and reference-anchored layouts, a Canvas2D renderer, hit testing and labels out",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "repository": {