Skip to main content

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

Metadata

Release files for manamodeller 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for manamodeller 0.1.2
File Size Uploaded
manamodeller-0.1.2.tar.gz 16.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for manamodeller 0.1.2
File Interpreter ABI Platform
manamodeller-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 34.5 kB

Release files / manamodeller-0.1.2.tar.gz

Download URL manamodeller-0.1.2.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c2c7a738a513be65164c3ec73ce03205d2708d70685feaee11db2e64989c63b8
BLAKE2b-256 checksum
How to use checksums
c589409a447ca3bbd35c4da9ece92db76c9f5395959d3f6e9a6d048f407d545c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.9.18 Linux/4.4.0-22621-Microsoft

Release files / manamodeller-0.1.2-py3-none-any.whl

Download URL manamodeller-0.1.2-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7efc421025d4b58d0b188989063809e5e9ee79b94462de3cd5871bca8425438b
BLAKE2b-256 checksum
How to use checksums
62b0e9c4f313211162dff064906de77c0f0bf5c5bb6680771b1039180f4a061b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.9.18 Linux/4.4.0-22621-Microsoft

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page