# bwa を Homebrew, apt, dnf, Nix でインストール

bwa のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:bwa
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install bwa
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install bwa
```

  証拠: Debian stable package indexes: bwa from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install bwa
```

  証拠: Fedora Rawhide package metadata: bwa from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#bwa
```

  証拠: nixpkgs package indexes: pkgs/by-name/bw/bwa/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:bwa
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.7.19
- **ソース概要:** Burrow-Wheeler Aligner for pairwise alignment of DNA
- **ホームページ:** <https://github.com/lh3/bwa>
- **リポジトリ:** <https://github.com/lh3/bwa>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- bwa (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.7.19
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

- <https://github.com/lh3/bwa>
- <https://github.com/lh3/bwa/blob/master/NEWS.md>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - bwa - 0.7.18-1: normalized package name match | Debian stable package indexes: bwa from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Burrows-Wheeler Aligner | https://bio-bwa.sourceforge.net/
- Debian apt - libbwa-dev - 0.7.18-1: normalized package name match | Debian stable package indexes: libbwa-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Burrows-Wheeler Aligner source files | https://bio-bwa.sourceforge.net/
- Nix - bwa: normalized package name match | nixpkgs package indexes: pkgs/by-name/bw/bwa/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bwa - 0.7.17-7: normalized package name match | Ubuntu 24.04 LTS package indexes: bwa from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Burrows-Wheeler Aligner | http://bio-bwa.sourceforge.net/
- Ubuntu apt - libbwa-dev - 0.7.17-7: normalized package name match | Ubuntu 24.04 LTS package indexes: libbwa-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Burrows-Wheeler Aligner source files | http://bio-bwa.sourceforge.net/
- dnf - bwa - 0.7.19-2.fc45: normalized package name match | Fedora Rawhide package metadata: bwa from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Burrows-Wheeler Alignment tool | https://github.com/lh3/bwa


## Combined YAML source

View the package source record on GitHub. [combined/bwa.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bwa.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
