GNU bug report logs - #63849
[PATCH] gnu: Add python-cell2cell.

Previous Next

Package: guix-patches;

Reported by: Navid Afkhami <navid.afkhami <at> mdc-berlin.de>

Date: Fri, 2 Jun 2023 15:25:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63849 in the body.
You can then email your comments to 63849 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#63849; Package guix-patches. (Fri, 02 Jun 2023 15:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Navid Afkhami <navid.afkhami <at> mdc-berlin.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 02 Jun 2023 15:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Cc: Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
Subject: [PATCH] gnu: Add python-cell2cell.
Date: Fri, 2 Jun 2023 15:23:43 +0000
* gnu/packages/bioinformatics.scm (python-cell2cell): New variable.
---
 gnu/packages/bioinformatics.scm | 64 +++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 89f8041d56..6dbbc26eac 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1298,6 +1298,70 @@ (define-public python-biofluff
 experiments.")
     (license license:expat)))
 
+(define-public python-cell2cell
+  (package
+    (name "python-cell2cell")
+    (version "0.6.8")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/earmingol/cell2cell")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1hwww0rcv8sc4k312n4d0jhbyix1jjqgv5djg25bw8127q5iym3s"))
+              (modules '((guix build utils)))
+              (snippet '(begin
+                          (substitute* "cell2cell/plotting/factor_plot.py"
+                            (("from statannotations.Annotator import Annotator")
+                             "")
+                            (("if statistical_test is not None")
+                             "if False"))
+                          (substitute* "setup.py"
+                            (("'statannotations',")
+                             ""))
+                          (substitute* "setup.py"
+                            (("matplotlib >= 3.2.0,<=3.5.1")
+                             ""))
+                          (substitute* "setup.py"
+                            (("'gseapy == 1.0.3'")
+                             "'gseapy'"))))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:tests? #f ;There are no tests
+           #:phases '(modify-phases %standard-phases
+                       ;; Numba needs a writable dir to cache functions.
+                       (add-before 'build 'set-numba-cache-dir
+                         (lambda _
+                           (setenv "NUMBA_CACHE_DIR" "/tmp"))))))
+    (propagated-inputs (list python-gseapy
+                             python-kneed
+                             python-matplotlib
+                             python-networkx
+                             python-numpy
+                             python-openpyxl
+                             python-pandas
+                             python-scikit-learn
+                             python-scipy
+                             python-seaborn
+                             python-statsmodels
+                             python-scanpy
+                             python-seaborn
+                             python-tensorly
+                             python-tqdm
+                             python-umap-learn
+                             python-xlrd))
+    (native-inputs (list python-pytest))
+    (home-page "https://github.com/earmingol/cell2cell")
+    (synopsis "Python library for cell communication analysis")
+    (description
+     "Cell2cell is a Python library for cell communication analysis.
+This is a method to calculate, visualize and analyze communication
+between cell types.  Cell2cell is suitable for single-cell RNA sequencing
+(scRNA-seq) data.")
+    (license license:bsd-3)))
+
 (define-public python-cellbender
   (package
     (name "python-cellbender")

base-commit: a7d9cd742c3149bb014db95f88d1158d590bc124
-- 
2.34.1





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Fri, 02 Jun 2023 17:58:03 GMT) Full text and rfc822 format available.

Notification sent to Navid Afkhami <navid.afkhami <at> mdc-berlin.de>:
bug acknowledged by developer. (Fri, 02 Jun 2023 17:58:04 GMT) Full text and rfc822 format available.

Message #10 received at 63849-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 63849-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-cell2cell.
Date: Fri, 02 Jun 2023 19:57:01 +0200
Pushed with a few changes with commit
f09944461f97537364231ff213a84faadbfb5fe6.

Thank you!

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 01 Jul 2023 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 356 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.