Epigenetics is all you need: A transformer to decode chromatin structural compartments from the epigenome
PLOS Computational Biology, 21(12), e1012326, 2025.
Software
Transformer of Epigenetics to Chromatin Structural AnnotationS predicts chromatin structural annotations directly from epigenomic data.
TECSAS (Transformer of Epigenetics to Chromatin Structural AnnotationS) is a deep learning model based on the Transformer architecture designed to predict chromatin subcompartment annotations directly from epigenomic data. TECSAS leverages information from histone modifications, transcription factor binding profiles, and RNA-seq data to decode the relationship between the biochemical composition of chromatin and its 3D structural behavior.
Chromatin within the nucleus adopts complex three-dimensional structures that are crucial for gene regulation and cellular function. Recent studies have revealed the presence of distinct chromatin subcompartments beyond the traditional A/B compartments (eu- and hetero-chromatin), each exhibiting unique structural and functional properties. TECSAS achieves high accuracy in predicting subcompartment annotations and reveals the influence of long-range epigenomic context on chromatin organization.
The framework enables:
TECSAS processes epigenomic signal tracks at specified genomic resolution (default 50kb bins), normalizes signals using z-score standardization, and uses sliding window context (default ±14 neighboring bins) to capture spatial dependencies. Unlike methods that rely on Hi-C contact maps, TECSAS predicts 3D genome organization directly from the epigenome, enabling analysis across diverse cell types without requiring proximity ligation experiments.
For complete examples, see the Tutorials directory.
Resources:
TECSAS requires Python 3.6+ and the following dependencies:
Install from source:
git clone https://github.com/ed29rice/TECSAS.git
cd TECSAS
pip install -e .
Install dependencies:
pip install torch numpy pyBigWig requests joblib tqdm urllib3
Note: For GPU acceleration, ensure you have CUDA-compatible PyTorch installed
References
If you use TECSAS in your research, please cite the associated publication.
PLOS Computational Biology, 21(12), e1012326, 2025.
For questions, issues, or collaborations, please open an issue on GitHub or contact the developers.