guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 21/22] gnu: Add raxml.


From: Ben Woodcroft
Subject: [PATCH 21/22] gnu: Add raxml.
Date: Wed, 27 Jul 2016 22:54:22 +1000

* gnu/packages/bioinformatics.scm (raxml): New variable.
---
 gnu/packages/bioinformatics.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index ea37a93..4e599a7 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3297,6 +3297,46 @@ format.  It runs quickly, in an unsupervised fashion, 
handles gaps, handles
 partial genes, and identifies translation initiation sites.")
     (license license:gpl3+)))
 
+(define-public raxml
+  (package
+    (name "raxml")
+    (version "8.2.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append
+         "https://github.com/stamatak/standard-RAxML/archive/v";
+         version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1pv8p2fy67y21a9y4cm7xpvxqjwz2v4201flfjshdq1p8j52rqf7"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; There are no tests.
+       ;; Use 'standard' Makefile rather than SSE or AVX ones.
+       #:make-flags (list "-f" "Makefile.HYBRID.gcc")
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (bin (string-append out "/bin"))
+                    (executable "raxmlHPC-HYBRID"))
+               (install-file executable bin)
+               (symlink (string-append bin "/" executable) "raxml"))
+             #t)))))
+    (inputs
+     `(("openmpi" ,openmpi)))
+    (home-page "http://sco.h-its.org/exelixis/web/software/raxml/index.html";)
+    (synopsis "Randomized Axelerated Maximum Likelihood phylogenetic trees")
+    (description
+     "RAxML is a tool for phylogenetic analysis and post-analysis of large
+phylogenies.")
+    (license license:gpl2+)))
+
 (define-public rsem
   (package
     (name "rsem")
-- 
2.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]