Validation Profiles
Validation profiles are the rule sets a validator applies to a file: which fields are mandatory, recommended or optional, and which controlled vocabulary terms are allowed where. They allow the validator to give precise, context-sensitive feedback rather than applying a single fixed rule set to all files, for example stricter checks for a repository submission.
| Validation profiles are under active development for mzTab-M 2.1. The rule sets below reflect the current working draft; they may change before the 2.1 release. |
The File’s Profile
A validation profile is not the same as the file’s profile.
Which tables a file contains is declared in its mzTab-profile metadata field, for example M+F for a file with features only or M+S+F+E for a file with all three tables.
This profile decides which structural rules apply and which further metadata fields become required; a validator infers it from the tables present when the field is missing.
The rules are in the Profiles section of the specification; to choose the profile that matches your data, see Which Profile Does My Workflow Produce?.
Identification Reliability
How reliable an identification is does not depend on the profile.
It is reported per small molecule in the reliability column of the SML table, on a scale that the file names in small_molecule-identification_reliability; without that field, the scale is the MSI scale from 1 to 4.
The levels are values in the column, not separate CV terms.
See reliability in the schema reference for the available scales and their levels.
Mapping Files
The controlled vocabulary rules of the validation profiles are defined as XML mapping files in schema/:
-
schema/mzTab_2_1-M_mapping.xml— general field validation mapping -
schema/mzTab_2_1-M_metabolights_mapping.xml— MetaboLights submission constraints