Subject: [bug#56141] [PATCH] gnu: Add r-asafe.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Wed, 22 Jun 2022 15:45:33 +0200

* gnu/packages/bioconductor.scm (r-asafe): New variable.
---
 gnu/packages/bioconductor.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

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