This directory contains Docker images for HISAT2, a fast and sensitive alignment program for mapping NGS reads to a population of genomes.
latest( Dockerfile | Vulnerability Report )2.2.1( Dockerfile | Vulnerability Report )
These Docker images are built from Ubuntu 24.04 and include:
- HISAT2 v2.2.1: A graph-based alignment tool for next-generation sequencing reads
- Python 3: Required for HISAT2 indexing and some analysis scripts
- Build tools: For compiling HISAT2 from source
The images are designed to be minimal and focused on a specific version of HISAT2 with its dependencies.
Note: This image is only built for linux/amd64 architecture. HISAT2's build system contains hardcoded x86-specific compiler flags that are not compatible with ARM64 platforms.
docker pull getwilds/hisat2:latest
# or
docker pull getwilds/hisat2:2.2.1
# Alternatively, pull from GitHub Container Registry
docker pull ghcr.io/getwilds/hisat2:latestapptainer pull docker://getwilds/hisat2:latest
# or
apptainer pull docker://getwilds/hisat2:2.2.1
# Alternatively, pull from GitHub Container Registry
apptainer pull docker://ghcr.io/getwilds/hisat2:latest# Building a genome index
docker run --rm -v /path/to/data:/data getwilds/hisat2:latest hisat2-build -p 4 /data/reference.fa /data/reference_index
# Aligning reads to a genome
docker run --rm -v /path/to/data:/data getwilds/hisat2:latest hisat2 -x /data/reference_index -1 /data/reads_1.fq -2 /data/reads_2.fq -S /data/output.sam
# Alternatively using Apptainer
apptainer run --bind /path/to/data:/data docker://getwilds/hisat2:latest hisat2-build -p 4 /data/reference.fa /data/reference_index
# ... or a local SIF file via Apptainer
apptainer run --bind /path/to/data:/data hisat2_latest.sif hisat2 -x /data/reference_index -1 /data/reads_1.fq -2 /data/reads_2.fq -S /data/output.samThe HISAT2 Docker images include:
- Dynamic versioning for dependencies to ensure the latest security patches
- Pinned versions for reproducibility
- Git-based source code checkout with specific version tagging
- Minimal installation with only required dependencies
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.
The Dockerfile follows these main steps:
- Uses Ubuntu 24.04 as the base image
- Adds metadata labels for documentation and attribution
- Dynamically determines and pins the latest security-patched versions of dependencies
- Sets a consistent shell option to fail if any command in a pipe fails
- Clones the HISAT2 repository from GitHub at a specific version
- Builds HISAT2 from source
- Adds HISAT2 to system PATH
These Dockerfiles are maintained in the WILDS Docker Library repository.