# 使用 Homebrew, apt, Nix 安装 bioawk

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

## 安装

```sh
sudo av install brew:bioawk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bioawk
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install bioawk
```

  证据: Debian stable package indexes: bioawk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#bioawk
```

  证据: nixpkgs package indexes: pkgs/by-name/bi/bioawk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:bioawk
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bioawk>
- **版本:** 1.0
- **来源摘要:** AWK modified for biological data
- **主页:** <https://github.com/lh3/bioawk>
- **仓库:** <https://github.com/lh3/bioawk>
- **上游文档:** <https://github.com/lh3/bioawk#readme>
- **许可证:** HPND
- **源码归档:** <https://github.com/lh3/bioawk/archive/refs/tags/v1.0.tar.gz>
- **已生成:** 2026-07-10T07:20:53+00:00

## 可执行文件

- bioawk (cli)
- bioawk (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-10
- 管理器版本: 1.0
- 本地数据: OK
- 上游仓库: https://github.com/lh3/bioawk
- 检测到的最新版本: v1.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

bioawk is a small but durable bioinformatics command-line package: Brian Kernighan's awk modified to understand common genomics text formats and gzip-compressed input.

### 项目历史

The lh3/bioawk repository was created on GitHub in January 2012 and describes the project as BWK awk modified for biological data. Its README says bioawk extends Brian Kernighan's awk with BED, GFF, SAM, VCF, FASTA/FASTQ, tab-delimited headers, gzip support through zlib, and biosequence helper functions while falling back to original awk behavior when the biological extensions are not used.

### 采用历史

bioawk spread through the practical genomics command-line ecosystem rather than through a large application platform. The input package metadata lists Homebrew, Debian, Ubuntu, and Nix packages, which is exactly the distribution pattern expected for a small Unix filter that bioinformaticians drop into shell pipelines.

### 使用方式

Common uses include extracting fields from VCF or SAM, converting FASTA/FASTQ records, reverse-complementing sequences, and using `-c fastx`, `-c sam`, `-c vcf`, or `-c hdr` to make biological records feel like awk fields.

It is especially useful when the job is too small for a full Python or Perl script but too biological for plain awk.

### 为什么软件包爱好者会关心

bioawk is package-nerd catnip because it is not a new workflow engine or framework; it is the old Unix text-processing model with just enough domain knowledge to remove glue code. It keeps awk's one-liner culture alive inside genomics pipelines.

### 时间线

- 2012: lh3/bioawk repository created on GitHub.
- 2012: v1.0 tag published in the repository.
- 2010s: Packaged by Unix-like distributions for bioinformatics shell workflows.

### Related projects

- bioawk is directly related to BWK awk, zlib, and command-line genomics tools such as samtools, bcftools, BED/GFF utilities, and FASTA/FASTQ pipeline filters.

### 来源

- <https://api.github.com/repos/lh3/bioawk>
- <https://github.com/lh3/bioawk>
- <https://raw.githubusercontent.com/lh3/bioawk/master/README.md>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** bioawk
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - bioawk - 1.0-5: normalized package name match | Debian stable package indexes: bioawk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | extension of awk for biological sequence analysis | https://github.com/lh3/bioawk
- Nix - bioawk: normalized package name match | nixpkgs package indexes: pkgs/by-name/bi/bioawk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bioawk - 1.0-4: normalized package name match | Ubuntu 24.04 LTS package indexes: bioawk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | extension of awk for biological sequence analysis | https://github.com/lh3/bioawk


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/zh-hans/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [abpoa](https://www.automicvault.com/zh-hans/pkg/brew/abpoa/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [abricate](https://www.automicvault.com/zh-hans/pkg/brew/abricate/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [abyss](https://www.automicvault.com/zh-hans/pkg/brew/abyss/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [adapterremoval](https://www.automicvault.com/zh-hans/pkg/brew/adapterremoval/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [alevin-fry](https://www.automicvault.com/zh-hans/pkg/brew/alevin-fry/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [any2fasta](https://www.automicvault.com/zh-hans/pkg/brew/any2fasta/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [augustus](https://www.automicvault.com/zh-hans/pkg/brew/augustus/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [autocycler](https://www.automicvault.com/zh-hans/pkg/brew/autocycler/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [bamtools](https://www.automicvault.com/zh-hans/pkg/brew/bamtools/) - Local package facts share a topical domain. Shared terms: bioinformatics, cli, data, science.
- [bedops](https://www.automicvault.com/zh-hans/pkg/brew/bedops/) - Local package facts share a topical domain. Shared terms: bioinformatics, cli, data, science.

## Combined YAML source

View the package source record on GitHub. [combined/bioawk.yml](https://github.com/automic-vault/db/blob/main/combined/bioawk.yml)


## 来源

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