Integrative Computational Network Biology Lab @ MBZUAI

Graphlet-Based Hyperbolic Embeddings Capture Evolutionary Dynamics in Genetic Networks

S. F. L. Windels, D. Tello Velasco, M. Rotkevich, N. Malod-Dognin and N. Pržulj

Corresponding author: Prof. N. Pržulj, natasa.przulj@mbzuai.ac.ae

Downloads

Installation

To create an environment with Gracoal embedding and SAFE installed, download and unzip the archive above, then run from the project root:

conda env create -f env.yml

Activate the environment:

conda activate gracoal

Install the scripts in the local src directory:

pip install -e .

Reproducing the experiments presented in the paper

Activate the gracoal environment (see above) and run:

snakemake -s Snakefile -c 1

The -c 1 flag runs the pipeline on a single core.

The standard enrichment results and the enrichment results for the robustness to annotation noise experiment are stored in results/safe/merged_results.csv and results/safe_noise/merged_results.csv, respectively.

The results can be viewed with the provided Jupyter notebook, SAFE_analysis.ipynb.

Running Gracoal standalone

To compute the nine Gracoal embeddings for any given graph, activate the gracoal environment (see above) and run:

python src/gracoal_embedding.py <path_to_edgelist> <output_prefix>

This outputs nine embedding files named <output_prefix>gracoal-<graphlet>.npy, where graphlet indicates the corresponding underlying graphlet adjacency.

Reporting computational issues

If you encounter any issues while running our code, please open an issue on the GitHub Issues page.

Citation

S. F. L. Windels, D. Tello Velasco, M. Rotkevich, N. Malod-Dognin and N. Pržulj. Graphlet-based hyperbolic embeddings capture evolutionary dynamics in genetic networks. Bioinformatics 40(11), btae650 (2024). PMID: 39495120