Docker image for Bowtie 2 in Fred Hutch OCDO's WILDS
10K+
This directory contains Docker images for Bowtie 2, a fast and sensitive gapped read aligner for aligning sequencing reads to long reference sequences.
latest ( Dockerfile | Vulnerability Report )2.5.4 ( Dockerfile | Vulnerability Report )These Docker images are built from Ubuntu 24.04 and include:
The images include Samtools alongside Bowtie 2 for common alignment workflows (e.g., piping Bowtie 2 output directly to samtools view for BAM conversion).
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
# 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
# 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
# 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
The Dockerfile follows these main steps:
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.
These Dockerfiles are maintained in the WILDS Docker Library repository.
Content type
Image
Digest
sha256:8d1c5dd43…
Size
269.1 MB
Last updated
6 months ago
docker pull getwilds/bowtie2