Validation
mzTab-M files can be validated at multiple levels, from basic structural compliance to full semantic correctness against controlled vocabularies and quantification reporting rules.
Validation Approach
Which structural rules apply to a file depends on its profile: the tables it contains, declared in the mzTab-profile metadata field (see Which Profile Does My Workflow Produce?).
On top of these, validation profiles define the rule sets a validator applies, such as the allowed controlled vocabulary terms or stricter checks for a repository submission.
Validation Levels
- Minimal
-
Checks mandatory fields, correct section ordering, and tab-delimited structure.
- Structural
-
Adds cross-reference consistency (SML ↔ SMF ↔ SME links), column cardinality, and assay/study-variable definitions.
- Semantic
-
Adds controlled vocabulary term resolution — all
[param]entries are checked against their declared ontologies.
Tools
-
Web Validator — browser-based, no installation required.
-
jmzTab-m CLI — command-line validation with detailed error reporting and machine-readable output.
Validation Output
The validator produces a structured list of validation messages, each with:
-
A severity level (
ERROR,WARN,INFO) -
A line number and column reference
-
An error code from the mzTab-M error code registry
-
A human-readable description
Files containing ERROR-level messages do not conform to the specification.
WARN-level messages indicate deviations from best practices.