Skip to main content

Network Oriented Repurposing of Drugs (NORDic): network identification / master regulator detection / drug effect simulator / drug repurposing

Project description

Network Oriented Repurposing of Drugs (NORDic)

Anaconda version PyPI version Zenodo version publication

Statement of need

Being able to build in an automated and reproducible way a model of gene interactions and their influences on gene activity will allow to consider more complex diseases and biological phenomena, on a larger set of genes. These models might speed up the understanding of the gene regulation hierarchy by bioinformaticians and biologists, allow to predict novel drugs or gene targets which might be investigated later for healthcare purposes. In particular, the network-oriented approach allow to predict off-targets, which are non-specific drug targets which might lead to otherwise unexpected toxic side effects.

NORDic is an open-source package which allows to focus on a network-oriented approach to identify regulatory mechanisms linked to a disease, to detect master regulators in a diseased transcriptomic context, to simulate drug effects on a patient through a network, and adaptively test drugs to perform sample-efficient, error-bound drug repurposing. As such, it is comprised of four distinct submodules:

  • NORDic NI identifies a disease-associated gene regulatory network (as a Boolean network) with its dynamics combining several biological sources and methods. The main contribution is that this inference can be performed even in the absence of previously curated experiments and prior knowledge networks.
  • NORDic PMR detects master regulators in a Boolean network, given examples of diseased transcriptomic profiles. In contrast to prior works, the score assigned to (groups of) master regulators takes into account the network topology as well as its dynamics with respect to the diseased profiles.
  • NORDic DS (since version 2.0.0) scores the effect of a treatment on a patient (the higher the score, the most promising the treatment) based on a Boolean network. This approach computes the similarity of a predicted treated patient profile to control profiles to output a signature reversal score associated with the considered drug. The signature reversion approach has already been applied with some success.
  • NORDic DR (since version 2.0.0) uses the routine in NORDic DS and a bandit algorithm to adaptively test treatments and perform drug repurposing. This novel approach allows to get recommendations with a bounded probability of false discovery, while remaining sample efficient.

Install the latest release

Supported platforms

The package has been developed and mainly tested on a Linux platform. Issues when using it on Windows or Macs can be reported on this GitHub repository.

Dependencies

It is strongly advised to create a virtual environment using Conda (python>=3.8)

conda create -n test_NORDic python=3.8
conda activate test_NORDic

The complete list of dependencies can be found at requirements.txt or meta.yaml.

Using pip (package hosted on PyPI)

We need to install missing dependencies from PyPI:

apt-get install graphviz # for Debian distributions, check the correct command for your own distribution
conda install -c colomoto -y -q maboss
pip install NORDic 

Using conda (package hosted on Anaconda.org)

All dependencies (except for clingo) are retrievable from Anaconda:

conda install -c potassco clingo

conda install -c creda -y -q nordic
conda install -c bioconda -y -q nordic

Using CoLoMoTo-Docker (since March 1st, 2023)

pip install -U colomoto-docker
colomoto-docker

Quick access to NORDic

The easiest way not to having to deal with environment configuration is to use the CoLoMoTo-Docker. First ensure that Docker is installed for your distribution:

service docker start
docker run hello-world # downloads a test image, runs it in a container (prints a confirmation message), exits

Then install the CoLoMoTo-Docker:

conda create -n nordic_colomoto python=3.10 -y
conda activate nordic_colomoto
pip install -U colomoto-docker
mkdir notebooks
colomoto-docker -v notebooks:local-notebooks ## or any version later than 2023-03-01

In the Jupyter browser, you will see a local-notebooks directory which is bound to your notebooks directory, where you can find all tutorial notebooks in CoLoMoTo, the one for NORDic included (NORDic-demo.ipynb).

Example usage

Once installed, to import NORDic

import NORDic 

Please check out the associated Jupyter notebooks in folder notebooks/, starting with this short notebook. All functions are documented, so one can check out the inputs and outputs of a function func by typing

help(func)

The documentation website is up at this page.

Cite

If you use NORDic in academic research, please cite the following JOSS paper:

publication

  • Formatted citation:

Réda et al., (2023). NORDic: a Network-Oriented package for the Repurposing of Drugs. Journal of Open Source Software, 8(90), 5532, https://doi.org/10.21105/joss.05532

  • BibTeX citation:
@article{Réda2023, 
    doi = {10.21105/joss.05532}, 
    url = {https://doi.org/10.21105/joss.05532}, 
    year = {2023}, 
    publisher = {The Open Journal}, 
    volume = {8}, 
    number = {90}, 
    pages = {5532}, 
    author = {Clémence Réda and Andrée Delahaye-Duriez}, 
    title = {NORDic: a Network-Oriented package for the Repurposing of Drugs}, 
    journal = {Journal of Open Source Software} 
} 

License

This code is under OSI-approved MIT license.

Community guidelines with respect to contributions, issue reporting, and support

Pull requests and issue flagging are welcome, and can be made through the GitHub interface. Support can be provided by reaching out to clemence.reda at uni-rostock.de. However, please note that contributors and users must abide by the Code of Conduct.

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

nordic-2.5.0.tar.gz (92.2 kB view details)

Uploaded Source

Built Distribution

NORDic-2.5.0-py3-none-any.whl (94.6 kB view details)

Uploaded Python 3

File details

Details for the file nordic-2.5.0.tar.gz.

File metadata

  • Download URL: nordic-2.5.0.tar.gz
  • Upload date:
  • Size: 92.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for nordic-2.5.0.tar.gz
Algorithm Hash digest
SHA256 a8791602c35a7cf8424458d532ef7096900d25e2b2e1fec1afea7cdd1a218148
MD5 db2090943512ee524542d251a1131d2f
BLAKE2b-256 57f6fa7e85548a167889343cedc75c3fc1359f9483ce199f9662d5b563953d9c

See more details on using hashes here.

File details

Details for the file NORDic-2.5.0-py3-none-any.whl.

File metadata

  • Download URL: NORDic-2.5.0-py3-none-any.whl
  • Upload date:
  • Size: 94.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for NORDic-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2684649d35b765ba861b9fc211ce7044480f03b54f921c38e6c616dd63f00992
MD5 ea7674fa26b7afa7b831df549b279202
BLAKE2b-256 dcf0c806ab42854cd8b4b61e9f3738267b48628d009d023a905dc4d4039bf779

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