Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, Nix 安装 bwa

查看 bwa 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bwa

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install bwa

Debian stable package indexes · bwa · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install bwa

Fedora Rawhide package metadata · bwa · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#bwa

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

概览

软件包摘要

Burrow-Wheeler Aligner for pairwise alignment of DNA

命令和别名

  • bwa

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bwacli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本0.7.19
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v0.7.19

https://github.com/lh3/bwa

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:bwa
版本0.7.19
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/bwa
主页https://github.com/lh3/bwa
仓库https://github.com/lh3/bwa
上游文档https://github.com/lh3/bwa#readme
许可证GPL-3.0-or-later AND MIT
源码归档https://github.com/lh3/bwa/archive/refs/tags/v0.7.19.tar.gz
构建依赖sse2neon
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

bwa 0.7.18-1

Burrows-Wheeler Aligner

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

sudo apt install bwa
  • Section: science
  • Architecture: amd64
  • 2 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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