# 使用 Homebrew, Nix 安装 diamond

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

## 安装

```sh
sudo av install brew:diamond
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install diamond
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#diamond
```

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

## 软件包事实

- **软件包键:** brew:diamond
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/diamond>
- **版本:** 2.2.3
- **来源摘要:** Accelerated BLAST compatible local sequence aligner
- **主页:** <https://github.com/bbuchfink/diamond>
- **仓库:** <https://github.com/bbuchfink/diamond>
- **上游文档:** <https://bbuchfink.github.io/diamond>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/bbuchfink/diamond/archive/refs/tags/v2.2.3.tar.gz>
- **最后更新:** 2026-07-07T12:34:31Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- diamond (cli)
- diamond (别名)

## 构建依赖

- cmake

## macOS 提供的库

- sqlite

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.2.3
- 管理器更新时间: 2026-07-07
- 本地数据: OK
- 上游仓库: https://github.com/bbuchfink/diamond
- 检测到的最新版本: v2.2.3 (当前)
## 项目历史与用法

DIAMOND is a high-performance sequence aligner for protein and translated DNA searches, positioned as a BLAST-compatible tool for large biological datasets.

### 项目历史

The README says the initial version was developed by Benjamin J. Buchfink at the Huson lab, University of Tuebingen, from 2013 to 2015. Later development continued independently, with support from an EXIST grant in 2018-2019 and the Max Planck Institute for Biology Tuebingen from 2019 to 2024.

### 采用历史

DIAMOND's adoption is tied to its promise of much faster BLAST-like protein and translated DNA alignment. The README highlights 100x to 10,000x BLAST speed, low resource requirements, downloads from GitHub releases, Bioconda availability, Galaxy integration, and citation badges.

### 使用方式

Package users install DIAMOND when they need command-line database creation, protein search, translated DNA search, sequence clustering, taxonomic classification, or BLAST-style tabular, pairwise, and XML outputs.

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

DIAMOND is significant because it is a research-grade bioinformatics workhorse that also behaves like a normal packaged CLI. That combination makes it common in reproducible pipelines, containers, Conda environments, Homebrew installs, and HPC workflows.

### 时间线

- 2013-2015: Initial version developed at the Huson lab, University of Tuebingen.
- 2015: Original DIAMOND publication cited in the README.
- 2021: Sensitive protein alignments at tree-of-life scale publication cited in the README.
- 2026: v2.2.2 release published on GitHub.

### Related projects

- The README frames DIAMOND as BLAST-compatible and links it to Bioconda and the European Galaxy server for workflow use.

### 来源

- <https://github.com/bbuchfink/diamond>
- <https://raw.githubusercontent.com/bbuchfink/diamond/master/README.md>
- <https://api.github.com/repos/bbuchfink/diamond>
- <https://github.com/bbuchfink/diamond/releases/tag/v2.2.2>


## 安全说明

没有找到 diamond 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** diamond
- **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

## 其他软件包管理器记录

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


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [proteinortho](https://www.automicvault.com/zh-hans/pkg/brew/proteinortho/) - Popular package that depends on this formula.
- [abpoa](https://www.automicvault.com/zh-hans/pkg/brew/abpoa/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [mafft](https://www.automicvault.com/zh-hans/pkg/brew/mafft/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [minimap2](https://www.automicvault.com/zh-hans/pkg/brew/minimap2/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [blast](https://www.automicvault.com/zh-hans/pkg/brew/blast/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [bwa](https://www.automicvault.com/zh-hans/pkg/brew/bwa/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [hmmer](https://www.automicvault.com/zh-hans/pkg/brew/hmmer/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [lastz](https://www.automicvault.com/zh-hans/pkg/brew/lastz/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [mummer](https://www.automicvault.com/zh-hans/pkg/brew/mummer/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.

## Combined YAML source

View the package source record on GitHub. [combined/diamond.yml](https://github.com/automic-vault/db/blob/main/combined/diamond.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
