Agilent MassHunter
Agilent .d/ directories are read by openaraw,
a pure-Rust reader for the MassHunter AcqData on-disk layout, clean-
room reverse-engineered with no Agilent SDK or MassHunter runtime.
Detection
A path is treated as Agilent when:
- it is a directory, and
- it contains
AcqData/MSScan.bin.
Bruker TDF bundles are also commonly named <run>.d/, so detect_format
checks for the Bruker signature (analysis.tdf + analysis.tdf_bin)
first; a bundle only falls through to the Agilent check once that
fails. See Format detection for the full
ordering.
Covered features
- Q-TOF acquisitions: profile and centroid MS1/MS2.
- QQQ (MRM) acquisitions, including per-transition precursor and product native IDs.
- Indexed mzML with native-id format
Agilent MassHunter nativeID format(MS:1002848).
Collision energy
Q-TOF MS/MS scan records hold the collision energy as a bare number, and no
file states its unit. openaraw writes the value with no unit and declares
that the format never states it. convert therefore writes the value as a
unit-less userParam on each MS/MS spectrum, with the warning
unknown_collision_energy_unit, and the run with unstated_by_source; it
needs no --allow. MRM scans have no collision energy and no warning.
Known gaps
polarityand the MS2selected_mz(distinct from the isolation- windowtarget_mz) are alwaysNone. Both were checked directly against the corpus - including a confirmed mixed-polarity run inPXD031771- and no recoverable field was found inMSScan.binorMSPeriodicActuals.bin. See OpenARaw's known-limitations notes for the byte-level investigation.- A handful of PRIDE-hosted
.duploads are structurally malformed (missingAcqDataentirely, or are macOS__MACOSXartifacts) and are excluded from the conformance corpus rather than misreported.
Tested instruments
The conformance suite is validated against 332 of 338 real-world PRIDE
.d datasets, covering Q-TOF (profile and centroid) and QQQ (MRM)
acquisitions; the remaining 6 are the malformed uploads above, not
reader gaps.