GNU bug report logs - #58750
[PATCH] gnu: Add python-multivelo.

Previous Next

Package: guix-patches;

Reported by: Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de>

Date: Sun, 23 Oct 2022 21:38: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 58750 in the body.
You can then email your comments to 58750 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#58750; Package guix-patches. (Sun, 23 Oct 2022 21:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 23 Oct 2022 21:38:02 GMT) Full text and rfc822 format available.

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

From: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add python-multivelo.
Date: Sun, 23 Oct 2022 23:37:21 +0200
 X-Debbugs-Cc: rekado <at> elephly.net

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

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index f2de09aa32..d7426c0ac9 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -10540,6 +10540,68 @@ (define-public python-biothings-client
 API services.")
     (license license:bsd-3)))
 
+(define-public python-multivelo
+  (package
+    (name "python-multivelo")
+    (version "0.1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "multivelo" version))
+              (sha256
+               (base32
+                "1b4qyngwagh5sc2ygyfqyirg63myzh1g1glk03a1ykxfii32cjlp"))))
+    (build-system python-build-system)
+    (arguments
+     (list
+      #:tests? #f ;pypi source does not contains tests
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'build
+            (lambda _
+              ;; ZIP does not support timestamps before 1980.
+              (setenv "SOURCE_DATE_EPOCH" "315532800")
+              (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
+           (replace 'install
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (add-installed-pythonpath inputs outputs)
+               (for-each
+                 (lambda (wheel)
+                   (format #t wheel)
+                   (invoke "python" "-m" "pip" "install"
+                            wheel (string-append "--prefix=" #$output)))
+                 (find-files "dist" "\\.whl$"))))
+           (add-before 'sanity-check 'set-env
+             (lambda _
+               ;; /homeless-shelter/.config/matplotlib is not a writable directory;
+               (setenv "MPLCONFIGDIR" "/tmp")
+               ;; numba RuntimeError: cannot cache function 'rdist'
+               (setenv "NUMBA_CACHE_DIR" "/tmp"))))))
+    (native-inputs (list python-pypa-build))
+    (propagated-inputs
+      (list python-anndata
+            python-h5py
+            python-ipywidgets
+            python-joblib
+            python-loompy
+            python-matplotlib
+            python-numba
+            python-numpy
+            python-pandas
+            python-scanpy
+            python-scikit-learn
+            python-scipy
+            python-seaborn
+            python-tqdm
+            python-umap-learn
+            scvelo))
+    (home-page "https://github.com/welch-lab/MultiVelo")
+    (synopsis "Velocity inference from single-cell multi-omic data")
+    (description "@code{MultiVelo} uses a probabilistic latent variable model
+to estimate the switch time and rate parameters of gene regulation, providing a
+quantitative summary of the temporal relationship between epigenomic and
+transcriptomic changes.")
+    (license license:bsd-3)))
+
 (define-public python-mygene
   (package
     (name "python-mygene")

base-commit: 3734857fc55df2c599c2fe5cc4ae49f5d47879fc
-- 
2.37.3





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Thu, 27 Oct 2022 13:16:02 GMT) Full text and rfc822 format available.

Notification sent to Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de>:
bug acknowledged by developer. (Thu, 27 Oct 2022 13:16:02 GMT) Full text and rfc822 format available.

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

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 58750-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-multivelo.
Date: Thu, 27 Oct 2022 15:15:37 +0200
Applied with minor changes, thanks!

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 25 Nov 2022 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 210 days ago.

Previous Next


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