Reproducible Docker Container Specifications

Production Dockerfiles and build recipes providing sealed, immutable container environments for reproducible bulk RNA sequencing and differential expression analysis pipelines.
Repository Structure
.
├── hisat2/
│ └── Dockerfile # HISAT2, Samtools, RSeQC, Subread
├── stringtie/
│ └── Dockerfile # StringTie (reference-guided transcript assembly)
├── kallisto/
│ └── Dockerfile # Kallisto (pseudoalignment & transcript quantification)
├── r_bioconductor_de/
│ ├── Dockerfile # R + Bioconductor (DESeq2, edgeR, limma, sva, tximport)
│ ├── Dockerfile_enrichment # Extension layer adding clusterProfiler, org.Hs.eg.db, DOSE
│ ├── build_rhdf5.sh # Compilation recipe for HDF5 C libraries & rhdf5
│ └── test_rhdf5.sh # Smoke test validating HDF5 read/write integrity
└── specs/
└── docker_image_inventory.txt # Specifications of container images and key toolchains
Beginner Note: Install Docker Desktop, clone this repo, and run the build commands below.
1. rnaseq/hisat2:latest
- Purpose: Splice-aware genomic alignment, BAM sorting, indexing, and strand-specificity inference.
- Key Tools:
hisat2 (v2.2.1)
samtools (v1.20)
rseqc (infer_experiment.py, geneBody_coverage.py)
seqtk, ucsc-gtftogenepred, ucsc-genepredtobed
2. rnaseq/stringtie:latest
- Purpose: Reference-guided transcript abundance quantification and count matrix generation.
- Key Tools:
stringtie (v2.2.3 / v3.0.3)
python (v3.11)
3. rnaseq/kallisto:latest
- Purpose: Ultra-fast pseudoalignment against transcriptome index and bootstrap quantification.
- Key Tools:
kallisto (v0.51.1)
python (v3.11)
4. rnaseq/r_de:latest
- Purpose: Statistical differential expression, surrogate variable analysis, and biological functional enrichment.
- Base:
mambaorg/micromamba:1.5.10
- Key Bioconductor / CRAN Libraries:
- Core DE & SVA:
DESeq2, edgeR, limma, sva, tximport
- High-Performance IO:
rhdf5, HDF5 system library
- Functional Enrichment:
clusterProfiler, org.Hs.eg.db, enrichplot, DOSE
- Graphics:
ggplot2, pheatmap, EnhancedVolcano, ggrepel, scales, ggridges
Container Build Recipes
Build HISAT2 Alignment Container
docker build -t rnaseq/hisat2:latest hisat2/
Build StringTie Container
docker build -t rnaseq/stringtie:latest stringtie/
Build Kallisto Container
docker build -t rnaseq/kallisto:latest kallisto/
Build R/Bioconductor DE & Enrichment Container
docker build -t rnaseq/r_de:base r_bioconductor_de/
docker build -f r_bioconductor_de/Dockerfile_enrichment -t rnaseq/r_de:latest r_bioconductor_de/
General Usage Pattern
Mount input data and output directories using standard volume arguments:
docker run --rm \
-v "$(pwd)/data:/data:ro" \
-v "$(pwd)/results:/results:rw" \
-w /results \
rnaseq/r_de:latest \
Rscript /scripts/run_de.R
评论