# Installer bwa avec Homebrew, apt, dnf, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de bwa pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install bwa
```

  Preuve: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install bwa
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:bwa
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.7.19
- **Résumé source:** Burrow-Wheeler Aligner for pairwise alignment of DNA
- **Page d'accueil:** <https://github.com/lh3/bwa>
- **Dépôt:** <https://github.com/lh3/bwa>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- bwa (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.7.19
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

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


## Sources

- 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
