Skip to main content

Metabolic Network Completion. Compute minimal completions to your draft network with reactions from a repair network.

Project description

Meneco PyPI version

Installation

Requires Python >= 3.7

Required packages (starting from version 2.0 of the package):

You can install Meneco by running:

python setup.py install

You should always use a virtual environment (virtualenv, virtualenv wrapper) when using Python

Usage from console

Typical usage is:

meneco -d draftnetwork.sbml -s seeds.sbml -t targets.sbml -r repairnetwork.sbml

For more options you can ask for help as follows:

usage: meneco [-h] -d DRAFTNET -s SEEDS -t TARGETS [-r REPAIRNET]
                   [--enumerate] [--json]

optional arguments:
  -h, --help            show this help message and exit
  -d DRAFTNET, --draftnet DRAFTNET
                        metabolic network in SBML format
  -s SEEDS, --seeds SEEDS
                        seeds in SBML format
  -t TARGETS, --targets TARGETS
                        targets in SBML format
  -r REPAIRNET, --repairnet REPAIRNET
                        perform network completion using REPAIRNET a metabolic
                        network in SBML format
  --enumerate           enumerate all minimal completions
  --json                produce JSON output

Calling Meneco from a python script

You can use Meneco from python by calling the command run_meneco() with the paths of files as input arguments and a boolean value for the enumeration (True for the enumeration, else False) :

from meneco import run_meneco

result = run_meneco(draftnet="toy/draft.sbml",
                seeds="toy/seeds.sbml",
                targets="toy/targets.sbml",
                repairnet="toy/repair.sbml",
                enumeration=False,
                json=True)

The output will be the set of unproducible targets, reconstructable targets, a dictionnary of essentials reactions for each target, one minimal solution, the set of reactions belonging to the intersection of solutions, the set of reactions belonging to the union of solutions and a list of lists corresponding to the reactions for each solution (if enumeration == True).

For a step by step demonstration on how to use Meneco as a library, have a look at our notebooks here or here.

Bibliography

Please cite the following paper when using Meneco:

S. Prigent et al., “Meneco, a Topology-Based Gap-Filling Tool Applicable to Degraded Genome-Wide Metabolic Networks,” PLOS Computational Biology, vol. 13, no. 1, p. e1005276, Jan. 2017. https://doi.org/10.1371/journal.pcbi.1005276

The concepts underlying Meneco is described in this paper:

T. Schaub and S. Thiele, “Metabolic network expansion with answer set programming,” in Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2009, vol. 5649 LNCS, pp. 312–326. https://doi.org/10.1007/978-3-642-02846-5_27

A first application of the method was presented in:

G. Collet et al., “Extending the Metabolic Network of Ectocarpus Siliculosus Using Answer Set Programming,” in LPNMR 2013: Logic Programming and Nonmonotonic Reasoning, 2013, pp. 245–256. https://doi.org/10.1007/978-3-642-40564-8_25

Samples

Sample files for the reconstruction of Ectocarpus are available here: ectocyc.sbml, metacyc_16-5.sbml, seeds.sbml, targets.sbml

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

Meneco-2.0.1.tar.gz (9.9 kB view details)

Uploaded Source

File details

Details for the file Meneco-2.0.1.tar.gz.

File metadata

  • Download URL: Meneco-2.0.1.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for Meneco-2.0.1.tar.gz
Algorithm Hash digest
SHA256 5b20635f927f28077a8712fe48dd3f7e75d8cf480e21db6798ced9fd0cf2531b
MD5 59a68f7d0aa6e90ed1716ec13484bf46
BLAKE2b-256 1bfff2c64b3be6f679061a037744c95ff6384cec23a2ba90ca7cbd5c5e76e762

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