Pathway-Guided Pruning Reconstruction of constraint-based metabolic models
Project description
PGP_Reconstruction
Pathway-Guided Pruning Reconstruction (PGP_Reconstruction) is a Python tool for reconstructing draft constraint-based metabolic models by pruning a universal model, following the general strategy introduced by CarveMe.
Key Features
- Better consideration of compound transport via passive diffusion
- Represents a wide range of pathways
- Returns almost zero blocked reactions
- Uses Rhea as a reaction database
- Uses Uniprot as a protein database
Installation
PGP_Reconstruction can be installed using pip:
pip install pgp_reconstruction
PGP_Reconstruction automatically downloads and installs some dependencies during the first run, including: a slightly modified version of MinPath, large databases from an external server, and Prodigal from its official GitHub repository.
However, PGP_Reconstruction cannot install all dependencies automatically. You will need to install the following external dependencies manually:
Troubleshooting
Issue: After running PGP_Reconstruction, you encounter the error message TypeError: solve() got an unexpected keyword argument 'emphasis'
.
Cause: PGP_Reconstruction relies on the reframed
Python library to formulate the optimization problem that CPLEX solves. The error indicates you might not have the most recent version of reframed
.
Solution: You will need to manually update your reframed
library. Follow these steps:
- Visit the reframed GitHub repository.
- Download the project files.
- Unzip the downloaded folder.
- Navigate into the unzipped directory.
- Install the library by running the command
pip install .
in your terminal.
These steps will ensure you're working with the latest version of reframed
.
Usage
After installing PGP_RECONSTRUCTION, you can use it as: "pgprec sequenceFile". "sequenceFile" should ALWAYS be named after the name of modeled species. The sequences in the file can be DNA amino acids translated sequences. Additionally, "sequenceFile" can be an annotation file generated by Genbank (recognized extensions: '.gb', '.gbk' and '.genbank') or Prokka. After including the PGP_Reconstruction instalation folder in your path environment, the simplest possible usage case would be:
pgprec Escherichia_coli.faa
If you do not wish to include PGP_Reconstruction in your path environment, you can use it as:
C:\[...]\Python\Python3X\Lib\site-packages\pgp_reconstruction\cli\pgprec.py Escherichia_coli.faa
A more complex usage would be:
pgprec Escherichia_coli.gbk --constraints constraints.txt --reference "Escherichia coli.xml"
License
PGP_Reconstruction is released under the Apache Software License 2.0.
Support
If you encounter any issues or have any questions, please open an issue or reach out to the maintainers.
This project (Nr. 100386143) is co-financed by means of taxation based on the budget adopted by the representatives of the Landtag of Saxony.
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 pgp_reconstruction-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bce0bd1148071fe6abc6daf9a254430cc1c5e51ed98e4f40309938fd990a4330 |
|
MD5 | 2d099e244234b295adc8b701877d0b0a |
|
BLAKE2b-256 | b3b408f9e60f25465230a18ad5c19792bbc0fdf5e824f12296b46d97dab26fe7 |