Skip to main content

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

Project description

SAMMIpy

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 www.sammitool.com. 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.

Documentation

The SAMMIpy documentation can be found here.

Installation

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

Usage

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.

Help

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.

Source Distribution

sammi-0.1.7.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sammi-0.1.7-py3-none-any.whl (331.6 kB view details)

Uploaded Python 3

File details

Details for the file sammi-0.1.7.tar.gz.

File metadata

  • Download URL: sammi-0.1.7.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0

File hashes

Hashes for sammi-0.1.7.tar.gz
Algorithm Hash digest
SHA256 86a353ec19537a7814850414350e0ae91cbda929616352b0459c192447a33dca
MD5 c268340d60f15c1b485e101e30aa1428
BLAKE2b-256 973fc367ec2a50aa9d6b0cb871ccf8c8174e25aee57164341ff34a7275f9d6c6

See more details on using hashes here.

File details

Details for the file sammi-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: sammi-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 331.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0

File hashes

Hashes for sammi-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 808c6205e4ed0edf693cb22aea3a14f1cfdb1f8df62ff43b3ab9ebf7474fd264
MD5 f170d3544155d012b56af6ca88e57b0b
BLAKE2b-256 1786d524598fca9fd769b6151f2961c4ef257e4367d4a022f7fa0a2f41075272

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page