Skip to main content

No project description provided

Project description

MANA

MANA: mMoA identification Assisted by modelling and Network Analysis. Documentation Status PyPI version

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:

  1. Condition-specific metabolic network modelling with partial enumeration from gene expression data
  2. Identify Differentially Activated Reactions (DAR) from the modelised sets of condition-specific metabolic networks
  3. 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.

Alt text

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:

Annotated cluster 1

Annotated cluster 2

Subnetwork 1 reactions list

Subnetwork 2 reactions list

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: Alt text
  • Right click and left click on "Copy all to cart"
  • Create the network from the cart as shown below: Alt text

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

manamodeller-0.1.2.tar.gz (16.8 kB view hashes)

Uploaded Source

Built Distribution

manamodeller-0.1.2-py3-none-any.whl (17.7 kB view hashes)

Uploaded Python 3

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