pydreg: a fast Python package for identifying active cis-regulatory elements from nascent transcription
- 1Cornell University
Abstract
Background: Active promoters and enhancers generate characteristic patterns of RNA transcription that can be measured through nascent RNA sequencing. dREG is a leading method that uses these patterns to identify active cis-regulatory elements across the genome, allowing regulatory activity and gene transcription to be profiled in the same experiment. However, its reference implementation was developed around an R-based workflow and a legacy GPU-accelerated support vector machine library that have become increasingly difficult to maintain and deploy. Findings: To improve future usability of dREG, we developed pydreg, a Python port of dREG. pydreg preserves the original pretrained models and peak calling procedure from dREG while using contemporary numerical libraries for CPU and GPU computation. pydreg achieves 4.5 and 5.4-fold reductions in runtime and peak host memory, respectively, compared to dREG while producing near identical peak calls. Conclusions: pydreg reduces practical barriers to running dREG locally, improves runtime and memory usage, integrates readily with Python-based genomics workflows, and provides a maintainable foundation on modern computing infrastructure. Availability and Implementation: pydreg is implemented in Python 3.11+ and is freely available under the GPL-3 license at https://github.com/adamyhe/pydreg and from PyPI via pip install pydreg[gpu] (for CUDA acceleration) or pip install pydreg[mlx] (for Apple Metal acceleration).
Related
- Nascent transcription profiling identifies H3K36 methylation as a custodian of the somatic transcriptome
- Reconstitution of the Trimethylamine Oxide Reductase Regulatory Elements of Shewanella oneidensis in Escherichia coli
- Identification of regulatory elements and association analysis of genetic variants with growth traits of goat ADAMTS15 gene
- Transcription factors read a second regulatory code in chromatin
- Pangenome-resolved polymorphic transposable elements reveal human regulatory evolution in action
BibTeX
@misc{he2026pydreg,
title = {{pydreg: a fast Python package for identifying active cis-regulatory elements from nascent transcription}},
author = {A. Y. He and C. G. Danko},
howpublished = {bioRxiv},
year = {2026},
month = sep,
doi = {10.64898/2026.09.06.745329},
url = {https://www.biorxiv.org/content/10.64898/2026.09.06.745329v1},
note = {CC BY},
}
RIS
TY - UNPB
TI - pydreg: a fast Python package for identifying active cis-regulatory elements from nascent transcription
AU - A. Y. He
AU - C. G. Danko
PY - 2026
DA - 2026/09/06
PB - bioRxiv
DO - 10.64898/2026.09.06.745329
UR - https://www.biorxiv.org/content/10.64898/2026.09.06.745329v1
AB - Background: Active promoters and enhancers generate characteristic patterns of RNA transcription that can be measured through nascent RNA sequencing. dREG is a leading method that uses these patterns to identify active cis-regulatory elements across the genome, allowing regulatory activity and gene transcription to be profiled in the same experiment. However, its reference implementation was developed around an R-based workflow and a legacy GPU-accelerated support vector machine library that have become increasingly difficult to maintain and deploy. Findings: To improve future usability of dREG, we developed pydreg, a Python port of dREG. pydreg preserves the original pretrained models and peak calling procedure from dREG while using contemporary numerical libraries for CPU and GPU computation. pydreg achieves 4.5 and 5.4-fold reductions in runtime and peak host memory, respectively, compared to dREG while producing near identical peak calls. Conclusions: pydreg reduces practical barriers to running dREG locally, improves runtime and memory usage, integrates readily with Python-based genomics workflows, and provides a maintainable foundation on modern computing infrastructure. Availability and Implementation: pydreg is implemented in Python 3.11+ and is freely available under the GPL-3 license at https://github.com/adamyhe/pydreg and from PyPI via pip install pydreg[gpu] (for CUDA acceleration) or pip install pydreg[mlx] (for Apple Metal acceleration).
ER -