Subject: bug#61382: closed ([PATCH 1/2] gnu: Add python-scrublet.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 09 Feb 2023 08:40:02 +0000

Your bug report

#61382: [PATCH 1/2] gnu: Add python-scrublet.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
61382: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61382
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH 1/2] gnu: Add python-scrublet.
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Thu, 09 Feb 2023 09:38:59 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Applied with minor changes.  Thank you!

-- 
Ricardo

Subject: [PATCH 1/2] gnu: Add python-scrublet.
From: Navid Afkhami <[email-masked]>
To: <[email-masked]>
Date: Thu, 9 Feb 2023 09:12:34 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/bioinformatics.scm (python-scrublet): New variable.
---
 gnu/packages/bioinformatics.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 969b978054..05a078b0b0 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3459,6 +3459,32 @@ (define-public python-scikit-bio
 resources for bioinformatics.")
     (license license:bsd-3)))
 
+(define-public python-scrublet
+  (package
+    (name "python-scrublet")
+    (version "0.2.3")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "scrublet" version))
+              (sha256
+               (base32
+                "0fk5pwk12yz9wpvwkl6j2l2g28f3x35b9r9n5bw6f0i9f0qgd191"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-annoy
+                             python-cython
+                             python-matplotlib
+                             python-numba
+                             python-numpy
+                             python-pandas
+                             python-scikit-image
+                             python-scikit-learn
+                             python-scipy
+                             python-umap-learn))
+    (home-page "https://github.com/swolock/scrublet")
+    (synopsis "single-cell tool to indentify and remove doublets")
+    (description "Tool for identifying and removing doublets in single-cell RNA-seq data.")
+    (license license:expat)))
+
 (define-public cwltool
   (package
     (name "cwltool")
-- 
2.34.1