CLI Quick Start¶
After building, the binary is at ./cli/mscompress.
Compress¶
If the output path is omitted, the input filename with the .msz
extension is used:
Decompress¶
The input file's extension determines the direction — mscompress
detects mzML vs MSZ from the file's magic bytes, not the extension.
Extract a subset¶
mscompress --extract-indices 0-100 input.msz subset.mzML
mscompress --extract-scans 1-3,5-6 input.msz subset.mzML
mscompress --ms-level 2 input.msz ms2-only.mzML
Inspect a file¶
List available algorithms¶
Lossy compression¶
mscompress --mz-lossy delta32 --int-lossy log input.mzML
mscompress --mz-lossy delta32 --mz-scale-factor 524288 input.mzML
See the profile picker and the algorithm catalog.