DIAMOND (biotechnology)
Bioinformatics software
From Wikipedia, the free encyclopedia
In bioinformatics, DIAMOND[1][2][3] is an algorithm and program for sequence alignment of protein and translated DNA sequences, designed as a fast alternative to NCBI BLAST. It has 20,000 citations in scientific literature[4] (as of August 2026) and has been built into pipelines such as antiSMASH,[5] OrthoFinder,[6] HUMAnN2,[7] eggNOG-mapper,[8] BRAKER2,[9] Anvi'o[10] among others.[11]
| DIAMOND | |
|---|---|
| Original author | Benjamin J. Buchfink |
| Developer | Benjamin J. Buchfink |
| Release | November 17, 2014 |
| Stable release | 2.2.5
/ 3 August 2026 |
| Written in | C++ |
| Operating system | UNIX, Linux, Mac, MS-Windows |
| Type | Bioinformatics tool |
| License | GNU General Public License version 3 |
| Repository | github |
Background

Development of DIAMOND was begun in late 2012 by German computer scientist Benjamin J. Buchfink. An early predecessor version, then called SASS ("Sequence Alignment using Spaced Seeds"), was part of the winning entry of the U.S. Defense Threat Reduction Agency's $1 Million Algorithm Challenge.[12][13] At the time, scientists were spending 800,000 CPU hours on a supercomputer to BLASTX their metagenomic reads against the KEGG database,[14] creating the need for faster software solutions.
The first major version of DIAMOND was published in November 2014[1] and focused on alignment sensitivity at above 50% sequence identity and short read alignment. It reported performance gains of 600 to 22,000-fold vs BLAST and 23 to 500-fold vs RapSearch2.[15][1]
The second major version of DIAMOND was published in April 2021[2] and extended the tool towards full pairwise alignment sensitivity (on par with BLAST) down to 20% sequence identity, reporting speedups of 12 to 15-fold vs state-of-the-art methods.[2]
In 2021, DIAMOND was used to search through 10.2 petabases of sequencing data in the NCBI Sequence Read Archive, discovering 131,957 novel RNA virus species, thereby expanding the number of known species by roughly an order of magnitude.[16] The computation was realized within 11 days, at a cost of US$23,980.[16]
Sequence clustering is a downstream application of alignment. It was released as a feature in January 2023. In addition to clustering based on all-vs-all alignment, the tool also offers clustering with linear-time scaling and sensitivity at lower sequence identities that can be run in parallel across multiple compute nodes.[3]
Algorithm
Like all fast aligners, DIAMOND is based on the "seed-and-extend" concept[18] to find short exact matches between query and target (also called subject) sequences, then extending them into longer gapped alignments. The seeds are usually chosen as k-mers or spaced k-mers in the case of DIAMOND, possibly also in a reduced alphabet.
DIAMOND is an acryonym for "Double Indexed Alignment of NGS Data", referring to its concept of building an index for both query and target sequences.[1] Most aligners work by building an index data structure for the targets (database index), then linearly looking up query seeds in it.[19] BLAST indexes the queries and linearly processes the database.[20] DIAMOND indexes both queries and targets, then evaluates seed hits between them in a seed-by-seed order. The main advantage of this approach is better use of CPU caches by reusing cached data for all associated comparisons.[1]
Seed hits are passed through several heuristic filter stages[1][2] before being subjected to gapped Smith Waterman[21] extension computing the final alignments.