# mafft を Homebrew, apt, MacPorts, Nix でインストール

mafft のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:mafft
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install mafft
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mafft
```

  証拠: MacPorts ports tree: science/mafft/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install mafft
```

  証拠: Debian stable package indexes: mafft from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#mafft
```

  証拠: nixpkgs package indexes: pkgs/by-name/ma/mafft/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:mafft
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/mafft>
- **バージョン:** 7.526
- **ソース概要:** Multiple alignments with fast Fourier transforms
- **ホームページ:** <https://mafft.cbrc.jp/alignment/software/>
- **リポジトリ:** <https://gitlab.com/sysimm/mafft>
- **上流ドキュメント:** <https://mafft.cbrc.jp/alignment/software>
- **ライセンス:** BSD-3-Clause
- **ソースアーカイブ:** <https://gitlab.com/sysimm/mafft.git>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- einsi (cli)
- fftns (cli)
- fftnsi (cli)
- ginsi (cli)
- linsi (cli)
- mafft (cli)
- mafft-distance (cli)
- mafft-einsi (cli)
- mafft-fftns (cli)
- mafft-fftnsi (cli)
- mafft-ginsi (cli)
- mafft-homologs.rb (cli)
- mafft-linsi (cli)
- mafft-nwns (cli)
- mafft-nwnsi (cli)
- mafft-profile (cli)
- mafft-qinsi (cli)
- mafft-sparsecore.rb (cli)
- mafft-xinsi (cli)
- nwns (cli)
- nwnsi (cli)
- 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 (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 7.526
- ローカルデータ: OK
- 上流リポジトリ: https://mafft.cbrc.jp/alignment/software/
- 情報: No package-manager update timestamp was available.
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

- <https://gitlab.com/sysimm/mafft>
- <https://mafft.cbrc.jp/alignment/software/>
- <https://mafft.cbrc.jp/alignment/software/manual/manual.html>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **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:** stable

## 他のパッケージマネージャ記録

- Debian apt - mafft - 7.505-1: normalized package name match | Debian stable package indexes: mafft from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Multiple alignment program for amino acid or nucleotide sequences | https://mafft.cbrc.jp/alignment/software/
- Nix - mafft: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/mafft/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mafft - 7.505-1: normalized package name match | Ubuntu 24.04 LTS package indexes: mafft from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Multiple alignment program for amino acid or nucleotide sequences | https://mafft.cbrc.jp/alignment/software/
- MacPorts - mafft: normalized package name match | MacPorts ports tree: science/mafft/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/ja/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [Homebrew utility packages](https://www.automicvault.com/ja/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [abpoa](https://www.automicvault.com/ja/pkg/brew/abpoa/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [diamond](https://www.automicvault.com/ja/pkg/brew/diamond/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [minimap2](https://www.automicvault.com/ja/pkg/brew/minimap2/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [blast](https://www.automicvault.com/ja/pkg/brew/blast/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [bwa](https://www.automicvault.com/ja/pkg/brew/bwa/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [hmmer](https://www.automicvault.com/ja/pkg/brew/hmmer/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [lastz](https://www.automicvault.com/ja/pkg/brew/lastz/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [mummer](https://www.automicvault.com/ja/pkg/brew/mummer/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [proteinortho](https://www.automicvault.com/ja/pkg/brew/proteinortho/) - Local package facts share a topical domain. Shared terms: bioinformatics, cli, science, sequence.

## Combined YAML source

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


## ソース

- 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
