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.1

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.1
File Size Uploaded Provenance Actions
isotomics-0.2.1.tar.gz 18.9 MB Without provenance Details for isotomics-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 37.6 MB

Release files / isotomics-0.2.1.tar.gz

Download URL isotomics-0.2.1.tar.gz
Size 18.9 MB
Tags Source
SHA-256 checksum
How to use checksums
d56d745f8a18836b5996875e59b60499d70b1a504e07295e475c04e4a18d8681
BLAKE2b-256 checksum
How to use checksums
32f28e02ae2e0b10355327f4454b803e78b46dcd9ec99312652fa17f3f65f602
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.1-py3-none-any.whl

Download URL isotomics-0.2.1-py3-none-any.whl
Size 18.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
91eb8346e6de47f3b9ab81c40eadf162f4de9d5af50db4e4ad84b90aa13b89b9
BLAKE2b-256 checksum
How to use checksums
2f92ac4b65375937444ca95726325c3b9d0dc208ada9639d96f21cc6ea09788f
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.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.

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