This release is a pre-release and may not be stable for production use.
IsoDec
IsoDec assigns charge states and deconvolves isotopically resolved mass spectrometry data. Its native core uses IsoGen for peptide and RNA isotope distributions.
Installation
Install a published wheel:
python -m pip install isodec
IsoDec supports Python 3.9 and newer on 64-bit Windows, Linux, and macOS. Compatible wheels include the native IsoDec and IsoGen libraries. A source build requires CMake 3.22.1 or newer, a C/C++ compiler, FFTW, and an initialized IsoGen submodule:
git clone --recurse-submodules https://github.com/michaelmarty/IsoDec.git
python -m pip install ./IsoDec
Python usage
import numpy as np
from isodec import IsoDecRuntime
spectrum = np.loadtxt("spectrum.txt")
engine = IsoDecRuntime()
peaks = engine.batch_process_spectrum(spectrum, centroided=True)
for peak in peaks:
print(peak.mz, peak.z, peak.monoiso, peak.matchedintensity)
TXT, DAT, CSV, and NPZ single-scan spectra are supported without UniDec. Raw vendor files, mzML/mzXML, and I2MS import use UniDec's extensive importer stack:
python -m pip install "isodec[unidec]"
Command line
isodec spectrum.txt --centroided -o assigned_peaks.tsv
python -m isodec --help
Development
git submodule update --init --recursive
python -m pip install -e ".[test]"
python -m pytest
Documentation sources live in docs/ and are built with MkDocs. Release and
wheel-building details are in PUBLISHING.md.
License and citation
IsoDec is released under the BSD 3-Clause License. See THIRD_PARTY_NOTICES.md for IsoGen, FFTW, and Intel runtime notices. When using IsoDec, please cite Pavek et al., “A Fast Neural Network for Isotopic Charge State Assignment,” J. Am. Chem. Soc. 2025, 147, 21610–21620. Machine-readable metadata is provided in CITATION.cff.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file isodec-2.0.0b2.tar.gz.
File metadata
- Download URL: isodec-2.0.0b2.tar.gz
- Upload date:
- Size: 38.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d0d93b4ba6b0dec7cf538d1f4f3ffaea9d855b037621c01dbc53432f9e28277
|
|
| MD5 |
61b19ed34ccde2445449b8cefacc139d
|
|
| BLAKE2b-256 |
bd8e29ad38fd5d727cf9c606d14c5a382f07d7d8417ce61cfa18615ac4d03033
|
Provenance
The following attestation bundles were made for isodec-2.0.0b2.tar.gz:
Publisher:
publish.yml on michaelmarty/IsoDec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
isodec-2.0.0b2.tar.gz -
Subject digest:
7d0d93b4ba6b0dec7cf538d1f4f3ffaea9d855b037621c01dbc53432f9e28277 - Sigstore transparency entry: 2499147494
- Sigstore integration time:
-
Permalink:
michaelmarty/IsoDec@77ecad7cf8fe6628f6baaf442ed6658e276222be -
Branch / Tag:
refs/heads/main - Owner: https://github.com/michaelmarty
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@77ecad7cf8fe6628f6baaf442ed6658e276222be -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file isodec-2.0.0b2-py3-none-win_amd64.whl.
File metadata
- Download URL: isodec-2.0.0b2-py3-none-win_amd64.whl
- Upload date:
- Size: 23.3 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21a6f0d6f45cd5b4551346024fa6922540de8950abb4dc1013b32234d7641803
|
|
| MD5 |
7cee08b61dc784a28ae241c4a7d8fc70
|
|
| BLAKE2b-256 |
219b8edae32e78e6fb639a575f90a7df017b9a0e4a65c8850c7fbf47b901d110
|
Provenance
The following attestation bundles were made for isodec-2.0.0b2-py3-none-win_amd64.whl:
Publisher:
publish.yml on michaelmarty/IsoDec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
isodec-2.0.0b2-py3-none-win_amd64.whl -
Subject digest:
21a6f0d6f45cd5b4551346024fa6922540de8950abb4dc1013b32234d7641803 - Sigstore transparency entry: 2499147540
- Sigstore integration time:
-
Permalink:
michaelmarty/IsoDec@77ecad7cf8fe6628f6baaf442ed6658e276222be -
Branch / Tag:
refs/heads/main - Owner: https://github.com/michaelmarty
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@77ecad7cf8fe6628f6baaf442ed6658e276222be -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file isodec-2.0.0b2-py3-none-manylinux_2_31_x86_64.whl.
File metadata
- Download URL: isodec-2.0.0b2-py3-none-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 14.9 MB
- Tags: Python 3, manylinux: glibc 2.31+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e89c61f3f0008c6742d20eea840c584431b3be42ffd315277055b75c4b1cdaa
|
|
| MD5 |
31d8953bcd09915d48204369a4f837ff
|
|
| BLAKE2b-256 |
497810742d1750cbb4d7e09cfe3f422c1f7587b7a40cff7608c0f0786c4df9e3
|
Provenance
The following attestation bundles were made for isodec-2.0.0b2-py3-none-manylinux_2_31_x86_64.whl:
Publisher:
publish.yml on michaelmarty/IsoDec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
isodec-2.0.0b2-py3-none-manylinux_2_31_x86_64.whl -
Subject digest:
1e89c61f3f0008c6742d20eea840c584431b3be42ffd315277055b75c4b1cdaa - Sigstore transparency entry: 2499147566
- Sigstore integration time:
-
Permalink:
michaelmarty/IsoDec@77ecad7cf8fe6628f6baaf442ed6658e276222be -
Branch / Tag:
refs/heads/main - Owner: https://github.com/michaelmarty
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@77ecad7cf8fe6628f6baaf442ed6658e276222be -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file isodec-2.0.0b2-py3-none-macosx_15_0_x86_64.whl.
File metadata
- Download URL: isodec-2.0.0b2-py3-none-macosx_15_0_x86_64.whl
- Upload date:
- Size: 15.1 MB
- Tags: Python 3, macOS 15.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55f30ba40744a26f8ab671d7fcc35e0a838ae4f866b9c496b4ed13e1f5d0eca2
|
|
| MD5 |
27069a32347a36c1e50642a1b7275025
|
|
| BLAKE2b-256 |
32064fef6c074778a9ed94feb4956c0f17b6bd3d886c93ce0172d6cfd3a182a8
|
Provenance
The following attestation bundles were made for isodec-2.0.0b2-py3-none-macosx_15_0_x86_64.whl:
Publisher:
publish.yml on michaelmarty/IsoDec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
isodec-2.0.0b2-py3-none-macosx_15_0_x86_64.whl -
Subject digest:
55f30ba40744a26f8ab671d7fcc35e0a838ae4f866b9c496b4ed13e1f5d0eca2 - Sigstore transparency entry: 2499147515
- Sigstore integration time:
-
Permalink:
michaelmarty/IsoDec@77ecad7cf8fe6628f6baaf442ed6658e276222be -
Branch / Tag:
refs/heads/main - Owner: https://github.com/michaelmarty
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@77ecad7cf8fe6628f6baaf442ed6658e276222be -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file isodec-2.0.0b2-py3-none-macosx_14_0_arm64.whl.
File metadata
- Download URL: isodec-2.0.0b2-py3-none-macosx_14_0_arm64.whl
- Upload date:
- Size: 14.3 MB
- Tags: Python 3, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0101fa71367cec0f278d0f12622ff7e424e782a0faf29cb610fec3e4b0773da1
|
|
| MD5 |
4814071f73ee87a39eea5924319fd0d9
|
|
| BLAKE2b-256 |
cf3d563e616adac59cd90196c8a551dec889d10422baaccd244249b2979ad11a
|
Provenance
The following attestation bundles were made for isodec-2.0.0b2-py3-none-macosx_14_0_arm64.whl:
Publisher:
publish.yml on michaelmarty/IsoDec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
isodec-2.0.0b2-py3-none-macosx_14_0_arm64.whl -
Subject digest:
0101fa71367cec0f278d0f12622ff7e424e782a0faf29cb610fec3e4b0773da1 - Sigstore transparency entry: 2499147583
- Sigstore integration time:
-
Permalink:
michaelmarty/IsoDec@77ecad7cf8fe6628f6baaf442ed6658e276222be -
Branch / Tag:
refs/heads/main - Owner: https://github.com/michaelmarty
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@77ecad7cf8fe6628f6baaf442ed6658e276222be -
Trigger Event:
workflow_dispatch
-
Statement type: