All models

Chromoformer

A multi-scale transformer that classifies gene expression as high or low from histone modification signals.

Molecules, proteins and genomics · 1,170 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (45 KB)

Open in a new tab

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
5.3M
Operations
1,170
Framework
PyTorch
Recurrent
No
Published
Nature Communications 2022
Cited by
38 (as of 30 October 2026)
Authors
Dohoon Lee, Jeewon Yang, Sun Kim
License
GPL-3.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15294
Graph hash
42a5b4fe0412eaf6f881a6426c13753da4122d1dc9dde5441e3d9a8f444c616d
Skeleton hash
77ca2e9aeedb443351e5664e3ade1a597f44a014d6e868e269a5ff58d016866c
Architecture hash
55193e86d0dd72fbbf6a71a458eaaca0dbc818c4b4b4b670c5e033ee1a7213b9
Diagram SHA-256
043fa339e1477208e8be69208df0d52eb868733817e808d37605a761f257bf78
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

Chromoformer is a transformer that predicts the expression of a gene from the levels of histone modifications around it. The paper argues that most earlier computational studies focused only on narrow and linear genomic regions around promoters. Chromoformer instead reads binned signals of seven histone modifications across 40 kbp around the transcription start site, plus the signals at distal regions known to interact with the promoter.

The architecture has three independent modules, each taking the input features at a different resolution and producing an embedding of the regulatory state at the core promoter. Each module chains three transformers, named Embedding, Pairwise Interaction and Regulation, which follow a three-level view of regulation: the core promoter, its pairwise 3D interactions with putative regulatory regions, and the collective effect of those interactions. The three embeddings are concatenated and passed to fully-connected layers.

The classifier, Chromoformer-clf, predicts whether the expression level of a gene is above the median or not. The paper evaluated on 11 cell types and reports that Chromoformer-clf improved on the baseline deep learning models in ROC-AUC. When the window around the start site was widened from 2 kbp to 40 kbp, Chromoformer's performance rose consistently, while the other deep learning models degraded once the window was larger than 10 kbp.

Key idea. The paper builds a transformer with three attention variants that model gene regulation from the core promoter out to distal elements contacting it through three-dimensional chromatin interactions.

  • Chromoformer
  • Chromoformer-clf
  • histone modifications
  • histone code
  • gene expression prediction
  • epigenomics
  • 3D chromatin interactions
  • promoter-capture Hi-C
  • transformer

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{Lee_2022, title={Learning the histone codes with large genomic windows and three-dimensional chromatin interactions using transformer}, volume={13}, ISSN={2041-1723}, url={http://dx.doi.org/10.1038/s41467-022-34152-5}, DOI={10.1038/s41467-022-34152-5}, number={1}, journal={Nature Communications}, publisher={Springer Science and Business Media LLC}, author={Lee, Dohoon and Yang, Jeewon and Kim, Sun}, year={2022}, month=Nov }