Automic VaultAutomic Vault

brew

Install bwa with Homebrew, apt, dnf, Nix

Burrow-Wheeler Aligner for pairwise alignment of DNA. Version 0.7.19 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install bwa

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install bwa

Debian stable package indexes · bwa · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install bwa

Fedora Rawhide package metadata · bwa · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#bwa

nixpkgs package indexes · pkgs/by-name/bw/bwa/package.nix · source: api.github.com

overview

Package summary

Burrow-Wheeler Aligner for pairwise alignment of DNA

Commands and aliases

  • bwa

history

Project history and usage

BWA, the Burrows-Wheeler Aligner, is one of the canonical command-line tools for mapping DNA sequencing reads to reference genomes. It became a standard building block in short-read genomics pipelines because it combined FM-index/Burrows-Wheeler indexing with practical performance on large mammalian references.

Project history

BWA was created by Heng Li and documented through a series of algorithm publications and release notes. The current README describes three major algorithms in the package: BWA-backtrack for short Illumina reads, BWA-SW for longer sequences, and BWA-MEM as the later generally recommended algorithm for many reads longer than about 70 bp.

The README points users to the GitHub source repository and SourceForge release downloads, while NEWS.md records the long-running 0.7.x series. Release notes show important maintenance milestones such as GRCh38 ALT-contig support and bwakit binaries in 0.7.11, ARM64 support in 0.7.18, and the 0.7.19 bug-fix release in 2025.

Adoption history

BWA achieved unusually broad adoption in computational biology rather than only in general-purpose Unix packaging. The official README advertises SourceForge downloads, GitHub downloads, and BioConda install counts, and the supplied package facts show Homebrew, Debian, Ubuntu, Fedora, and Nix packaging.

Its adoption is also bibliographic: the README instructs users to cite the 2009 BWA-backtrack Bioinformatics paper, the 2010 BWA-SW Bioinformatics paper, and the 2013 BWA-MEM arXiv preprint depending on which algorithm they use.

How it is used

A typical BWA workflow builds an FM-index with `bwa index`, then maps reads with subcommands such as `bwa mem`, `bwa aln` plus `samse` or `sampe`, or `bwa bwasw`. Output is usually SAM streamed into downstream tools such as samtools.

The README now notes that BWA-MEM has been superseded for many newer workloads by minimap2 for long reads and is expected to be superseded by minibwa for short reads, while BWA-MEM2 is suggested when exact legacy BWA-MEM behavior is desired.

Why package nerds care

BWA is package-nerd significant because a single small C executable sits at the center of many genomics workflows, yet its behavior is scientifically consequential. Reproducibility often depends on the exact BWA version, algorithm, reference preparation, and SAM output details.

For maintainers, BWA is also a case study in domain tooling that migrated from SourceForge-era distribution to GitHub while remaining heavily consumed through scientific package managers such as BioConda and through operating-system packages.

Timeline

  • 2009: BWA-backtrack paper is published for fast short-read alignment with the Burrows-Wheeler transform.
  • 2010: BWA-SW paper is published for longer reads.
  • 2013: BWA-MEM preprint is published and becomes the recommended algorithm for many common workloads.
  • 2014: BWA 0.7.11 adds GRCh38 ALT-contig support and introduces bwakit binaries.
  • 2017: BWA 0.7.17 is released.
  • 2024: BWA 0.7.18 adds ARM64 support.
  • 2025: BWA 0.7.19 is released as a bug-fix release.

Related projects

  • minimap2 is the successor recommended by the BWA README for long reads.
  • BWA-MEM2 is recommended when users want faster execution while preserving legacy BWA-MEM output.
  • minibwa is named by the README as the expected short-read replacement.
  • bwakit packages BWA with associated tools and reference-building workflows for some use cases.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
bwacliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.7.19
manager updated
local dataok
upstreamcurrent
latest detectedv0.7.19

https://github.com/lh3/bwa

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:bwa
Version0.7.19
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/bwa
Homepagehttps://github.com/lh3/bwa
Repositoryhttps://github.com/lh3/bwa
Upstream docshttps://github.com/lh3/bwa#readme
LicenseGPL-3.0-or-later AND MIT
Source archivehttps://github.com/lh3/bwa/archive/refs/tags/v0.7.19.tar.gz
Build dependenciessse2neon
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebwa
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

bwa 0.7.18-1

Burrows-Wheeler Aligner

https://bio-bwa.sourceforge.net/

sudo apt install bwa
  • Section: science
  • Architecture: amd64
  • 2 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Bwa
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bwa from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libbwa-dev 0.7.18-1

Burrows-Wheeler Aligner source files

https://bio-bwa.sourceforge.net/

sudo apt install libbwa-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: bwa
  • 1 optional deps
  • normalized package name match
  • Matched by: Bwa
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbwa-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

bwa

nix profile install nixpkgs#bwa
  • normalized package name match
  • Matched by: Bwa
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/bw/bwa/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

bwa 0.7.17-7

Burrows-Wheeler Aligner

http://bio-bwa.sourceforge.net/

sudo apt install bwa
  • Section: universe/science
  • Architecture: amd64
  • 2 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Bwa
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bwa from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libbwa-dev 0.7.17-7

Burrows-Wheeler Aligner source files

http://bio-bwa.sourceforge.net/

sudo apt install libbwa-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: bwa
  • 1 optional deps
  • normalized package name match
  • Matched by: Bwa
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbwa-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

bwa 0.7.19-1.fc45

Burrows-Wheeler Alignment tool

https://github.com/lh3/bwa

sudo dnf install bwa
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: bwa
  • 7 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bwa
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bwa from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment