OpenARaw

Read Agilent MassHunter data in Rust and Python.

A pure-Rust parser for Agilent's .d directory format, reverse-engineered without the vendor SDK. Covers the modern AcqData MassHunter shape across Q-TOF (profile and centroid) and QQQ (MRM) acquisitions.

Docs

Format notes, API reference, and quickstart.

Source

Apache-2.0 on GitHub.

What is an Agilent .d directory?

Agilent's .d is a directory (not a single file) emitted by MassHunter. Under AcqData it holds a per-scan index (MSScan.bin) and separate payload files for centroid and profile signal. The format is closed and the first-party access path is the Windows MassHunter SDK. OpenARaw reconstructs the on-disk layout from first principles so the data is readable on any platform with Rust or Python.

Coverage

Decodes the scan index (MSScan.bin), centroid and MRM peak lists (MSPeak.bin), LZF-compressed profile signal (MSProfile.bin), and mass calibration (MSMassCal.bin). Validated against 332 of 338 real-world PRIDE datasets. Distributed as a Rust crate and a maturin-built Python wheel.