[PATCH] gnu: Add r-asafe.

OpenSubmitted by Mădălin Ionel Patrașcu.
Details
One participant
  • Mădălin Ionel Patrașcu
Owner
unassigned
Severity
normal
M
M
Mădălin Ionel Patrașcu wrote on 22 Jun 15:45 +0200
(address . guix-patches@gnu.org)
20220622134533.15458-1-madalinionel.patrascu@mdc-berlin.de
* gnu/packages/bioconductor.scm (r-asafe): New variable.
---
gnu/packages/bioconductor.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 1e87b190c2..2d199a79f2 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -2029,6 +2029,28 @@ (define-public r-aneufinder
 sequencing data.")
     (license license:artistic2.0)))
 
+(define-public r-asafe
+  (package
+    (name "r-asafe")
+    (version "1.22.0")
+    (source (origin
+              (method url-fetch)
+              (uri (bioconductor-uri "ASAFE" version))
+              (sha256
+               (base32
+                "1l9iqw2imr6w2gwqrmg05jp6lj2xc7hbyhd144d4q8vw8z7ga4ns"))))
+    (properties `((upstream-name . "ASAFE")))
+    (build-system r-build-system)
+    (native-inputs (list r-knitr))
+    (home-page "https://bioconductor.org/packages/ASAFE")
+    (synopsis "Ancestry Specific Allele Frequency Estimation")
+    (description
+     "The @code{ASAFE} package contains a collection of functions that can be used
+to carry out an @dfn{EM} (Expectation–maximization) algorithm to estimate ancestry
+-specific allele frequencies for a bi-allelic genetic marker, e.g. an @dfn{SNP}
+(single nucleotide polymorphism) from genotypes and ancestry pairs.")
+    (license license:artistic2.0)))
+
 (define-public r-biocversion
   (package
     (name "r-biocversion")

base-commit: e74fa406e1043547242a8b67ab9907fea7aae6b9
-- 
2.36.1
?