DOI: 10.18129/B9.bioc.MsBackendMgf  

This package is for version 3.17 of Bioconductor; for the stable, up-to-date release version, see MsBackendMgf.

Mass Spectrometry Data Backend for Mascot Generic Format (mgf) Files

Bioconductor version: 3.17

Mass spectrometry (MS) data backend supporting import and export of MS/MS spectra data from Mascot Generic Format (mgf) files. Objects defined in this package are supposed to be used with the Spectra Bioconductor package. This package thus adds mgf file support to the Spectra package.

Author: RforMassSpectrometry Package Maintainer [cre], Laurent Gatto [aut] , Johannes Rainer [aut] , Sebastian Gibb [aut] , Michael Witting [ctb]

Maintainer: RforMassSpectrometry Package Maintainer <maintainer at>

Citation (from within R, enter citation("MsBackendMgf")):


To install this package, start R (version "4.3") and enter:

if (!require("BiocManager", quietly = TRUE))


For older versions of R, please refer to the appropriate Bioconductor release.


To view documentation for the version of this package installed in your system, start R and enter:



HTML R Script Description and usage of MsBackendMgf
PDF   Reference Manual


biocViews DataImport, Infrastructure, MassSpectrometry, Metabolomics, Proteomics, Software
Version 1.8.0
In Bioconductor since BioC 3.13 (R-4.1) (2.5 years)
License Artistic-2.0
Depends R (>= 4.0), Spectra(>= 1.5.14)
Imports BiocParallel, S4Vectors, IRanges, MsCoreUtils, methods, stats
Suggests testthat, knitr (>= 1.1.0), roxygen2, BiocStyle(>= 2.5.19), rmarkdown
Depends On Me
Imports Me
Suggests Me CompoundDb, MsBackendRawFileReader, xcms
Links To Me
Build Report  

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package MsBackendMgf_1.8.0.tar.gz
Windows Binary (64-bit only)
macOS Binary (x86_64) MsBackendMgf_1.8.0.tgz
macOS Binary (arm64) MsBackendMgf_1.8.0.tgz
Source Repository git clone
Source Repository (Developer Access) git clone
Bioc Package Browser
Package Short Url
Package Downloads Report Download Stats

Documentation »


R / CRAN packages and documentation

Support »

Please read the posting guide. Post questions about Bioconductor to one of the following locations: