Skip to main content

OpenTFRaw

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

Part of the OpenProteo stack for proteomics 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.0.tar.gz (75.9 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.0-cp38-abi3-win_amd64.whl (276.6 kB view details)

Uploaded CPython 3.8+Windows x86-64

opentfraw-1.3.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (427.2 kB view details)

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

opentfraw-1.3.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (414.6 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

opentfraw-1.3.0-cp38-abi3-macosx_10_12_x86_64.whl (378.5 kB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: opentfraw-1.3.0.tar.gz
  • Upload date:
  • Size: 75.9 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.0.tar.gz
Algorithm Hash digest
SHA256 9cb07049dc27f5844709f79b4825d169c2c892e7e861f1acc3ff191ab93687ae
MD5 b94b4bf0ae51c5e2ad64682f90cbe864
BLAKE2b-256 a31892f7436f491dbc0dcc544d2e30b1ddcc764ec15302e309ff7068078db0cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentfraw-1.3.0.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.0-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: opentfraw-1.3.0-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.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 36135f5f8d53c3887bedc23707fced6b92e4000611e03de162ae57d700867a4d
MD5 fc66da7cf23be4f8aa82389e6d0d7e9b
BLAKE2b-256 8328402db7931d444200943ba2cab325bcaad5fe3080f9d2d3121c3af574b83a

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentfraw-1.3.0-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.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opentfraw-1.3.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7a9f90ad88dc95e42df18140685e94d79326ad56e8e838dc75f7f17615e41b45
MD5 bcda4970eed0efb6393840bc175b31bf
BLAKE2b-256 e8389651fea64ea45a0f34e79c53182388e6ef105e41ba03f1f7190ffe9b8545

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentfraw-1.3.0-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.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for opentfraw-1.3.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5c9587883fb4bccd1c9ddfbb1d601ce3a655301770d6b8421fe73169dd431f9c
MD5 5b7e4c4bacd73f4774cccd8d29009317
BLAKE2b-256 4fe4b48fe6e11bac97f815333a1e2db442eb0dabc98e9e605fb6f967a4f76015

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentfraw-1.3.0-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.0-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for opentfraw-1.3.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0bd3d87e5b6ea66bb29ddcd0050dab63703a961f11c826a31e0030de86c098f4
MD5 147273e44bb16b292413ea31b0188bbf
BLAKE2b-256 46876dccf8ae5ee4b7a44df6f0895f8b1227799cb8842e6434415b8e696a5f30

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentfraw-1.3.0-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.0-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for opentfraw-1.3.0-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9b09856e41b51d842d121c9ffc32235f40f2f82a8fe171e9082d03c86f8af6db
MD5 35eaf69a8cc43b99b16e36640658551c
BLAKE2b-256 8736387a4c4442e039b1821a97dabfe2e58c8ffe2650c1086d94b330e8d8a811

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentfraw-1.3.0-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

1.3.1

6 files

This release

1.3.0 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

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