Python wrapper for efmtool
efmtool is a Java software for the enumeration of Elementary Flux Modes (EFMs) developed by Marco Terzer at ETH Zurich. This package provides a simple Python wrapper.
Installation
pip install efmtool
Usage
The wrapper provides two ways of calling efmtool:
-
Through a simplified interface:
efms = efmtool.calculate_efms( stoichiometry : np.array, reversibilities : List[int], reaction_names : List[str], metabolite_names : List[str], options : Dict = None, jvm_options : List[str] = None)
This function directly returns a NumPy array containing all the EFMs of the specified network (example).
reversibilitiesis a list indicating whether a reaction is reversible (1) or not (0). Note that irreversibilities are assumed to be in forward directions. If a reaction is irreversible in the backward direction, it should be reversed before calling efmtool. Default options can be obtained throughget_default_options(). -
Through a generic wrapper:
efmtool.call_efmtool( args : List[str], jvm_options : List[str] = None)
The wrapper simply calls efmtool passing the specified arguments. Specifying, writing and reading input/output temporary files is responsibility of the user.
See config/metabolic-efm.xml, the documentation, or run java -cp lib/metabolic-efm-all.jar ch.javasoft.metabolic.efm.main.CalculateFluxModes --help for more information about the available options.
Known issues
An (unknown) issue in the original Java software causes the wrapper to fail on operating systems with German/Austrian localization. If you obtain TypeError: buffer is too small for requested array consider switching to a language without diaeresis/umlaut in the month names (Jän, Mär, ...).
Cite us
If you use efmtool in a scientific publication, please cite our paper:
Terzer, M., Stelling, J., 2008. "Large-scale computation of elementary flux modes with bit pattern trees". Bioinformatics. - link
Credits
efmtool is a software written by Marco Terzer (ETH Zurich).
Python wrapper by Mattia Gollub (ETH Zurich).
Thanks to Axel Theorell (ETH Zurich) for OSX compatibility fixes.
Metadata
Release files for efmtool 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| efmtool-0.2.1.tar.gz | 5.6 MB | Without provenance | Details for efmtool-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| efmtool-0.2.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for efmtool-0.2.1-py2.py3-none-any.whl |
Total release size: 11.3 MB
Release files / efmtool-0.2.1.tar.gz
| Download URL | efmtool-0.2.1.tar.gz |
|---|---|
| Size | 5.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b19de78339e9091050433eee32ac4ec2cec6f5cf6c7b518266761a9bf0d5e4f
|
|
BLAKE2b-256 checksum How to use checksums |
a917e93f7d2ef5de8e38b1055740316d26d8dde69cb41873411e7b897bcda540
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / efmtool-0.2.1-py2.py3-none-any.whl
| Download URL | efmtool-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 5.6 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4727d9c6f507b49950e91eb4c5cd5ba35028b977334d5a75579d3585af7f5d77
|
|
BLAKE2b-256 checksum How to use checksums |
aa256087236b7d250399af020a31ea82af9d58b0d65f2034a9555957d3ed809c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for efmtool 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.