Installation
Trim Galore v2 ships as a single static binary. No Python, no Perl, no Cutadapt, no Java, no igzip, no pigz, no external FastQC. Pick whichever channel fits the rest of your stack.
From crates.io
Section titled “From crates.io”Requires the Rust toolchain (1.88+):
cargo install trim-galoreFrom bioconda
Section titled “From bioconda”conda install -c bioconda trim-galoreBuild from source
Section titled “Build from source”git clone https://github.com/FelixKrueger/TrimGalore.gitcd TrimGalorecargo build --release# Binary is at target/release/trim_galoreLatest development version
Section titled “Latest development version”To install the latest unreleased changes from the development branch:
cargo install --git https://github.com/FelixKrueger/TrimGalore --branch optimus_prime trim-galore --force--force overwrites any existing trim_galore binary (e.g. a v2.0.0 install from crates.io).
Docker
Section titled “Docker”Multi-arch images (amd64 and arm64) are published to the GitHub Container Registry:
docker run --rm -v "$PWD":/data -w /data \ ghcr.io/felixkrueger/trimgalore:beta \ trim_galore input.fastq.gzFastQC is built in via the bundled fastqc-rust library, so --fastqc works without Java or an external fastqc install.
| Tag | Updates |
|---|---|
:beta | latest prerelease (currently v2.1.0-beta.7) |
:v2.1.0-beta.7 | pinned to a specific prerelease |
:dev | every push to the optimus_prime development branch |
:latest | latest stable release (publishes from v2.1.0 GA onward) |
Prebuilt binaries
Section titled “Prebuilt binaries”Prebuilt binaries for Linux (x86_64, aarch64) and macOS (Apple Silicon) are on the Releases page. On Intel Mac, install via cargo install trim-galore (local build) or use the Docker amd64 image.
Runtime dependencies
Section titled “Runtime dependencies”None. Trim Galore v2 is a single static binary. Adapter trimming, gzip, and FastQC reporting (--fastqc) all run in-process. Python, Perl, Cutadapt, Java, igzip, pigz, and the external FastQC tarball are no longer required.
Verifying the install
Section titled “Verifying the install”trim_galore --versionShould print:
trim_galore 2.1.0-beta.7 (Oxidized Edition)<git-hash> — <os>/<arch> — built <ISO-8601-UTC>The first line is also what -V prints. The second line is the build provenance (commit, target triple, deterministic build timestamp).