Example Files
The examples directory in the repository contains mzTab-M files written by hand and exported by tools. Its README describes the folders, the file naming and how the files are validated.
Folders
The files are split by the version of the format they target:
2.0/-
Files that conform to mzTab-M 2.0.0. They validate with the released jmzTab-m validator, and are also checked with the 2.1 validator for backward compatibility.
2.1/-
Files that use mzTab-M 2.1 features, such as
mzTab-profile,study_variable_groupor anullSMFcharge. They validate with the current development snapshot of jmzTab-m. 2.1/pending-validator/-
Valid mzTab-M 2.1 files that use features the jmzTab-m validator does not support yet, so the validator can report errors for them. They move to
2.1/once the validator supports them.
One Example per Profile
Each example below declares its profile in mzTab-profile.
The profiles page of the Hitchhiker’s Guide shows the blocks of each file and explains what it contains.
| Profile | File | Contents |
|---|---|---|
|
Metadata only: a study design without results. |
|
|
|
Summary only: lipid concentrations, one row per lipid. |
|
Features only, exported by xcms with the MsIO package. |
|
|
No example yet |
Discouraged; see When M+S+F fits. |
|
Features with identification evidence, no summary. |
|
|
|
All four sections; the file the anatomy page walks through. |
Using the Examples
You can check any example with the web validator or the jmzTab-m command-line tool.
The repository’s continuous integration validates the files in 2.0/ and 2.1/; the README explains how to run the same validation locally with validate.sh.
Contributing Examples
If you have a well-characterised dataset that illustrates a scenario not covered above, please open a pull request against the mzTab-M repository with your example file and a brief description.
Name the file software_version_databaseID.mztab, as the README describes, and put it in 2.1/ only if it needs mzTab-M 2.1 features; a file that still validates as 2.0.0 belongs in 2.0/.