This program calculates the isotopic distribution/pattern of a given chemical species.
Project description
pyISOPACh - a "fairly fast" ISOtope PAttern Calculator for Python
This is a sister package of the DIMEdb project. This program calculates the isotopic distribution/pattern of a given chemical species.
Installation
pyISOPACh requires Python 3+ and is unfortunately not compatible with Python 2. If you are still using Python 2, a clever workaround is to install Python 3 and use that instead.
The easiest way of installing pyISOPACh is using pip
:
pip install pyisopach
Alternatively, you can use git
and pip
in unison to get the development branch:
pip install https://github.com/AberystwythSystemsBiology/pyISOPACh
Example Usage
# Import the package into python
>>> import pyisopach
# Create Molecule object for Sucrose
>>> mol = pyisopach.Molecule("C12H22O11")
# Return molecular weight
>>> mol.molecular_weight
342.2970125766493
# Calculate isotopic distribution/pattern
>>> mol.isotopic_distribution()
(array([342.11621155, 343.11956639, 344.12045733]), array([100. , 12.97887395, 2.260493 ]))
License
Code released under the MIT license.
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
pyisopach-0.1.1.tar.gz
(9.9 kB
view hashes)
Built Distribution
pyisopach-0.1.1-py3-none-any.whl
(10.8 kB
view hashes)
Close
Hashes for pyisopach-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9d57e0659a37a8acabffd35b2bd4c37f4bfda803119412221cd6e23277c9f3d |
|
MD5 | ef317489aadda3f19f78f89638d452d0 |
|
BLAKE2b-256 | b1808b46899ee943de889b42900f64a11ff6aebde4f6187e66df6a44bad7a28d |