gretapy - Evaluation and analysis of Gene Regulatory Networks (GRNs)
gretapy is a comprehensive framework for benchmarking and evaluating gene regulatory networks (GRNs) inferred from single-cell multiome (RNA+ATAC) data. It provides a systematic evaluation across four complementary dimensions: prior knowledge validation (TF markers, known TF-TF interactions, reference networks), genomic annotations (TF binding sites, cis-regulatory elements, chromatin-gene links), predictive performance (pathway enrichment, expression correlation), and mechanistic validation (perturbation forecasting, Boolean network simulations). The package includes built-in GRN inference methods, curated benchmark datasets, and visualization tools to facilitate rigorous comparison of network inference approaches.
Getting started
Please refer to the documentation, in particular, the API documentation.
Installation
You need to have Python 3.11 or newer installed on your system. If you don't have Python installed, we recommend installing uv.
There are several alternative options to install gretapy:
- Install the latest stable release from PyPI with minimal dependancies:
pip install gretapy
- Install the latest stable full release from PyPI with extra dependancies:
pip install gretapy[full]
- Install the latest stable version from conda-forge using mamba or conda:
mamba create -n=greta conda-forge::gretapy
- Install the latest development version:
pip install git+https://github.com/saezlab/gretapy.git@main
Release notes
See the changelog.
Contact
For questions and help requests, you can reach out in the scverse discourse. If you found a bug, please use the issue tracker.
Citation
Badia-i-Mompel P., Casals-Franch R., Wessels L., Müller-Dott S., Trimbour R., Yang Y., Ramirez Flores R.O., Saez-Rodriguez J. 2024. Comparison and evaluation of methods to infer gene regulatory networks from multimodal single-cell data. bioRxiv. https://doi.org/10.1101/2024.12.20.629764
Metadata
Release files for gretapy 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gretapy-0.0.3.tar.gz | 1.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gretapy-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.7 MB
Release files / gretapy-0.0.3.tar.gz
| Download URL | gretapy-0.0.3.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6e75d263b129d25848513e77ee6090486a71c111f395029aca5430fbc1537f5
|
|
BLAKE2b-256 checksum How to use checksums |
9a5224fe0a6a7731f477de8f8f1c729d48c26bec1f6c8f6a4586f48737eb91c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency logRelease files / gretapy-0.0.3-py3-none-any.whl
| Download URL | gretapy-0.0.3-py3-none-any.whl |
|---|---|
| Size | 74.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f75d5dadffdf978c081daa7c2afd8a16b65e3c4ae61731643731d60feb3ab99
|
|
BLAKE2b-256 checksum How to use checksums |
e8852ba48a9e09b213119796ec7c1093f23973a59a9288fe815dc7ad388fc2bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency log