2021-12-24 04:21:11 +00:00
|
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, zlib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
pname = "diamond";
|
2023-03-04 12:14:45 +00:00
|
|
|
|
version = "2.1.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
2021-12-24 04:21:11 +00:00
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "bbuchfink";
|
|
|
|
|
repo = "diamond";
|
|
|
|
|
rev = "v${version}";
|
2023-03-04 12:14:45 +00:00
|
|
|
|
sha256 = "sha256-gvPftUSH+Gnn8LQeORpv7jjHewUKSeo2FVNcoaE2GKU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
|
description = "Accelerated BLAST compatible local sequence aligner";
|
|
|
|
|
longDescription = ''
|
2022-09-09 14:08:57 +00:00
|
|
|
|
DIAMOND is a sequence aligner for protein and translated DNA searches, designed for high performance analysis of big sequence data. The key features are:
|
|
|
|
|
- Pairwise alignment of proteins and translated DNA at 100x-10,000x speed of BLAST.
|
|
|
|
|
- Frameshift alignments for long read analysis.
|
|
|
|
|
- Low resource requirements and suitable for running on standard desktops or laptops.
|
|
|
|
|
- Various output formats, including BLAST pairwise, tabular and XML, as well as taxonomic classification.
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
|
When using the tool in published research, please cite:
|
|
|
|
|
- Buchfink B, Reuter K, Drost HG, "Sensitive protein alignments at tree-of-life scale using DIAMOND", Nature Methods 18, 366–368 (2021). doi:10.1038/s41592-021-01101-x
|
2021-12-06 16:07:01 +00:00
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
homepage = "https://github.com/bbuchfink/diamond";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
|
maintainers = with lib.maintainers; [ thyol ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
};
|
|
|
|
|
}
|