nixpkgs/pkgs/applications/science/biology/delly/default.nix

41 lines
1.2 KiB
Nix
Raw Normal View History

2021-03-14 18:12:53 +00:00
{ lib, stdenv, fetchpatch, fetchFromGitHub, htslib, zlib, bzip2, xz, ncurses, boost }:
2019-10-11 02:08:45 +00:00
2020-09-29 23:52:41 +00:00
stdenv.mkDerivation rec {
2019-10-11 02:08:45 +00:00
pname = "delly";
2021-01-18 14:22:30 +00:00
version = "0.8.7";
2019-10-11 02:08:45 +00:00
src = fetchFromGitHub {
owner = "dellytools";
repo = pname;
rev = "v${version}";
2021-01-18 14:22:30 +00:00
sha256 = "sha256-DWwC35r8cQbePUzppkFQlev0YZdxk2+BSrNTW/DOY3M=";
2019-10-11 02:08:45 +00:00
};
2021-03-14 18:12:53 +00:00
buildInputs = [ zlib htslib bzip2 xz ncurses boost ];
2019-10-11 02:08:45 +00:00
EBROOTHTSLIB = htslib;
installPhase = ''
runHook preInstall
install -Dm555 src/delly $out/bin/delly
runHook postInstall
'';
meta = with lib; {
2019-10-11 02:08:45 +00:00
description = "Structural variant caller for mapped DNA sequenced data";
2020-09-29 23:52:41 +00:00
license = licenses.bsd3;
2019-10-11 02:08:45 +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.
'';
};
}