Skip to main content

OpenTimsTDF

CI DOI crates.io PyPI docs.rs License: Apache-2.0 Rust MSRV

Part of the OpenMassSpec stack for mass spectrometry raw-file access. Sibling readers: OpenWRaw (Waters), OpenTFRaw (Thermo).

Rust and Python reader for timsTOF .d/ (TDF) acquisition bundles - the SQLite analysis.tdf metadata file and the analysis.tdf_bin binary frame stream. Runs on Linux, macOS, and Windows.

Documentation: sigilweaver.app/opentimstdf/docs

Install

Rust:

cargo add opentimstdf

Python:

pip install opentimstdf

Quickstart

Rust:

use opentimstdf::Reader;

let reader = Reader::open("my_bundle.d")?;
let calib = reader.calibration()?;
let frame = reader.frame(1)?;
for peak in reader.decode_peaks(&frame)? {
    let mz = calib.tof_to_mz(peak.tof);
    let im = calib.scan_to_inv_mobility(peak.scan);
    println!("scan={} mz={:.4} 1/K0={:.4} i={}", peak.scan, mz, im, peak.intensity);
}

Python:

import opentimstdf

reader = opentimstdf.Reader("my_bundle.d")
calib = reader.calibration()
frame = reader.frame(1)
for peak in reader.decode_peaks(frame):
    mz = calib.tof_to_mz(peak.tof)
    print(peak.scan, mz, peak.intensity)

See the docs site for the full quickstart, guide, and format specification.

License

Apache-2.0. See LICENSE.

The TDF format and codecs were worked out from public sample data (PRIDE accessions). See ATTRIBUTION.md.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opentimstdf-1.2.3.tar.gz (40.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

opentimstdf-1.2.3-cp38-abi3-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.8+Windows x86-64

opentimstdf-1.2.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

opentimstdf-1.2.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64

opentimstdf-1.2.3-cp38-abi3-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

opentimstdf-1.2.3-cp38-abi3-macosx_10_12_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file opentimstdf-1.2.3.tar.gz.

File metadata

  • Download URL: opentimstdf-1.2.3.tar.gz
  • Upload date:
  • Size: 40.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for opentimstdf-1.2.3.tar.gz
Algorithm Hash digest
SHA256 653610f52d8c763bdfbb234e129ad86fe5c5b66becdcc04ab4d9084d30e19b96
MD5 804d07cd086c375bb37ebc7f46f1beec
BLAKE2b-256 4468bcc67c8eb1d95cec68888f5eefae77c09d221ffdad3fe716ac644a135af8

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentimstdf-1.2.3.tar.gz:

Publisher: publish.yml on Sigilweaver/OpenTimsTDF

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opentimstdf-1.2.3-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: opentimstdf-1.2.3-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for opentimstdf-1.2.3-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6da8d05d1c26130b454c6dbbf87fe9f3bc70f0d32c65f1be6951e1d9c5d584fe
MD5 3f65fd57dbbea71a87d14d91d1c8ab24
BLAKE2b-256 b9647d503523e2cfbfbdf35e5fb4ba426a33f91198d6a4e95203a66ce34ee228

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentimstdf-1.2.3-cp38-abi3-win_amd64.whl:

Publisher: publish.yml on Sigilweaver/OpenTimsTDF

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opentimstdf-1.2.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opentimstdf-1.2.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8c89a61e9e5c02b7c158bc4ddd0a68f636b96527fc3e27bc8f36579e6c955157
MD5 65128733972128fbcfc2251fcd4c0e1b
BLAKE2b-256 47196335a4b8e21d137eb6f9e332e84cb4de993ddbea6986b58d4643910d65be

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentimstdf-1.2.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on Sigilweaver/OpenTimsTDF

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opentimstdf-1.2.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for opentimstdf-1.2.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 06cafb5edaa57f77500c2f74648e37a07d24572aed4c7de59d91e90fff8be630
MD5 3bc5b81b3697720420b75dea7aa8b2a5
BLAKE2b-256 6f9fce801bd1de12670f4f33f2f940057af670aecf6fd1d8927a740e04635395

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentimstdf-1.2.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish.yml on Sigilweaver/OpenTimsTDF

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opentimstdf-1.2.3-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for opentimstdf-1.2.3-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7f91d05bf1ac4795eff144d5a142bc5ba6a7743ab9625f56c3f4453fd1491a31
MD5 bbfbfe3ff4c154101cee9c3bdb8b743b
BLAKE2b-256 adf0dcf25f410b61689efe3ccd51e2b8c119826bd9b890f338e5b9eb60d73bdf

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentimstdf-1.2.3-cp38-abi3-macosx_11_0_arm64.whl:

Publisher: publish.yml on Sigilweaver/OpenTimsTDF

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opentimstdf-1.2.3-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for opentimstdf-1.2.3-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1fe117fb32c61c48b44be371ca9127141ccd6969767f3a816cee010b3e3bcd7a
MD5 fd13b476c51fac51355fef2783cd8098
BLAKE2b-256 74c5cfb2cb91fb0f1d6b884d7676efda40dd59d5111b2e3224ec92eb64175435

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentimstdf-1.2.3-cp38-abi3-macosx_10_12_x86_64.whl:

Publisher: publish.yml on Sigilweaver/OpenTimsTDF

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.3.3

6 files

1.3.2

6 files

1.3.1

6 files

1.3.0

6 files

1.2.6

6 files

1.2.5

6 files

1.2.4

6 files

This release

1.2.3 This release

6 files

1.2.0

6 files

1.1.0

6 files

1.0.6

6 files

1.0.5

6 files

1.0.4

6 files

1.0.3

6 files

1.0.1

6 files

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