timsrust
Facade crate for reading Bruker timsTOF data. Re-exports the public API of the
timsrust-* sub-crates so that most users only need a single dependency.
Installation
[]
= "0.5"
Optional features:
| Feature | Description |
|---|---|
sdk |
Bruker SDK-backed reading via timsrust-sdk |
patched |
Patched calibration support via timsrust-patched |
Core types
| Type | Description |
|---|---|
TimsTofPath |
Entry point — auto-detects TDF / miniTDF / Parquet from a path string |
SpectrumReader / SpectrumReaderBuilder |
Read MS2 spectra |
PrecursorReader / PrecursorReaderBuilder |
Read precursor information |
MzConverter, ImConverter, RtConverter |
Unit converters (raw → m/z, ion mobility, retention time) |
Sub-crates are also re-exported as modules for lower-level access:
core // timsrust-core
tdf // timsrust-tdf
minidf // timsrust-minitdf
centroid // timsrust-centroid
Supported file formats
- TDF — Bruker
.dfolder (analysis.tdf+analysis.tdf_bin) - miniTDF — ProteoScape optimised format (
*.ms2spectrum.bin+*.ms2spectrum.parquet) - Parquet spectra — columnar spectrum storage
Usage
use ;
let path = new?;
// Read all spectra in parallel
let reader = path.spectrum_reader?;
// Read precursors
let precursors = path.precursor_reader?;