Spatially resolved inference of gene regulatory networks from spatial multi-omics data
Documentation | Preprint | GitHub
STARNet (SpaTiAl RNA-ATAC-seq gene Regulatory Network) is a computational framework designed to decipher spatially specific gene regulatory networks (GRNs) from spatial RNA-ATAC-seq and other spatial multi-omics data.
Important
STARNet is not currently distributed on PyPI. Please install it from source.
- Spatially resolved GRN inference from spatial RNA-ATAC-seq and spatial multi-omics data.
- Core workflows centered on
ST.model.STARNet(...).preprocess()andST.grn.infer_grn_from_multiomics(). - Downstream analysis utilities including
ST.pp.extract_peak_gene_associations(),ST.pp.score_all_grn(), andST.pp.score_TF_module(). - GWAS-related utilities such as
ST.pp.process_gwas_sumstats()and SNP / GRN association functions. - Online documentation and tutorial notebooks for GRN inference, spatial trajectory analysis, GWAS analysis, and drug response workflows.
- Online documentation: starnet-tutorials.readthedocs.io
- Installation guide: STARNet_guide/docs/installation_guide.md
- Tutorial notebook: GRN Inference
- Tutorial notebook: Spatial Trajectory
- Tutorial notebook: GWAS Analysis
- Tutorial notebook: Drug Response
Clone the repository and install STARNet into a fresh Python 3.10 or 3.11 environment. For standard user and developer installation, prefer uv.
git clone https://github.com/DBinary/STARNet.git
cd STARNet
micromamba create -n starnet python=3.11
micromamba activate starnet
micromamba install uv
uv pip install -e .On some systems, the system libstdc++ may still be picked before the active conda environment and trigger CXXABI / libstdc++ errors for optional genomics tooling.
If that happens, export the active environment library path before running ST.grn.infer_grn_from_multiomics(...):
export LD_LIBRARY_PATH="$CONDA_PREFIX/lib:$LD_LIBRARY_PATH"After installation, import STARNet as:
import STARNet as STThe current release is organized around the following entry points:
# Model preprocessing
model = ST.model.STARNet(...)
model.preprocess()
# Spatial GRN inference
grn = ST.grn.infer_grn_from_multiomics(...)
# Downstream analysis
peak_gene = ST.pp.extract_peak_gene_associations(...)
grn_scores = ST.pp.score_all_grn(...)
tf_module_scores = ST.pp.score_TF_module(...)
# GWAS utilities
gwas = ST.pp.process_gwas_sumstats(...)See the tutorial notebooks and online documentation for complete datasets, parameters, and end-to-end examples.
.
├── STARNet/ # Main Python package
├── STARNet_guide/ # Documentation source and tutorials
├── Resource/ # Reference resources bundled with the project
├── environment-review.yml # Validated reproduction environment
├── pyproject.toml # Package metadata
├── README.md
└── LICENSE
If you use STARNet in your work, please cite:
Hu L, Zhang S, Zhang X, Luo Y, Gu H, Liu P, Mao S, Chen L, Xia Y, Yang M, Zhang S, Min Y, Li H, Wang P, Yu H, Zeng J. STARNet enables spatially resolved inference of gene regulatory networks from spatial multi-omics data. bioRxiv. 2025. doi: 10.1101/2025.08.21.671434.
Preprint: https://www.biorxiv.org/content/10.1101/2025.08.21.671434v2
@article{hu2025starnet,
title = {STARNet enables spatially resolved inference of gene regulatory networks from spatial multi-omics data},
author = {Hu, Lei and Zhang, Shichen and Zhang, Xuting and Luo, Yihai and Gu, Haoteng and Liu, Peng and Mao, Sheng and Chen, Li and Xia, Yuhao and Yang, Minghao and Zhang, Sai and Min, Yaosen and Li, Han and Wang, Peizhuo and Yu, Hongtao and Zeng, Jianyang},
journal = {bioRxiv},
year = {2025},
doi = {10.1101/2025.08.21.671434},
url = {https://www.biorxiv.org/content/10.1101/2025.08.21.671434v2}
}- Lei Hu (hulei@westlake.edu.cn)
- Shichen Zhang (zhangshichen@westlake.edu.cn)
- Xuting Zhang (zhangxuting@westlake.edu.cn)
- Yihai Luo (luoyihai@westlake.edu.cn)
STARNet is released under the MIT License.
