about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2025-09-03 12:25:35 +0100
committerArun Isaac2025-09-03 12:25:35 +0100
commitf390b2db83abeaabf9bbef8c8bf1fdbacfad33ad (patch)
tree66ce6d0aa1f3f2088bd79b16e27e129f7b0ddcdb
parentc9be357418c066201111f1df78a8038b654daead (diff)
downloadguix-bioinformatics-f390b2db83abeaabf9bbef8c8bf1fdbacfad33ad.tar.gz
gn: Add r-genio.
* gn/packages/bioinformatics.scm (r-genio): New variable.
-rw-r--r--gn/packages/bioinformatics.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm
index e7a0dac..1815bed 100644
--- a/gn/packages/bioinformatics.scm
+++ b/gn/packages/bioinformatics.scm
@@ -4602,6 +4602,32 @@ interface to the basic htslib.  It can be easily included in a C++
 program for scripting high-performance genomic analyses.")
     (license license:asl2.0)))
 
+(define-public r-genio
+  (package
+    (name "r-genio")
+    (version "1.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "genio" version))
+       (sha256
+        (base32 "0izx8yv8mvnfxdqnqpnp2ldw1hzs6ggxi7jgmjlgxkgmm4vngbgl"))))
+    (properties `((upstream-name . "genio")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-dplyr r-rcpp r-readr r-tibble))
+    (native-inputs (list r-knitr r-testthat))
+    (home-page "https://github.com/OchoaLab/genio")
+    (synopsis "Genetics Input/Output Functions")
+    (description "@code{r-genio} implements readers and writers for file formats
+associated with genetics data.  Reading and writing Plink BED/BIM/FAM
+and GCTA binary GRM formats is fully supported, including a
+lightning-fast BED reader and writer implementations.  Other functions
+are readr wrappers that are more constrained, user-friendly, and
+efficient for these particular applications; handles Plink and
+Eigenstrat tables (FAM, BIM, IND, and SNP files).  There are also make
+functions for FAM and BIM tables with default values to go with
+simulated genotype data.")
+    (license license:gpl3)))
 
 (define-public r-stitch
   (package