Neko is a Python package for extracting, visualizing, converting, and studying interactions from databases into executable activity flow-based models. It integrates OmniPath and other interaction resources, uses UniProt tables for identifier translation, and exports networks for tools such as Atopo.
Citation
If you use NeKo in your research, please cite our paper:
Ruscone M, Tsirvouli E, Checcoli A, Turei D, Barillot E, et al. (2025) NeKo: A tool for automatic network construction from prior knowledge. PLOS Computational Biology 21(9): e1013300. https://doi.org/10.1371/journal.pcbi.1013300
Features
Network creation and manipulation
Connection of nodes and subnetworks
Gene-to-phenotype mapping
Network visualization and export helpers
Interaction database integration
Branching network history with automatic snapshots, HTML/SVG rendering, and state pruning controls
SIGNOR entity normalization
The built-in signor() input loads SIGNOR’s human interaction table and its complex, protein-family, phenotype, and stimulus dictionaries from NeKo’s validated local cache. Missing resources are downloaded once and added to the cache. Proprietary endpoint IDs are normalized before the Universe is built: complexes use the same COMPLEX: member syntax as OmniPath, while the other group/context nodes use readable PROTEIN_FAMILY:, PHENOTYPE:, and STIMULUS: identifiers.
from neko.inputs import signor
resources = signor()
After one successful load, the cached release can be used offline. Set NEKO_CACHE_DIR to choose the cache root. Preloaded dictionary DataFrames can still be passed through entity_dictionaries. Normalization can be explicitly disabled with normalize_entities=False when the raw SIGNOR identifiers are required.
SIGNOR ChEBI accessions remain canonical network identifiers and are never sent to UniProt for translation. When a resource contains ChEBI nodes, NeKo lazily downloads the official compressed compounds.tsv.gz table once and caches only the names needed by that resource for display. If the download is unavailable, network construction continues with the ChEBI accession as its label. ChEBI data are provided by EMBL-EBI under the Creative Commons Attribution 4.0 International license.
Installation
NeKo is distributed as Beta software. Install the nekomata distribution from PyPI; the Python import package remains neko.
Install NeKo from PyPI:
Do not confuse nekomata with the unrelated neko or pyneko distributions.
python -m pip install nekomata
Installation from Source
For the latest development version, you can still clone the repository and install directly from the source:
git clone https://github.com/sysbio-curie/Neko.git
cd Neko
pip install .
This will give you the latest version of NeKo (not officially released, so be aware there could be some bugs) along with the necessary external dependencies.
Troubleshooting
If Graphviz-related installation or rendering fails, install Graphviz using your system package manager.
sudo apt-get install python3-dev graphviz libgraphviz-dev
On macOS:
brew install graphviz
For more details visit: https://graphviz.org/download/
Documentation
For full documentation, including API reference and detailed tutorials, visit our GitHub Pages documentation. Users upgrading an existing workflow should also read the NeKo 1.9 migration guide.
Jupyter Notebooks
We provide a comprehensive set of Jupyter notebooks that offer a detailed and user-friendly explanation of the package. These notebooks cover all modules of NeKo and provide a complete overview of how to use the package:
Usage
Build network using user-defined resources
Stepwise connection: a focus on the INE algorithm
Connect to upstream components
Build network based on kinase-phosphosite interactions
Connect to downstream Gene Ontology terms
Map tissue expression
Network comparison
Re-creating famous pathways from SIGNOR and WIKIPATHWAYS using NeKo
Import and complete a network
Network history, branching, and visualisation
You can find these notebooks in the notebooks directory of the repository.
Features comparison with similar tools
Below you can find a table displaying the main features of NeKo compared to other similar tools: Features Table on GitHub.
Acknowledgements
This project is a collaborative effort between Institut Curie, NTNU, Saez lab and BSC.
Current contributors: Marco Ruscone, Eirini Tsirvouli, Andrea Checcoli, Dénes Turei, Aasmund Flobak, Emmanuel Barillot, Loredana Martignetti, Julio Saez-Rodriguez and Laurence Calzone.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nekomata-1.9.0.tar.gz.
File metadata
- Download URL: nekomata-1.9.0.tar.gz
- Upload date:
- Size: 80.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3536b8c809909bb70486d4347d74c74d7ab27cfe2a98f67c8ddcd1e42ca85b41
|
|
| MD5 |
255194872d99c03ef73b294662ed2386
|
|
| BLAKE2b-256 |
b439a6e72761f932d44a2c8d574994f568001ee1902ba85f0e57fae13122292b
|
File details
Details for the file nekomata-1.9.0-py3-none-any.whl.
File metadata
- Download URL: nekomata-1.9.0-py3-none-any.whl
- Upload date:
- Size: 89.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
722b9ecb7b441b4e071905c1d612b3cd394f23aa7c1de449bd438278cdc1bb6d
|
|
| MD5 |
af8ac9dc1848cc3793179654ac4de2c2
|
|
| BLAKE2b-256 |
0a411e6b7431d7d0c33e8a2126f47498d12eb806ccbbbfc6167e64ddd4698ecb
|