depot/third_party/nixpkgs/pkgs/applications/science/biology/delly/default.nix
Default email b6d97fd731 Project import generated by Copybara.
GitOrigin-RevId: be0b453d7c7eee2090962c9a83749b024ff9acf5
2020-12-25 14:55:36 +01:00

40 lines
1.2 KiB
Nix

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