Napistu is an open-source project for creating and mining genome-scale networks of cellular physiology.
- Unified Representation - Encode diverse data sources using the
sbml_dfsstructure to faithfully represent molecular biology and biochemistry - Consensus Models - Aggregate complementary sources into comprehensive networks where high-quality but incomplete interactions are supported by more comprehensive yet speculative data sources
- Network Analysis - Translate pathway models into genome-scale graphical networks for propagation, search, and neighborhood discovery
- Machine Learning - Train graph neural networks on biological networks to predict regulatory interactions and pathway relationships
- Easy Access - Pre-processed pathway data available on Google Cloud Storage and HuggingFace; MCP server for AI agent integration; comprehensive CLI tools for common workflows
Recent Updates
- 2025-11-19 Napistu meets PyTorch Geometric - Predicting Regulatory Interactions with Graph Neural Networks
- 2025-10-07 Napistu's Octopus: An 8-source human consensus pathway model
- 2025-09-04 Building AI-Friendly Scientific Software: A Model Context Protocol Journey
- 2025-08-27 Network Biology with Napistu, Part 2: Translating Statistical Associations into Biological Mechanisms
- 2025-08-19 Network Biology with Napistu, Part 1: Creating Multimodal Disease Profiles
Packages
napistu-py
Core Python library for pathway representations and network-based searches.
Provides the foundational sbml_dfs data structure, consensus network
creation, and genome-scale graph construction.
Quick Start
pip install napistu
# Download Reactome Functional Interactions data
napistu ingestion reactome_fi reactome_fi.tsv
# Integrate into SBML_dfs format
napistu integrate reactome_fi reactome_fi.tsv reactome_fi.pkl
# Summarize the pathway model
napistu helpers summarize_sbml_dfs reactome_fi.pkl napistu-torch
PyTorch Geometric framework for training graph neural networks on biological pathways. Implements GraphSAGE, GraphConv, RotatE, and TransE architectures for predicting regulatory interactions and pathway relationships.
Quick Start
pip install 'napistu-torch[pyg,lightning]' Quick Start (macOS)
pip install torch==2.8.0
pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-2.8.0+cpu.html
pip install 'napistu-torch[pyg,lightning]' napistu-r
R library for network visualization and utilities. Provides R-based network visualization tools and integrates with the Python library for pathway analysis workflows.
Quick Start
remotes::install_github("napistu/napistu-r")
library(dplyr)
library(napistu)
setup_napistu_list(create_napistu_config())
species_id <- random_species(napistu_list)
neighborhood_table <- create_neighborhood_table(
napistu_list,
species_id = species_id,
max_steps = 5L,
max_neighbors = 20L,
)
plot_neighborhoods(
napistu_list,
neighborhood_table,
)