summary refs log tree commit diff
diff options
context:
space:
mode:
authorNavid Afkhami <navid.afkhami@mdc-berlin.de>2024-11-08 14:48:18 +0000
committerRicardo Wurmus <rekado@elephly.net>2024-11-11 10:43:58 +0100
commit6e19a94d5a5abd414544cba017b66799a3674a5a (patch)
tree37bf3d784c9afccf9161bb267cae682963aa5dea
parent9821e967b07ebd70d76ad1f528722c86ab0dd3c4 (diff)
downloadguix-6e19a94d5a5abd414544cba017b66799a3674a5a.tar.gz
gnu: Add python-harmonypy.
* gnu/packages/bioinformatics.scm (python-harmonypy): New variable.

Change-Id: Iad8be627099858776163fccfeb27c08129e6fb75
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
-rw-r--r--gnu/packages/bioinformatics.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 35ff96ce42..35b0cef0bd 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2397,6 +2397,32 @@ demultiplexing step.")
 from single-cell RNA-sequencing.")
     (license license:expat)))
 
+(define-public python-harmonypy
+  (package
+    (name "python-harmonypy")
+    (version "0.0.10")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/slowkow/harmonypy")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "15lxgncrnsx1hapfx78pvx4rjx5d48hqixdnacdy55d84myfmrym"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-numpy
+                             python-pandas
+                             python-scikit-learn
+                             python-scipy))
+    (native-inputs (list python-hatchling python-pytest))
+    (home-page "https://github.com/slowkow/harmonypy")
+    (synopsis "Data integration algorithm")
+    (description
+     "Harmony is an algorithm for integrating multiple high-dimensional
+datasets with fuzzy k-means and locally linear adjustments.")
+    (license license:gpl2)))
+
 (define-public python-hclust2
   (package
     (name "python-hclust2")