guix-commits
[Top][All Lists]
Advanced

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

06/06: gnu: python2-fastlmm: Move to machine-learning.scm.


From: guix-commits
Subject: 06/06: gnu: python2-fastlmm: Move to machine-learning.scm.
Date: Mon, 7 Jan 2019 08:41:09 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 915c6bf60cd6bd69fafc3acc69fac1242c3d96a3
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jan 7 14:14:50 2019 +0100

    gnu: python2-fastlmm: Move to machine-learning.scm.
    
    This is a step towards removing OCaml modules from the closure
    of (gnu packages python).
    
    * gnu/packages/python.scm (python2-fastlmm): Move to...
    * gnu/packages/machine-learning.scm (python2-fastlmm): ... here.
---
 gnu/packages/machine-learning.scm | 34 ++++++++++++++++++++++++++++++++++
 gnu/packages/python.scm           | 35 -----------------------------------
 2 files changed, 34 insertions(+), 35 deletions(-)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 084e62c..39ac7ca 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -873,3 +873,37 @@ the following advantages:
 such as online, hashing, allreduce, reductions, learning2search, active, and
 interactive learning.")
     (license license:bsd-3)))
+
+(define-public python2-fastlmm
+  (package
+    (name "python2-fastlmm")
+    (version "0.2.21")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "fastlmm" version ".zip"))
+       (sha256
+        (base32
+         "1q8c34rpmwkfy3r4d5172pzdkpfryj561897z9r3x22gq7813x1m"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2)) ; only Python 2.7 is supported
+    (propagated-inputs
+     `(("python2-numpy" ,python2-numpy)
+       ("python2-scipy" ,python2-scipy)
+       ("python2-matplotlib" ,python2-matplotlib)
+       ("python2-pandas" ,python2-pandas)
+       ("python2-scikit-learn" ,python2-scikit-learn)
+       ("python2-pysnptools" ,python2-pysnptools)))
+    (native-inputs
+     `(("unzip" ,unzip)
+       ("python2-cython" ,python2-cython)
+       ("python2-mock" ,python2-mock)
+       ("python2-nose" ,python2-nose)))
+    (home-page 
"http://research.microsoft.com/en-us/um/redmond/projects/mscompbio/fastlmm/";)
+    (synopsis "Perform genome-wide association studies on large data sets")
+    (description
+     "FaST-LMM, which stands for Factored Spectrally Transformed Linear Mixed
+Models, is a program for performing both single-SNP and SNP-set genome-wide
+association studies (GWAS) on extremely large data sets.")
+    (license license:asl2.0)))
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2fa5100..a1a9b44 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -103,7 +103,6 @@
   #:use-module (gnu packages libffi)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
-  #:use-module (gnu packages machine-learning)
   #:use-module (gnu packages man)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages multiprecision)
@@ -3228,40 +3227,6 @@ color scales, and color space conversion easy.  It has 
support for:
 (define-public python2-spectra
   (package-with-python2 python-spectra))
 
-(define-public python2-fastlmm
-  (package
-    (name "python2-fastlmm")
-    (version "0.2.21")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "fastlmm" version ".zip"))
-       (sha256
-        (base32
-         "1q8c34rpmwkfy3r4d5172pzdkpfryj561897z9r3x22gq7813x1m"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:python ,python-2)) ; only Python 2.7 is supported
-    (propagated-inputs
-     `(("python2-numpy" ,python2-numpy)
-       ("python2-scipy" ,python2-scipy)
-       ("python2-matplotlib" ,python2-matplotlib)
-       ("python2-pandas" ,python2-pandas)
-       ("python2-scikit-learn" ,python2-scikit-learn)
-       ("python2-pysnptools" ,python2-pysnptools)))
-    (native-inputs
-     `(("unzip" ,unzip)
-       ("python2-cython" ,python2-cython)
-       ("python2-mock" ,python2-mock)
-       ("python2-nose" ,python2-nose)))
-    (home-page 
"http://research.microsoft.com/en-us/um/redmond/projects/mscompbio/fastlmm/";)
-    (synopsis "Perform genome-wide association studies on large data sets")
-    (description
-     "FaST-LMM, which stands for Factored Spectrally Transformed Linear Mixed
-Models, is a program for performing both single-SNP and SNP-set genome-wide
-association studies (GWAS) on extremely large data sets.")
-    (license license:asl2.0)))
-
 (define-public python-numpy-documentation
   (package
     (name "python-numpy-documentation")



reply via email to

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