koth-core
The in-memory LC–MS feature detection stages of koth: chromatographic hill detection, isotope-envelope feature assembly with charge assignment, and averagine isotope-pattern scoring.
koth-core reads and writes no files and has no native dependencies (no
SQLite, no vendor readers, no Arrow/Parquet). Bring your own spectra from your
own mzML, Thermo or Bruker reader. Its normal dependencies are rayon, serde,
toml, log, thiserror, rand and rustc-hash. The koth-ms crate (the koth_ff
and koth_align executables) adds the readers, writers and cross-run LFQ, and
runs exactly these stages.
[]
= "0.11"
use ;
let spectra: =
.map
.collect;
// The configuration is the same struct, and the same TOML, as `koth_ff -c`.
let config = default;
let out = run_pipeline_from_spectra?;
println!;
# Ok::
For large runs, run_pipeline_streaming_from_spectra with a PipelineSink
hands over features one at a time instead of collecting them. The stages can
also be called one by one: run_hills, run_features, run_scoring.
Documentation · Algorithm · Source and issues
Licensed under MIT.