about summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorscalavision <scalavision@gmail.com>2019-10-11 04:08:45 +0200
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2019-10-10 22:08:45 -0400
commit3d860972eefe10e04b7994d85f88dc7aeb6db248 (patch)
treeb50210149cedde73f2bc64b3cbe3768711bfa28f /pkgs/applications/science
parent9cf81e9174ef3e4a1799a0dae9deffbdfc39a3fa (diff)
downloadnixlib-3d860972eefe10e04b7994d85f88dc7aeb6db248.tar
nixlib-3d860972eefe10e04b7994d85f88dc7aeb6db248.tar.gz
nixlib-3d860972eefe10e04b7994d85f88dc7aeb6db248.tar.bz2
nixlib-3d860972eefe10e04b7994d85f88dc7aeb6db248.tar.lz
nixlib-3d860972eefe10e04b7994d85f88dc7aeb6db248.tar.xz
nixlib-3d860972eefe10e04b7994d85f88dc7aeb6db248.tar.zst
nixlib-3d860972eefe10e04b7994d85f88dc7aeb6db248.zip
delly: init at 0.8.1 (#70871)
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/biology/delly/default.nix40
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/applications/science/biology/delly/default.nix b/pkgs/applications/science/biology/delly/default.nix
new file mode 100644
index 000000000000..bfdf5a1bb17e
--- /dev/null
+++ b/pkgs/applications/science/biology/delly/default.nix
@@ -0,0 +1,40 @@
+{ stdenv, fetchFromGitHub, htslib, zlib, bzip2, lzma, ncurses, boost }:
+
+stdenv.mkDerivation rec {
+  pname = "delly";
+  version = "0.8.1";
+
+  src = fetchFromGitHub {
+      owner = "dellytools";
+      repo = pname;
+      rev = "v${version}";
+      sha256 = "18gm86j1g1k4z1cjv2m5v9rsl1xqs2w3dhwcsnzx2mhkrvmlc4i1";
+  };
+
+  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.gpl3;
+    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.
+    '';
+  };
+}