Abstract
We present HiGlass, an open source visualization tool built on web technologies that provides a rich interface for rapid, multiplex, and multiscale navigation of 2D genomic maps alongside 1D genomic tracks, allowing users to combine various data types, synchronize multiple visualization modalities, and share fully customizable views with others. We demonstrate its utility in exploring different experimental conditions, comparing the results of analyses, and creating interactive snapshots to share with collaborators and the broader public. HiGlass is accessible online at http://higlass.io and is also available as a containerized application that can be run on any platform.
Introduction
The spatial organization of the genome—how DNA folds within the nucleus—is critical for understanding gene regulation and disease. Techniques like Hi-C produce massive 2D datasets representing billions of potential interactions across scales ranging from a few kilobases to entire chromosomes.
Before HiGlass, researchers struggled with three main bottlenecks: scale and speed, as Hi-C matrices are too large to load all at once; comparison, as it was difficult to "lock" the view of different samples side-by-side; and sharing, as communicating findings usually involved static screenshots that stripped away context. HiGlass addresses these challenges as an open-source, web-based visualization framework designed for the fast, multiscale exploration of 2D genomic contact maps alongside 1D tracks.
Methods
HiGlass adopts a client-server architecture built on modern web technologies (JavaScript/React and Python). Its core innovations include:
- Multiscale Tiling: Similar to web maps, HiGlass breaks genomic data into "tiles" at multiple resolutions. The browser only requests the specific tiles needed for the current viewport, enabling rapid navigation.
- Composable Linked Views: Users can arrange multiple panels and "link" them by location, zoom level, or both. Moving in one panel automatically synchronizes the others, facilitating direct comparison between datasets.
- Viewport Projections: This feature allows one view to show a "box" representing the boundaries of another, more zoomed-in view, providing essential spatial context during multiscale exploration.
- JSON View Configurations: The entire state of a visualization—datasets, tracks, zoom levels, and links—is stored as a declarative JSON object. This allows researchers to share a simple URL that recreates their exact interactive session.
Key Insights and Applications
The authors demonstrated HiGlass using several high-profile datasets, including Mouse Hepatocyte Hi-C and various TAD caller benchmarks.
One key insight involved the comparison of wild-type (WT) and mutant (ΔNipbl) mice. By linking these views, researchers visually confirmed that while "local" structures (TADs) disappeared in the mutant, "global" A/B compartmentalization actually became more pronounced. Furthermore, side-by-side comparison of seven TAD callers revealed a surprising lack of consensus, highlighting the necessity of visual inspection as a "sanity check" in genomic data science.
Results and Performance
In a controlled study, over 96% of tile requests were served in under 0.5 seconds, maintaining the "interactive" feel necessary for hypothesis generation. The tool supports a wide array of 1D and 2D track types, including heatmaps, gene annotations, and signal tracks (lines, bars, points). HiGlass is highly accessible, available as a public web tool (higlass.io), a local Docker container for private data, and a library that can be embedded into other web applications.
Discussion and Future Work
While HiGlass is powerful, the authors note areas for growth, including better metadata integration for managing hundreds of tracks and the standardization of APIs to allow HiGlass to talk to different genomic data repositories more seamlessly. Integrating 3D structural models directly into the linked-view framework is a logical next step for the field.
Summary updated