diff options
author | Roel Janssen | 2016-02-22 10:44:54 +0100 |
---|---|---|
committer | Roel Janssen | 2016-02-22 10:44:54 +0100 |
commit | 840ff7f96e50cb9e58832c573ce3a9b05a2888c9 (patch) | |
tree | 2a29eb52d435f640e72997d44f47e99be32bae8c /gn/packages/statistics.scm | |
parent | 03ebb3b1a374406039494bdf5d0cb1493ddb97d8 (diff) | |
parent | 520b002306561ed81599ddfed18f9662b99d5846 (diff) | |
download | guix-bioinformatics-840ff7f96e50cb9e58832c573ce3a9b05a2888c9.tar.gz |
Synchronise with upstream.
Diffstat (limited to 'gn/packages/statistics.scm')
-rw-r--r-- | gn/packages/statistics.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gn/packages/statistics.scm b/gn/packages/statistics.scm index 065826e..2d83816 100644 --- a/gn/packages/statistics.scm +++ b/gn/packages/statistics.scm @@ -148,3 +148,43 @@ "R/lmmlite") (home-page "https://github.com/kbroman/") (license license:asl2.0))) + +(define-public pylmm-gn2 + (let ((commit "3c6d1cac8")) + (package + (name "pylmm-gn2") + (version (string-append "1.0-" commit )) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/genenetwork/pylmm.git") + (commit commit))) + (file-name (string-append name "-" commit)) + (sha256 + (base32 + "0wryaadb36i275p9d2i1kzflahvbl9kj5wlk8jlbvjij8gpqg964")))) + (build-system python-build-system) + (inputs `( + ("python2-setuptools" ,python2-setuptools) + ("python2-scipy" ,python2-scipy) + ("python2-numpy" ,python2-numpy) + )) + (arguments + `(#:python ,python-2 + #:tests? #f ; no 'setup.py test' + #:phases + (modify-phases %standard-phases + (add-before + 'build 'change-paths + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "scripts/pylmm_redis" + (("/usr/bin/python") (which "python")) + (("\\$PACKAGEDIR") (string-append out "/lib/python2.7/site-packages"))) + )))))) + + (home-page "http://genenetwork.org/") + (synopsis "LMM resolver") + (description "Fast and lightweight linear mixed-model (LMM) solver +for use in genome-wide association studies (GWAS).") + (license license:agpl3+)))) |