aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/bioinformatics.scm
diff options
context:
space:
mode:
authorArun Isaac2024-02-23 21:27:09 +0000
committerArun Isaac2024-02-23 21:27:09 +0000
commit73f615b37829354a90a015caf8880e1c49503ddd (patch)
tree8aba123545663527ee3a4a6485f0ca9735a4187c /gn/packages/bioinformatics.scm
parentd2ee9dc81af5ee64ebbb1bff3d8de8ef878a845c (diff)
downloadguix-bioinformatics-73f615b37829354a90a015caf8880e1c49503ddd.tar.gz
gn: Add r-rrbgen.
* gn/packages/bioinformatics.scm (r-rrbgen): New variable.
Diffstat (limited to 'gn/packages/bioinformatics.scm')
-rw-r--r--gn/packages/bioinformatics.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm
index 2832ea6..c3e5020 100644
--- a/gn/packages/bioinformatics.scm
+++ b/gn/packages/bioinformatics.scm
@@ -4460,3 +4460,28 @@ automatically vectorize for different architectures without adapting the code.")
(substitute-keyword-arguments (package-arguments wfa2-lib)
((#:make-flags flags ''())
#~(cons "CC_FLAGS+=-static" #$flags))))))
+
+(define-public r-rrbgen
+ (package
+ (name "r-stitch")
+ (version "0.0.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/rwdavies/rrbgen/releases/download/"
+ version "/rrbgen_" version ".tar.gz"))
+ (sha256
+ (base32
+ "1vhqy8licl2pkzar4aag0q5fhnb3fdch8acyjh9445ia42z01z9c"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ (list r-rcpp
+ r-rcpparmadillo))
+ (home-page "https://github.com/rwdavies/rrbgen")
+ (synopsis "Lightweight limited functionality R bgen read/write library")
+ (description "@code{r-rrbgen} supports v1.3 of the bgen format. It supports reading
+and writing using 8, 16, 24 or 32 bits per probability, using Layout =
+2 and CompressedSNPBlocks = 1, for bi-allelic SNPs with samples of
+ploidy 2. Any other format specification may crash unexpectedly
+without a properly defined error.")
+ (license license:gpl3)))