SCALE
A variational autoencoder with a Gaussian mixture prior that extracts latent features from single-cell ATAC-seq data.
Molecules, proteins and genomics · 34 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 103.6M
- Operations
- 34
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2019, Nature Communications
- Cited by
- 218 (as of 29 October 2026)
- Authors
- Lei Xiong, Kui Xu, Kang Tian and others
- Source
- GitHub: jsxlei/SCALE
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m19974
- Graph hash
- 08fc990dbe1da11750f9c5147deca05fc9da9182ba2b36a350806cf31be83320
- Skeleton hash
- 90cf7cd6aa64cfe26b07ead84000afbd1234919794a615c6b9dafa87bd43ccde
- Architecture hash
- 2f58bf893f8a0770f0bebeae3d3c432c461b23a48d61348444c4e1638b0877a1
- Diagram SHA-256
- 72dc90ebbfb65f2c450b792cb2d4f33a766b132547d356a73b3367cb52bc74b1
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
SCALE (Single-Cell ATAC-seq analysis via Latent feature Extraction) is a method for analyzing single-cell ATAC-seq data, which profiles chromatin accessibility in individual cells. It pairs a variational autoencoder (VAE) with a Gaussian mixture model to cope with data that are high-dimensional and sparse. An encoder compresses each cell's vector of peaks into a few latent features, a decoder reconstructs the full vector from them, and the latent features are then used for visualization and clustering.
Where a standard VAE places a single Gaussian over the latent space, SCALE uses a mixture of Gaussians with one component for each of a predefined number of clusters. The authors' argument is that the single Gaussian used by scVI, an earlier VAE for single-cell RNA-seq, often underfits sparse data. The decoder has no hidden layer: the ten latent features connect directly to the output peaks through a sigmoid, so a feature can be interpreted by its most heavily weighted peaks.
The paper's default encoder has four layers (3200–1600–800–400), while this model uses the two-layer encoder (1024–128) that the paper provides as a quick mode for large datasets. The reconstruction also serves as a denoised and imputed version of the data, and the paper reports that it correlated more closely with per-cell-type averages than the output of the single-cell RNA-seq imputation methods it was compared with.
Key idea. SCALE combines a variational autoencoder with a Gaussian mixture model to learn latent features of sparse single-cell ATAC-seq data for visualization, clustering, denoising and imputation.
- SCALE
- Single-Cell ATAC-seq analysis via Latent feature Extraction
- scale-atac
- scATAC-seq
- single-cell ATAC-seq
- chromatin accessibility
- variational autoencoder
- Gaussian mixture model
- cell clustering
- imputation
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{scale2019,
title = {SCALE method for single-cell ATAC-seq analysis via latent feature extraction},
author = {Lei Xiong and Kui Xu and Kang Tian and Yanqiu Shao and Lei Tang and Ge Gao and Michael Zhang and Tao Jiang and Qiangfeng Cliff Zhang},
year = {2019},
journal = {Nature Communications},
doi = {10.1038/s41467-019-12630-7}
}