# Install bioawk with Homebrew, apt, Nix

AWK modified for biological data. Version 1.0 via Homebrew; verified from local package data. Also installable with debian: sudo apt install bioawk.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install bioawk
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install bioawk
```

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

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

## Package facts

- **Package key:** brew:bioawk
- **Package manager:** Homebrew
- **Version:** 1.0
- **Source summary:** AWK modified for biological data
- **Homepage:** <https://github.com/lh3/bioawk>
- **Repository:** <https://github.com/lh3/bioawk>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- bioawk (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.0
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

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


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