bioRxiv Science⌕ Search

bioRxiv · 10.1101/2025.01.26.634966

GRNFomer: Accurate Gene Regulatory Network Inference Using Graph Transformer

Abstract

MotivationDeciphering gene regulatory networks (GRNs) from single-cell transcriptomics data remains a fundamental challenge in computational biology. It is hindered by data sparsity, high dimensionality, and the lack of scalable, generalizable inference models. To address this, we present GRNFormer, a generalizable graph transformer framework for accurate GRN inference from transcriptomics data across species, cell types, and platforms without requiring cell-type annotations or prior regulatory information. ResultsGRNFormer integrates a transformer-based gene expression encoder (Gene-Transcoder) with a variational graph autoencoder (GraViTAE) employing pairwise attention to jointly learn the representations of genes (nodes) and their co-expression relationships (edges). Leveraging TF-Walker, a transcription factor-anchored subgraph sampling strategy, it effectively captures gene regulatory interactions from either single-cell or bulk RNA-seq datasets. Benchmarking on standard datasets demonstrates that GRNFormer outperforms existing traditional and deep learning state-of-the-art methods in blind evaluations, achieving average Sampled Area Under the Receiver Operating Characteristic Curve (Sampled_AUROC) and Sampled Area Under the Precision-Recall Curve (Sampled_AUPRC) values between 0.90 and 0.98 as well as 0.87-0.98 average Sampled F1 score. The model robustly recovers both known and novel regulatory networks, including pluripotency circuits in human embryonic stem cells (hESCs) and immune cell modules in Peripheral Blood Mononuclear Cells (PBMCs). The architecture enables scalable, biologically interpretable GRN inference across various datasets, cell types, and species, establishing GRNFormer as a robust and transferable tool for network biology. AvailabilityGRNFormer is available on GitHub (https://github.com/BioinfoMachineLearning/GRNformer); the version used in this work is archived on Zenodo (https://doi.org/10.5281/zenodo.18868395), with evaluation resources for reproducibility.

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Hegde, A., Cheng, J.. 2025-01-27. GRNFomer: Accurate Gene Regulatory Network Inference Using Graph Transformer. https://doi.org/10.1101/2025.01.26.634966

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Concentration limits and localization of hydrogen peroxide in the extracellular space of solid tissues

H2O2 released to the extracellular space (ECS) regulates diverse physiological processes, yet its concentrations and spatial distribution in tissues remain poorly defined. This uncertainty hampers mechanistic understanding of redox signaling. Here, we used reaction-diffusion modeling to estimate extracellular H2O2 concentrations and transport ranges in various scenarios. Idealized analytical models were combined with numerical models incorporating localized NADPH oxidase (NOX) clusters, ECS microstructure, membrane permeability, and the thioredoxin- and GSH-dependent clearance systems. Using maximal neutrophil and NOX superoxide/H2O2 release rates, we obtained upper bounds for extracellular H2O2. Adjacent to isolated average-sized, fully active NOX2 clusters H2O2 peaked at ~540 nM at adhesion cell-cell separations, and decreased radially over ~50-100 nm. At the receptor cell surface, peak concentration decreased inversely with intercellular separation, to <5 nM at 1 m separation. Radial decrease here, for this wide separation, was over ~2.5 m. Even the former maximal extracellular concentrations induce just a minimal, highly localized oxidation of the intracellular Prdx, Trx and GSH pools. In turn, maximally activated neutrophils carry ~2000 such NOX2 clusters, inducing 10s of M peak ECS H2O2 concentrations. These cause extensive Prdx and Trx oxidation near the exposed membranes. However, the GSH-dependent system still sustains a strong transmembrane gradient if the permeation barrier remains intact, and ECS H2O2 concentrations decay to sub-M within a few m of the source cell. Extracellular H2O2 concentrations scaled linearly with source flux in all the examined conditions. These results establish stringent constraints on autocrine, juxtacrine and next-cell paracrine H2O2 signaling.

systems biology↗

LSD-pipeline: Causal Inference of miRNA Network Effects in Alzheimer's Disease

MicroRNAs (miRNAs) are implicated in Alzheimer's disease (AD), but research has focused on individual miRNAs and direct targets. Existing approaches to miRNA regulation in AD identify associations rather than causal effects, and few methods estimate multi-stage chains from miRNAs through target genes to target transcription factor (TF) cascades. We developed the LSD pipeline (LASSO-SEM-DoWhy), integrating LASSO feature selection, multi-stage structural equation modeling, and DoWhy causal inference to identify and validate miRNA causal pathways in AD. Applying LSD to six blood miRNA and brain mRNA datasets, we identified four LSD-validated miRNAs (miR-30d-5p, miR-92a-3p, miR-296-5p, miR-193a-5p) as AD biomarkers, achieving >86% ROC accuracy in an independent validation cohort. Several miRNAs with no significant direct association with AD showed significant effects when estimated through their target networks, while others significant in direct analysis were not supported at the network level, underscoring the value of network-level analysis. Extending to the TF layer revealed complete miRNA [->] targets [->] TF cascades [->] AD causal chains, with HMGA1, NKX2-3, and PRRX2 as key intermediaries. Confirmed classic pathways converge primarily on tau pathology and synaptic dysfunction. miRNA effects were largely age-independent, suggesting miRNAs act as early initiators of AD pathogenesis. Beyond AD, the LSD pipeline provides a generalizable framework for uncovering causal regulatory mechanisms in other diseases.

systems biology↗

PyKappa: Rule-based modeling in Python

Rule-based languages have proven effective for modeling systems of interacting structured entities as typically encountered in chemistry and molecular biology. We present PyKappa, a rule-based modeling package written in Python whose interpreted nature enables interactive simulation and analysis, including by agentic AI. The package seeks to broaden the base of developers by utilizing a widely known programming language and serves as an easy-to-deploy teaching tool. Using PyKappa, we conduct a case study of phase separation.

systems biology↗