No project description provided
Project description
MANA
MANA: mMoA identification Assisted by modelling and Network Analysis.
This repository contains code and a test case associated with the article named :
A strategy to detect metabolic changes induced by exposure to chemicals from large sets of condition-specific metabolic models computed with enumeration techniques
API documentation is available here: https://manamodeller.readthedocs.io/en/latest/
The workflow presented in this article aims at improving our understanding of the metabolic Mechanism of Action and can be divided in three steps:
- Condition-specific metabolic network modelling with partial enumeration from gene expression data
- Identify Differentially Activated Reactions (DAR) from the modelised sets of condition-specific metabolic networks
- Network anaylsis to extract minimal subnetworks représentative of the chemical's mMoA
Each step of the workflow is performed by a jupyter notebook:
- partial_enumeration.ipynb
- dars_calculation.ipynb
- analysis.ipynb
Properties and parameters for the workflow are stored in a unique file to update in order to change parameters such as compound, dose, time, etc:
- props.properties
The package source code is contained in the mana folder and can be installed as a python module.
Installation:
Requirements:
- Python3.9X
- Java 11
- Met4j 1.2.2 jar (stored in this repository)
- CPLEX 12.10 or newer (not required for the test case)
Installing the package
If needed, install poetry (package and dependances management):
pip install poetry
Then, from the root directory of the MANA repository, enter the following command:
pip install -e .
Launching the main jupyter notebook (test case)
From the root directory of the MANA repository, enter the following command:
python3 -m jupyterlab master_notebook.ipynb
Once JupyterLab opened in your navigator, you can click on "Run", then click on "Run All Cells" as illustrated below.
It will perform the complete workflow on the test case (PHH exposed to amiodarone during 24h and associated controls). The notebook will pause near the end of the workflow waiting for you to provide the desired number of clusters during the hierarchical clustering step.
Localisation of the main results files:
Visualisation with MetExploreViz:
To visualise cluster's subnetworks in MetExploreViz, follow these steps:
- go to https://metexplore.toulouse.inrae.fr/metexplore2/, then click on "Start MetExplore"
- In the BioSources tab, find and left click on "Homo Sapiens", then double click on "Swainston2016 - Reconstruction of human metabolic network (Recon 2.2)"
- Once loading is finished, left click on "OMICS", then on "Mapping -> From omics", load the desired subnetwork reactions .txt file
- Change Object from "Metabolites" to "Reaction" and left click on "Map"
- Once the mapping is finished, click on the "Network Data" tab then on the "Reactions" tab.
- Filter reactions to keep only mapped reactions:
- Right click and left click on "Copy all to cart"
- Create the network from the cart as shown below:
Next, you will be able to remove side compounds, move nodes and map new information on the visualisation. More information available in MetExplore documentation (https://metexplore.toulouse.inrae.fr/metexplore-doc/index.php) and MetExploreViz documentation (https://metexplore.toulouse.inrae.fr/metexploreViz/doc/index.php)
Contact:
Louison Fresnais: fresnaislouison@gmail.com
MetExplore/MetExploreViz team: contact-metexplore@inra.fr
Project details
Release history Release notifications | RSS feed
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
Hashes for manamodeller-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7efc421025d4b58d0b188989063809e5e9ee79b94462de3cd5871bca8425438b |
|
MD5 | b2189ab4972fa64d223fb67c85997a7e |
|
BLAKE2b-256 | 62b0e9c4f313211162dff064906de77c0f0bf5c5bb6680771b1039180f4a061b |