Skip to main content

CORNETO: A Unified Framework for Omics-Driven Network Inference

Project description

corneto logo

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

Maintained by Saez-Rodriguez group.

main


CORNETO (Constraint-based Optimization for the Reconstruction of NETworks from Omics) is a unified network inference framework implemented in Python designed to bring together many common network inference problems in biology. Through constrained optimisation, CORNETO transforms these problems into unified mathematical representations using flow networks, offering modular building blocks for diverse applications.

⚠️ Disclaimer: This is an early preview of the CORNETO library. CORNETO is under active development and has not yet reached a stable release for end users. Contributions and feedback are not yet open until the first stable release. Please stay tuned for updates.

Installation

The library will be uploaded to pypi once the API is stable. Meanwhile, it can be installed by downloading the wheel file from the repository. It's recommended to use also conda to create a new environment, although it's not mandatory.

Recommended setup

CORNETO does not include any backend nor solver by default to avoid issues with architectures for which some of the required binaries are not available. The recommended setup for CORNETO requires CVXPY and Gurobi:

pip install corneto cvxpy scipy gurobipy

Please note that GUROBI is a commercial solver which offers free academic licenses. If you have an academic email, this step is very easy to do in just few minutes: https://www.gurobi.com/features/academic-named-user-license/. You need to register GUROBI in your machine with the grbgetkey tool from GUROBI.

Alternatively, it is possible to use CORNETO with any free solver, such as HIGHS, included in Scipy. For this you don't need to install Gurobi. Please note that if gurobipy is installed but not registered with a valid license, CORNETO will choose it but the solver will fail due to license issues. If SCIPY is installed, when optimizing a problem, select SCIPY as the solver

# P is a corneto problem
P.solve(solver="SCIPY")

:warning: Please note that without any backend, you can't do much with CORNETO. There are two supported backends right now: PICOS and CVXPY. Both backends allow symbolic manipulation of expressions in matrix notation.

Acknowledgements

CORNETO is developed at the Institute for Computational Biomedicine (Heidelberg University). The development of this project is supported by European Union's Horizon 2020 Programme under PerMedCoE project (permedcoe.eu) agreement no. 951773.

Saez lab logo PerMedCoE logo UKHD logo

Project details


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.0a0.tar.gz (153.8 kB view details)

Uploaded Source

Built Distribution

corneto-1.0.0a0-py3-none-any.whl (163.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: corneto-1.0.0a0.tar.gz
  • Upload date:
  • Size: 153.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.13 Windows/10

File hashes

Hashes for corneto-1.0.0a0.tar.gz
Algorithm Hash digest
SHA256 966d50762f92047ea4e5d1a136607f20ae9ec1d585530a24ad5c95e700b24180
MD5 e3dd27ffd8a6ead7581771124355c0b7
BLAKE2b-256 05232cc664b88ff3268bcee4b78b1205b38cfa0b4dfe7c21d77798b6158ae06f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: corneto-1.0.0a0-py3-none-any.whl
  • Upload date:
  • Size: 163.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.13 Windows/10

File hashes

Hashes for corneto-1.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 30375a7c5d121f488425cf71ef842ca13137e568ccd38a49569c2970cf5f19bf
MD5 bc10cfb9fb917680363bbd3f1592780b
BLAKE2b-256 59c6f7779ece4a4fc1a49be433b3f5cb694e7362831c5b9d06f0268bf20993ad

See more details on using hashes here.

Supported by

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