unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74259] [PATCH] gnu: Add python-harmonypy.
@ 2024-11-08 14:48 Navid Afkhami
  2024-11-11  9:53 ` bug#74259: " Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: Navid Afkhami @ 2024-11-08 14:48 UTC (permalink / raw)
  To: 74259; +Cc: Navid Afkhami

* gnu/packages/bioinformatics.scm (python-harmonypy): New variable.

Change-Id: Iad8be627099858776163fccfeb27c08129e6fb75
---
 gnu/packages/bioinformatics.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 35ff96ce42..3b393acce2 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2397,6 +2397,32 @@ (define-public python-doubletdetection
 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-hatchling
+                             python-numpy
+                             python-pandas
+                             python-scikit-learn
+                             python-scipy))
+    (native-inputs (list python-pytest))
+    (home-page "https://github.com/slowkow/harmonypy")
+    (synopsis "Data integration algorithm")
+    (description
+     "Harmony is an algorithm for integrating multiple high-dimensional datasets.")
+    (license license:gpl2)))
+
 (define-public python-hclust2
   (package
     (name "python-hclust2")

base-commit: 2a6d96425eea57dc6dd48a2bec16743046e32e06
prerequisite-patch-id: 8f31c5ea3685b59fb6907a9582c0ca537c9c38bd
prerequisite-patch-id: e9f28e6ac20c9572b3cc53ab09c4083161bfdf8d
-- 
2.43.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#74259: [PATCH] gnu: Add python-harmonypy.
  2024-11-08 14:48 [bug#74259] [PATCH] gnu: Add python-harmonypy Navid Afkhami
@ 2024-11-11  9:53 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2024-11-11  9:53 UTC (permalink / raw)
  To: 74259-done

Thanks for the patch.  I moved hatchling to the native inputs because
it's only needed at build time.  I also extended the description a
little bit.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-11  9:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-08 14:48 [bug#74259] [PATCH] gnu: Add python-harmonypy Navid Afkhami
2024-11-11  9:53 ` bug#74259: " Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).