Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

corneto logo

CORNETO: Unified knowledge-driven network inference from omics data.

Paper | Documentation | Notebooks

GitHub stars main


CORNETO is a Python framework for inferring biological networks from omics data by framing them as optimisation problems. It provides a unified, flexible, and extensible API to solve a wide range of network inference problems, including signalling pathway and metabolic model reconstruction.

Why CORNETO?

Feature Why it matters
🧩 Unified optimisation core Express causal signaling, FBA, PCSF & more with the same primitives.
🎯 Exact, solver-backed answers LP/MILP formulations guarantee optimality
📊 Multi-sample power Borrow strength across conditions for cleaner, comparable subnetworks.
🔧 Modular & extensible Plug-in new constraints, priors, or scoring functions in a few lines of code.
Multi-backend Supports CVXPY and PICOS backends with dozens of mathematical solvers.

🚀 Installation

Recommended Installation

For most users, we recommend creating a conda environment and installing the research flavor:

conda create -n corneto python>=3.11
conda activate corneto
conda install python-graphviz
pip install corneto[research]

This installs CORNETO with all research dependencies including Gurobi, PICOS, and visualization libraries.

Standard Installation

The minimal installation via pip provides core functionalities:

pip install corneto

Optional dependencies

CORNETO provides several optional dependency groups:

  • research: Full research stack with Gurobi, PICOS, visualization, and network tools
  • os: Open-source solvers (SCIP, HiGHS) with visualization and network tools
  • ml: Machine learning dependencies (JAX, Keras, scikit-learn)

Install any combination with:

pip install corneto[research,ml]  # Multiple extras

Gurobi Installation

For research problems, we strongly recommend using the Gurobi solver. Gurobi is a commercial solver that offers free academic licences. To install and configure Gurobi, please refer to the official Gurobi documentation. After installation, you can verify that Gurobi is correctly set up by running:

from corneto.utils import check_gurobi
check_gurobi()

Development Installation

If you plan to contribute to CORNETO, we recommend using Poetry for dependency management.

git clone https://github.com/saezlab/corneto.git
cd corneto
poetry install --with dev

Legacy Compatibility

The stable version used by LIANA+ and NetworkCommons remains available. However, we recommend using the latest version for new projects to access the latest features and improvements described in our manuscript.

🧪 Experiments

Notebooks with the experiments presented in the manuscript are available here: https://github.com/saezlab/corneto-manuscript-experiments

🎓 How to cite

@article{Rodriguez-Mier2025,
	author = {Rodriguez-Mier, Pablo and Garrido-Rodriguez, Martin and Gabor, Attila and Saez-Rodriguez, Julio},
	title = {Unifying multi-sample network inference from prior knowledge and omics data with CORNETO},
	journal = {Nature Machine Intelligence},
	year = {2025},
	doi = {10.1038/s42256-025-01069-9},
	url = {https://www.nature.com/articles/s42256-025-01069-9}
}

🙏 Acknowledgements

CORNETO is developed at the Institute for Computational Biomedicine (Heidelberg University). We acknowledge funding from the European Unions Horizon 2020 Programme under the grant agreement No 951773 (PerMedCoE https://permedcoe.eu/) and under grant agreement No 965193 (DECIDER https://www.deciderproject.eu/)

Saez lab logo UKHD logo PerMedCoE logo UKHD logo

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

corneto-1.0.0rc1.tar.gz (174.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

corneto-1.0.0rc1-py3-none-any.whl (224.2 kB view details)

Uploaded Python 3

File details

Details for the file corneto-1.0.0rc1.tar.gz.

File metadata

  • Download URL: corneto-1.0.0rc1.tar.gz
  • Upload date:
  • Size: 174.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for corneto-1.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 1bcc2a916aec6000078784e0624a5b05bbe4729ec183458858dc4c018ab926ed
MD5 8a9189d291183ee9100514209d26d848
BLAKE2b-256 cf96009fdb9b6dfdfb0f2ed4396db288e36d70f73e598e0b9d7035f4be3cabd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for corneto-1.0.0rc1.tar.gz:

Publisher: build-and-publish.yml on saezlab/corneto

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file corneto-1.0.0rc1-py3-none-any.whl.

File metadata

  • Download URL: corneto-1.0.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 224.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for corneto-1.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 1d1203a430617690f6d1a0200d5b5fac5cd42bace112d9d4b0f93edc69306561
MD5 fda3c2cffcca9b2d5150031570d50548
BLAKE2b-256 ce15b100495df43fc9cf71bb322da4e196772ceb3c0408b16ac82d6cc2584a1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for corneto-1.0.0rc1-py3-none-any.whl:

Publisher: build-and-publish.yml on saezlab/corneto

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page