MSstatsBig is an R/Bioconductor package for preprocessing mass spectrometry-based
proteomics experiments that are larger than a standard computer's memory. Modern
acquisition protocols — most often data-independent acquisition (DIA) with a
large number of MS runs — can produce quantitative reports that the standard
MSstats converters cannot load into RAM. MSstatsBig provides drop-in replacement
converters that filter each tool's PSM report down to the data required for
differential analysis using out-of-memory backends (Arrow / Spark), so the
result fits in memory. Once a converter has run, the standard MSstats workflow
(dataProcess(), groupComparison()) can be followed as usual.
MSstatsBig is part of the MSstats family of packages, developed and maintained by the Vitek Lab at Northeastern University. The package and its documentation are also available at msstats.org.
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("MSstatsBig")
The development version can be installed directly from this repository:
remotes::install_github("Vitek-Lab/MSstatsBig")
library(MSstatsBig)
# Example FragPipe msstats.csv output bundled with the package
input <- system.file("extdata", "fgexample.csv", package = "MSstatsBig")
# Convert out-of-memory using the Arrow backend; writes to output_file.csv
converted <- bigFragPipetoMSstatsFormat(input,
"output_file.csv",
backend = "arrow",
max_feature_count = 20)
# Collect the Arrow object into an in-memory data.frame
converted <- as.data.frame(dplyr::collect(converted))
# Continue with the standard MSstats workflow
library(MSstats)
summarized <- dataProcess(converted, use_log_file = FALSE)
Users can also feed data into the underlying MSstatsPreprocessBig() function
directly — either from a tool's native export format or by converting raw data
chunk by chunk — to support other tools. See the workflow
vignette for details.
MSstatsBig provides larger-than-memory replacements for the standard MSstats converters. After a converter runs, its output is used with MSstats:
| Search tool / format | Converter function |
|---|---|
| FragPipe | bigFragPipetoMSstatsFormat() |
| Spectronaut | bigSpectronauttoMSstatsFormat() |
| DIA-NN | bigDIANNtoMSstatsFormat() |
| Generic MSstats-format data | MSstatsPreprocessBig() |
The MSstatsAddAnnotationBig() helper attaches experimental-design annotation
to converted data. See the MSstatsBig workflow vignette
for the required input files and options for each converter.
MSstatsBig prepares data for the standard MSstats workflow. If you use it, please cite the MSstats publication(s):
MSstats development has been supported by the Chan Zuckerberg Initiative's Essential Open Source Software for Science.
MSstatsBig is released under the Artistic-2.0 license.