depot/third_party/nixpkgs/pkgs/applications/science/biology/delly/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

40 lines
1.2 KiB
Nix

{ lib, stdenv, fetchFromGitHub, htslib, zlib, bzip2, xz, ncurses, boost }:
stdenv.mkDerivation rec {
pname = "delly";
version = "1.1.6";
src = fetchFromGitHub {
owner = "dellytools";
repo = pname;
rev = "v${version}";
sha256 = "sha256-/I//7MhsC/CcBeIJblzbjXp/yOSBm83KWJsrYpl6UJk=";
};
buildInputs = [ zlib htslib bzip2 xz ncurses boost ];
EBROOTHTSLIB = htslib;
installPhase = ''
runHook preInstall
install -Dm555 src/delly $out/bin/delly
runHook postInstall
'';
meta = with 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.
'';
};
}