Docker image for DESeq2 RNA-seq differential expression analysis in FH DaSL's WILDS
4.9K
This directory contains Docker images for DESeq2, a Bioconductor package for differential expression analysis of RNA-seq count data.
latest: The most up-to-date stable version (currently DESeq2 v1.40.2 from Bioconductor 3.17)1.40.2: DESeq2 v1.40.2 from Bioconductor 3.17These Docker images are built from the Bioconductor base image and include:
The images are designed to provide a comprehensive environment for RNA-seq differential expression analysis with DESeq2 methodology, including example data for testing and learning purposes.
docker pull getwilds/deseq2:latest
# or
docker pull getwilds/deseq2:1.40.2
# Alternatively, pull from GitHub Container Registry
docker pull ghcr.io/getwilds/deseq2:latest
apptainer pull docker://getwilds/deseq2:latest
# or
apptainer pull docker://getwilds/deseq2:1.40.2
# Alternatively, pull from GitHub Container Registry
apptainer pull docker://ghcr.io/getwilds/deseq2:latest
# Running DESeq2 analysis with default parameters
docker run --rm -v /path/to/data:/data getwilds/deseq2:latest Rscript /deseq2_analysis.R \
--counts_file=/data/counts_matrix.txt \
--metadata_file=/data/sample_metadata.txt \
--output_prefix=/data/results
# Specifying condition column and reference level
docker run --rm -v /path/to/data:/data getwilds/deseq2:latest Rscript /deseq2_analysis.R \
--counts_file=/data/counts_matrix.txt \
--metadata_file=/data/sample_metadata.txt \
--condition_column=treatment \
--reference_level=control \
--output_prefix=/data/results
# Alternatively using Apptainer
apptainer run --bind /path/to/data:/data docker://getwilds/deseq2:latest Rscript /deseq2_analysis.R \
--counts_file=/data/counts_matrix.txt \
--metadata_file=/data/sample_metadata.txt \
--output_prefix=/data/results
# Generate individual STAR-format count files using the pasilla dataset
docker run --rm -v /path/to/output:/data getwilds/deseq2:latest \
generate_pasilla_counts.R \
--nsamples 7 \
--ngenes 10000 \
--condition condition \
--prefix /data/test_data
# Generate smaller test dataset
docker run --rm -v /path/to/output:/data getwilds/deseq2:latest \
generate_pasilla_counts.R \
--nsamples 4 \
--ngenes 5000 \
--prefix /data/small_test
deseq2_analysis.R)The included deseq2_analysis.R script accepts the following parameters:
--counts_file: Path to input counts matrix file (required)--metadata_file: Path to sample metadata file (required)--condition_column: Column in metadata to use for comparison (default: "condition")--reference_level: Reference level for comparison (default: first alphabetically)--contrast: Contrast to use in format: condition,treatment,control (default: infer from condition_column)--output_prefix: Prefix for output files (default: "deseq2_results")generate_pasilla_counts.R)The included generate_pasilla_counts.R script accepts the following parameters:
--nsamples: Number of samples to include (default: 7, max: 7 for pasilla dataset)--ngenes: Approximate number of genes to include (default: 10000)--condition: Name for the condition column in metadata (default: "condition")--prefix: Prefix for output files (default: "pasilla")The analysis produces the following outputs:
*_all_genes.csv: Results for all genes analyzed*_significant.csv: Significantly differentially expressed genes (padj < 0.05)*_normalized_counts.csv: Normalized count data*_pca.pdf: PCA plot of samples*_volcano.pdf: Volcano plot of differential expression results*_heatmap.pdf: Heatmap of top differentially expressed genesThe test data generation produces the following outputs:
*_samplename.ReadsPerGene.out.tab for each sample
*_sample_names.txt: List of sample names corresponding to the count files*_sample_conditions.txt: List of experimental conditions for each sample*_count_files.txt: List of generated count file names*_gene_info.txt: Gene annotation information including gene IDsThe individual count files are designed to mimic authentic STAR ReadsPerGene.out.tab output, making them suitable for testing workflows that process individual sample count files before combining them into a matrix.
The image includes the pasilla dataset, which contains RNA-seq count data from a study on the pasilla gene in Drosophila. This dataset is useful for:
The generate_pasilla_counts.R script allows you to create subsets of this data with varying numbers of samples and genes. The script generates individual count files in STAR format, which is particularly useful for testing complete RNA-seq analysis workflows that start from individual sample count files rather than pre-combined matrices.
This Docker image is specifically designed to work with WILDS WDL modules:
deseq2_analysis.R script is used by the ww-deseq2 module for differential expression analysisgenerate_pasilla_counts.R script is used by the ww-testdata module to generate realistic test dataThe DESeq2 Docker images include:
These images are regularly scanned for vulnerabilities using Docker Scout. However, due to the nature of bioinformatics software and their dependencies, some Docker images may contain components with known vulnerabilities (CVEs).
Use at your own risk: While we strive to minimize security issues, these images are primarily designed for research and analytical workflows in controlled environments.
For the latest security information about this image, please check the CVEs.txt file in this directory, which is automatically updated through our GitHub Actions workflow. Critical or high-severity vulnerabilities will also be reported as GitHub issues in the repository.
The Dockerfile follows these main steps:
These Dockerfiles are maintained in the WILDS Docker Library repository.
Content type
Image
Digest
sha256:9dd763af7…
Size
1.9 GB
Last updated
12 months ago
docker pull getwilds/deseq2