From 6a82745746d8bfb910dae7d2c17b13ba0e5dc8bc Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 23 Jan 2024 13:30:59 +0100 Subject: [PATCH] gnu: Add python-magic-impute. * gnu/packages/bioinformatics.scm (python-magic-impute): New variable. Change-Id: Iba5240e9920a1045078c736553cb1d56069963b5 --- gnu/packages/bioinformatics.scm | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 40a264fd61..b403fdbdf5 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2149,6 +2149,45 @@ matplotlib Axes objects, making them easy to style and incorporate into multi-panel figures.") (license license:expat))) +(define-public python-magic-impute + (package + (name "python-magic-impute") + (version "1.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/KrishnaswamyLab/MAGIC") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1yjs16vg87lcg9g16bnblg1v9sk73j6dm229lkcz0bfjlzxjhv8w")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #false ;there are none + #:phases + '(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ (chdir "python")))))) + (propagated-inputs + (list python-future + python-graphtools + python-matplotlib + python-numpy + python-pandas + python-scikit-learn + python-scipy + python-tasklogger)) + (home-page "https://github.com/KrishnaswamyLab/MAGIC") + (synopsis "Markov affinity-based graph imputation of cells") + (description "MAGIC is an interactive tool to impute missing values in +single-cell sequencing data and to restore the structure of the data. It also +provides data pre-processing functionality such as dimensionality reduction +and gene expression visualization.") + (license license:gpl2+))) + (define-public python-parabam (package (name "python-parabam")