Tip
To import the workflow into your Terra workspace, click on the above Dockstore badge, and select 'Terra' from the 'Launch with' widget on the Dockstore workflow page.
High-throughput affinity and mass-spectrometry-based proteomic studies of large clinical cohorts generate vast proteomic data and can enable rapid disease biomarker discovery. Here, we introduce an advanced machine learning (ML) workflow designed to streamline the ML analysis of proteomics data, thus enabling researchers to efficiently leverage sophisticated algorithms in the search for critical disease biomarkers.
The workflow: takes proteomic data and sample labels as input, imputing missing values where necessary; pre-processes the data for ML models and optionally performs dimensionality reduction; makes available as standard a catalogue of machine learning and deep learning classification and regression models, including both well established and cutting-edge methods; calculates accuracy, sensitivity and specificity of models, enabling the evaluation and comparison of models based on these metrics; and carries out feature selection in models using SHapley Additive exPlanations (SHAP) values. In addition to these ML capabilities, the workflow also provides downstream modules for functional enrichment and protein-protein interaction (PPI) network analyses of feature-selected proteins.
The workflow is implemented in Python, R and Workflow Description Language (WDL), and can be executed on a cloud-based platform for biomedical data analysis. Deployment in this manner provides a standardized, user-friendly interface, and ensures the reproducibility and reliability of analytical outputs. Furthermore, such deployment renders the workflow scalable and streamlines the analysis of large, complex proteomic data. This ML workflow thus represents a significant advancement, empowering researchers to efficiently explore proteomic landscapes and identify biomarkers critical for early detection and treatment of diseases.
-
Preprocessing : By default, Z-score standardisation is applied to the input data. Optionally, users can choose to apply dimensionality reduction to the dataset. Display scatter plots for every two dimensions based on the selected number of output dimensions. The available methods include:
PCA
(Principal Component Analysis for linear data)UMAP
(Uniform Manifold Approximation and Projection)t-SNE
(t-Distributed Stochastic Neighbor Embedding)KPCA
(Kernel Principal Component Analysis for non-linear data)PLS
(Partial Least Squares)
-
Classification : This step applies the machine learning models to the standardized data and generates a confusion matrix, ROC plots for all classes and averages, and other relevant evaluation metrics (Accuracy, F1, sensitivity, specificity) for all the models. The available algorithms are as follows:
KNN
(K-Nearest Neighbors)RF
(Random Forest)NN
(Neural Network)SVM
(Support Vector Machine)XGB
(XGBoost)PLSDA
(Partial Least Squares Discriminant Analysis)VAE
(Variational autoencoder)
-
SHAP summary : This step calculates SHapley Additive exPlanations (SHAP) values for variable importance (CSV file and radar plot for top features) and plots ROC curves for all the models specified by the user.
-
Combined report : This step aggregates all output plots from the previous steps and compiles them into a
.pdf
report.
Tip
User can run multiple dimensionality reduction methods on the input dataset, and skip the ML models (skip_ML_models = true
) and directly, view the pdf report and access the results.
- Required
main.input_csv
: [File] Input file in.csv
format, includes aLabel
column, with each row representing a sample and each column representing a feature. An example of the.csv
is shown below:Label Protein1 Protein2 ... ProteinN Label1 0.1 0.4 ... 0.01 Label2 0.2 0.1 ... 0.3 main.output_prefix
: [String] Analysis ID. This will be used as prefix for all the output files.
Warning
It is recommended to select only one dimensionality reduction method when using it alongside ML models. Set the skip_ML_models
option to true
if applying multiple dimensionality reduction methods. If skip_ML_models
is false
while using multiple dimensionality reduction methods, the pipeline will automatically select one of the output files from the dimensionality reduction step for classification.
- Optional
main.use_dimensionality_reduction
: [Boolean] Use this option to apply dimensionality reduction to the input data. Default value:false
main.num_of_dimensions
: [Int] Total number of expected dimensions after applying dimensionality reduction. Default value:3
.main.skip_ML_models
: [Boolean] Use this option to skip running ML models. Default value:false
main.model_choices
: [String] Specify the model name(s) to use. Options includeKNN
,RF
,NN
,XGB
,PLSDA
,VAE
, andSVM
. Multiple model names can be entered together, separated by a space. Default value:RF
main.dimensionality_reduction_choices
: [String] Specify the dimensionality method name(s) to use. Options includePCA
,UMAP
,t-SNE
,KPCA
andPLS
. Multiple methods can be entered together, separated by a space. Default value:PCA
main.shap_radar_num_features
: [Int] Top features to display on the radar chart. Default value:10
main.memory_*
: [Int] Amount of memory in GB needed to execute the specific task. Default value:128
*main.cpu_*
: [Int] Number of CPUs needed to execute the specific task. Default value:64
report
: [File] A.pdf
file containing the result plots from all the required analyses.plots
: [File] A.gz
file containing the result plots from all the required analyses.shap_csv
: Array[File] A list of.csv
files containing SHAP values for each input variable.std_preprocessing_csv
: [File] A.csv
file with data standardized using the default method.dimensionality_reduction_csv
: [File] A.csv
file with the selected dimensional data using the user-selected dimensionality reduction method.dimensionality_reduction_plots
: Array[File] A list of.png
files with the selected dimensional output plots using the user-selected dimensionality reduction method.
Package | License |
---|---|
micromamba==1.5.5 | BSD-3-Clause |
python | PSF/GPL-compat |
joblib | BSD-3-Clause |
matplotlib | PSF/BSD-compat |
numpy | BSD |
pandas | BSD 3-Clause |
scikit-learn | BSD-3-Clause |
xgboost | Apache-2.0 |
shap | MIT |
pillow | Open Source HPND |
tensorflow | Apache-2.0 |
fpdf | LGPL-3.0 |
seaborn | BSD-3-Clause |
umap-learn | BSD-3-Clause |
Zhou, Y., Maurya, A., Deng, Y., & Taylor, A. (2024). A cloud-based proteomics ML workflow for biomarker discovery. Zenodo. https://doi.org/10.5281/zenodo.13378490
If you use proteomics-ML-workflow
for your analysis, please cite the Zenodo record for that specific version using the following DOI: 10.5281/zenodo.13378490.