Skip to content
mpc-bioinformaticsPublic

About

The pipeline performs a comprehensive quality control of mass spectrometry-based proteomics experiments.

Topics

Resources

Code of conduct

Contributing

Stars

6 stars

Watchers

3 watching

Forks

Latest commit

 

History

722 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nf-core/macproqc

Open in GitHub Codespaces GitHub Actions CI Status GitHub Actions Linting Status

Nextflow nf-core template version run with conda run with docker run with singularity

Get help on SlackFollow on BlueskyFollow on MastodonWatch on YouTube

Introduction

nf-core/macproqc (Mass Centric Proteomics Quality Control) is a bioinformatics pipeline for comprehensive quality control of mass spectrometry-based proteomics experiments. It accepts raw instrument files from Thermo Fisher (.raw) and Bruker (.d) instruments as well as pre-converted mzML files and produces a rich set of QC metrics, interactive visualisations, and standardised mzQC output.

The pipeline performs the following main steps:

  • Spectra preparation - raw vendor files are decompressed and converted to the open mzML format using ThermoRawFileParser (Thermo) or tdf2mzml (Bruker).
  • Peptide identification - MS2 spectra are searched with Comet against a user-supplied FASTA database (decoys are generated with OpenMS), without and, if label modifications are given, additionally with (static) label information.
  • FDR filtering and protein inference - PSMs are filtered at a configurable FDR (default 1 %), and peptides and protein groups are inferred with PIA - Protein Inference Algorithms.
  • QC metrics extraction - per MS run, all QC metrics are collected into one HDF5 file:
    • from the mzML files (pyOpenMS): MS1/MS2 spectrum counts, TIC and TIC quartiles, precursor charge distributions, retention-time coverage, MS1 maps and more
    • from the vendor files: instrument headers and logs, e.g. pump pressure, temperatures and lock mass corrections (Thermo) or calibrants (Bruker)
    • from the identification results: numbers of PSMs, peptides and protein groups, PSM charges, missed cleavages and precursor mass errors
    • optionally for spike-in/reference peptides: XIC-based maximum intensity, retention time and number of identifications
  • QC metrics for peptide features (migrating) - OpenMS identifies isotope features; found features are mapped to identifications to yield identification rates and QC metrics are extracted.
  • mzQC output - all QC metrics are exported in the standardised mzQC format for interoperability.
  • Visualisation - interactive Plotly plots (barplots, TIC overlays, ion maps, PCA plots, instrument header plots, ...) and a summary table are created over all MS runs.

The identification, the mzQC export and the visualisation can be skipped individually. The mzQC export and visualisation can also be run on the HDF5 files of an earlier run, without repeating the metrics extraction.

Usage

Note

If you are new to Nextflow and nf-core, please refer to this page on how to set-up Nextflow. Make sure to test your setup with -profile test before running the workflow on actual data.

First, prepare a samplesheet with your input data:

samplesheet.csv:

sample,spectrum_file
msrunone,/path/to/data/CONTROL_REP1.raw
msruntwo,/path/to/data/CONTROL_REP2.d.tar.gz
msrunthree,/path/to/data/CONTROL_REP3.mzML.gz

Each row represents one MS run. The spectrum_file column accepts Thermo .raw, Bruker .d directory archives (optionally compressed), and mzML files - all supporting .gz, .zip, or .tar.gz compression.

Now, you can run the pipeline using:

nextflow run nf-core/macproqc \
   -profile docker \
   --input samplesheet.csv \
   --fasta database.fasta \
   --outdir ./results

Warning

Please provide pipeline parameters via the CLI or Nextflow -params-file option. Custom config files including those provided by the -c Nextflow option can be used to provide any configuration except for parameters; see docs.

For more details and further functionality, please refer to the usage documentation and the parameter documentation.

Pipeline output

The main results are written to the following folders of the output directory:

  • metrics/hdf5/ - one HDF5 file per MS run with all collected QC metrics
  • metrics/mzqc/ - the QC metrics of each MS run in the mzQC format
  • qcvisualization/ - plots and summary table over all MS runs
  • mzmls/, comet/, pia/ - the converted spectra and the identification results

For more details about the output files and reports, please refer to the output documentation.

Credits

nf-core/macproqc was originally written by Julian Uszkoreit, Dirk Winkelhardt, Karin Schork, Maike Weber, and Dominik Lux at the Ruhr University Bochum.

We thank the following people for their extensive assistance in the development of this pipeline:

Contributions and Support

If you would like to contribute to this pipeline, please see the contributing guidelines.

For further information or help, don't hesitate to get in touch on the Slack #macproqc channel (you can join with this invite).

Citations

An extensive list of references for the tools used by the pipeline can be found in the CITATIONS.md file.

The pipeline is based on the KNIME workflow published in:

Rozanova S, Uszkoreit J, Schork K, Serschnitzki B, Eisenacher M, Tönges L, Barkovits-Boeddinghaus K, Marcus K. Quality Control-A Stepchild in Quantitative Proteomics: A Case Study for the Human CSF Proteome. Biomolecules. 2023 Mar 7;13(3):491. doi: 10.3390/biom13030491. PMID: 36979426; PMCID: PMC10046854.

Some of the QC metrics implemented in this pipeline are based on:

Bittremieux W, Meysman P, Martens L, Valkenborg D, Laukens K. Unsupervised Quality Assessment of Mass Spectrometry Proteomics Experiments by Multivariate Quality Control Metrics. J Proteome Res. 2016 Apr 1;15(4):1300-7. doi: 10.1021/acs.jproteome.6b00028. PMID: 26974716.

You can cite the nf-core publication as follows:

The nf-core framework for community-curated bioinformatics pipelines.

Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen.

Nat Biotechnol. 2020 Feb 13. doi: 10.1038/s41587-020-0439-x.

About

The pipeline performs a comprehensive quality control of mass spectrometry-based proteomics experiments.

Topics

Resources

Code of conduct

Contributing

Stars

6 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages