# Install freebayes with Homebrew, apt, Nix

Bayesian haplotype-based genetic polymorphism discovery and genotyping. Version 1.3.10 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:freebayes
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install freebayes
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install freebayes
```

  Evidence: Debian stable package indexes: freebayes from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#freebayes
```

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

## Package facts

- **Package key:** brew:freebayes
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/freebayes>
- **Version:** 1.3.10
- **Source summary:** Bayesian haplotype-based genetic polymorphism discovery and genotyping
- **Homepage:** <https://github.com/freebayes/freebayes>
- **Repository:** <https://github.com/freebayes/freebayes>
- **Upstream docs:** <https://github.com/freebayes/freebayes#readme>
- **License:** MIT
- **Source archive:** <https://github.com/freebayes/freebayes.git>
- **Last updated:** 2026-06-22T14:03:22-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- bamleftalign (cli)
- freebayes (cli)
- bamleftalign (alias)
- freebayes (alias)

## Dependencies

- htslib
- tabixpp

## Build dependencies

- cmake
- meson
- ninja
- pkgconf
- simde
- wfa2-lib

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.3.10
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/freebayes/freebayes
- info: No cached GitHub release or tag data was available.
## Project history and usage

freebayes is a Bayesian, haplotype-based genetic variant detector for short-read sequencing data. It calls SNPs, indels, MNPs, and complex events from BAM or CRAM alignments against a reference genome and writes VCF output.

### Project history

The GitHub repository was created in October 2010 and the license identifies Erik Garrison and Gabor Marth as 2010 copyright holders. The README cites the 2012 arXiv preprint 'Haplotype-based variant detection from short-read sequencing' and asks users to cite it when freebayes contributes to a publication.

freebayes was designed around literal read haplotypes rather than only precise alignment columns, generalizing earlier alignment-based variant detectors such as PolyBayes, samtools, and GATK. The README says the preprint was never submitted for review but has been used in over 1000 publications.

Release history shows a long-lived scientific command-line tool: v1.0.1 in 2015 helped downstream package management, v1.1.0 in 2016 integrated SeqLib for speed and memory improvements, v1.2.0 in 2018 changed default filters for sensitivity, v1.3.0 in 2019 added high-coverage skipping, and later 1.3.x releases focused on CRAM, Meson/Ninja, ARM64, Python 3, static builds, Debian/Ubuntu packaging, and dependency cleanup.

### Adoption history

The README links badges or documentation for Bioconda, Homebrew, Guix, Debian, and other packaging contexts, and notes that GitHub release tarballs are used by Linux distributions to build and release freebayes binaries. The input package metadata also shows Homebrew, Debian, and Nix package coverage.

Adoption is also scientific rather than only packaging-based: the README's citation note says freebayes has been used in over 1000 publications, and its workflow examples place it among common genomics command-line tools such as bwa, sambamba, vcflib, bcftools, GATK, Picard, and workflow managers such as Snakemake.

### How it is used

In simplest use, freebayes takes a FASTA reference and a sorted BAM or CRAM alignment file and emits VCF: freebayes -f ref.fa aln.bam > var.vcf. It also supports joint calling across multiple BAMs, GVCF output, high-coverage skipping, ploidy settings, pooled samples, forced calls from VCF alleles, and long-haplotype calling.

The README describes Unix-style pipeline use, including streaming BAM input from standard input, post-call filtering through vcflib's vcffilter, parallel execution by splitting the genome into regions, and Snakemake examples for cluster-friendly parallelism.

### Why package nerds care

freebayes is package-nerd significant because it is a research-grade bioinformatics tool that distributions have had to keep buildable across changing C++ dependencies, Python versions, CRAM libraries, vcflib headers, and architecture targets. Its release notes read like a history of genomics packaging pain: vendored libraries, Meson migration, Debian build constraints, static binaries, Guix shells, and Bioconda-style tarballs.

It also embodies the classic Unix bioinformatics package model: a single-purpose CLI that reads standard genomics formats, writes VCF, composes with other tools, and can be sharded by genomic region for parallel execution.

### Timeline

- 2010: GitHub repository created and MIT license copyright year recorded.
- 2012: Haplotype-based variant detection preprint published on arXiv.
- 2015: v1.0.1 released as a downstream-package-management-friendly bugfix release.
- 2016: v1.1.0 integrated SeqLib for speed and memory efficiency.
- 2018: v1.2.0 changed default filters for sensitivity.
- 2019: v1.3.0 added --skip-coverage for high-depth regions.
- 2020: v1.3.3 added CRAM support notes, Meson/Ninja builds, ARM64 compilation, Python 3 script updates, and GitHub CI.
- 2022: v1.3.6 added Snakemake parallel examples, Guix shell support, static builds, and performance tracking.
- 2024: v1.3.8 focused on Debian fixes and unbundling vcflib.
- 2025: v1.3.10 released with vcflib-path and build maintenance.

### Related projects

- Related projects named in the official documentation include PolyBayes, samtools, GATK, vcflib, GNU parallel, Snakemake, bwa, sambamba, bcftools, Picard, htslib, SeqLib, Guix, Bioconda, Debian packaging, and CRAM/VCF/BAM ecosystem tools.

### Sources

- <https://api.github.com/repos/freebayes/freebayes>
- <https://arxiv.org/abs/1207.3907>
- <https://github.com/freebayes/freebayes>
- <https://github.com/freebayes/freebayes/blob/master/RELEASE-NOTES.md>
- <https://github.com/freebayes/freebayes/releases>


## Security Notes

narrow executable package without higher-risk signals.

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

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - freebayes - 1.3.9-1: normalized package name match | Debian stable package indexes: freebayes from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Bayesian haplotype-based polymorphism discovery and genotyping | https://github.com/ekg/freebayes
- Nix - freebayes: normalized package name match | nixpkgs package indexes: pkgs/by-name/fr/freebayes/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [htslib](https://www.automicvault.com/pkg/brew/htslib/) - Runtime dependency declared by Homebrew.
- [tabixpp](https://www.automicvault.com/pkg/brew/tabixpp/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [meson](https://www.automicvault.com/pkg/brew/meson/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [vcflib](https://www.automicvault.com/pkg/brew/vcflib/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science, variant-calling.
- [picard-tools](https://www.automicvault.com/pkg/brew/picard-tools/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science, vcf.
- [vcfanno](https://www.automicvault.com/pkg/brew/vcfanno/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science, vcf.
- [vcftools](https://www.automicvault.com/pkg/brew/vcftools/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science, vcf.
- [abricate](https://www.automicvault.com/pkg/brew/abricate/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science.
- [bbtools](https://www.automicvault.com/pkg/brew/bbtools/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science.
- [bioperl](https://www.automicvault.com/pkg/brew/bioperl/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science.
- [blast](https://www.automicvault.com/pkg/brew/blast/) - Shares av.db curated category or tags: bioinformatics, cli, genomics, science.
- [jellyfish](https://www.automicvault.com/pkg/brew/jellyfish/) - Local package facts share a topical domain. Shared terms: bioinformatics, cli, genomics, htslib, science.

## Combined YAML source

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


## Sources

- 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
