GNU bug report logs - #54790
[PATCH 0/3] Add r-copykat and dependencies

Previous Next

Package: guix-patches;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Fri, 8 Apr 2022 14:59: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 54790 in the body.
You can then email your comments to 54790 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 rekado <at> elephly.net, guix-patches <at> gnu.org:
bug#54790; Package guix-patches. (Fri, 08 Apr 2022 14:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to zimoun <zimon.toutoune <at> gmail.com>:
New bug report received and forwarded. Copy sent to rekado <at> elephly.net, guix-patches <at> gnu.org. (Fri, 08 Apr 2022 14:59:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
Subject: [PATCH 0/3] Add r-copykat and dependencies
Date: Fri,  8 Apr 2022 16:58:29 +0200
Hi,

I hope that all is fine.


Cheers,
simon

zimoun (3):
  gnu: Add r-paralleldist.
  gnu: Add r-dlm.
  gnu: Add r-copykat.

 gnu/packages/bioinformatics.scm | 38 +++++++++++++++++++++++
 gnu/packages/cran.scm           | 53 +++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+)


base-commit: 09ec1d65613e111a3ee2cbeda350441e058deb8f
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#54790; Package guix-patches. (Fri, 08 Apr 2022 15:01:01 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: 54790 <at> debbugs.gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
Subject: [PATCH 1/3] gnu: Add r-paralleldist.
Date: Fri,  8 Apr 2022 16:59:52 +0200
* gnu/packages/cran.scm (r-paralleldist): New variable.
---
 gnu/packages/cran.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index be77a57f28..b9ea1144f2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1074,6 +1074,39 @@ (define-public r-pacman
 functions which can speed up workflow.")
     (license license:gpl2)))
 
+(define-public r-paralleldist
+  (package
+    (name "r-paralleldist")
+    (version "0.2.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "parallelDist" version))
+       (sha256
+        (base32 "01ly4hxwa64a0ya5gla8rvv72s9mcknsfznivjkh937pbjwb7iih"))))
+    (properties `((upstream-name . "parallelDist")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-rcpp r-rcpparmadillo r-rcppparallel))
+    (home-page "https://github.com/alexeckert/parallelDist")
+    (synopsis "Parallel Distance Matrix Computation using Multiple Threads")
+    (description
+     "This package provides a fast parallelized alternative to R's native
+'dist' function to calculate distance matrices for continuous, binary, and
+multi-dimensional input matrices, which supports a broad variety of 41
+predefined distance functions from the 'stats', 'proxy' and 'dtw' R packages,
+as well as user- defined functions written in C++.  For ease of use, the
+'parDist' function extends the signature of the 'dist' function and uses the
+same parameter naming conventions as distance methods of existing R packages.
+The package is mainly implemented in C++ and leverages the 'RcppParallel'
+package to parallelize the distance computations with the help of the
+'TinyThread' library.  Furthermore, the 'Armadillo' linear algebra library is
+used for optimized matrix operations during distance calculations.  The
+curiously recurring template pattern (CRTP) technique is applied to avoid
+virtual functions, which improves the Dynamic Time Warping calculations while
+the implementation stays flexible enough to support different DTW step
+patterns and normalization methods.")
+    (license license:gpl2+)))
+
 (define-public r-pheatmap
   (package
     (name "r-pheatmap")
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#54790; Package guix-patches. (Fri, 08 Apr 2022 15:01:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: 54790 <at> debbugs.gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
Subject: [PATCH 2/3] gnu: Add r-dlm.
Date: Fri,  8 Apr 2022 16:59:53 +0200
* gnu/packages/cran.scm (r-dlm): New variable.
---
 gnu/packages/cran.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b9ea1144f2..5a852af4b7 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -659,6 +659,26 @@ (define-public r-clipr
 the system clipboards.")
     (license license:gpl3)))
 
+(define-public r-dlm
+  (package
+    (name "r-dlm")
+    (version "1.1-5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "dlm" version))
+       (sha256
+        (base32 "1aksm66sfa7ipl5xgs4j5giac7q2m744wjl40mva56xn6i674h4r"))))
+    (properties `((upstream-name . "dlm")))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/package=dlm")
+    (synopsis "Bayesian and Likelihood Analysis of Dynamic Linear Models")
+    (description
+     "This package provides routines for Maximum likelihood, Kalman filtering
+and smoothing, and Bayesian analysis of Normal linear State Space models, also
+known as Dynamic Linear Models.")
+    (license license:gpl2+)))
+
 (define-public r-zoo
   (package
     (name "r-zoo")
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#54790; Package guix-patches. (Fri, 08 Apr 2022 15:01:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: 54790 <at> debbugs.gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
Subject: [PATCH 3/3] gnu: Add r-copykat.
Date: Fri,  8 Apr 2022 16:59:54 +0200
* gnu/packages/bioinformatics.scm (r-copykat): New variable.
---
 gnu/packages/bioinformatics.scm | 38 +++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 106b25a50b..e3cca9aab8 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -9138,6 +9138,44 @@ (define-public r-cellchat
 communication networks from scRNA-seq data.")
       (license license:gpl3))))
 
+(define-public r-copykat
+  (let ((commit                         ;no tag
+         "256de33dfc1b80a1a0ac9e098c5557f95a4e0d53")
+        (revision "0"))
+    (package
+      (name "r-copykat")
+      (version (git-version "1.0.8" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/navinlabcode/copykat")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0ckyqnial3imcqlgd6xfgwk5w977l1i87sx4kdbwdvg40w0vh1j8"))))
+      (properties `((upstream-name . "copykat")))
+      (build-system r-build-system)
+      (propagated-inputs
+       (list r-cluster
+             r-dlm
+             r-gplots
+             r-mcmcpack
+             r-mixtools
+             r-paralleldist
+             r-rcolorbrewer))
+      (native-inputs (list r-knitr))
+      (home-page "https://github.com/navinlabcode/copykat")
+      (synopsis "Inference of genomic copy number from single cell RNAseq data")
+      (description
+       "This package Copynumber KAryotyping of Tumors infers genomic copy
+number and subclonal structure of human tumors using integrative Bayesian
+approaches to identify genome-wide aneuploidy at 5MB resolution in single
+cells data.  It separates tumor cells and tumor subclones from normal cells
+using high-throughput sc-RNAseq data.")
+      (license license:gpl2))))
+
 (define-public sambamba
   (package
     (name "sambamba")
-- 
2.34.0





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Mon, 11 Apr 2022 14:15:03 GMT) Full text and rfc822 format available.

Notification sent to zimoun <zimon.toutoune <at> gmail.com>:
bug acknowledged by developer. (Mon, 11 Apr 2022 14:15:03 GMT) Full text and rfc822 format available.

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

From: Ricardo Wurmus <rekado <at> elephly.net>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 54790-done <at> debbugs.gnu.org
Subject: Re: [bug#54790] [PATCH 0/3] Add r-copykat and dependencies
Date: Mon, 11 Apr 2022 16:13:22 +0200
Thank you for the patches!

> zimoun (3):
>   gnu: Add r-paralleldist.
>   gnu: Add r-dlm.
>   gnu: Add r-copykat.

I shortened the description of r-paralleldist and pushed the three
patches.

-- 
Ricardo




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

This bug report was last modified 3 years and 39 days ago.

Previous Next


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