strelka

Strelka Docker Image

这是Strelka变异检测工具的Docker镜像,可快速准确检测基因组中的种系和体细胞小变异,适用于小队列种系变异分析及肿瘤/正常样本对的体细胞变异分析,包含所需依赖以确保工作流完整。

下载次数: 0状态:社区镜像维护者:getwilds仓库类型:镜像最近更新:
下载命令
点击查看

Strelka

This directory contains Docker images for Strelka, a fast and accurate small variant caller optimized for analysis of germline variation in small cohorts and somatic variation in tumor/normal sample pairs.

Available Versions

  • latest ( https://github.com/getwilds/wilds-docker-library/blob/main/strelka/Dockerfile_latest | https://github.com/getwilds/wilds-docker-library/blob/main/strelka/CVEs_latest.md )
  • 2.9.10 ( https://github.com/getwilds/wilds-docker-library/blob/main/strelka/Dockerfile_2.9.10 | https://github.com/getwilds/wilds-docker-library/blob/main/strelka/CVEs_2.9.10.md )

Image Details

These Docker images are built from Ubuntu 22.04 and include:

  • Strelka v2.9.10: Fast and accurate small variant caller with optimized algorithms for germline and somatic variant detection
  • samtools v1.19.2: Suite of programs for interacting with high-throughput sequencing data
  • bcftools v1.19: Utilities for variant calling and manipulating VCF/BCF files
  • htslib v1.19.1: High-throughput sequencing data processing library
  • Python 2: Required runtime environment for Strelka workflow configuration scripts
  • Python 3: Available for additional scripting and analysis tasks

The images provide a complete environment for Strelka variant calling workflows with all necessary dependencies, built with version pinning and minimal package installation for security and reproducibility.

Platform Support: This image is available for linux/amd64 only. ARM64 (Apple Silicon) is not supported because Strelka only provides precompiled x86_64 binaries and building from source for ARM64 would require significant additional complexity.

Usage

Docker

bash
docker pull getwilds/strelka:latest
# or
docker pull getwilds/strelka:2.9.10

# Alternatively, pull from GitHub Container Registry
docker pull ghcr.io/getwilds/strelka:latest

Singularity/Apptainer

bash
apptainer pull docker://getwilds/strelka:latest
# or
apptainer pull docker://getwilds/strelka:2.9.10

# Alternatively, pull from GitHub Container Registry
apptainer pull docker://ghcr.io/getwilds/strelka:latest

Example Commands

Germline Variant Calling

bash
# Configure germline workflow
docker run --rm -v /path/to/data:/data getwilds/strelka:latest \
  configureStrelkaGermlineWorkflow.py \
  --bam /data/sample.bam \
  --referenceFasta /data/reference.fa \
  --runDir /data/strelka_germline

# Run the analysis
docker run --rm -v /path/to/data:/data getwilds/strelka:latest \
  /data/strelka_germline/runWorkflow.py -m local -j 4

Somatic Variant Calling (Tumor/Normal Pairs)

bash
# Configure somatic workflow
docker run --rm -v /path/to/data:/data getwilds/strelka:latest \
  configureStrelkaSomaticWorkflow.py \
  --normalBam /data/normal.bam \
  --tumorBam /data/tumor.bam \
  --referenceFasta /data/reference.fa \
  --runDir /data/strelka_somatic

# Run the analysis
docker run --rm -v /path/to/data:/data getwilds/strelka:latest \
  /data/strelka_somatic/runWorkflow.py -m local -j 4

Apptainer Examples

bash
# Germline workflow configuration
apptainer run --bind /path/to/data:/data docker://getwilds/strelka:latest \
  configureStrelkaGermlineWorkflow.py \
  --bam /data/sample.bam \
  --referenceFasta /data/reference.fa \
  --runDir /data/strelka_germline

# Somatic workflow configuration
apptainer run --bind /path/to/data:/data docker://getwilds/strelka:latest \
  configureStrelkaSomaticWorkflow.py \
  --normalBam /data/normal.bam \
  --tumorBam /data/tumor.bam \
  --referenceFasta /data/reference.fa \
  --runDir /data/strelka_somatic

Available Strelka Workflows

Strelka provides several workflow configuration scripts:

  • configureStrelkaGermlineWorkflow.py: Configure germline small variant calling
  • configureStrelkaSomaticWorkflow.py: Configure somatic small variant calling for tumor/normal pairs
  • configureStrelkaDenovoWorkflow.py: Configure de novo variant calling in family trios

Each workflow creates a run directory with a runWorkflow.py script that executes the actual analysis.

Key Strelka Parameters

Germline Workflow Options

  • --bam: Input BAM/CRAM file(s)
  • --referenceFasta: Reference genome in FASTA format
  • --runDir: Directory where the workflow will be configured and run
  • --region: Restrict analysis to specified region(s)
  • --exome: Set configuration defaults for exome sequencing

Somatic Workflow Options

  • --normalBam: Normal sample BAM/CRAM file
  • --tumorBam: Tumor sample BAM/CRAM file
  • --referenceFasta: Reference genome in FASTA format
  • --runDir: Directory where the workflow will be configured and run
  • --region: Restrict analysis to specified region(s)
  • --exome: Set configuration defaults for exome sequencing
  • --callRegions: BED file specifying regions to call variants

Runtime Options

  • -m local: Run workflow locally (single machine)
  • -j N: Number of parallel jobs to run
  • --quiet: Suppress workflow status updates

Output Files

Strelka generates several output files in the specified run directory:

Germline Analysis

  • results/variants/variants.vcf.gz: All variant calls
  • results/variants/genome.S1.vcf.gz: Filtered high-confidence variants

Somatic Analysis

  • results/variants/somatic.snvs.vcf.gz: Somatic SNV calls
  • results/variants/somatic.indels.vcf.gz: Somatic indel calls
  • results/variants/germline.snvs.vcf.gz: Germline SNV calls
  • results/variants/germline.indels.vcf.gz: Germline indel calls

Performance ***ations

  • Strelka is optimized for speed and can process whole genome samples in hours
  • Memory usage is typically low (< 2GB for most analyses)
  • CPU scaling is effective up to ~8-16 cores for most datasets
  • For large cohorts, *** using workflow managers like Nextflow or Snakemake

Security Features

The Strelka Docker images include:

  • Multi-stage build that keeps compilers (build-essential) and -dev headers out of the final image
  • Pinned versions of all system packages for reproducibility
  • Minimal installation with only runtime dependencies (shared libraries, Python 2, and Python 3)

Dockerfile Structure

The Dockerfile uses a multi-stage build to keep the final image minimal:

  1. Build stage: Uses Ubuntu 22.04 with build tools and dev headers to compile htslib v1.19.1, samtools v1.19.2, and bcftools v1.19 from source, and to download the Strelka v2.9.10 pre-compiled binaries
  2. Final stage: Uses a fresh Ubuntu 22.04 base with only the runtime libraries, Python 2 (required for Strelka), and Python 3
  3. Adds metadata labels for documentation and attribution
  4. Pins the versions of system dependencies in both stages
  5. Copies the compiled tools and Strelka from the build stage and refreshes the shared library cache
  6. Runs a smoke test to verify the Strelka, samtools, and bcftools binaries

This approach keeps compilers and development headers out of the final image, reducing its size and *** surface.

Security Scanning and CVEs

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 https://github.com/getwilds/wilds-docker-library/tree/main/strelka, which are automatically updated through our GitHub Actions workflow. If a particular vulnerability is of concern, please file an https://github.com/getwilds/wilds-docker-library/issues in the GitHub repo citing which CVE you would like to be addressed.

Source Repository

These Dockerfiles are maintained in the https://github.com/getwilds/wilds-docker-library repository.

Additional Resources

  • https://github.com/Illumina/strelka/blob/v2.9.x/docs/userGuide/README.md
  • https://github.com/Illumina/strelka
  • https://www.nature.com/articles/nmeth.4227
  • Illumina BaseSpace Strelka App

License

This Docker image packages open-source software. Strelka is distributed under the GPLv3 license.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 strelka 镜像标签

docker pull docker.xuanyuan.run/getwilds/strelka:<标签>

DockerHub 原生拉取命令

docker pull getwilds/strelka:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告