macOS
brew install mafftlocal Homebrew formula metadata
sudo port install mafftMacPorts ports tree · science/mafft/Portfile · source: api.github.com
brew
Multiple alignments with fast Fourier transforms. Version 7.526 via Homebrew; verified from local package data.
install
brew install mafftlocal Homebrew formula metadata
sudo port install mafftMacPorts ports tree · science/mafft/Portfile · source: api.github.com
sudo apt install mafftDebian stable package indexes · mafft · source: deb.debian.org
nix profile install nixpkgs#mafftnixpkgs package indexes · pkgs/by-name/ma/mafft/package.nix · source: api.github.com
overview
Multiple alignments with fast Fourier transforms
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
einsi | cli | global executable | |
fftns | cli | global executable | |
fftnsi | cli | global executable | |
ginsi | cli | global executable | |
linsi | cli | global executable | |
mafft | cli | global executable | |
mafft-distance | cli | global executable | |
mafft-einsi | cli | global executable | |
mafft-fftns | cli | global executable | |
mafft-fftnsi | cli | global executable | |
mafft-ginsi | cli | global executable | |
mafft-homologs.rb | cli | global executable | |
mafft-linsi | cli | global executable | |
mafft-nwns | cli | global executable | |
mafft-nwnsi | cli | global executable | |
mafft-profile | cli | global executable | |
mafft-qinsi | cli | global executable | |
mafft-sparsecore.rb | cli | global executable | |
mafft-xinsi | cli | global executable | |
nwns | cli | global executable | |
nwnsi | cli | global executable |
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.
https://mafft.cbrc.jp/alignment/software/
install metadata
| Package key | brew:mafft |
|---|---|
| Version | 7.526 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mafft |
| Homepage | https://mafft.cbrc.jp/alignment/software/ |
| Repository | https://gitlab.com/sysimm/mafft |
| Upstream docs | https://mafft.cbrc.jp/alignment/software |
| License | BSD-3-Clause |
| Source archive | https://gitlab.com/sysimm/mafft.git |
| Bottle | available (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mafft |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
mafft 7.505-1
Multiple alignment program for amino acid or nucleotide sequences
https://mafft.cbrc.jp/alignment/software/
sudo apt install mafftmafft
nix profile install nixpkgs#mafftmafft 7.505-1
Multiple alignment program for amino acid or nucleotide sequences
https://mafft.cbrc.jp/alignment/software/
sudo apt install mafftmafft
sudo port install mafftsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.