3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/biology/delly/default.nix

41 lines
1.2 KiB
Nix
Raw Normal View History

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