@jbrowse/bandage-core 0.1.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/LICENSE +674 -0
- package/README.md +29 -0
- package/dist/chunks/bandage-layout-3AR6BCUD.js +4694 -0
- package/dist/index.js +5409 -0
- package/dist/types/alleleProjection/projectAlleles.d.ts +13 -0
- package/dist/types/anchoredNodes.d.ts +17 -0
- package/dist/types/bandage/bandage-layout.d.ts +14 -0
- package/dist/types/bubbleSpreads.d.ts +32 -0
- package/dist/types/bubbles/bubbleHalos.d.ts +20 -0
- package/dist/types/bubbles/bubbleLine.d.ts +24 -0
- package/dist/types/bubbles/bubblesFromGraph.d.ts +3 -0
- package/dist/types/bubbles/classifyBubble.d.ts +16 -0
- package/dist/types/bubbles/popBubble.d.ts +2 -0
- package/dist/types/colorSchemes.d.ts +33 -0
- package/dist/types/deletionEdges.d.ts +24 -0
- package/dist/types/gaf/parseGaf.d.ts +37 -0
- package/dist/types/gbzWindow.d.ts +27 -0
- package/dist/types/genes/genePins.d.ts +19 -0
- package/dist/types/gfa/gfaConverter.d.ts +11 -0
- package/dist/types/gfa-core/gfaParser.d.ts +48 -0
- package/dist/types/gfa-core/index.d.ts +2 -0
- package/dist/types/graphLabels.d.ts +46 -0
- package/dist/types/index.d.ts +50 -0
- package/dist/types/labelLayout.d.ts +59 -0
- package/dist/types/layout/anchoredLayout.d.ts +5 -0
- package/dist/types/layout/drawnScale.d.ts +28 -0
- package/dist/types/layout/mergeRuns.d.ts +9 -0
- package/dist/types/layout/orderedLayout.d.ts +9 -0
- package/dist/types/layout/orientToReference.d.ts +4 -0
- package/dist/types/layout/placeOffReference.d.ts +9 -0
- package/dist/types/layout/referenceSeeds.d.ts +12 -0
- package/dist/types/layout/rowSpacing.d.ts +1 -0
- package/dist/types/layout/sampleRowLayout.d.ts +5 -0
- package/dist/types/layout/tubeMapLayout.d.ts +19 -0
- package/dist/types/layout/variantMapLayout.d.ts +2 -0
- package/dist/types/layout/walkRowLayout.d.ts +10 -0
- package/dist/types/layout/walkRows.d.ts +25 -0
- package/dist/types/layoutModes.d.ts +153 -0
- package/dist/types/loadBandage.d.ts +3 -0
- package/dist/types/nodeWidths.d.ts +18 -0
- package/dist/types/overlayLabels.d.ts +29 -0
- package/dist/types/pansn.d.ts +8 -0
- package/dist/types/pathAnchoring.d.ts +20 -0
- package/dist/types/pathColors.d.ts +14 -0
- package/dist/types/pipeline.d.ts +79 -0
- package/dist/types/referenceSpan.d.ts +12 -0
- package/dist/types/renderer/Canvas2DRenderer.d.ts +32 -0
- package/dist/types/renderer/GeometryBuilder.d.ts +63 -0
- package/dist/types/renderer/colorBits.d.ts +2 -0
- package/dist/types/renderer/types.d.ts +50 -0
- package/dist/types/tubeMap/draw.d.ts +66 -0
- package/dist/types/tubeMap/frame.d.ts +15 -0
- package/dist/types/tubeMap/mismatches.d.ts +24 -0
- package/dist/types/tubeMap/reads.d.ts +10 -0
- package/dist/types/tubeMap/warp.d.ts +7 -0
- package/dist/types/types.d.ts +75 -0
- package/dist/types/util/SpatialIndex.d.ts +25 -0
- package/dist/types/util/edgeCurves.d.ts +4 -0
- package/dist/types/util/geometry.d.ts +46 -0
- package/dist/types/util/hitDetection.d.ts +10 -0
- package/dist/types/util/wheelZoom.d.ts +5 -0
- package/dist/types/viewport.d.ts +22 -0
- package/dist/types/walkHighlight.d.ts +10 -0
- package/package.json +43 -0
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# @jbrowse/bandage-core
|
|
2
|
+
|
|
3
|
+
Pangenome graph layout and drawing with no host, the engine behind
|
|
4
|
+
[jbrowse-plugin-graphgenomeviewer](https://github.com/GMOD/jbrowse-plugin-graphgenomeviewer)
|
|
5
|
+
and [BandageJS](https://github.com/cmdcolin/BandageJS).
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
npm install @jbrowse/bandage-core
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
- GFA and rGFA text in (`loadGraph`)
|
|
12
|
+
- Layouts: Bandage's FMMM engine as WASM (`loadBandage`, `forceLayout`), variant
|
|
13
|
+
map, ordered, anchored, sample rows, walk rows, tube map
|
|
14
|
+
- A Canvas2D renderer (`buildGeometry`, `Canvas2DRenderer`), hit testing and
|
|
15
|
+
label placement
|
|
16
|
+
- Bubbles, deletion edges, path colors, gbz-base windows cut to GFA
|
|
17
|
+
|
|
18
|
+
Nothing here imports React, MobX or a JBrowse host. BandageJS's
|
|
19
|
+
[`src/main.ts`](https://github.com/cmdcolin/BandageJS/blob/main/src/main.ts) is
|
|
20
|
+
the worked example.
|
|
21
|
+
|
|
22
|
+
## Developing
|
|
23
|
+
|
|
24
|
+
Lives in the plugin repo as a pnpm workspace package. The plugin imports its
|
|
25
|
+
source directly, so a change here needs no publish to reach the plugin.
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
pnpm release:core # from the repo root: checks, bumps, tags core-v*, pushes
|
|
29
|
+
```
|