GNU bug report logs -
#76073
[PATCH] gnu: Add python-cnmf.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76073 in the body.
You can then email your comments to 76073 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#76073
; Package
guix-patches
.
(Wed, 05 Feb 2025 16:22:01 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
.
(Wed, 05 Feb 2025 16:22:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/bioinformatics.scm (python-cnmf): New variable.
Change-Id: I8a4f2293bde59b10e7b673025bbb4c5a8420738b
---
gnu/packages/bioinformatics.scm | 43 +++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 317c15817e..7566346df1 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2581,6 +2581,49 @@ (define-public python-cmseq
and sequence consensus.")
(license license:expat)))
+(define-public python-cnmf
+ (package
+ (name "python-cnmf")
+ (version "1.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "cnmf" version))
+ (sha256
+ (base32 "0aic8cwj6riykcfgl6v2x3si5z04gaknkh5a8lcyv1qh4s1gx3d3"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:tests? #f ;There are no tests
+ #:phases '(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda _
+ (setenv "MPLCONFIGDIR" "/tmp")))
+ ;; 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-anndata
+ python-fastcluster
+ python-matplotlib
+ python-numba
+ python-numpy
+ python-palettable
+ python-pandas
+ python-pyyaml
+ python-scanpy
+ python-scikit-learn
+ python-scipy))
+ (native-inputs (list python-setuptools python-wheel))
+ (home-page "https://github.com/dylkot/cNMF")
+ (synopsis "Consensus NMF for scRNA-Seq data")
+ (description
+ "This tool offers a pipeline for inferring gene expression programs from scRNA-Seq.
+It takes a count matrix (N cells X G genes) as input and produces a (K x G) matrix of
+gene expression programs (GEPs) and a (N x K) matrix specifying the usage of each
+program for each cell in the data.")
+ (license license:expat)))
+
(define-public python-cyvcf2
(package
(name "python-cyvcf2")
base-commit: 49a113e3fc618d6f6bd5000c164a1d33701a30c4
--
2.43.0
Reply sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
You have taken responsibility.
(Wed, 05 Feb 2025 17:53:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
:
bug acknowledged by developer.
(Wed, 05 Feb 2025 17:53:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 76073-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
Thank you for the patch.
I've applied some cosmetic adjustments:
--8<---------------cut here---------------start------------->8---
@@ -2596,34 +2596,36 @@ (define-public python-cnmf
(build-system pyproject-build-system)
(arguments
(list
- #:tests? #f ;There are no tests
- #:phases '(modify-phases %standard-phases
- (add-before 'check 'pre-check
- (lambda _
- (setenv "MPLCONFIGDIR" "/tmp")))
- ;; 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-anndata
- python-fastcluster
- python-matplotlib
- python-numba
- python-numpy
- python-palettable
- python-pandas
- python-pyyaml
- python-scanpy
- python-scikit-learn
- python-scipy))
- (native-inputs (list python-setuptools python-wheel))
+ #:tests? #f ; no tests in git checkout and PyPI archive
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-envs
+ (lambda _
+ (setenv "MPLCONFIGDIR" "/tmp")
+ ;; Numba needs a writable dir to cache functions.
+ (setenv "NUMBA_CACHE_DIR" "/tmp"))))))
+ (native-inputs
+ (list python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-anndata
+ python-fastcluster
+ python-matplotlib
+ python-numba
+ python-numpy
+ python-palettable
+ python-pandas
+ python-pyyaml
+ python-scanpy
+ python-scikit-learn
+ python-scipy))
(home-page "https://github.com/dylkot/cNMF")
(synopsis "Consensus NMF for scRNA-Seq data")
(description
- "This tool offers a pipeline for inferring gene expression programs from scRNA-Seq.
-It takes a count matrix (N cells X G genes) as input and produces a (K x G) matrix of
-gene expression programs (GEPs) and a (N x K) matrix specifying the usage of each
-program for each cell in the data.")
+ "This tool offers a pipeline for inferring gene expression programs from
+scRNA-Seq. It takes a count matrix (N cells X G genes) as input and produces
+a (K x G) matrix of gene expression programs (GEPs) and a (N x K) matrix
+specifying the usage of each program for each cell in the data.")
(license license:expat)))
--8<---------------cut here---------------end--------------->8---
Pushed to master as 985c0fd63c1f0c1f2ab8adaac3109ccdad258a28
--
Oleg
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 06 Mar 2025 12:24:18 GMT)
Full text and
rfc822 format available.
This bug report was last modified 156 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.