Getting Started with mzTab-M
Prerequisites
You need a plain-text editor and either the jmzTab-m command-line tool or the online web validator to check your files.
Understanding the Format
An mzTab-M file is a plain-text, tab-delimited file with the extension .mztab; UTF-8 is the preferred encoding.
Each line starts with a three-letter prefix that identifies its section:
| Prefix | Section | Purpose |
|---|---|---|
|
Metadata |
Experimental context, software, databases, assay definitions |
|
Small Molecule Summary |
Header line, then one row per reported small molecule |
|
Small Molecule Feature |
Header line, then one row per detected feature |
|
Small Molecule Evidence |
Header line, then one row per identification evidence entry |
|
Comment |
Free-text comment; can appear anywhere |
MTD is always present; which tables follow depends on the profile, declared in the mzTab-profile metadata field.
See Which Profile Does My Workflow Produce? to find the profile that matches your data.
Validating a File
Use the web validator to check a file against the specification without installing any software. For command-line use, see the jmzTab-m documentation.
Next Steps
-
Read the Hitchhiker’s Guide to mzTab-M 2.1, which walks through a complete example file and explains how to write one.
-
Read the file format overview for a short description of each section.
-
Browse example files to see how real datasets are represented.
-
Use the decision table to see which metadata fields each profile makes required.