Skip to content

DBinary/STARNet_tutorials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STARNet Overview

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.

Key Features

  • Spatially resolved GRN inference from spatial RNA-ATAC-seq and spatial multi-omics data.
  • Core workflows centered on ST.model.STARNet(...).preprocess() and ST.grn.infer_grn_from_multiomics().
  • Downstream analysis utilities including ST.pp.extract_peak_gene_associations(), ST.pp.score_all_grn(), and ST.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.

Documentation and Tutorials

Installation

Standard source installation

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 .

Runtime note for GRN inference

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"

Quick Start

After installation, import STARNet as:

import STARNet as ST

The 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.

Repository Structure

.
├── 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

Citation

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}
}

Contact

License

STARNet is released under the MIT License.

About

Repository for the tutorials of STARNet, a computational framework designed to decipher spatially specific gene regulatory networks (GRNs) from spatial RNA-ATAC-seq data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors