Deconvolution
This page provides an overview of the deconvolution process in BLADE and instructions on how to apply it to your data using the provided Snakemake pipeline.
Steps for Deconvolution Using Snakemake
1. Prepare Your Environment
-
Ensure that all dependencies are installed, including Snakemake and the required Conda environments.
- Install Snakemake:
conda install -c bioconda -c conda-forge snakemake
- Verify Conda environments:
- Ensure you have an environment file (
oncoBLADE.yaml
) for running BLADE. - Create the environment if it doesn't already exist:
conda env create -f envs/oncoBLADE.yaml
- Ensure you have an environment file (
- Install Snakemake:
-
Prepare the directory structure:
- Ensure the
Bulk_data
directory contains your bulk RNA-seq data in the fileTranscriptome_matrix.txt
. - Ensure the
SignaturePipeline/output
directory contains the signature matrix fileCorrected_Signature_matrix.pickle
.
- Ensure the
-
Update the
config.yaml
file:- Edit the
config.yaml
file to specify the data directory and other parameters:all:
data_dir: '/net/beegfs/scratch/abose/BLADE'
BLADE:
Parameters:
Alpha: 1
Alpha0: 1000
Kappa0: 1
SY: 1
Nrep: 1
Nrepfinal: 1
Njob: 10
std_const: 0.001
- Edit the
2. Run the Workflow
Use Snakemake to execute the workflow:
snakemake -s Snakefile \
--cores 10 \
--use-conda