SnapFISH: a computational pipeline to identify chromatin loops from multiplexed DNA FISH data

Lindsay Lee, Hongyu Yu, Bojing Blair Jia, Adam Jussila, Chenxu Zhu, Jiawen Chen, Liangqi Xie, Antonina Hafner, Shreya Mishra, Darren Yow-Bang Wang, Caterina Strambio‐De‐Castillia, Alistair N. Boettiger, Bing Ren, Yun Li, Ming Hu

Abstract

Multiplexed DNA fluorescence in situ hybridization (FISH) imaging technologies have been developed to map the folding of chromatin fibers at tens of nanometers and up to several kilobases in resolution in single cells. However, computational methods to reliably identify chromatin loops from such imaging datasets are still lacking. Here we present a Single-Nucleus Analysis Pipeline for multiplexed DNA FISH (SnapFISH), to process the multiplexed DNA FISH data and identify chromatin loops. SnapFISH can identify known chromatin loops from mouse embryonic stem cells with high sensitivity and accuracy. In addition, SnapFISH obtains comparable results of chromatin loops across datasets generated from diverse imaging technologies.

Introduction

The spatial organization of the genome is a critical determinant of gene regulation. Chromatin loops, which bring distant regulatory elements like enhancers into physical proximity with gene promoters, are fundamental structural units of this organization. While sequencing-based methods such as Hi-C have provided extensive maps of these interactions, they rely on indirect contact inference from population averages.

Recent advances in multiplexed DNA FISH (Fluorescence In Situ Hybridization) and related imaging techniques (e.g., ORCA, seqFISH+) now allow for the direct 3D visualization of genomic loci at nanometer resolution in single cells. However, the lack of standardized computational pipelines for "loop-calling" in imaging data has hindered the field. Unlike the discrete counts used in Hi-C, imaging data provides continuous Euclidean distances and often contains missing values, necessitating a specialized statistical approach.

Methods: The SnapFISH Pipeline

SnapFISH (Single-Nucleus Analysis Pipeline for multiplexed DNA FISH) was developed to address the unique statistical requirements of imaging-based chromatin analysis. The pipeline follows a structured workflow:

  1. Coordinate Mapping: The input consists of the 3D $(x, y, z)$ coordinates of targeted genomic segments across hundreds or thousands of individual nuclei. Input data structure showing 3D coordinates for targeted segments across K cells. Source, p. 2
  2. Distance Calculation: Pairwise Euclidean distances are calculated for all segments within each nucleus.
  3. Contact Frequency Definition: A "contact" is defined based on a distance threshold, typically derived from the baseline physical distance between segments with minimal linear genomic separation (e.g., 25kb).
  4. Local Neighborhood Testing: Borrowing from Hi-C analysis logic, SnapFISH compares the distances of a specific pair of interest against its "local neighborhood"—nearby pairs on the genomic grid. A two-sample T-test is employed to determine if the pair of interest is significantly closer than its neighbors across the cell population. Statistical framework using a two-sample T-test to compare a pair of interest against the local neighborhood control region. Source, p. 2
  5. Clustering and Summits: P-values are adjusted for multiple testing (FDR). Candidate loops are clustered, and the "loop summit"—the point of maximum interaction strength—is identified.
Input data structure showing 3D coordinates for targeted segments across K cells.
Statistical framework using a two-sample T-test to compare a pair of interest against the local neighborhood control region.

Results and Validation

The authors benchmarked SnapFISH using several high-resolution datasets, including DNA seqFISH+ from mouse embryonic stem cells (mESCs) and the mouse cerebral cortex, as well as ORCA data at the Sox2 locus.

Accuracy and Sensitivity

SnapFISH demonstrated high fidelity, achieving 87.5% precision when compared to loops identified by high-depth bulk Hi-C. A key advantage of the pipeline is its sensitivity; by treating each nucleus as an independent observation, it can accurately identify the Sox2 enhancer-promoter loop with as few as 200 cells, whereas Hi-C typically requires millions.

Cross-Platform Robustness and Biological Discovery

The pipeline showed consistent performance across diverse imaging platforms, including seqFISH+ and ORCA. In the mouse brain, SnapFISH identified cell-type-specific loops, such as the interaction between Myc and its distal element Pvt1 in excitatory neurons. Additionally, the single-cell nature of the data allowed for allele-specific resolution, successfully identifying loops that exist on only one allele due to specific genetic variations.

Discussion

SnapFISH provides a much-needed standardized tool for the imaging community to study 3D genome architecture. By adapting statistical methods to the continuous nature of spatial data, it enables high-resolution loop-calling from relatively small cell populations.

Limitations remain, particularly regarding "spot detection efficiency," where missing data can reduce statistical power. Future developments will focus on identifying higher-order multi-way chromatin hubs and optimizing the pipeline for genome-wide, high-resolution datasets.

Availability: SnapFISH is open-source and available on GitHub at https://github.com/HuMingLab/SnapFISH.

Summary updated

BibTeX
@inproceedings{lee2023snapfish,
  author = {Lindsay Lee and Hongyu Yu and Bojing Blair Jia and Adam Jussila and Chenxu Zhu and Jiawen Chen and Liangqi Xie and Antonina Hafner and Shreya Mishra and Darren Yow-Bang Wang and Caterina Strambio‐De‐Castillia and Alistair N. Boettiger and Bing Ren and Yun Li and Ming Hu},
  title = {{SnapFISH: a computational pipeline to identify chromatin loops from multiplexed DNA FISH data}},
  booktitle = {Nature Communications},
  year = {2023},
  doi = {10.1038/s41467-023-40658-3},
}
Figure