[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/12: gnu: Add python-qnorm.
From: |
guix-commits |
Subject: |
09/12: gnu: Add python-qnorm. |
Date: |
Fri, 5 May 2023 09:40:27 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 25623a3b34f89e7c3f882b30cd679358d4c8d02b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri May 5 15:37:10 2023 +0200
gnu: Add python-qnorm.
* gnu/packages/python-xyz.scm (python-qnorm): New variable.
---
gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f3bebc9881..38af693ab6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11123,6 +11123,42 @@ provides convenient short API for print out of values,
tracebacks, and
falling into the Python interpreter.")
(license license:asl2.0)))
+(define-public python-qnorm
+ (package
+ (name "python-qnorm")
+ (version "0.8.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "qnorm" version))
+ (sha256
+ (base32
+ "1iykxrvlg32h78d3cr0137x93w8krcwc8gdqyfj55id917pz7ck1"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:tests? #false ;there are none
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-pyproject-format
+ (lambda _
+ (substitute* "pyproject.toml"
+ (("url = .*") (string-append "version = \"" #$version "\""))
+ (("python_requires.*") "")
+ (("packages =.*") "")
+ (("install_requires") "dependencies")
+ (("\"Maarten van der Sande <maartenvandersande@hotmail.com>\"")
+ "{ name = \"Maarten van der Sande\", email =
\"maartenvandersande@hotmail.com\"}")
+ (("license = \"MIT\"") "license = { file = \"LICENSE\"}")))))))
+ (propagated-inputs (list python-numba python-numpy python-pandas))
+ (home-page "https://github.com/Maarten-vd-Sande/qnorm";)
+ (synopsis "Quantile normalization")
+ (description "This tool implements quantile normalization. It properly
+resolves rank ties, which is important when ties happen frequently, such as
+when working with discrete numbers (integers) in count tables. This
+implementation should be relatively fast, and can use multiple cores to sort
+the columns and tie-resolvement is accelerated by numba.")
+ (license license:expat)))
+
(define-public python-xlib
(package
(name "python-xlib")
- branch master updated (3efdc84bbd -> dc8b3ebe5d), guix-commits, 2023/05/05
- 03/12: gnu: Add protobuf-3.20., guix-commits, 2023/05/05
- 04/12: gnu: Add python-mysql-connector-python., guix-commits, 2023/05/05
- 09/12: gnu: Add python-qnorm.,
guix-commits <=
- 11/12: gnu: Add python-norns., guix-commits, 2023/05/05
- 06/12: gnu: Add python-filelock-3.5., guix-commits, 2023/05/05
- 07/12: gnu: Add python-genomepy., guix-commits, 2023/05/05
- 08/12: gnu: Add python-biofluff., guix-commits, 2023/05/05
- 01/12: gnu: python-pyfaidx: Update to 0.7.2.1., guix-commits, 2023/05/05
- 02/12: gnu: Add python-palettable., guix-commits, 2023/05/05
- 05/12: gnu: Add python-logomaker., guix-commits, 2023/05/05
- 10/12: gnu: Add python-xdg., guix-commits, 2023/05/05
- 12/12: gnu: Add python-gimmemotifs., guix-commits, 2023/05/05