Python package for quality control of proteomics datasets, based on multiqc package
Project description
What is pmultiqc?
pmultiqc is a MultiQC plugin for comprehensive quality control reporting of proteomics data. It generates interactive HTML reports with visualizations and metrics to help you assess the quality of your mass spectrometry-based proteomics experiments.
Key Features
- Works with multiple proteomics data formats and analysis pipelines
- Generates interactive HTML reports with visualizations
- Provides comprehensive QC metrics for MS data
- Supports different quantification methods (LFQ, TMT, DIA)
- Integrates with the MultiQC framework
Supported Data Sources
pmultiqc supports the following data sources:
-
quantms pipeline output files:
experimental_design.tsv: Experimental design file*.mzTab: Results of the identification*msstats*.csv: MSstats/MSstatsTMT input files*.mzML: Spectra files*ms_info.tsv: MS quality control information*.idXML: Identification results*.yml: Pipeline parameters (optional)diann_report.tsvordiann_report.parquet: DIA-NN main report (DIA analysis only)
-
MaxQuant result files:
parameters.txt: Analysis parametersproteinGroups.txt: Protein identification resultssummary.txt: Summary statisticsevidence.txt: Peptide evidencemsms.txt: MS/MS scan informationmsmsScans.txt: MS/MS scan details*sdrf.tsv: SDRF-Proteomics (optional)
-
DIA-NN result files:
report.tsvorreport.parquet: DIA-NN main reportreport.log.txtordiannsummary.log: DIA-NN log*sdrf.tsv: SDRF-Proteomics (optional)*ms_info.parquet: mzML statistics after RAW-to-mzML conversion (using quantms-utils) (optional)
-
ProteoBench file:
result_performance.csv: ProteoBench result file
-
mzIdentML files:
*.mzid: Identification results*.mzMLor*.mgf: Corresponding spectra files
-
FragPipe main report files:
psm.tsv: FDR-filtered PSMsion.tsv: FDR-filtered ionscombined_ion.tsv: FDR-filtered ionscombined_peptide.tsv: FDR-filtered peptidescombined_protein.tsv: FDR-filtered proteins
-
nf-core/mhcquant result files:
mhcquant/results-*: folder containing mhcquant results
Installation
Install from PyPI
# To install the stable release from PyPI:
pip install pmultiqc
Install from Source (Without PyPI)
# Fork the repository on GitHub
# Clone the repository
git clone https://github.com/your-username/pmultiqc.git
cd pmultiqc
# Install the package locally
pip install .
# Now you can run pmultiqc on your own dataset
Usage
pmultiqc is used as a plugin for MultiQC. After installation, you can run it using the MultiQC command-line interface.
Basic Usage
multiqc {analysis_dir} -o {output_dir}
Where:
{analysis_dir}is the directory containing your proteomics data files{output_dir}is the directory where you want to save the report
Examples
For quantms pipeline results
# Basic usage
multiqc --quantms-plugin /path/to/quantms/results -o ./report
# With specific options
multiqc --quantms-plugin /path/to/quantms/results -o ./report --remove-decoy --condition factor
For MaxQuant results
multiqc --maxquant-plugin /path/to/maxquant/results -o ./report
For DIA-NN results
multiqc --diann-plugin /path/to/diann/results -o ./report
For ProteoBench files
multiqc --proteobench-plugin /path/to/proteobench/files -o ./report
For mzIdentML files
multiqc --mzid-plugin /path/to/mzid/files -o ./report
For FragPipe files
multiqc --fragpipe-plugin /path/to/fragpipe/files -o ./report
For mhcquant files
multiqc --mhcquant-plugin /path/to/mhcquant/files -o ./report
Command-line Options
| Option | Description | Default |
|---|---|---|
--keep-raw |
Keep filenames in experimental design output as raw | False |
--condition |
Create conditions from provided columns | - |
--remove-decoy |
Remove decoy peptides when counting | True |
--decoy-affix |
Pre- or suffix of decoy proteins in their accession | DECOY_ |
--contaminant-affix |
The contaminant prefix or suffix | CONT |
--affix-type |
Location of the decoy marker (prefix or suffix) | prefix |
--disable-plugin |
Disable pmultiqc plugin | False |
--quantification-method |
Quantification method for LFQ experiment | feature_intensity |
--disable-table |
Disable protein/peptide table plots for large datasets | False |
--ignored-idxml |
Ignore idXML files for faster processing | False |
--quantms-plugin |
Generate reports based on Quantms results | False |
--diann-plugin |
Generate reports based on DIANN results | False |
--maxquant-plugin |
Generate reports based on MaxQuant results | False |
--proteobench-plugin |
Generate reports based on ProteoBench result | False |
--mzid-plugin |
Generate reports based on mzIdentML files | False |
--fragpipe-plugin |
Generate reports based on FragPipe files | False |
--mhcquant-plugin |
Generate reports based on mhcquant files | False |
--disable-hoverinfo |
Disable interactive hover tooltips in the plots | False |
QC Metrics and Visualizations
pmultiqc generates a comprehensive report with multiple sections:
General Report
- Experimental Design: Overview of the dataset structure
- Pipeline Performance Overview: Key metrics including:
- Contaminants Score
- Peptide Intensity
- Charge Score
- Missed Cleavages
- ID rate over RT
- MS2 OverSampling
- Peptide Missing Value
- Summary Table: Spectra counts, identification rates, peptide and protein counts
- MS1 Information: Quality metrics at MS1 level
- Pipeline Results Statistics: Overall identification results
- Number of Peptides per Protein: Distribution of peptide counts per protein
Results Tables
- Peptide Table: First 500 peptides in the dataset
- PSM Table: First 500 PSMs (Peptide-Spectrum Matches)
Identification Statistics
- Spectra Tracking: Summary of identification results by file
- Search Engine Scores: Distribution of search engine scores
- Precursor Charges Distribution: Distribution of precursor ion charges
- Number of Peaks per MS/MS Spectrum: Peak count distribution
- Peak Intensity Distribution: MS2 peak intensity distribution
- Oversampling Distribution: Analysis of MS2 oversampling
- Delta Mass: Mass accuracy distribution
- Peptide/Protein Quantification Tables: Quantitative levels across conditions
Example Reports
You can find example reports on the docs page.
Reporting Issues
We have comprehensive issue templates to help you report problems effectively:
- Bug Reports: For crashes, incorrect metrics, or unexpected behavior
- Metric Requests: For new proteomics quality control metrics (we actively encourage these!)
- Feature Requests: For new visualizations, data format support, or functionality
- Service Issues: For problems with the PRIDE web service
- General Issues: For questions, suggestions, or issues that don't fit other categories
Contributing
We welcome contributions! See our Contributing Guide for detailed instructions.
Quick Start for Contributors
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR-USERNAME/pmultiqc - Create a feature branch:
git checkout -b new-feature - Make your changes
- Install in development mode:
pip install -e . - Test your changes:
cd tests && multiqc resources/LFQ -o ./ - Commit your changes:
git commit -am 'Add new feature' - Push to the branch:
git push origin new-feature - Submit a pull request
License
This project is licensed under the terms of the LICENSE file included in the repository.
How to cite
If you use bigbio/pmultiqc for your analysis, please cite it using the following citation:
pmultiqc: An open-source, lightweight, and metadata-oriented QC reporting library for MS proteomics.
Yue QX, Dai C, Kamatchinathan S, Bandla C, Webel H, Larrea A, Bittremieux W, Uszkoreit J, Müller TD, Xiao J, Cox J, Yu F, Ewels P, Demichev V, Kohlbacher O, Sachsenberg T, Bielow C, Bai M, Perez-Riverol Y.
Mol Cell Proteomics. 2026 Feb 17:101530. doi: 10.1016/j.mcpro.2026.101530. Epub ahead of print. PMID: 41713790.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pmultiqc-0.0.43.tar.gz.
File metadata
- Download URL: pmultiqc-0.0.43.tar.gz
- Upload date:
- Size: 992.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09396c475d040d62bbc9d47e6b5a1e1c72c4377ce988b2b2c31f84b88358fab2
|
|
| MD5 |
aab609349a07225ba1cb895d89d3da90
|
|
| BLAKE2b-256 |
92bce0d34ed0b1b80f16fe2f9164db2128ddb331554c4951cae7043d1dd075df
|
File details
Details for the file pmultiqc-0.0.43-py3-none-any.whl.
File metadata
- Download URL: pmultiqc-0.0.43-py3-none-any.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdd592c2fb5431959ca7f2efadc3a3b76b6b26e512e51c99b0b53d2d65ea7c1b
|
|
| MD5 |
35727f768a7c3afe02ee48a3c677470d
|
|
| BLAKE2b-256 |
f6a6c9d9ae948427d11952911f93a23774f7e148417217e14627965339f18125
|