Introduction
Mascot Generic Format (MGF) is a plain ASCII text format for the peak lists of mass
spectrometry, submitted to the Mascot search engine from Matrix Science and read by
other proteomics tools. Files usually carry the extension .mgf, although
Mascot itself treats the extension as of no significance.
Structure
A file can open with search parameters such as COM, CLE,
CHARGE and MODS. Each tandem mass spectrum query sits between
BEGIN IONS and END IONS lines. Parameters such as
TITLE, PEPMASS, CHARGE, SCANS and
RTINSECONDS come directly after BEGIN IONS, and at least one
PEPMASS is required. Each fragment line then gives a mass-to-charge value,
an intensity and optionally a charge. Outside the blocks, lines starting with
#, ;, ! or / are comments. A file
can also hold peptide mass fingerprint and sequence queries.
Not described
This page is a first outline. The format is not yet described in full here.
Known, not yet covered
- Reference: the full list of parameters, the sequence query syntax and a worked example.
- Viewer: the site has no viewer for this format.
Links
Software
- Mascot – search engine from Matrix Science that takes MGF peak lists
Developers
- Pyteomics mgf – reads and writes MGF files (Python)
- OpenMS MascotGenericFile – class for the format (C++)
Reference
- Matrix Science: data file format – the maker’s description of the format
- casanovoutils: file formats – notes on MGF files