VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Why Science? | mzQC and Mass Spectrometry Quality Metrics

Three students sit around open books and worksheets at a classroom table, reading, writing and discussing the work together.

eduKateSG · Why Science?

Exchange mass-spectrometry quality metrics clearly—while preserving metric definitions, units, provenance, run boundaries, thresholds and decision limits

Choose the closest route, then return to the full index whenever you need the wider evidence chain.

Full section index · Science Learning Hub

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. mzQC is the HUPO-PSI JSON format for exchange, transmission and archiving of quality metrics derived from biological mass spectrometry. The official model groups metrics into runQuality elements for one run and setQuality elements for multiple runs. Each group has metadata for input files and analysis software, while qualityMetric values can be scalars, tuples, matrices or tables. Metrics use controlled terms from the PSI-MS quality-control namespace so their definitions, value types and units are unambiguous. JSON Schema checks structure, and semantic rules check vocabularies, uniqueness, types, units and table lengths. A metric supports evaluation; it does not decide fitness for every experiment without a study-specific threshold and human context. 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: mass spectrometry, ionisation and mass-to-charge evidence; ion-mobility mass spectrometry; hydrogen–deuterium exchange mass spectrometry; Science Learning Hub; Education Hub; STEM Education; Careers by Subject Capability.

Primary and official sources checked on 12 October 2026: HUPO-PSI mzQC official specification site, checked 12 October 2026; HUPO-PSI mzQC introduction and data model, checked 12 October 2026; HUPO-PSI mzQC validation rules, 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, vocabularies, tools and recommendations can change, so preserve dated documentation, exact source data and software versions.

A deeper reading route

Quality control turns a vague question—did this run behave well?—into defined measurements. mzQC does not mandate one universal panel. It provides a common container for metrics chosen by laboratories, repositories or workflows, preserving enough provenance and controlled meaning for another tool to read them consistently.

The format is realised in JSON and validated against a JSON Schema. Objects hold named key-value pairs, while arrays hold ordered values. This web-native representation is approachable and widely supported, yet ordinary JSON validity is only the first layer. A document can parse correctly while using a metric with the wrong unit or duplicate meaning.

runQuality groups metrics pertaining to a single mass-spectrometry run. setQuality groups metrics calculated across several runs. Keeping these levels distinct prevents a batch median from being mistaken for one injection and prevents a run outlier from being hidden inside an aggregate. Labels must be unique so humans and programs can identify each group.

Metadata records the originating input file or files and software used to calculate metrics. File locations must be unique within the relevant run or set. Hashes, USIs or repository identifiers can strengthen identity when paths are unstable. Software name, version and parameters matter because two implementations may calculate a similarly named metric differently.

qualityMetric elements carry a controlled term and value. The value can be a single number, an n-tuple, a matrix or a table, as defined by the vocabulary term. This flexibility covers simple counts and rich distributions, but it means a consumer must read the metric definition before assuming the JSON shape.

The PSI-MS controlled vocabulary reserves MS:4000000 through MS:4999999 for QC concepts. Terms define metric names, expected value structures, units and supporting values. Accessions create stable machine references, while the vocabulary release provides context. A label copied from a graph is not a substitute for the official term.

Syntactic validation uses JSON Schema draft-07 in the current official guidance. It can check required objects, cardinality and data types. Semantic validation adds rules that schema alone cannot fully express: controlled vocabularies must resolve, accessions and names must match, metric values must use allowed structures and units, and table columns must have equal lengths.

The official validation guidance requires quality metrics to be unique within their runQuality or setQuality parent. Duplicate terms can be ambiguous if they represent different filters or populations. If two variants are scientifically necessary, their distinction must be encoded through defined supporting data or separate context rather than repeated labels with hidden assumptions.

A percentage metric deserves denominator checks. The guidance notes that detailed metric validation may include checks such as percentages summing to one hundred. Counts, rates and distributions likewise need domain constraints. Schema-valid numbers can still be impossible, so laboratories should add expectation ranges and known fixtures.

Thresholds belong to a quality policy, not to mzQC syntax alone. An acceptable mass accuracy, identification rate or chromatographic width depends on instrument, method, analyte, batch and study objective. Store the measured metric separately from the decision rule and version the rule. This lets future reviewers distinguish changed data from changed acceptance criteria.

Run-to-run monitoring can reveal drift, sudden failure or batch effects. Trends require comparable metrics calculated by the same method under stable units and reference materials. A setQuality summary can support monitoring, but retain run-level points so outliers and time order remain visible. Aggregation should never erase a failed injection.

Quality metrics are diagnostic clues, not automatic causes. A change in total ion current may reflect sample load, spray stability, detector response or acquisition settings. Investigating requires complementary metrics and instrument logs. A dashboard should invite the next check rather than convert one red box into a confident explanation.

For students, mzQC is like a laboratory checklist in which every number has a dictionary definition and unit. Some values describe one experiment; others describe a whole class set. The cheerful lesson is that quality becomes easier to improve when observations, definitions and decisions are kept separate.

A durable package includes input-run identities, mzQC file, JSON Schema, PSI-MS CV release, metric calculation software and parameters, laboratory thresholds, reference-material context, validator report and hashes. It should also preserve rejected runs and corrective actions so the quality history is not rewritten after success.

Privacy and operational security matter. File locations can reveal participant codes, instruments or internal storage systems. Quality metrics may expose unreleased samples or laboratory performance. Use durable pseudonymous identifiers, minimise paths and release only under an appropriate governance and collaboration agreement.

Versioned metric frameworks help collaboration. Two laboratories can both produce valid mzQC while choosing different metric panels. Shared projects should publish the required terms, calculation versions, units, missingness rules and acceptance thresholds. Interoperability begins with common syntax and succeeds only with aligned analytical definitions.

Quality control becomes useful only when a metric has a clear meaning, scope and comparison context. A run-level value can flag one acquisition, whereas a set-level value can reveal a pattern across several runs. Neither alone proves that the biological conclusion is correct. Reviewers should ask what was measured, which input files and software produced it, what unit and value type apply, and which reference distribution or decision rule makes the number actionable.

The distinction between schema validation and semantic validation is especially important. JSON Schema can confirm that required fields and general shapes are present, while mzQC semantic rules test matters such as controlled-vocabulary identity, expected units, value types, unique labels and equal table-column lengths. A file can therefore look like valid JSON yet still describe a metric incorrectly. This is a useful data-literacy lesson: machine readability, structural validity and scientific validity are related but not interchangeable.

Students can explore this safely with fictional runs. Give each team a table of signal, retention-time and identification-count metrics, then ask them to decide whether one unusual value is a warning, an error or simply natural variation. Require every decision to name the comparison group and the possible technical cause. The exercise encourages curiosity rather than automatic rejection and shows why quality dashboards must link summaries back to instruments, samples and processing records.

Operationally, a laboratory should version its metric definitions, thresholds and software beside each mzQC file. If an alert rule changes, older runs should not silently acquire a new historical judgement. Preserving the original values and the policy used at the time supports fair comparison and later re-evaluation. It also helps teams separate an immutable observation from a revisable interpretation.

Good quality systems combine mzQC with source data, calibration records, maintenance notes and domain expertise. A tidy metric file cannot diagnose every cause, and a passing dashboard cannot guarantee correct sample identity or biological inference. Its real value is more modest and more powerful: it makes quality evidence portable, consistently labelled and easier to review across people and tools, so problems can be found earlier and discussed with precision.

A four-step claim ladder for this method
StageQuestionEvidenceResponsible output
GroupDoes the metric describe one run or a set?runQuality and setQualityA clear quality level
DefineWhich metric and value structure apply?PSI-MS QC term, type and unitAn unambiguous measurement
TraceWhich files and software produced it?Metadata, locations, labels and versionsReproducible provenance
DecideIs the result fit for this purpose?Threshold policy, controls and investigationA contextual quality decision

Section 1 of 36

1. Start with the quality question

mzQC exchanges defined metrics rather than a generic good-or-bad label.

Working checkpoint — mzQC: Name the decision and evidence needed. Keep input identities, metric accessions, units, calculation software, run or set level, thresholds and validation together.

For a classroom model, define fictional metrics before setting acceptance thresholds.

Contents · Next section

Section 2 of 36

2. Use JSON deliberately

The format uses JSON objects and arrays under a published schema.

Working checkpoint — quality control metric: Validate syntax before semantics. Read every quality value beside its controlled definition, denominator, reference material and intended decision.

For future study, connect laboratory quality to statistics, chemistry and computing while checking official pathways separately.

Contents · Previous section · Next section

Section 3 of 36

3. Read runQuality

runQuality groups metrics for one MS run.

Working checkpoint — mass spectrometry quality: Keep the input identity explicit. Preserve failed runs and missing metrics; a green dashboard is not the complete quality history.

For scientific writing, cite inputs, metric terms, software, thresholds, controls and validator.

Contents · Previous section · Next section

Section 4 of 36

4. Read setQuality

setQuality groups metrics calculated across multiple runs.

Working checkpoint — runQuality: Preserve member runs. Separate schema-valid metrics from fit-for-purpose experimental quality and biological validity.

For students, ask what each metric measures, which unit applies and whether it describes one run or a set.

Contents · Previous section · Next section

Section 5 of 36

5. Keep labels unique

Run and set labels must be unique within the file.

Working checkpoint — setQuality: Test collisions. Treat value type, unit and aggregation level as scientific inputs: a silent change can reverse a quality decision.

For parents, ask whether a simple red or green judgement keeps the underlying number and rule visible.

Contents · Previous section · Next section

Section 6 of 36

6. Record input files

Metadata links metrics to the files they describe.

Working checkpoint — controlled vocabulary: Use durable identifiers and hashes. Keep input identities, metric accessions, units, calculation software, run or set level, thresholds and validation together.

For a classroom model, define fictional metrics before setting acceptance thresholds.

Contents · Previous section · Next section

Section 7 of 36

7. Record analysis software

Metric calculations depend on tool and version.

Working checkpoint — mzQC: Publish parameters. Read every quality value beside its controlled definition, denominator, reference material and intended decision.

For future study, connect laboratory quality to statistics, chemistry and computing while checking official pathways separately.

Contents · Previous section · Next section

Section 8 of 36

8. Read the metric accession

A PSI-MS term identifies the quality metric.

Working checkpoint — quality control metric: Pin the CV release. Preserve failed runs and missing metrics; a green dashboard is not the complete quality history.

For scientific writing, cite inputs, metric terms, software, thresholds, controls and validator.

Contents · Previous section · Next section

Section 9 of 36

9. Read scalar values

Some metrics contain one number with a defined unit.

Working checkpoint — mass spectrometry quality: Check range and denominator. Separate schema-valid metrics from fit-for-purpose experimental quality and biological validity.

For students, ask what each metric measures, which unit applies and whether it describes one run or a set.

Contents · Previous section · Next section

Section 10 of 36

10. Read tuples

An n-tuple has ordered components defined by the metric term.

Working checkpoint — runQuality: Preserve component order. Treat value type, unit and aggregation level as scientific inputs: a silent change can reverse a quality decision.

For parents, ask whether a simple red or green judgement keeps the underlying number and rule visible.

Contents · Previous section · Next section

Section 11 of 36

11. Read matrices

Matrix-valued metrics require defined axes and consistent dimensions.

Working checkpoint — setQuality: Label rows and columns. Keep input identities, metric accessions, units, calculation software, run or set level, thresholds and validation together.

For a classroom model, define fictional metrics before setting acceptance thresholds.

Contents · Previous section · Next section

Section 12 of 36

12. Read tables

Table metrics require equal column lengths and defined columns.

Working checkpoint — controlled vocabulary: Reject ragged data. Read every quality value beside its controlled definition, denominator, reference material and intended decision.

For future study, connect laboratory quality to statistics, chemistry and computing while checking official pathways separately.

Contents · Previous section · Next section

Section 13 of 36

13. Check value type

The JSON value shape must match the controlled-vocabulary definition.

Working checkpoint — mzQC: Validate semantics. Preserve failed runs and missing metrics; a green dashboard is not the complete quality history.

For scientific writing, cite inputs, metric terms, software, thresholds, controls and validator.

Contents · Previous section · Next section

Section 14 of 36

14. Check units

Metric values must match the unit defined or allowed by the term.

Working checkpoint — quality control metric: Never infer units. Separate schema-valid metrics from fit-for-purpose experimental quality and biological validity.

For students, ask what each metric measures, which unit applies and whether it describes one run or a set.

Contents · Previous section · Next section

Section 15 of 36

15. Prevent duplicate metrics

A metric must be unique within its run or set parent.

Working checkpoint — mass spectrometry quality: Encode context explicitly. Treat value type, unit and aggregation level as scientific inputs: a silent change can reverse a quality decision.

For parents, ask whether a simple red or green judgement keeps the underlying number and rule visible.

Contents · Previous section · Next section

Section 16 of 36

16. Distinguish metric from threshold

The measurement and acceptance rule are different objects.

Working checkpoint — runQuality: Version the policy. Keep input identities, metric accessions, units, calculation software, run or set level, thresholds and validation together.

For a classroom model, define fictional metrics before setting acceptance thresholds.

Contents · Previous section · Next section

Section 17 of 36

17. Distinguish run from batch

One-run quality and multi-run trends answer different questions.

Working checkpoint — setQuality: Report both levels. Read every quality value beside its controlled definition, denominator, reference material and intended decision.

For future study, connect laboratory quality to statistics, chemistry and computing while checking official pathways separately.

Contents · Previous section · Next section

Section 18 of 36

18. Preserve rejected runs

Removing failures biases the quality history.

Working checkpoint — controlled vocabulary: Retain disposition and reason. Preserve failed runs and missing metrics; a green dashboard is not the complete quality history.

For scientific writing, cite inputs, metric terms, software, thresholds, controls and validator.

Contents · Previous section · Next section

Section 19 of 36

19. Validate JSON Schema

Schema checks required structure and basic types.

Working checkpoint — mzQC: Use the official draft-07 schema. Separate schema-valid metrics from fit-for-purpose experimental quality and biological validity.

For students, ask what each metric measures, which unit applies and whether it describes one run or a set.

Contents · Previous section · Next section

Section 20 of 36

20. Validate controlled vocabularies

Every accession must resolve in a declared ontology.

Working checkpoint — quality control metric: Check name and accession together. Treat value type, unit and aggregation level as scientific inputs: a silent change can reverse a quality decision.

For parents, ask whether a simple red or green judgement keeps the underlying number and rule visible.

Contents · Previous section · Next section

Section 21 of 36

21. Validate metric rules

Types, units, uniqueness and table consistency require semantic checks.

Working checkpoint — mass spectrometry quality: Run the reference validator. Keep input identities, metric accessions, units, calculation software, run or set level, thresholds and validation together.

For a classroom model, define fictional metrics before setting acceptance thresholds.

Contents · Previous section · Next section

Section 22 of 36

22. Validate domain constraints

Percentages, counts and ranges can be impossible despite valid syntax.

Working checkpoint — runQuality: Add metric-specific checks. Read every quality value beside its controlled definition, denominator, reference material and intended decision.

For future study, connect laboratory quality to statistics, chemistry and computing while checking official pathways separately.

Contents · Previous section · Next section

Section 23 of 36

23. Compare calculations

Independent or reference implementations reveal formula drift.

Working checkpoint — setQuality: Use known fixtures. Preserve failed runs and missing metrics; a green dashboard is not the complete quality history.

For scientific writing, cite inputs, metric terms, software, thresholds, controls and validator.

Contents · Previous section · Next section

Section 24 of 36

24. Monitor trends

Stable repeated metrics can expose drift and sudden failure.

Working checkpoint — controlled vocabulary: Keep time order and controls. Separate schema-valid metrics from fit-for-purpose experimental quality and biological validity.

For students, ask what each metric measures, which unit applies and whether it describes one run or a set.

Contents · Previous section · Next section

Section 25 of 36

25. Investigate causes

A metric signals a pattern but rarely proves the source of failure.

Working checkpoint — mzQC: Review complementary evidence. Treat value type, unit and aggregation level as scientific inputs: a silent change can reverse a quality decision.

For parents, ask whether a simple red or green judgement keeps the underlying number and rule visible.

Contents · Previous section · Next section

Section 26 of 36

26. Protect operational metadata

Paths and labels may expose samples or laboratory systems.

Working checkpoint — quality control metric: Minimise and govern release. Keep input identities, metric accessions, units, calculation software, run or set level, thresholds and validation together.

For a classroom model, define fictional metrics before setting acceptance thresholds.

Contents · Previous section · Next section

Section 27 of 36

27. Separate quality from biology

A technically good run does not guarantee a valid biological conclusion.

Working checkpoint — mass spectrometry quality: Review study design. Read every quality value beside its controlled definition, denominator, reference material and intended decision.

For future study, connect laboratory quality to statistics, chemistry and computing while checking official pathways separately.

Contents · Previous section · Next section

Section 28 of 36

28. Connect to Primary Science

A class experiment checklist separates one group result from whole-class patterns.

Working checkpoint — runQuality: Use fictional measurements. Preserve failed runs and missing metrics; a green dashboard is not the complete quality history.

For scientific writing, cite inputs, metric terms, software, thresholds, controls and validator.

Contents · Previous section · Next section

Section 29 of 36

29. Connect to Secondary Science

Quality metrics support lessons about controls, thresholds, fair tests and uncertainty.

Working checkpoint — setQuality: Separate value from decision. Separate schema-valid metrics from fit-for-purpose experimental quality and biological validity.

For students, ask what each metric measures, which unit applies and whether it describes one run or a set.

Contents · Previous section · Next section

Section 30 of 36

30. Connect to mathematics

Percentages, distributions, matrices and control limits create quantitative practice.

Working checkpoint — controlled vocabulary: Check one denominator. Treat value type, unit and aggregation level as scientific inputs: a silent change can reverse a quality decision.

For parents, ask whether a simple red or green judgement keeps the underlying number and rule visible.

Contents · Previous section · Next section

Section 31 of 36

31. Connect to computing

JSON, schemas, vocabularies and validators show machine-readable quality systems.

Working checkpoint — mzQC: Validate a tiny file. Keep input identities, metric accessions, units, calculation software, run or set level, thresholds and validation together.

For a classroom model, define fictional metrics before setting acceptance thresholds.

Contents · Previous section · Next section

Section 32 of 36

32. Connect to pathways

Analytical quality work joins chemistry, statistics, laboratory practice and software and can illuminate STEM education and career pathways.

Working checkpoint — quality control metric: Verify current routes separately. Read every quality value beside its controlled definition, denominator, reference material and intended decision.

For future study, connect laboratory quality to statistics, chemistry and computing while checking official pathways separately.

Contents · Previous section · Next section

Section 33 of 36

33. Did you know?

mzQC can store one-run metrics and multi-run set metrics, but each quality term must be unique within its parent.

Working checkpoint — mass spectrometry quality: Check the level and term. Preserve failed runs and missing metrics; a green dashboard is not the complete quality history.

For scientific writing, cite inputs, metric terms, software, thresholds, controls and validator.

Contents · Previous section · Next section

Section 34 of 36

34. Write a reader-ready quality note

Name inputs, metric accessions, units, software, thresholds, controls and validation.

Working checkpoint — runQuality: Keep it beside the dashboard. Separate schema-valid metrics from fit-for-purpose experimental quality and biological validity.

For students, ask what each metric measures, which unit applies and whether it describes one run or a set.

Contents · Previous section · Next section

Section 35 of 36

35. Build a validation ladder

Check JSON, schema, vocabularies, labels, files, types, units, tables, ranges and policy.

Working checkpoint — setQuality: Stop at the first undefined metric. Treat value type, unit and aggregation level as scientific inputs: a silent change can reverse a quality decision.

For parents, ask whether a simple red or green judgement keeps the underlying number and rule visible.

Contents · Previous section · Next section

Section 36 of 36

36. Finish with a reproducible bundle

Deliver inputs, mzQC, schema, CV, software, policy, validators and hashes.

Working checkpoint — controlled vocabulary: Make every decision traceable to a metric. Keep input identities, metric accessions, units, calculation software, run or set level, thresholds and validation together.

For a classroom model, define fictional metrics before setting acceptance thresholds.

Contents · Previous section · Continue to the Science Learning Hub

Discover more from eduKate Singapore

Subscribe now to keep reading and get access to the full archive.

Continue reading