aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins <pjotr.public01@thebird.nl>2017-05-18 05:59:47 +0000
committerLudovic Courtès <ludo@gnu.org>2017-05-18 14:22:03 +0200
commit2b18ad054cf5a09582bc96ac7755452e7a5924e1 (patch)
treeb4072e285fa40bd37cf79feafd4fc4822e896ac0
parentf69c29f76d250897f70f6e189dfc2b0e4b8e4fa3 (diff)
downloadguix-2b18ad054cf5a09582bc96ac7755452e7a5924e1.tar
guix-2b18ad054cf5a09582bc96ac7755452e7a5924e1.tar.gz
gnu: Add gemma.
* gnu/packages/bioinformatics.scm (gemma): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/bioinformatics.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 9f5d8141d8..d35b51d852 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2696,6 +2696,46 @@ comment or quality sections.")
(supported-systems '("x86_64-linux"))
(license license:expat))))
+(define-public gemma
+ (package
+ (name "gemma")
+ (version "0.96")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/xiangzhou/GEMMA/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "055ynn16gd12pf78n4vr2a9jlwsbwzajpdnf2y2yilg1krfff222"))))
+ (inputs
+ `(("gsl" ,gsl)
+ ("lapack" ,lapack)
+ ("zlib" ,zlib)))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags '("FORCE_DYNAMIC=1") ; use shared libs
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'build 'bin-mkdir
+ (lambda _
+ (mkdir-p "bin")))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (install-file "bin/gemma"
+ (string-append
+ out "/bin"))))))
+ #:tests? #f)) ; no tests included yet
+ (home-page "https://github.com/xiangzhou/GEMMA")
+ (synopsis "Tool for genome-wide efficient mixed model association")
+ (description
+ "Genome-wide Efficient Mixed Model Association (GEMMA) provides a
+standard linear mixed model resolver with application in genome-wide
+association studies (GWAS).")
+ (license license:gpl3)))
+
(define-public grit
(package
(name "grit")