Automic VaultAutomic Vault

brew

Install mafft with Homebrew, apt, MacPorts, Nix

Multiple alignments with fast Fourier transforms. Version 7.526 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mafft

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install mafft

MacPorts ports tree · science/mafft/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install mafft

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

Nixverified · 92%
nix profile install nixpkgs#mafft

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

overview

Package summary

Multiple alignments with fast Fourier transforms

Commands and aliases

  • einsi
  • fftns
  • fftnsi
  • ginsi
  • linsi
  • mafft
  • mafft-distance
  • mafft-einsi
  • mafft-fftns
  • mafft-fftnsi
  • mafft-ginsi
  • mafft-homologs.rb
  • mafft-linsi
  • mafft-nwns
  • mafft-nwnsi
  • mafft-profile
  • mafft-qinsi
  • mafft-sparsecore.rb
  • mafft-xinsi
  • nwns
  • nwnsi

history

Project history and usage

MAFFT is a multiple sequence alignment program for amino acid or nucleotide sequences. The official site describes MAFFT version 7 as software for Unix-like operating systems with a range of methods, including accurate L-INS-i for smaller alignments and fast FFT-NS-2 for larger sequence sets.

Project history

MAFFT originated as a fast Fourier transform-based approach to multiple sequence alignment, described in the 2002 Nucleic Acids Research paper cited by the official site. Subsequent official references trace major method and usability improvements through version 5, version 6, version 7, PartTree for large alignments, RNA structural alignment, multithreading, adding unaligned sequences, over-alignment control, large-data workflows, MPI parallelization, and MAFFT-DASH.

The official manual documents MAFFT as a Unix-style command-line program with aliases such as `linsi`, `ginsi`, `einsi`, `fftnsi`, `fftns`, `nwns`, and `mafft-profile`, each exposing a different speed/accuracy tradeoff.

Adoption history

MAFFT became a standard bioinformatics command-line package because it covers both routine and high-accuracy multiple sequence alignment workflows. The official site links to web services at EBI, MPI Bioinformatics Toolkit, GenomeNet, SIB MyHits, T-REX, DDBJ WABI, and CIPRES, showing adoption beyond a single downloadable CLI.

Package managers matter for MAFFT because alignment tools are commonly installed into reproducible research environments, HPC systems, and workflow managers. The supplied package facts show distribution through Homebrew, Debian, MacPorts, Nix, and Ubuntu, while the official site maintains source, Linux, macOS, and Windows download paths.

How it is used

The basic invocation is `mafft input > output` with FASTA input. The official site recommends `mafft-linsi input > output` as an accurate option for up to roughly 200 sequences and `mafft input > output` as a fast option for larger alignments, with `mafft --auto input > output` for automatic strategy selection.

The manual organizes MAFFT around algorithm families: accuracy-oriented L-INS-i, G-INS-i, and E-INS-i; speed-oriented FFT-NS and NW-NS variants; PartTree for very large sequence counts; and profile alignment for group-to-group workflows.

Why package nerds care

MAFFT is one of those scientific CLI packages that anchors entire downstream workflows. It matters to package maintainers because it has many executable aliases, platform-specific source/binary packaging, a long citation trail, and users who care about exact version behavior for reproducibility.

Its history also illustrates a common bioinformatics packaging pattern: a command-line core, official web services, and many package-manager builds coexisting because researchers need both interactive alignment services and scriptable local installs.

Timeline

  • 2002: Official references cite the original MAFFT fast Fourier transform alignment method in Nucleic Acids Research.
  • 2005: Official references cite MAFFT version 5 accuracy improvements.
  • 2007: Official manual updated on Jun 9, 2007.
  • 2008: Official references cite recent developments outlining version 6.
  • 2010: Official references cite multithreaded MAFFT.
  • 2013: Official references cite MAFFT version 7 performance and usability improvements.
  • 2018: Official references cite MPI parallelization for large-scale alignments.
  • 2019: Official references cite MAFFT-DASH and the MAFFT online service.
  • 2024: Official site lists MAFFT 7.526 as the latest version in Apr 2024.

Related projects

  • MAFFT is related to ClustalW, T-Coffee, PRRN, GenomeNet alignment services, EBI and MPI MAFFT servers, Jalview, Pfam, BioRuby, Vienna RNA package extensions, MXSCARNA, and ProbConsRNA, many of which are linked or referenced from the official site.

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 10 platform targets.

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
einsicliglobal executable
fftnscliglobal executable
fftnsicliglobal executable
ginsicliglobal executable
linsicliglobal executable
mafftcliglobal executable
mafft-distancecliglobal executable
mafft-einsicliglobal executable
mafft-fftnscliglobal executable
mafft-fftnsicliglobal executable
mafft-ginsicliglobal executable
mafft-homologs.rbcliglobal executable
mafft-linsicliglobal executable
mafft-nwnscliglobal executable
mafft-nwnsicliglobal executable
mafft-profilecliglobal executable
mafft-qinsicliglobal executable
mafft-sparsecore.rbcliglobal executable
mafft-xinsicliglobal executable
nwnscliglobal executable
nwnsicliglobal 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 version7.526
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://mafft.cbrc.jp/alignment/software/

install metadata

Package metadata

Package keybrew:mafft
Version7.526
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mafft
Homepagehttps://mafft.cbrc.jp/alignment/software/
Repositoryhttps://gitlab.com/sysimm/mafft
Upstream docshttps://mafft.cbrc.jp/alignment/software
LicenseBSD-3-Clause
Source archivehttps://gitlab.com/sysimm/mafft.git
Bottleavailable (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemafft
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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%

mafft 7.505-1

Multiple alignment program for amino acid or nucleotide sequences

https://mafft.cbrc.jp/alignment/software/

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

mafft

nix profile install nixpkgs#mafft
  • normalized package name match
  • Matched by: Mafft
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ma/mafft/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

mafft 7.505-1

Multiple alignment program for amino acid or nucleotide sequences

https://mafft.cbrc.jp/alignment/software/

sudo apt install mafft
  • Section: universe/science
  • Architecture: amd64
  • 2 dependencies
  • 4 optional deps
  • normalized package name match
  • Matched by: Mafft
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mafft from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

mafft

sudo port install mafft
  • normalized package name match
  • Matched by: Mafft
MacPorts ports tree · api.github.com · MacPorts ports tree: science/mafft/Portfile from https://api.github.com/repos/macports/macports-ports/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