A MATLAB reader for MASCOT Generic Format (.mgf) files

Version 1.2.0 (1,97 KB) von Joris Meurs
Reading MASCOT Generic Format files with MATLAB
55 Downloads
Aktualisiert 1 Jul 2020

Lizenz anzeigen

Function to read and extract data from MASCOT Generic Format (.mgf) files
The .mgf format contains minimal metadata (spectrum title, retention
time, precursor mass, precursor intensity and charge) and the
corresponding MS2 spectrum (https://fiehnlab.ucdavis.edu/projects/lipidblast/mgf-files)

INPUT
A character array (1 file) or cell array (multiple files) are optional
input. When the file path is not given as input, files can be browsed for

OUTPUT
The output is a structure containing the following fields:
- scanName: Title given by ProteoWizard (character array)
- precursorMass: Mass of precursor ion (double)
- precursorIntensity: Intensity of precursor ion (double)
- z: Charge of precursor ion (double)
- scanData: MS/MS spectrum (N x 2 cell containing m/z values
and intensities)

Zitieren als

Joris Meurs (2024). A MATLAB reader for MASCOT Generic Format (.mgf) files (https://www.mathworks.com/matlabcentral/fileexchange/76033-a-matlab-reader-for-mascot-generic-format-mgf-files), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2017a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.2.0

Bug fixed regarding missing charge states

1.1.0

- Fixed error when charge state is absent
- Fixed error when intensity is missing for precursor ion

1.0.0