summary refs log tree commit diff
path: root/gnu/packages/bioinformatics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-01-16 19:35:37 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-01-16 19:35:37 +0100
commit9a9f05f1f2427028f70d3f1ab864959b18029f1b (patch)
tree66f7bd5117c6092eaaea6585c9f3c14c3eceea75 /gnu/packages/bioinformatics.scm
parente0369ba57dd532290a4057113f5ae9a7a8feff86 (diff)
downloadguix-9a9f05f1f2427028f70d3f1ab864959b18029f1b.tar.gz
gnu: Add samtools-1.14.
* gnu/packages/bioinformatics.scm (samtools-1.14): New variable.

Change-Id: I0bd35b3865d7a417f55f1f768f7eb0c78a795e0f
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r--gnu/packages/bioinformatics.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b4b848c0c0..e7ae52176d 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -8520,6 +8520,26 @@ variant calling (in conjunction with bcftools), and a simple alignment
 viewer.")
     (license license:expat)))
 
+(define-public samtools-1.14
+  (package/inherit samtools
+    (version "1.14")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "mirror://sourceforge/samtools/samtools/"
+                       version "/samtools-" version ".tar.bz2"))
+       (sha256
+        (base32
+         "0x3xdda78ac5vx66b3jdsv9sfhyz4npl4znl1zbaf3lbm6xdlhck"))
+       (modules '((guix build utils)))
+       (snippet '(begin
+                   ;; Delete bundled htslib.
+                   (delete-file-recursively "htslib-1.14")))))
+    (native-inputs (list pkg-config))
+    (inputs
+     (list htslib-1.14 ncurses perl python zlib))))
+
 (define-public samtools-1.12
   (package/inherit samtools
     (version "1.12")