Skip to main content

Isotomics

isotomics provides tools for M+1 Orbitrap-IRMS workflows:

  • simulate expected precision for proposed experiments
  • process experimental .isox data to estimate site-specific isotope values

Install

pip install isotomics

Quickstart

Run the packaged example workflow:

isotomics-quickstart

or

python -m isotomics

The package bundles example inputs under isotomics/input_data/ and quickstart reads them directly. Output files are written to your current working directory.

Input CSV Format

Each row describes one constrained site.

Current isotope support is hardcoded in both isotomics/basicDeltaOperations.py and isotomics/fragmentAndSimulate.py. Available elements are currently: C, N, H, O, and S.

Required columns:

  • Site Names
  • Element
  • Number Atoms

Fragment columns:

  • add one or more columns named like Fragment 44, Fragment 133, etc.
  • use 1 if the site is present in that fragment and 0 if absent
  • if a fragment forms by more than one pathway, give one column per pathway (Fragment 82_01, Fragment 82_02) and add a final row named Relative Contribution with each pathway's share (summing to 1 per fragment)

See the bundled example:

  • isotomics/input_data/Example_Molecule_Input.csv

Core Workflows

  1. Simulation:
  • build a molecule definition from the input CSV
  • simulate M+N observations from user-provided delta values
  • solve and visualize expected site-specific outputs
  1. Experimental processing:
  • read processed .isox files grouped by fragment and Smp/Std
  • compute isotope ratios and uncertainties
  • solve for site-specific values using the M+1 Monte Carlo pipeline

Example Dataset

The alanine example dataset is bundled under:

  • isotomics/input_data/Experimental_Data/

This is the dataset used by the quickstart command.

Citation

If you use isotomics, please cite the method papers:

  • Csernica, T. and Eiler, J. M. (2023). High-dimensional isotomics, part 1: A mathematical framework for isotomics. Chemical Geology, 617, 121235. doi:10.1016/j.chemgeo.2022.121235
  • Weiss, G. M., Sessions, A. L., Julien, M., Csernica, T., Yamada, K., Gilbert, A., Freeman, K. H., and Eiler, J. M. (2023). Analysis of intramolecular carbon isotope distributions in alanine by electrospray ionization Orbitrap mass spectrometry. International Journal of Mass Spectrometry, 493, 117128. doi:10.1016/j.ijms.2023.117128 (source of the bundled alanine example dataset)

and the software:

Documentation

Full documentation, including tutorials and the API reference, is at https://isotomics.readthedocs.io.

To build the docs locally:

pip install -e .[docs]
sphinx-build -b html docs docs/_build/html

Metadata

Release files for isotomics 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for isotomics 0.2.2
File Size Uploaded Provenance Actions
isotomics-0.2.2.tar.gz 18.9 MB Without provenance Details for isotomics-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for isotomics 0.2.2
File Interpreter ABI Platform Actions
isotomics-0.2.2-py3-none-any.whl Python 3 none any Details for isotomics-0.2.2-py3-none-any.whl

Total release size: 37.6 MB

Release files / isotomics-0.2.2.tar.gz

Download URL isotomics-0.2.2.tar.gz
Size 18.9 MB
Tags Source
SHA-256 checksum
How to use checksums
ec0038d4703626ca608a58f5e02c27d3c5013ecc2de4c7d2b367beb2f06d8ddd
BLAKE2b-256 checksum
How to use checksums
83a6ea76968601f683e2dc01db1e6da9749385f047a974d059c8094c87132d50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / isotomics-0.2.2-py3-none-any.whl

Download URL isotomics-0.2.2-py3-none-any.whl
Size 18.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0f3cb8be8fd08f6b648f5c49760981965ecebddfa170c7f36000c1b584b2ee52
BLAKE2b-256 checksum
How to use checksums
fdaac82644261b25a4634c5b0a504ea18e5fa880b20404cf8682774040c9cb8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for isotomics 0.2.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page