eduKateSG · Why Science?
Query large mass-spectrometry runs efficiently across local and cloud storage—while keeping draft status, arrays, metadata and provenance visible
Choose the closest route, then return to the full index whenever you need the wider evidence chain.
Science learning becomes powerful when students can tell a measured pattern from a model, a statistical decision from a mechanism, and a useful lead from a finished conclusion. mzPeak is a developing HUPO-PSI proposal for a compact binary mass-spectrometry run format built on Apache Parquet. The official project page says it is designed for fast local or cloud-friendly access and can be read from local disks, object stores such as S3 or HTTP servers. The current specification site identifies draft 0.9, Draft 5, and states that it has not yet been ratified through the HUPO-PSI Document Process. Its ideas and implementations are promising; production users must label the draft exactly and expect change rather than presenting it as a finished standard. This guide supports Primary Science, PSLE Science, Secondary Science, O-Level Science and STEM education as a longform evidence-reading route; it is not medical advice, a laboratory protocol, an admission promise or a career guarantee.
Related eduKate reading: mzML and open mass-spectrometry data; mass spectrometry, ionisation and mass-to-charge evidence; PSI-MS and mass spectrometry vocabulary; mzSpecLib and open spectral libraries; Science Learning Hub; Education Hub; STEM Education; Careers by Subject Capability.
Primary and official sources checked on 12 October 2026: HUPO-PSI official mzPeak project page and in-development status, checked 12 October 2026; HUPO-PSI official mzPeak specification site, draft 0.9 Draft 5, checked 12 October 2026; HUPO-PSI official mzPeak specification repository, checked 12 October 2026; 2026 Singapore–Cambridge O-Level Biology syllabus; MOE G2/G3 Lower Secondary Science teaching and learning syllabus; 2026 MOE G2 Computing syllabus. Specifications, drafts, vocabularies, tools and recommendations can change, so preserve dated documentation, exact source data and software versions.
A deeper reading route
Mass-spectrometry runs can contain many spectra, chromatograms and metadata records. XML-based mzML is open and well established, but complex random access can require indexes, repeated parsing or movement of large files. mzPeak explores a columnar alternative in which related values are stored for efficient selection and analytical processing. The goal is faster access without returning to opaque proprietary containers.
Apache Parquet is central to the design. It is a typed, column-oriented format with implementations in many programming languages and strong support in cloud and analytics systems. Columnar storage can read the fields needed for a query without decoding every value in every record. That advantage depends on schema, row-group design, compression and the actual access pattern.
The official PSI page calls mzPeak in development. The draft site in 2026 identifies version 0.9 Draft 5 and says it is not yet ratified. This status is not a footnote. A draft can change table names, required fields, metadata schemas or container rules. Any article, dataset or benchmark must state the exact commit, draft and implementation used.
The current draft separates centroid peaks and profile arrays. Official schema documentation says profile data belong in a spectra-data Parquet table and centroid data in a spectra-peaks table. Metadata describe spectra and their relationships to arrays. A reader must not infer centroiding merely from sparse-looking values; the declared representation and processing history matter.
Chromatograms also have signal and metadata layers. The specification documentation describes separate data and metadata tables. A chromatogram trace remains dependent on type, time unit, intensity unit, precursor or product context and processing. Efficient column reads do not replace the semantic checks already familiar from mzML.
File-level metadata are important because Parquet columns alone cannot explain the experiment. The project describes JSON-encoded descriptions for file contents, instrumentation, software and data transformations. Controlled terms help keep meaning aligned with PSI standards. Those records should be validated and preserved alongside binary tables.
Cloud-friendly access changes engineering, not evidence. HTTP range requests and object-store reads can avoid moving an entire run, but the client must verify object identity, size, version or checksum. A query against a replaced object may return a coherent table from different bytes. Durable analysis therefore records the exact object version as well as the logical scan selection.
Benchmarks should distinguish file size, full sequential throughput, random spectrum retrieval, predicate queries, memory use and conversion cost. One format can win one measure and lose another. Hardware, storage, compression, cache state and dataset shape should be reported so performance claims are reproducible rather than promotional.
A practical audit converts a small mzML fixture, checks spectrum and chromatogram counts, compares selected numerical arrays within tolerance, resolves controlled terms, then round-trips or queries the mzPeak representation through two implementations. Any dropped metadata or changed precision becomes a documented draft issue.
The bright idea behind mzPeak is that open mass-spectrometry data can meet modern analytics without surrendering scientific context. Its present value is experimentation and community review. Careful users can test it enthusiastically while keeping stable archival sources and saying plainly that the specification is still moving.
Draft-aware preservation uses two manifests: one for scientific content and one for the implementation experiment. The scientific manifest names runs, spectra and metadata; the implementation manifest pins specification commit, writer, reader, Parquet library, compression, row-group settings and object-store configuration. Together they show whether a difference came from science or storage engineering.
Predicate pushdown and column pruning should be demonstrated, not assumed. Log which columns and byte ranges were read for representative queries, compare results with a full scan and include cold-cache and warm-cache measurements. Cloud egress and request counts matter alongside elapsed time because operational cost can shape reproducibility.
Conversion failures need durable reporting. Unsupported metadata, unknown controlled terms or precision changes should produce explicit warnings and a machine-readable loss report. A converter that silently drops a field may create a valid mzPeak object whose scientific context is weaker than the source.
Security remains relevant for remote scientific data. Signed URLs, credentials and object-store policies should not be embedded in the dataset. Record stable logical locations separately from temporary access tokens, verify TLS endpoints and keep governed runs behind appropriate authorization.
A draft migration should never overwrite the only usable copy. Write a new object, validate counts and hashes, compare representative spectra and retain the old draft until consumers have moved. Field-by-field migration notes help the community turn prototype experience into a stronger final standard.
The best current claim is modest and exciting: mzPeak demonstrates how Parquet and multi-language implementations may modernise run access. Formal ratification, long-term compatibility and ecosystem adoption remain future milestones. Saying both parts clearly builds trust around innovation.
Interoperability testing should include Rust, Python, R, TypeScript or C# readers where the relevant feature exists. One implementation writing and reading its own output can share the same hidden assumption. Independent consumers reveal whether schemas, nulls, lists, metadata and array order carry the same meaning across languages and platforms.
Archival planning should distinguish durable scientific preservation from active analytical acceleration. A laboratory may preserve mzML and vendor files as authoritative sources while generating mzPeak derivatives for cloud queries. The derivative can be regenerated when the draft changes, provided that conversion inputs, checksums and software remain available.
Benchmark subsets should be scientifically representative. A few small centroid spectra can hide the costs of profile arrays, chromatograms, mobility dimensions or rich metadata. Publish the selection rule, total run size and query mix, then repeat on at least one demanding run so speed claims describe more than a convenient demonstration.
| Stage | Question | Evidence | Responsible output |
|---|---|---|---|
| Model | Which run entities and arrays are represented? | Draft schemas, controlled terms and metadata | A computable run model |
| Store | How are values organised? | Parquet tables, types, compression and container index | A compact binary representation |
| Query | Which subset is needed? | Columns, predicates, row groups and remote ranges | Efficient local or cloud access |
| Guard | Can results survive draft change? | Pinned commit, source mzML, validation and hashes | A reproducible experiment |
Inside this guide
1–12 · Foundations and design
- 1. Start with the access problem
- 2. State in-development status
- 3. Pin draft 0.9 precisely
- 4. Keep a stable source
- 5. Understand Parquet columns
- 6. Understand typed schemas
- 7. Understand row groups
- 8. Understand the container
- 9. Read file descriptions
- 10. Read instrument metadata
- 11. Read software history
- 12. Distinguish profile data
13–24 · Models and estimation
- 13. Distinguish centroid data
- 14. Read spectrum metadata
- 15. Read chromatograms
- 16. Use controlled vocabulary terms
- 17. Query locally
- 18. Query object storage
- 19. Query over HTTP
- 20. Benchmark fairly
- 21. Validate counts
- 22. Validate numerical arrays
- 23. Validate metadata
- 24. Test multiple implementations
25–36 · Diagnostics and interpretation
- 25. Plan migrations
- 26. Separate efficiency from validity
- 27. Separate draft utility from standard status
- 28. Connect to Primary Science
- 29. Connect to Secondary Science
- 30. Connect to mathematics
- 31. Connect to computing
- 32. Connect to pathways
- 33. Did you know?
- 34. Write a reader-ready methods note
- 35. Build a validation ladder
- 36. Finish with a reproducible bundle
Section 1 of 36
1. Start with the access problem
Define whether the need is compact storage, rapid spectrum retrieval, cloud queries, analytics or machine-learning input.
Working checkpoint — mzPeak: Write the workload before choosing the format. Keep source run, exact draft, schemas, writer, metadata, arrays and object identity together.
For a classroom model, compare fictional row and column storage.
Section 2 of 36
2. State in-development status
The official PSI page says the mzPeak specification is in development, not ratified.
Working checkpoint — Apache Parquet: Display draft and commit prominently. Read every performance result beside dataset, query, hardware, storage and cache state.
For future study, connect instrumentation to cloud systems while checking pathways separately.
Section 3 of 36
3. Pin draft 0.9 precisely
The official specification site identifies 0.9 Draft 5 in October 2026.
Working checkpoint — mass spectrometry run: Archive the rendered specification and repository commit. Preserve source mzML and conversion receipts; a compact draft file is not the original experiment.
For writing, cite draft, commit, implementation, benchmark and limitations.
Section 4 of 36
4. Keep a stable source
A draft conversion should not replace the original mzML or vendor source used to create it.
Working checkpoint — random access: Preserve source bytes and hashes. Separate engineering speed from measurement quality, metadata completeness and standard status.
For students, ask what was gained and what might be lost in a new representation.
Section 5 of 36
5. Understand Parquet columns
Columnar storage groups values by field so queries can read selected columns efficiently.
Working checkpoint — cloud object storage: Measure performance with the real access pattern. Treat types, row groups, units and remote object versions as scientific inputs: one mismatch can change a query.
For parents, ask whether innovation is clearly labelled as tested or still developing.
Section 6 of 36
6. Understand typed schemas
Integers, floating values, lists and metadata need exact types and null rules.
Working checkpoint — draft specification: Reject implicit or lossy coercion. Keep source run, exact draft, schemas, writer, metadata, arrays and object identity together.
For a classroom model, compare fictional row and column storage.
Section 7 of 36
7. Understand row groups
Parquet row groups affect compression, pruning and retrieval cost.
Working checkpoint — mzPeak: Record writer settings and test alternatives. Read every performance result beside dataset, query, hardware, storage and cache state.
For future study, connect instrumentation to cloud systems while checking pathways separately.
Section 8 of 36
8. Understand the container
Current draft materials organise Parquet resources with an index and metadata.
Working checkpoint — Apache Parquet: Validate every named member and relationship. Preserve source mzML and conversion receipts; a compact draft file is not the original experiment.
For writing, cite draft, commit, implementation, benchmark and limitations.
Section 9 of 36
9. Read file descriptions
File-level JSON metadata describe contents and shared context.
Working checkpoint — mass spectrometry run: Check schemas and controlled terms. Separate engineering speed from measurement quality, metadata completeness and standard status.
For students, ask what was gained and what might be lost in a new representation.
Section 10 of 36
10. Read instrument metadata
Instrument configuration shapes the meaning of spectra and must survive conversion.
Working checkpoint — random access: Compare with source mzML and acquisition logs. Treat types, row groups, units and remote object versions as scientific inputs: one mismatch can change a query.
For parents, ask whether innovation is clearly labelled as tested or still developing.
Section 11 of 36
11. Read software history
Conversion, centroiding and other transformations should identify software and order.
Working checkpoint — cloud object storage: Pin versions and parameters. Keep source run, exact draft, schemas, writer, metadata, arrays and object identity together.
For a classroom model, compare fictional row and column storage.
Section 12 of 36
12. Distinguish profile data
Profile spectra preserve sampled signal arrays and can be large.
Working checkpoint — draft specification: Verify point count, units and precision. Read every performance result beside dataset, query, hardware, storage and cache state.
For future study, connect instrumentation to cloud systems while checking pathways separately.
Section 13 of 36
13. Distinguish centroid data
Centroid spectra store detected peaks and depend on a peak-picking method.
Working checkpoint — mzPeak: Keep centroiding provenance. Preserve source mzML and conversion receipts; a compact draft file is not the original experiment.
For writing, cite draft, commit, implementation, benchmark and limitations.
Section 14 of 36
14. Read spectrum metadata
Scan identity, level, precursor and acquisition context should resolve to the correct arrays.
Working checkpoint — Apache Parquet: Test references on known fixtures. Separate engineering speed from measurement quality, metadata completeness and standard status.
For students, ask what was gained and what might be lost in a new representation.
Section 15 of 36
15. Read chromatograms
Chromatogram signal and metadata require time, intensity and trace-type context.
Working checkpoint — mass spectrometry run: Compare trace length and units. Treat types, row groups, units and remote object versions as scientific inputs: one mismatch can change a query.
For parents, ask whether innovation is clearly labelled as tested or still developing.
Section 16 of 36
16. Use controlled vocabulary terms
PSI-MS accessions help align mzPeak semantics with the wider ecosystem.
Working checkpoint — random access: Pin vocabulary release and validate placement. Keep source run, exact draft, schemas, writer, metadata, arrays and object identity together.
For a classroom model, compare fictional row and column storage.
Section 17 of 36
17. Query locally
Local reads test decoding, selection and performance without network effects.
Working checkpoint — cloud object storage: Record hardware, cache and timing method. Read every performance result beside dataset, query, hardware, storage and cache state.
For future study, connect instrumentation to cloud systems while checking pathways separately.
Section 18 of 36
18. Query object storage
Cloud object stores can support selective reads when object identity and range behavior are known.
Working checkpoint — draft specification: Record version ID, size and checksum. Preserve source mzML and conversion receipts; a compact draft file is not the original experiment.
For writing, cite draft, commit, implementation, benchmark and limitations.
Section 19 of 36
19. Query over HTTP
HTTP range access can retrieve portions of a remote object but depends on server support and caching.
Working checkpoint — mzPeak: Log endpoint, headers and transferred bytes. Separate engineering speed from measurement quality, metadata completeness and standard status.
For students, ask what was gained and what might be lost in a new representation.
Section 20 of 36
20. Benchmark fairly
Size, throughput, latency, memory and conversion time are different metrics.
Working checkpoint — Apache Parquet: Publish dataset and method for each. Treat types, row groups, units and remote object versions as scientific inputs: one mismatch can change a query.
For parents, ask whether innovation is clearly labelled as tested or still developing.
Section 21 of 36
21. Validate counts
Spectrum, chromatogram and array counts should match the source within declared transformations.
Working checkpoint — mass spectrometry run: Reconcile every difference. Keep source run, exact draft, schemas, writer, metadata, arrays and object identity together.
For a classroom model, compare fictional row and column storage.
Section 22 of 36
22. Validate numerical arrays
Conversion can alter precision, order or missing values.
Working checkpoint — random access: Compare representative arrays with explicit tolerance. Read every performance result beside dataset, query, hardware, storage and cache state.
For future study, connect instrumentation to cloud systems while checking pathways separately.
Section 23 of 36
23. Validate metadata
Fast arrays are not useful if instrument, precursor or software context disappears.
Working checkpoint — cloud object storage: Diff structured metadata. Preserve source mzML and conversion receipts; a compact draft file is not the original experiment.
For writing, cite draft, commit, implementation, benchmark and limitations.
Section 24 of 36
24. Test multiple implementations
Independent readers expose assumptions hidden by one writer-reader pair.
Working checkpoint — draft specification: Use a small cross-language fixture. Separate engineering speed from measurement quality, metadata completeness and standard status.
For students, ask what was gained and what might be lost in a new representation.
Section 25 of 36
25. Plan migrations
A draft revision may require schema or container changes.
Working checkpoint — mzPeak: Keep a field-level migration log. Treat types, row groups, units and remote object versions as scientific inputs: one mismatch can change a query.
For parents, ask whether innovation is clearly labelled as tested or still developing.
Section 26 of 36
26. Separate efficiency from validity
A smaller or faster file does not strengthen the underlying measurement.
Working checkpoint — Apache Parquet: Review experimental quality separately. Keep source run, exact draft, schemas, writer, metadata, arrays and object identity together.
For a classroom model, compare fictional row and column storage.
Section 27 of 36
27. Separate draft utility from standard status
Working software and promising benchmarks do not equal formal PSI ratification.
Working checkpoint — mass spectrometry run: Use accurate language in every publication. Read every performance result beside dataset, query, hardware, storage and cache state.
For future study, connect instrumentation to cloud systems while checking pathways separately.
Section 28 of 36
28. Connect to Primary Science
A fictional columnar-data card helps younger learners see that an observation, a label and an explanation are different layers.
Working checkpoint — random access: Define every symbol and use no personal data. Preserve source mzML and conversion receipts; a compact draft file is not the original experiment.
For writing, cite draft, commit, implementation, benchmark and limitations.
Section 29 of 36
29. Connect to Secondary Science
mzPeak draft supports lessons about molecules, evidence, models, controls and uncertainty.
Working checkpoint — cloud object storage: Trace one conclusion back to the smallest supporting record. Separate engineering speed from measurement quality, metadata completeness and standard status.
For students, ask what was gained and what might be lost in a new representation.
Section 30 of 36
30. Connect to mathematics
Coordinates, masses, charges, intervals, scores and probabilities reward exact definitions and compatible units.
Working checkpoint — draft specification: Recalculate one small example by hand. Treat types, row groups, units and remote object versions as scientific inputs: one mismatch can change a query.
For parents, ask whether innovation is clearly labelled as tested or still developing.
Section 31 of 36
31. Connect to computing
Columnar schemas, remote ranges and cross-language readers show modern scientific data engineering.
Working checkpoint — mzPeak: Break one field or reference, run a validator and repair it transparently. Keep source run, exact draft, schemas, writer, metadata, arrays and object identity together.
For a classroom model, compare fictional row and column storage.
Section 32 of 36
32. Connect to pathways
Run formats connect instrumentation, cloud systems, data engineering and statistics and can illuminate STEM education and career pathways.
Working checkpoint — Apache Parquet: Verify current official education and qualification routes separately. Read every performance result beside dataset, query, hardware, storage and cache state.
For future study, connect instrumentation to cloud systems while checking pathways separately.
Section 33 of 36
33. Did you know?
mzPeak can be useful and implementable while still being an unratified working draft.
Working checkpoint — mass spectrometry run: Explain the fact in plain language, then name the evidence boundary. Preserve source mzML and conversion receipts; a compact draft file is not the original experiment.
For writing, cite draft, commit, implementation, benchmark and limitations.
Section 34 of 36
34. Write a reader-ready methods note
State format status, version, inputs, reference resources, software, validation and the narrow claim supported.
Working checkpoint — random access: Keep the note beside the machine-readable record. Separate engineering speed from measurement quality, metadata completeness and standard status.
For students, ask what was gained and what might be lost in a new representation.
Section 35 of 36
35. Build a validation ladder
Check bytes, structure, identifiers, references, controlled meaning, scientific plausibility and a known fixture in sequence.
Working checkpoint — cloud object storage: Stop at the earliest unresolved layer. Treat types, row groups, units and remote object versions as scientific inputs: one mismatch can change a query.
For parents, ask whether innovation is clearly labelled as tested or still developing.
Section 36 of 36
36. Finish with a reproducible bundle
Deliver source files or stable identifiers, format documents, reference releases, commands, validator output, hashes and limitations.
Working checkpoint — draft specification: Make every published claim traceable. Keep source run, exact draft, schemas, writer, metadata, arrays and object identity together.
For a classroom model, compare fictional row and column storage.
Contents · Previous section · Continue to the Science Learning Hub
