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_group or a null SMF charge. 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

M

2.1/manual_null_MTD-only.mztab

Metadata only: a study design without results.

M+S

2.1/lipidcompass-script_226ea96_MTD_SML_LCS-00001-01_v2.1.mztab

Summary only: lipid concentrations, one row per lipid.

M+F

2.1/xcms+MsIO_0.0.11_MTBLS1820_onlySMF_v2.1.mztab

Features only, exported by xcms with the MsIO package.

M+S+F

No example yet

Discouraged; see When M+S+F fits.

M+F+E

2.1/manual_null_null_lipidomics_v2.1.mztab

Features with identification evidence, no summary.

M+S+F+E

2.1/pending-validator/manual_null_null_all-features_v2.1.mztab

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/.