HUB
Sign inSign up
diamond logo

getwilds/diamond

Sponsored OSS

By Fred Hutch Data Science Lab

•Updated 11 months ago

Image for DIAMOND in FH DaSL's WILDS

Image
Data science
0

1.6K

getwilds/diamond repository overview

⁠DIAMOND

This directory contains Docker images for DIAMOND, a BLAST-compatible sequence aligner

Official Documentation⁠

⁠Available Versions

⁠Image Details

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.

⁠Architecture Support

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.

⁠Citation

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⁠

⁠Usage

⁠Docker
docker pull getwilds/diamond:latest

# Alternatively, pull from GitHub Container Registry
docker pull ghcr.io/getwilds/diamond:latest
⁠Singularity/Apptainer
apptainer pull docker://getwilds/diamond:latest

# Alternatively, pull from GitHub Container Registry
apptainer pull docker://ghcr.io/getwilds/diamond:latest
⁠Example Commands
# 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.tsv

⁠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 wget and NCBI BLAST+ with pinned versions
  4. Downloads and extracts DIAMOND pre-built binary
  5. Installs binary to /usr/local/bin/
  6. Includes smoke test to verify installation (diamond test)

⁠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 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.

⁠Source Repository

These Dockerfiles are maintained in the WILDS Docker Library⁠ repository.

Tag summary
Recent tags
Content type
Image
Digest
sha256:433f36e99…
Size
104.8 MB
Last updated
11 months ago
docker pull getwilds/diamond:latest