This directory contains Docker images for DIAMOND, a BLAST-compatible sequence aligner
-
latest( Dockerfile | Vulnerability Report ) -
2.1.16( Dockerfile | Vulnerability Report )
These Docker images are built from Ubuntu 24.04 and include:
- DIAMOND v2.1.16: Accelerated sequence aligner for protein and translated DNA searches
- NCBI BLAST+: Additional BLAST tools for sequence analysis
DIAMOND is designed to be significantly faster than BLAST while maintaining high sensitivity. The images are optimized for alignment of sequencing reads and protein queries against large reference databases.
These images are built for AMD64 (x86_64) only. The official DIAMOND releases provide pre-built Linux binaries exclusively for AMD64 architecture. For users on ARM64 systems (e.g., Apple Silicon Macs), the AMD64 image can still be used via emulation (Docker Desktop handles this automatically), which is sufficient for local testing and development.
If you'd like to contribute ARM64 support, the DIAMOND releases do include a macOS binary that could potentially be used for ARM64 builds. See the DIAMOND releases page for available binaries.
If you use DIAMOND in your research, please cite the original authors:
Buchfink B, Reuter K, Drost HG, "Sensitive protein alignments at tree-of-life scale using DIAMOND", Nature Methods 18, 366–368 (2021). doi:10.1038/s41592-021-01101-x
Tool homepage: https://github.com/bbuchfink/diamond
Documentation: https://github.com/bbuchfink/diamond/wiki
docker pull getwilds/diamond:latest
# Alternatively, pull from GitHub Container Registry
docker pull ghcr.io/getwilds/diamond:latestapptainer pull docker://getwilds/diamond:latest
# Alternatively, pull from GitHub Container Registry
apptainer pull docker://ghcr.io/getwilds/diamond:latest# Create a DIAMOND Database
docker run --rm -v /path/to/data:/data getwilds/diamond:latest \
diamond makedb --in /data/reference.fasta --db /data/ref_database
# Protein alignment
docker run --rm -v /path/to/data:/data getwilds/diamond:latest \
diamond blastp --db /data/ref_database --query /data/queries.fasta --out /data/matches.tsvThe Dockerfile follows these main steps:
- Uses Ubuntu 24.04 as the base image
- Adds metadata labels for documentation and attribution
- Installs wget and NCBI BLAST+ with pinned versions
- Downloads and extracts DIAMOND pre-built binary
- Installs binary to
/usr/local/bin/ - Includes smoke test to verify installation (
diamond test)
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.