File size: 1,950 Bytes
9f9e97b
 
693a2cb
 
 
 
 
 
 
 
 
9f9e97b
693a2cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
license: mit
library_name: pytorch
pipeline_tag: other
tags:
  - genomics
  - gene-expression
  - transcriptional-regulation
language:
  - en
pretty_name: RegFM
---

# RegFM

**RegFM** is a context-aware foundation model for human transcriptional regulation.  
It treats regulation as a dialogue between **cis-regulatory sequences (CREs)** and **trans-acting regulators** (transcription factors and chromatin regulators), coupling long-range CRE representations with TF/CR activity.

Trained on large-scale ENCODE and CELLxGENE transcriptomic profiles, RegFM learns gene-centered regulatory representations that generalize across unseen cellular contexts.

[![GitHub](https://img.shields.io/badge/GitHub-ZjGaothu%2FRegFM-181717?logo=github)](https://github.com/ZjGaothu/RegFM)

<p align="center">
  <img src="init/model.jpg" width="85%" alt="RegFM overview">
</p>

## Model description

- **Inputs**: long-range cis-DNA sequence features + cell-context TF/CR and expression signals  
- **Outputs**: gene expression predictions and regulatory representations usable for downstream tasks  
- **Framework**: PyTorch

## Intended uses

- Gene expression prediction in unseen cellular contexts  
- Cis-regulatory element annotation  
- Bivalent promoter / dosage-sensitivity related analyses  
- Perturbation-response prediction  
- Interpretable analysis of cis–trans regulatory interactions  


## Code & demo

Code, training/prediction scripts, and a PBMC leave-one-out demo (predict on held-out **CD8 TEM 1**) live on GitHub:

**https://github.com/ZjGaothu/RegFM**

```bash
pip install git+https://github.com/ZjGaothu/RegFM.git
# or clone and: pip install -e .
```

## Citation

If you use RegFM, please cite:

Zijing Gao, et al. RegFM: an interpretable context-aware foundation model for human transcriptional regulation. bioRxiv, (2026).  
*(DOI will be added upon public release.)*

## Contact

`gzj21@mails.tsinghua.edu.cn`

## License

MIT