From 65e748141d60b282c75113d6bce96bc3d3ef563d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 24 Jul 2018 14:18:45 +0200 Subject: [PATCH] gnu: Add r-blockfest. * gnu/packages/cran.scm (r-blockfest): New variable. --- gnu/packages/cran.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 98ef3ba223..4dd2ec4eae 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -4742,3 +4742,27 @@ splice site positions.") "BASIX provides some efficient C/C++ implementations of native R procedures to speed up calculations in R.") (license license:gpl2))) + +(define-public r-blockfest + (package + (name "r-blockfest") + (version "1.6") + (source + (origin + (method url-fetch) + (uri (cran-uri "BlockFeST" version)) + (sha256 + (base32 + "0hj7a5as7nxbgjac7lbj6qfwffx3g8x8phpf9a55f1c9cdzi73a5")))) + (properties `((upstream-name . "BlockFeST"))) + (build-system r-build-system) + (propagated-inputs `(("r-basix" ,r-basix))) + (home-page "https://cran.r-project.org/web/packages/BlockFeST/") + (synopsis "Bayesian calculation of region-specific fixation index") + (description + "This package provides an R implementation of an extension of the +BayeScan software for codominant markers, adding the option to group +individual SNPs into pre-defined blocks. A typical application of this new +approach is the identification of genomic regions, genes, or gene sets +containing one or more SNPs that evolved under directional selection.") + (license license:gpl2)))