Live Map Integration
This release integrates hic-straw v2.2.0 and juicebox.js v3.2.0 to bring live contact map and distance map computation directly into Spacewalk. The previous web worker approach has been replaced by hic-straw's LiveContactMap API, which implements the HicFile interface — Juicebox.js renders live maps identically to static .hic files.
New Capabilities
- Live contact maps computed in real time from 3D chromatin trace data, with binary and frequency contact modes
- Live distance maps rendered alongside contact maps
- Dynamic threshold adjustment — change the contact distance cutoff without recomputing the full distance matrix
- Configurable neighbor exclusion to filter trivially proximal diagonal contacts
- Shared color picker between live maps and static Hi-C maps
- Spinner overlays provide visual feedback during live map computation
- Stepper buttons on threshold and exclusion sliders for precise control
Architecture Changes
- Removed
liveContactMapWorker.jsandliveDistanceMapWorker.js— web workers replaced by direct hic-straw API calls on the main thread - Added
liveMapRenderUtils.jsfor shared canvas rendering logic - Redesigned live map tab layout with streamlined controls
- Net: −2,454 lines removed, +1,312 lines added
Dependencies
| Package | Previous | Current |
|---|---|---|
| hic-straw | spacewalk-extensions branch |
v2.2.0 |
| juicebox.js | live-map branch |
v3.2.0 |
Bug Fixes
- Fixed genome lookup to use
genomeListinstead of hardcoded fallback - Fixed navbar dropdown dismissal behavior