The Directionality Index (DI) is a metric that quantifies the upstream or downstream bias of chromatin interactions at a given genomic bin, directly inferring the directionality of loop extrusion and domain boundaries. It is calculated from Hi-C contact maps by comparing the interaction frequency of a bin with its upstream neighbors versus its downstream neighbors, revealing the structural polarity of Topologically Associating Domains (TADs).
Glossary
Directionality Index

What is Directionality Index?
A quantitative metric used in 3D genomics to infer the orientation of loop extrusion and identify domain boundaries from Hi-C interaction data.
A high positive DI indicates a strong downstream interaction bias, while a negative value signals upstream preference, with sharp transitions at CTCF binding sites marking domain boundaries. The DI is foundational for identifying insulation boundaries and validating computational models like Akita that predict 3D genome folding from linear DNA sequence.
Key Characteristics of the Directionality Index
The Directionality Index (DI) is a foundational metric for decoding 3D genome architecture. It transforms raw Hi-C interaction frequencies into a directional signal, revealing the upstream or downstream bias of chromatin contacts at a specific genomic locus. This signal is critical for identifying the boundaries of Topologically Associating Domains (TADs) and inferring the mechanics of loop extrusion.
Mathematical Definition
The DI quantifies the net bias of chromatin interactions. For a given genomic bin, it calculates the difference between the sum of interactions with downstream loci and the sum of interactions with upstream loci, normalized by the total interactions.
- Formula:
DI = [(B - A) / |B - A|] * ((A - E)^2 / E + (B - E)^2 / E)where A is downstream signal, B is upstream signal, and E is the expected value. - Simplified Logic: A positive DI indicates a strong downstream bias, while a negative DI indicates an upstream bias.
- Hidden Markov Model (HMM) Input: The DI vector is the primary input for HMMs that segment the genome into discrete domain states.
TAD Boundary Identification
The primary application of the DI is to pinpoint the precise locations of Topologically Associating Domain (TAD) boundaries. These boundaries act as insulators that restrict the loop extrusion process.
- Zero-Crossing Points: TAD boundaries are identified as genomic coordinates where the DI value flips its sign, transitioning from a positive (downstream) to a negative (upstream) bias.
- Insulation Correlation: A sharp change in the DI directly correlates with a high Insulation Score, another metric for boundary detection.
- CTCF Convergence: These boundaries are typically enriched with convergent CTCF binding sites, the molecular anchors that halt the cohesin complex.
Inferring Loop Extrusion Dynamics
The DI provides a direct readout of the loop extrusion process. A consistent downstream bias within a domain suggests the active, unidirectional movement of a cohesin complex.
- Upstream Bias: A negative DI value indicates a region where interactions are predominantly oriented toward the left boundary, often marking the end of an extrusion track.
- Downstream Bias: A positive DI value suggests the cohesin complex is actively reeling DNA toward the right boundary.
- Stalled Extrusion: A flat DI profile near zero can indicate a region where extrusion is stalled or where symmetric interactions dominate.
Computational Pipeline
Calculating the DI from raw sequencing data involves a standardized preprocessing workflow to ensure signal accuracy.
- Input Data: A binned, normalized Hi-C contact map stored in a format like Cooler.
- Distance Normalization: The contact matrix must first be corrected for the expected background decay using Genomic Distance Normalization to prevent linear proximity from dominating the signal.
- Sliding Window: The DI is calculated over a fixed-size sliding window (e.g., 40kb to 100kb) along the chromosome to smooth local noise and capture domain-scale trends.
Benchmarking with Stratum-Adjusted Correlation
The accuracy of DI-based predictions is validated against experimental data using specialized metrics. The Stratum-Adjusted Correlation Coefficient (SCC) is the gold standard for comparing Hi-C maps.
- Distance-Aware Metric: Unlike generic correlation, the SCC accounts for the distance-dependent signal in Hi-C data, preventing trivial agreement from dominating the score.
- Boundary Validation: Predicted DI zero-crossings are validated against orthogonal methods like DNA FISH, which physically measures the spatial distance between loci.
- Resolution Impact: The precision of DI-based boundary calls is directly limited by the resolution of the underlying Hi-C map, which can be enhanced using models like DeepHiC.
Application in Deep Learning Models
The DI is not just an analytical metric; it serves as a powerful prediction target for sequence-to-structure models like Akita.
- Training Target: Deep neural networks are trained to predict the DI vector directly from raw DNA sequence and epigenomic features.
- Feature Engineering: The predicted DI can be used as an intermediate feature to reconstruct full Hi-C contact maps or to classify A/B compartments.
- Variant Impact: By predicting the DI for a mutated sequence, models can assess how structural variants disrupt domain boundaries and cause ectopic enhancer-promoter interactions.
Frequently Asked Questions
Explore the core concepts behind the Directionality Index, a critical metric for quantifying chromatin interaction bias and inferring the boundaries of topologically associating domains from Hi-C data.
The Directionality Index (DI) is a quantitative metric that measures the upstream or downstream bias of chromatin interactions for a specific genomic bin, calculated from a Hi-C contact map. It directly answers the question: does a given locus interact more frequently with the region to its left (upstream) or to its right (downstream)?
- Calculation: For a bin i, the DI is computed as:
DI = ( (B - A) / |B - A| ) * ( (A - E)^2 / E + (B - E)^2 / E )where A is the sum of contacts with upstream bins, B is the sum of contacts with downstream bins, and E is the expected value(A + B) / 2. - Interpretation: A positive DI indicates a downstream interaction bias, while a negative DI indicates an upstream bias. A DI near zero suggests balanced interactions.
- Application: The DI is the foundational signal for identifying TAD boundaries, as boundaries are located precisely where the DI flips its sign, marking the transition from one directional preference to another.
Directionality Index vs. Insulation Score
Comparison of two primary computational metrics derived from Hi-C contact maps for identifying topologically associating domain boundaries and characterizing chromatin interaction directionality.
| Feature | Directionality Index | Insulation Score | Stratum-Adjusted Correlation Coefficient |
|---|---|---|---|
Primary Function | Quantifies upstream vs. downstream interaction bias at a genomic bin | Measures degree of interaction insulation at a genomic locus | Measures reproducibility between two Hi-C contact maps |
Identifies TAD Boundaries | |||
Output Range | -1 to +1 | Continuous, normalized per chromosome | -1 to +1 |
Boundary Signature | Sign change from positive to negative | Local minimum (valley) in score | |
Sensitive to Bin Size | |||
Distance Normalization Required | |||
Computational Complexity | O(n) per chromosome | O(n * w) where w is window size | O(n^2) for full matrix comparison |
Typical Window Size | 1-2 Mb upstream/downstream | 100 kb - 500 kb square | Full chromosome arm |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Key metrics and structural concepts used alongside the Directionality Index to quantify and interpret 3D genome organization from Hi-C data.
Insulation Score
A quantitative metric that measures the degree to which a genomic locus is insulated from interactions with neighboring regions. Calculated by sliding a square window along the Hi-C contact map and summing interaction frequencies within the window, the insulation score produces a valley at TAD boundaries where insulation is strongest. The Directionality Index and insulation score are complementary: the DI identifies the upstream/downstream bias of interactions, while the insulation score quantifies the absolute strength of the boundary separating domains.
Topologically Associating Domain (TAD)
A self-interacting genomic region where DNA sequences physically interact with each other more frequently than with sequences outside the domain. TADs are the fundamental structural units of chromosome folding, typically spanning 100 kb to 1 Mb in mammals. The Directionality Index is a primary computational tool for identifying TAD boundaries: a sign change in the DI (from positive to negative) indicates a transition from upstream-biased to downstream-biased interactions, marking the boundary between adjacent TADs.
Stratum-Adjusted Correlation Coefficient (SCC)
A reproducibility metric specifically designed for Hi-C data that measures the similarity between two contact maps while accounting for the distance-dependent signal decay. Unlike standard Pearson correlation, the SCC stratifies contacts by genomic distance before computing correlation, preventing the dominant distance-decay trend from inflating similarity scores. Used as a benchmarking standard for evaluating the accuracy of predicted 3D genome structures against experimental Hi-C data.
Genomic Distance Normalization
A statistical correction applied to Hi-C contact maps to account for the expected background contact frequency decay as a function of linear genomic distance. Contact probability follows a power-law relationship with distance: loci that are closer together interact more frequently regardless of 3D structure. Normalization removes this distance-dependent bias, enabling the Directionality Index and other metrics to detect genuine structural features rather than artifacts of linear proximity.
Loop Extrusion Model
A mechanistic model wherein cohesin complexes actively reel DNA to form progressively larger loops until blocked by CTCF boundary elements. The Directionality Index provides computational evidence for loop extrusion: at a convergent CTCF site acting as an extrusion barrier, the DI shows a sharp transition reflecting the directional bias of extruding cohesin complexes. This links the DI directly to the underlying molecular mechanism of 3D genome organization.
A/B Compartment Prediction
The classification of genomic regions into open, transcriptionally active 'A' compartments or closed, inactive 'B' compartments based on long-range interaction patterns. While the Directionality Index operates at the TAD scale (100 kb–1 Mb), compartment analysis captures higher-order organization at the multi-megabase scale. The two analyses are hierarchical: TADs nest within compartments, and the DI helps delineate the fine-scale boundaries within the broader compartment landscape.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us