timsrust

Crates.iotimsrust
lib.rstimsrust
version0.2.4
sourcesrc
created_at2023-10-10 08:20:59.990572
updated_at2024-04-05 12:50:06.236875
descriptionA crate to read Bruker timsTOF data
homepagehttps://github.com/mannlabs/timsrust
repositoryhttps://github.com/mannlabs/timsrust
max_upload_size
id998896
size358,889
(sander-willems-bruker)

documentation

https://docs.rs/timsrust

README

Crates.io docs.rs

TimsRust

A crate to read Bruker TimsTof data.

Installation

Add this crate to your Cargo.toml:

[dependencies]
timsrust = "x.x.x"

Usage

TimsRust is intended to be used as a library and not as a stand-alone application. An example of how to use it is found in e.g. Sage.

Basics

Two primary data types are exposed through TimsRust:

  • Spectra: A traditional representation that expresses intensitites in function of mz values for a given precursor.
  • Frames: All recorded data from a single TIMS elution (i.e. at one specific retention_time).

File formats

Two file formats are supported:

  • TDF - Bruker .d folder containing:

    • analysis.tdf
    • analysis.tdf_bin
  • miniTDF - ProteoScape optimized Bruker file-format. Similar to TDF, miniTDF consists of multiple files: a binary '.bin' and an index '.parquet' file. The file-names are made up to the following convention: <producing-engine-name>.<domain-name>.<extension>. e.g. for MS2 spectrum information: <producing-engine-name>.ms2spectrum.<extension>. Therefore the following files are expected in the provided ms2 folder:

    • *.ms2spectrum.bin

    • *.ms2spectrum.parquet

Python bindings

The timsrust_pyo3 package is an example of how the performance of TimsRust can be utilized in Python

Commit count: 75

cargo fmt