Subject: [PATCH] gnu: Add r-harmony.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Mon, 18 Nov 2019 18:22:16 +0100

* gnu/packages/bioinformatics.scm (r-harmony): New variable.
---
 gnu/packages/bioinformatics.scm | 38 ++++++++++++++++++++++++++++++++-
 1 file changed, 37 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 07c70fb82c..5da95d66a6 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -11,7 +11,7 @@
 ;;; Copyright © 2017 Arun Isaac <[email-masked]>
 ;;; Copyright © 2018 Joshua Sierles, Nextjournal <[email-masked]>
 ;;; Copyright © 2018 Gábor Boskovits <[email-masked]>
-;;; Copyright © 2018 Mădălin Ionel Patrașcu <[email-masked]>
+;;; Copyright © 2018, 2019 Mădălin Ionel Patrașcu <[email-masked]>
 ;;; Copyright © 2019 Maxim Cournoyer <[email-masked]>
 ;;; Copyright © 2019 Brian Leung <[email-masked]>
 ;;;
@@ -15349,3 +15349,39 @@ methylation metrics from them.  MethylDackel requires an indexed fasta file
 containing the reference genome as well.")
     ;; See https://github.com/dpryan79/MethylDackel/issues/85
     (license license:expat)))
+
+(define-public r-harmony
+  (let ((commit "1a6d77aae524a08a2ca91737a152ab2047ccee78")
+        (revision "1"))
+    (package
+      (name "r-harmony")
+      (version (git-version "1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/immunogenomics/harmony.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1905qsbl5iv3kxki73gmyzshyb8zc6asdaymywndscn7mjkwm7aw"))))
+      (build-system r-build-system)
+      (propagated-inputs
+       `(("r-cowplot" ,r-cowplot)
+         ("r-dplyr" ,r-dplyr)
+         ("r-ggplot2" ,r-ggplot2)
+         ("r-irlba" ,r-irlba)
+         ("r-matrix" ,r-matrix)
+         ("r-rcpp" ,r-rcpp)
+         ("r-rcpparmadillo" ,r-rcpparmadillo)
+         ("r-rcppprogress" ,r-rcppprogress)
+         ("r-rlang" ,r-rlang)
+         ("r-tibble" ,r-tibble)
+         ("r-tidyr" ,r-tidyr)))
+      (home-page "https://github.com/immunogenomics/harmony.git")
+      (synopsis "Fast, sensitive, and accurate integration of single cell data")
+      (description
+       "Harmony software is the R implementation of the algorithm with the same
+name for single cell integration, described in Korsunsky et al 2018.  Package
+includes a standalone Harmony function and interfaces to external frameworks.")
+      (license license:gpl3))))
-- 
2.17.1