Container image for the use of CNVkit in FH DaSL's WILDS
2.0K
This directory contains Docker images for CNVkit, a Python toolkit for detecting copy number variants from high-throughput sequencing data.
latest ( Dockerfile | Vulnerability Report )0.9.10 ( Dockerfile | Vulnerability Report )These Docker images are built from Python slim base image and include:
The images are designed to be secure and reliable while including all necessary components for CNVkit analysis of genomic data.
These images are built for both linux/amd64 and linux/arm64 platforms with an image size of approximately 600MB for both architectures.
To keep the images lightweight, we use CPU-only builds of PyTorch (a dependency of CNVkit's probabilistic modeling components). CNVkit does not utilize GPU acceleration, so excluding CUDA libraries has no impact on functionality while significantly reducing image size (~3.5GB savings compared to CUDA-enabled PyTorch builds).
docker pull getwilds/cnvkit:latest
# or
docker pull getwilds/cnvkit:0.9.10
# Alternatively, pull from GitHub Container Registry
docker pull ghcr.io/getwilds/cnvkit:latest
apptainer pull docker://getwilds/cnvkit:latest
# or
apptainer pull docker://getwilds/cnvkit:0.9.10
# Alternatively, pull from GitHub Container Registry
apptainer pull docker://ghcr.io/getwilds/cnvkit:latest
# Run CNVkit batch analysis with Docker
docker run --rm -v /path/to/data:/data getwilds/cnvkit:latest cnvkit.py batch \
/data/tumor.bam \
--normal /data/normal.bam \
--targets /data/targets.bed \
--fasta /data/reference.fa \
--output-dir /data/results \
--processes 4
# Generate a copy number scatter plot
docker run --rm -v /path/to/data:/data getwilds/cnvkit:latest cnvkit.py scatter \
/data/results/tumor.cnr \
-s /data/results/tumor.cns \
-o /data/results/tumor_scatter.pdf
# With Apptainer
apptainer run --bind /path/to/data:/data docker://getwilds/cnvkit:latest cnvkit.py batch \
/data/tumor.bam \
--normal /data/normal.bam \
--targets /data/targets.bed \
--fasta /data/reference.fa \
--output-dir /data/results \
--processes 4
The CNVkit 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_*.md files in this directory, which are automatically updated through our GitHub Actions workflow. If a particular vulnerability is of concern, please file an issue in the GitHub repo citing which CVE you would like to be addressed.
The Dockerfile follows these main steps:
These Dockerfiles are maintained in the WILDS Docker Library repository.
docker pull getwilds/cnvkit:latest