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

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

Built distribution (wheel)

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

Total release size: 37.6 MB

Release files / isotomics-0.2.3.tar.gz

Download URL isotomics-0.2.3.tar.gz
Size 18.9 MB
Tags Source
SHA-256 checksum
How to use checksums
fa025d42bc678d6a5639f97c75c9679f6e5070d0e37a0faa5ed7d677e4e27de9
BLAKE2b-256 checksum
How to use checksums
db771aae0198b5adf44c04b5bbe9de38b680bd8ae129cf9f7d88aec3084ae49d
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.3-py3-none-any.whl

Download URL isotomics-0.2.3-py3-none-any.whl
Size 18.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a0b6913a14016dbf8c21c10ae37af67888e39315087a36ab691372d3211eb2e1
BLAKE2b-256 checksum
How to use checksums
c7263faabbe55642080f0d4384d4f4ff81f2c1485e4efc7edb4537f6da9970e8
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.3

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