Skip to main content

OpenTFRaw

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), OpenTimsTDF (Bruker).

Rust and Python reader for Thermo Fisher .raw mass spectrometry files, covering format versions 8 through 66 (LCQ Classic through Orbitrap Astral and modern TSQ).

Documentation: sigilweaver.app/opentfraw/docs

Install

Rust:

cargo add opentfraw

Python:

pip install opentfraw

Quickstart

Rust:

use opentfraw::RawFileReader;

let raw = RawFileReader::open_path("sample.raw")?;
let mut file = std::fs::File::open("sample.raw")?;
for scan_num in 1..=raw.num_scans {
    let peaks = raw.read_scan_peaks(&mut file, scan_num)?;
    println!("scan {scan_num}: {} peaks", peaks.mz.len());
}

Python:

import opentfraw

raw = opentfraw.RawFile("run.raw")
mz, intensity = raw.peaks(3)
print(raw.scan(3)["filter_string"])
raw.to_mzml("run.mzML")

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

Used by

Project Description
Mascope by Karsa Oy Mass spectrometry data analysis platform using OpenTFRaw to ingest Thermo .raw files.

License

Apache-2.0. See LICENSE.

The format specification was developed by binary analysis of public mass-spectrometry datasets (PRIDE accessions). See CORPUS.md and 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

opentfraw-1.3.1.tar.gz (76.5 kB view details)

Uploaded Source

Built Distributions

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

opentfraw-1.3.1-cp38-abi3-win_amd64.whl (276.6 kB view details)

Uploaded CPython 3.8+Windows x86-64

opentfraw-1.3.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (421.8 kB view details)

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

opentfraw-1.3.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (410.9 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64

opentfraw-1.3.1-cp38-abi3-macosx_11_0_arm64.whl (374.7 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

opentfraw-1.3.1-cp38-abi3-macosx_10_12_x86_64.whl (378.6 kB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file opentfraw-1.3.1.tar.gz.

File metadata

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

File hashes

Hashes for opentfraw-1.3.1.tar.gz
Algorithm Hash digest
SHA256 569cbd3cc5fe837b69f13c7a52b2d7e64b1553836d395f851ffcc48d5cdb431f
MD5 bf95938b0a1525ef8bf9cdae5bf223b0
BLAKE2b-256 3bcecdf83f6eb46a933de95277fda27ca6f9bfd0280bd59bdf8957d79dbd77b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentfraw-1.3.1.tar.gz:

Publisher: publish.yml on Sigilweaver/OpenTFRaw

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

File details

Details for the file opentfraw-1.3.1-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: opentfraw-1.3.1-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 276.6 kB
  • 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 opentfraw-1.3.1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3fdafe76bd2b2a1db91929424b2f2ed858e7c4a4895de56a9163c1d4bab6198a
MD5 3456dde9d04b62e51fb827a08734b47a
BLAKE2b-256 9266b4222135e152f0a132f92d7ac317cbc6398e5bec24ab30fc6e78cac7b8ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentfraw-1.3.1-cp38-abi3-win_amd64.whl:

Publisher: publish.yml on Sigilweaver/OpenTFRaw

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

File details

Details for the file opentfraw-1.3.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opentfraw-1.3.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a2fbb0754efd4512893f56bb352523f34ac95885046525c29c431d21ed668564
MD5 ccd97def4469f7b1167960a82be25c30
BLAKE2b-256 b06605694ca7cf799e3b77d423a678e31fca81ad869390d6acc35684d10f33f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentfraw-1.3.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on Sigilweaver/OpenTFRaw

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

File details

Details for the file opentfraw-1.3.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for opentfraw-1.3.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6724112199e712ab7d8816cf9076388d5ad4f2d12d265b1b246e0f9a6f036cb3
MD5 ab1cd85fd8e96b99a0804f9f31f6877b
BLAKE2b-256 97499c2bb5c44f69bcb3f596b7a26158dc7cb7bd464a15fa084a8a635dda63fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentfraw-1.3.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish.yml on Sigilweaver/OpenTFRaw

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

File details

Details for the file opentfraw-1.3.1-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for opentfraw-1.3.1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e648c42fa8a66cfa0e1157e46183e8ae5cdfa4dfed38628d8a2f6c166725fe6e
MD5 d32734d3853176060c7d2ebaa9d6407c
BLAKE2b-256 69ad90b1383a5a0c2f6e4e670e4a3238c20537b44d46a950ce4a006cf972e9ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentfraw-1.3.1-cp38-abi3-macosx_11_0_arm64.whl:

Publisher: publish.yml on Sigilweaver/OpenTFRaw

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

File details

Details for the file opentfraw-1.3.1-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for opentfraw-1.3.1-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8d37a22614be2b158b466cfca0530ac2053f688e7a9f6b07a339905bfc766c4a
MD5 f0d93e15ec22c21d5436611866095e8a
BLAKE2b-256 6e2c3a7cda274f5a2cbfd6e7860b503e401290cbbd176c8315366e9df5010fa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentfraw-1.3.1-cp38-abi3-macosx_10_12_x86_64.whl:

Publisher: publish.yml on Sigilweaver/OpenTFRaw

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

6 files

1.3.7

6 files

1.3.6

6 files

1.3.5

6 files

1.3.4

6 files

1.3.3

6 files

1.3.2

6 files

This release

1.3.1 This release

6 files

1.3.0

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

1.0.0

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