# 使用 Homebrew, Nix 安装 blast

查看 blast 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:blast
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install blast
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#blast
```

  证据: nixpkgs package indexes: pkgs/by-name/bl/blast/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:blast
- **软件包管理器:** Homebrew
- **版本:** 2.17.0
- **来源摘要:** Basic Local Alignment Search Tool
- **主页:** <https://blast.ncbi.nlm.nih.gov/>
- **最后更新:** 2026-06-22T14:02:53-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- blast_formatter (别名)
- blastdb_aliastool (别名)
- blastdb_convert (别名)
- blastdb_path (别名)
- blastdbcheck (别名)
- blastdbcmd (别名)
- blastdbcp (别名)
- blastn (别名)
- blastp (别名)
- blastx (别名)
- cleanup-blastdb-volumes.py (别名)
- convert2blastmask (别名)
- datatool (别名)
- deltablast (别名)
- dustmasker (别名)
- gc_cli (别名)
- get_species_taxids.sh (别名)
- legacy_blast.pl (别名)
- lmdbxx_sample (别名)
- makeblastdb (别名)
- makeclusterdb (别名)
- makembindex (别名)
- makeprofiledb (别名)
- project_tree_builder (别名)
- psiblast (别名)
- rpsblast (别名)
- rpstblastn (别名)
- run_with_lock (别名)
- seedtop (别名)
- segmasker (别名)
- seqdb_demo (别名)
- seqdb_perf (别名)
- tax4blast (别名)
- tblastn (别名)
- tblastx (别名)
- update_blastdb.pl (别名)
- windowmasker (别名)
- windowmasker_2.2.22_adapter.py (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.17.0
## 项目历史与用法

BLAST, the Basic Local Alignment Search Tool, is one of the defining command-line programs of computational biology. It became the everyday sequence-search utility for comparing DNA and protein sequences against large databases, first through NCBI services and then through local command-line installations.

### 项目历史

NCBI's BLAST help references the 1990 Altschul, Gish, Miller, Myers, and Lipman paper that introduced the Basic Local Alignment Search Tool. The same NCBI reference list traces later BLAST-family milestones including gapped BLAST and PSI-BLAST in 1997, MegaBLAST indexing work in 2008, BLAST+ architecture in 2008, DELTA-BLAST in 2012, Magic-BLAST in 2019, and ElasticBLAST in 2023.

The command-line package distributed today is BLAST+, documented by NCBI's BLAST Command Line Applications User Manual. The developer information page identifies BLAST as public-domain software and points developers to the NCBI C++ Toolkit implementation, matching the public GitHub toolkit repository used for source distribution.

### 采用历史

BLAST became a standard because it joined a fast heuristic alignment algorithm with NCBI's growing public sequence databases. Web BLAST made ad hoc searches accessible, while the command-line applications let labs, sequencing centers, and pipelines run repeatable local searches against custom databases.

Package-manager adoption reflects that role: even when the upstream distribution is from NCBI rather than a typical single-purpose GitHub project, package managers keep `blastn`, `blastp`, `blastx`, `makeblastdb`, `blastdbcmd`, and related executables available as system tools for bioinformatics workflows.

### 使用方式

Common local workflows build a database with `makeblastdb`, search it with tools such as `blastn` or `blastp`, inspect databases with `blastdbcmd`, and format results with `blast_formatter`. NCBI also documents REST access for programmatic searches against hosted services.

The package contains a family of executables rather than one command. That matters for reproducible science because database construction, masking, protein-vs-nucleotide search modes, profile searches, and output formatting are split into scriptable tools.

### 为什么软件包爱好者会关心

For package nerds, BLAST is a canonical example of scientific infrastructure as a Unix package: many binaries, public-domain licensing, local database files, environment/config conventions, and a manual that is closer to laboratory protocol than app documentation.

It is also a reminder that the most important command-line tools are not always developer tools. BLAST made local compute a practical front end to public biological databases, so packaging it well directly affected how biology labs automated sequence analysis.

### 时间线

- 1990: Original BLAST paper published.
- 1997: Gapped BLAST and PSI-BLAST paper published.
- 2008: NCBI BLAST Command Line Applications User Manual citation date and BLAST+ architecture paper appear.
- 2012: DELTA-BLAST paper published.
- 2019: Magic-BLAST paper published.
- 2023: ElasticBLAST cloud-search paper published.

### Related projects

- Related projects and descendants include PSI-BLAST, MegaBLAST, DELTA-BLAST, Magic-BLAST, ElasticBLAST, the NCBI C++ Toolkit, FASTA-family sequence search tools, and downstream workflow systems that wrap BLAST searches.

### 来源

- <https://blast.ncbi.nlm.nih.gov/doc/blast-help/developerinfo.html>
- <https://blast.ncbi.nlm.nih.gov/doc/blast-help/references.html>
- <https://github.com/ncbi/ncbi-cxx-toolkit-public>
- <https://www.ncbi.nlm.nih.gov/books/NBK279690>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .ncbirc, ~/.ncbirc, $NCBI/.ncbirc, /etc/.ncbirc
- Windows: ncbi.ini, %USERPROFILE%\ncbi.ini, %NCBI%\ncbi.ini, %SYSTEMROOT%\ncbi.ini
## 其他软件包管理器记录

- Nix - blast: normalized package name match | nixpkgs package indexes: pkgs/by-name/bl/blast/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/blast.yml](https://github.com/mxcl/pkgdb/blob/main/combined/blast.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
