Skip to content

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.

Requires the Rust toolchain (1.88+):

Terminal window
cargo install trim-galore
Terminal window
conda install -c bioconda trim-galore
Terminal window
git clone https://github.com/FelixKrueger/TrimGalore.git
cd TrimGalore
cargo build --release
# Binary is at target/release/trim_galore

To install the latest unreleased changes from the development branch:

Terminal window
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).

Multi-arch images (amd64 and arm64) are published to the GitHub Container Registry:

Terminal window
docker run --rm -v "$PWD":/data -w /data \
ghcr.io/felixkrueger/trimgalore:beta \
trim_galore input.fastq.gz

FastQC is built in via the bundled fastqc-rust library, so --fastqc works without Java or an external fastqc install.

TagUpdates
:betalatest prerelease (currently v2.1.0-beta.7)
:v2.1.0-beta.7pinned to a specific prerelease
:devevery push to the optimus_prime development branch
:latestlatest stable release (publishes from v2.1.0 GA onward)

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.

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.

Terminal window
trim_galore --version

Should 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).