https://github.com/computationalproteomics/proteodeconv-manuscript
Code accompanying the manuscript "Considerations and Software for Successful Immune Cell Deconvolution using Proteomics Data"
https://github.com/computationalproteomics/proteodeconv-manuscript
Science Score: 39.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 2 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.4%) to scientific vocabulary
Repository
Code accompanying the manuscript "Considerations and Software for Successful Immune Cell Deconvolution using Proteomics Data"
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Code accompanying the manuscript "Considerations and Software for Successful Immune Cell Deconvolution using Proteomics Data"
This codebase contains the complete analysis pipeline used in our manuscript (currently under review) for proteomics deconvolution.
Overview
The pipeline is built using these key R packages:
targetsfor pipeline management and reproducibilityrenvfor consistent package versioning and environment controlproteoDeconv, our package for facilitating proteomics cell-type deconvolution
For more information about the proteoDeconv package, please visit the proteoDeconv repository.
Getting Started
First, clone this repository to your local machine:
bash
git clone https://github.com/ComputationalProteomics/proteoDeconv-manuscript.git
cd proteoDeconv-manuscript
After cloning, you'll need to add the required data files, CIBERSORT.R script, and .Renviron file as described in the sections below.
Installation & Setup
You can run this pipeline using one of two approaches:
Option 1: Using Docker
Install Docker on your system.
Pull and run the Docker image from within the cloned repository directory:
bash
docker run -d \
-p 127.0.0.1:8787:8787 \
-v "$(pwd):/home/rstudio/proteoDeconv-manuscript" \
-v /home/rstudio/proteoDeconv-manuscript/renv \
-v /var/run/docker.sock:/var/run/docker.sock \
manszamore/proteodeconv-manuscript:latest
Note: The Docker socket is mounted (via -v /var/run/docker.sock:/var/run/docker.sock) to enable Docker-in-Docker functionality, which is required to run the CIBERSORTx Docker image from within this container.
- Access RStudio Server:
- Open your browser and navigate to
http://localhost:8787/ - The Docker image comes with all required dependencies pre-installed
- Open your browser and navigate to
Option 2: Local Installation
System Requirements:
- Tested on Ubuntu and macOS
- R version 4.4.2 (we recommend using rig for R version management)
- Quarto for report generation
- Docker (for running the CIBERSORTx container)
System Libraries (Ubuntu/Debian):
bash
apt-get update && apt-get install -y --no-install-recommends \
libcurl4-openssl-dev libssl-dev make libgsl0-dev libglpk-dev \
libicu-dev libpng-dev libxml2-dev python3 libx11-dev cmake xz-utils \
pandoc zlib1g-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev \
libharfbuzz-dev libjpeg-dev libtiff-dev curl
- R Environment Setup:
R
renv::restore()
Required Datasets
Regardless of installation method, you'll need to add these datasets:
Rieckmann et al. DDA Data (PXD004352)
- File:
proteinGroups.txt - Place in:
data/raw/rieckmann/total
- File:
Immune Cell DIA Data (PXD056050)
- Files:
report.pg_matrix.tsvreport.unique_genes_matrix.tsv
- Place in:
data/raw/immune_cells
- Files:
scRNA-seq Reference Data
- Download "NSCLC PBMCs Single Cell RNA-Seq (Fig. 2ab)" from CIBERSORTx
- Place
Fig2ab-NSCLC_PBMCs_scRNAseq_refsample.txtindata/raw/NSCLC_PBMCs/
The pipeline can run with incomplete data - for example, if the scRNA-seq reference data is missing, only the steps requiring that dataset will be skipped.
CIBERSORT Setup
Due to licensing restrictions, we cannot include the CIBERSORT code in this repository. To run the CIBERSORT analysis, you will need to:
- Download the
CIBERSORT.Rscript (version 1.04) from the CIBERSORT website and place it inR
CIBERSORTx Credentials
In order to run CIBERSORTx, you will need to:
- Request a token from CIBERSORTx (free for academic use)
- Create an
.Renvironfile in this folder with your credentials:
R
CIBERSORTX_TOKEN = your_token_here
CIBERSORTX_EMAIL = your_email_here
CIBERSORT setup
- Download the CIBERSORT.R script from the CIBERSORT website
- Place it in the
Rdirectory
Running the Analysis
Launch the pipeline:
R
targets::tar_make()
The complete pipeline takes approximately 5 hours to run in its entirety.
You can view all 433 targets that are in the pipeline by running targets::tar_manifest(). You can then run specific parts of the pipeline using pattern matching:
```R
Run the deconvolutions used to make Figure 2 in the manuscript
targets::tarmake(matches("combinedalgodeconvolutedpure_dda"))
Or only run targets related to preprocessing (e.g. merge vs slice, etc.)
targets::tar_make(matches("preprocessing")) ```
Expected Output
After successful completion, the pipeline will generate:
- Manuscript figures in the
manuscript_figures/directory - A supplementary table in
supplementary_table.xlsxcontaining simulation results
Furthermore, individual targets can be read using tar_read to access the results of each step.
Issues
If you encounter any issues, please open an issue in the GitHub repository.
Citation
Please cite our work if you use this pipeline or proteoDeconv in your research:
Zamore, M., Mosquim Junior, S., Andree, S. L., Altunbulakli, C., Lindstedt, M., & Levander, F. (2025). Considerations and Software for Successful Immune Cell Deconvolution Using Proteomics Data. Journal of Proteome Research. https://doi.org/10.1021/acs.jproteome.4c00868
Owner
- Name: Computational Proteomics
- Login: ComputationalProteomics
- Kind: organization
- Location: Lund University
- Repositories: 6
- Profile: https://github.com/ComputationalProteomics
Computational Proteomics at department of Immunotechnology, Lund University
GitHub Events
Total
- Push event: 14
- Fork event: 1
Last Year
- Push event: 14
- Fork event: 1