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";
|
|
|
|
version = "0.8.36";
|
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}";
|
|
|
|
sha256 = "sha256-7uqOQOzkYN0RNwKBGUZ/Ny5NVZMoGByOk+GUvjdBzck=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./diamond-0.8.36-no-warning.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
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 = ''
|
|
|
|
A sequence aligner for protein and translated DNA
|
|
|
|
searches and functions as a drop-in replacement for the NCBI BLAST
|
|
|
|
software tools. It is suitable for protein-protein search as well as
|
|
|
|
DNA-protein search on short reads and longer sequences including contigs
|
|
|
|
and assemblies, providing a speedup of BLAST ranging up to x20,000.
|
|
|
|
|
|
|
|
DIAMOND is developed by Benjamin Buchfink. Feel free to contact him for support (Email Twitter).
|
|
|
|
|
|
|
|
If you use DIAMOND in published research, please cite
|
|
|
|
B. Buchfink, Xie C., D. Huson,
|
|
|
|
"Fast and sensitive protein alignment using DIAMOND",
|
|
|
|
Nature Methods 12, 59-60 (2015).
|
2021-12-06 16:07:01 +00:00
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/bbuchfink/diamond";
|
|
|
|
license = {
|
|
|
|
fullName = "University of Tuebingen, Benjamin Buchfink";
|
|
|
|
url = "https://raw.githubusercontent.com/bbuchfink/diamond/master/src/COPYING";
|
|
|
|
};
|
|
|
|
maintainers = [ maintainers.metabar ];
|
|
|
|
};
|
|
|
|
}
|