# 使用 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
- **版本:** 1.0
- **来源摘要:** AWK modified for biological data
- **主页:** <https://github.com/lh3/bioawk>
- **仓库:** <https://github.com/lh3/bioawk>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bioawk (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.0
## 项目历史与用法

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

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

- 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


## Combined YAML source

View the package source record on GitHub. [combined/bioawk.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bioawk.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
