bowtie2

getwilds/bowtie2 Docker Image

这是Fred Hutch OCDO的WILDS项目中的Bowtie2 Docker镜像,提供快速敏感的带缺口序列比对工具,支持测序reads与长参考序列的比对,集成Samtools等辅助工具以满足常见生物信息学工作流需求。

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

Bowtie 2

This directory contains Docker images for Bowtie 2, a fast and sensitive gapped read aligner for aligning sequencing reads to long reference sequences.

Available Versions

  • latest ( https://github.com/getwilds/wilds-docker-library/blob/main/bowtie2/Dockerfile_latest | https://github.com/getwilds/wilds-docker-library/blob/main/bowtie2/CVEs_latest.md )
  • 2.5.4 ( https://github.com/getwilds/wilds-docker-library/blob/main/bowtie2/Dockerfile_2.5.4 | https://github.com/getwilds/wilds-docker-library/blob/main/bowtie2/CVEs_2.5.4.md )

Image Details

These Docker images are built from Ubuntu 24.04 and include:

  • Bowtie 2 v2.5.4: A fast and sensitive gapped read aligner
  • Samtools v1.19: A suite of utilities for manipulating alignments in the SAM/BAM format
  • Perl: Required runtime dependency for the bowtie2 wrapper script
  • Python 3: Required runtime dependency for the bowtie2 wrapper script

The images include Samtools alongside Bowtie 2 for common alignment workflows (e.g., piping Bowtie 2 output directly to samtools view for BAM conversion).

Citation

If you use Bowtie 2 in your research, please cite the original authors:

Langmead B, Salzberg SL. Fast gapped-read alignment with Bowtie 2.
Nature Methods. 2012;9(4):357-359.

Tool homepage: https://bowtie-bio.sourceforge.net/bowtie2/

Publication: https://doi.org/10.1038/nmeth.1923

Usage

Docker

bash
# Pull the latest version
docker pull getwilds/bowtie2:latest

# Or pull a specific version
docker pull getwilds/bowtie2:2.5.4

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

Singularity/Apptainer

bash
# Pull the latest version
apptainer pull docker://getwilds/bowtie2:latest

# Or pull a specific version
apptainer pull docker://getwilds/bowtie2:2.5.4

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

Example Commands

bash
# Build a Bowtie 2 index from a reference FASTA file
docker run --rm -v /path/to/data:/data getwilds/bowtie2:latest \
  bowtie2-build /data/reference.fa /data/reference_index

# Align single-end reads to an indexed reference
docker run --rm -v /path/to/data:/data getwilds/bowtie2:latest \
  bowtie2 -x /data/reference_index -U /data/reads.fastq -S /data/aligned.sam

# Align paired-end reads
docker run --rm -v /path/to/data:/data getwilds/bowtie2:latest \
  bowtie2 -x /data/reference_index -1 /data/reads_1.fastq -2 /data/reads_2.fastq \
  -S /data/aligned.sam

# Align with local alignment mode and multiple threads
docker run --rm -v /path/to/data:/data getwilds/bowtie2:latest \
  bowtie2 --local -p 4 -x /data/reference_index -U /data/reads.fastq -S /data/aligned.sam

# Align and convert to sorted BAM in one step
docker run --rm -v /path/to/data:/data getwilds/bowtie2:latest \
  bash -c "bowtie2 -x /data/reference_index -U /data/reads.fastq | \
  samtools sort -o /data/aligned.sorted.bam && samtools index /data/aligned.sorted.bam"

# Alternatively using Apptainer
apptainer run --bind /path/to/data:/data docker://getwilds/bowtie2:latest \
  bowtie2 -x /data/reference_index -U /data/reads.fastq -S /data/aligned.sam

# ... or a local SIF file via Apptainer
apptainer run --bind /path/to/data:/data bowtie2_latest.sif \
  bowtie2-inspect /data/reference_index

Dockerfile Structure

The Dockerfile follows these main steps:

  1. Uses Ubuntu 24.04 as the base image
  2. Adds metadata labels for documentation and attribution
  3. Installs system and build dependencies with pinned versions
  4. Downloads and installs the pre-built Bowtie 2 binary for the target architecture
  5. Downloads and compiles Samtools v1.19 from source
  6. Performs cleanup to minimize image size

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/blob/main/bowtie2, 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.

更多相关 Docker 镜像与资源

以下是 getwilds/bowtie2 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:

镜像拉取方式

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

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

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

DockerHub 原生拉取命令

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