Skip to main content

Network Oriented Repurposing of Drugs (NORDic): network identification and master regulator detection

Project description

Network Oriented Repurposing of Drugs (NORDic) package

(c) Clémence Réda, 2022.

Due to the presence of copyrighted databases, the license for this code is Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0).

Environment

Through PyPI

pip install NORDic

PyPI-less

bash install_environment.sh

Using the "refractory epilepsy" application

Import the initial states from Mirza et al., 2017 and the M30 genes from Delahaye-Duriez et al., 2016

conda activate NORDic_env
python3 download_Refractory_Epilepsy_Data.py
conda deactivate

Building a Boolean network

You need to register to the LINCS L1000 database and the DisGeNet database and write up the corresponding credentials and API keys to files

from NORDic.NORDic_NI.functions import network_identification
solution = network_identification(file_folder, taxon_id, path_to_genes, ...)

The final network solution is written to <file_folder>solution.bnet.

Detection of master regulators

Using the filename in .bnet "network_name", the size k of the set of master regulators and the set of initial states states

from NORDic.NORDic_PMR.functions import greedy
S, spreads = greedy(network_name, k, states, ...)

The result file is named application_regulators.csv.

Network analysis with Cytoscape

Network analyses are performed with Cytoscape 3.8.0. You need to download the module CytoCtrlAnalyser (version 1.0.0). Then run

from NORDic.NORDic_NI.functions import solution2cytoscape
solution2cytoscape(solution, file_folder+"solution_minimal_cytoscape")

which will create a style file (in .xml) and a network file readable by Cytoscape (in .sif).

Pull requests, issues, suggestions?

clemence.reda@inserm.fr

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-1.0.3.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

NORDic-1.0.3-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file NORDic-1.0.3.tar.gz.

File metadata

  • Download URL: NORDic-1.0.3.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for NORDic-1.0.3.tar.gz
Algorithm Hash digest
SHA256 fbf35665cdf3e47a5bb2decba8367a85636a83f8e88a61d7a92eea5294eada59
MD5 772073fe460b6a9822f8e8b21ffbd738
BLAKE2b-256 69f2508f179df59f38139d345c6ad244d0e0b96a2797d5b1d588a052b8cc1c4b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: NORDic-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for NORDic-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ce6583aec855d9a611120c1ff8efafc2ba1a056905f9c56a2b2185d68ff34d79
MD5 251f8d552d3aec1230b516e5794ae502
BLAKE2b-256 8e2339c11a52456c412fc7c0ea0569388a485062f8d946e9e6ac193193bd5473

See more details on using hashes here.

Supported by

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