Skip to main content

A wrapper for running the Semi-Automated Metabolic Map Illustrator (SAMMI) using Python

Project description


This package provides a wrapper for running the Semi-Automated Metabolic Map Illustrator (SAMMI) from Python scripts and the Python command line. The SAMMI tool can be found at The package works with the COBRApy toolbox and requires an internet connection to render maps. For more complex, up-to-date examples and to learn how to use the tool please check out the examples in the Jupyter Notebook file.


The SAMMIpy documentation can be found here.


To install the package run pip install sammi from the Python command line.


To use the SAMMI package run import sammi from within your python code. The function sammi.plot reads the template file index.html located at sammi.__path__[0] + '\\browser', and outputs the generated map to the same folder in the file defined within the function (defaulting to index_load.html).

To open previously generated maps use sammi.openmap(htmlName). Once maps are generated they can be exported in the SAMMI specific format to be shared and saved.


For help check help(sammi.plot) within Python or read the SAMMIpy documentation here. Users can also look at the examples provided in the documentation and the Jupyter Notebook in this folder. All of the examples provided in the notebook can be run using sammi.test(n) where n ranges from zero to eleven.

Project details

Download files

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

Files for sammi, version 0.1.7
Filename, size File type Python version Upload date Hashes
Filename, size sammi-0.1.7-py3-none-any.whl (331.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sammi-0.1.7.tar.gz (7.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page