2021-04-05 15:23:46 +00:00
|
|
|
{ lib, stdenv, fetchpatch, fetchFromGitHub, htslib, zlib, bzip2, xz, ncurses, boost }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-10-16 20:44:37 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "delly";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "0.9.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dellytools";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "sha256-p1pryP+ktGt8OHFiASJQ3T+K94cNBG9fLxsJ2n/T+DA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
buildInputs = [ zlib htslib bzip2 xz ncurses boost ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
EBROOTHTSLIB = htslib;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
install -Dm555 src/delly $out/bin/delly
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Structural variant caller for mapped DNA sequenced data";
|
2020-10-16 20:44:37 +00:00
|
|
|
license = licenses.bsd3;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ scalavision ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
longDescription = ''
|
|
|
|
Delly is an integrated structural variant (SV) prediction method
|
|
|
|
that can discover, genotype and visualize deletions, tandem duplications,
|
|
|
|
inversions and translocations at single-nucleotide resolution in
|
|
|
|
short-read massively parallel sequencing data. It uses paired-ends,
|
|
|
|
split-reads and read-depth to sensitively and accurately delineate
|
|
|
|
genomic rearrangements throughout the genome.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|