Automic VaultAutomic Vault

brew

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

Additional install commands

macOS

Homebrewverified · 100%
brew install freebayes

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install freebayes

Debian stable package indexes · freebayes · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#freebayes

nixpkgs package indexes · pkgs/by-name/fr/freebayes/package.nix · source: api.github.com

overview

Package summary

Bayesian haplotype-based genetic polymorphism discovery and genotyping

Commands and aliases

  • bamleftalign
  • freebayes

history

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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 6 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
bamleftaligncliglobal executable
freebayescliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.3.10
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/freebayes/freebayes

install metadata

Package metadata

Package keybrew:freebayes
Version1.3.10
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/freebayes
Homepagehttps://github.com/freebayes/freebayes
Repositoryhttps://github.com/freebayes/freebayes
Upstream docshttps://github.com/freebayes/freebayes#readme
LicenseMIT
Source archivehttps://github.com/freebayes/freebayes.git
Last updated2026-06-22T14:03:22-07:00
Pulseupdated
Dependencieshtslib, tabixpp
Build dependenciescmake, meson, ninja, pkgconf, simde, wfa2-lib
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefreebayes
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

freebayes 1.3.9-1

Bayesian haplotype-based polymorphism discovery and genotyping

https://github.com/ekg/freebayes

sudo apt install freebayes
  • Section: science
  • Architecture: amd64
  • 8 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Freebayes
Debian stable package indexes · deb.debian.org · Debian stable package indexes: freebayes from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

freebayes

nix profile install nixpkgs#freebayes
  • normalized package name match
  • Matched by: Freebayes
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fr/freebayes/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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