SpecLance

Alpha

A columnar store for mass spectrometry runs.

SpecLance is a storage format, not an analysis framework. It ingests vendor files through OpenMassSpec, or mzML, into a Lance dataset with scalar indexes on retention time and m/z, holds many runs in one directory, and exports back to mzML.

Not yet published to a package registry Apache-2.0 Rust, Python

Who it is for

Proteomics developers who want faster reads and cheaper seeks than mzML, from Rust or Python.

File types

  • .mzML
  • .raw
  • .d

What it does

  • Range queries on retention time and m/z.
  • Python bindings that return PyArrow, Polars or Pandas data.
  • speclance export writes mzML back out of a store.

Status and known limitations

Alpha (0.2.0-alpha). Not yet published to PyPI or crates.io; build from source. The API and on-disk schema may change without notice before 1.0.

Full details in the README

Install

git clone https://github.com/Sigilweaver/SpecLance
cd SpecLance && cargo build --release