Package: Rpgen 0.1.0

Rpgen: Vendored 'PLINK 2' pgenlib with a C-Callable Genotype Reader API

Vendors the read subset of 'PLINK 2's pgenlib library (<https://github.com/chrchang/plink-ng>), the same subset the CRAN package 'pgenlibr' vendors and builds, as a static library and exposes it through 'R_RegisterCCallable' C-callable entry points. Also vendors plink2's own import closure ('VcfToPgen', 'BcfToPgen', 'OxBgenToPgen', 'OxGenToPgen', 'OxHapslegendToPgen', 'Plink1DosageToPgen') so a VCF, BCF, BGEN, Oxford .gen, Oxford .haps/.legend, or legacy PLINK 1 --import-dosage file can be converted to a '.pgen' and read back through this package's own reader, without a separate 'htslib'-based parser. This is a carrier package: it has no high-level R modeling API of its own beyond a milestone smoke test that opens a '.pgen' file and reports its sample and variant counts. Other R packages link to it ('LinkingTo') to read 'PLINK 2' genotype files natively from their own C or C++ code, which 'pgenlibr' does not expose, since it only offers an R-level interface.

Authors:Sounkou Mahamane Toure [aut, cre], Christopher Chang [cph], Shaun Purcell [cph], Eric Biggers [cph], Yann Collet [cph], Meta Platforms, Inc. [cph], Evan Nemerson [cph], Mutsuo Saito [cph], Makoto Matsumoto [cph]

Rpgen_0.1.0.tar.gz
Rpgen_0.1.0.zip(r-4.7)Rpgen_0.1.0.zip(r-4.6)Rpgen_0.1.0.zip(r-4.5)
Rpgen_0.1.0.tgz(r-4.6-x86_64)Rpgen_0.1.0.tgz(r-4.6-arm64)Rpgen_0.1.0.tgz(r-4.5-x86_64)Rpgen_0.1.0.tgz(r-4.5-arm64)
Rpgen_0.1.0.tar.gz(r-4.7-arm64)Rpgen_0.1.0.tar.gz(r-4.7-x86_64)Rpgen_0.1.0.tar.gz(r-4.6-arm64)Rpgen_0.1.0.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
Rpgen/json (API)

# Install 'Rpgen' in R:
install.packages('Rpgen', repos = c('https://sounkou-bioinfo.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/sounkou-bioinfo/rfmalloc/issues

Uses libs:
  • libzstd– Fast lossless compression algorithm
  • libdeflate– Fast, whole-buffer DEFLATE-based compression and decompression
  • zlib– Compression library

On CRAN:

Conda:

altrepblasgenomicsggmlggufllmllm-inferencemallocmemory-mappedmmapout-of-corequantizationsimdlibzstdlibdeflatezlib

2.88 score 3 stars 9 scripts 14 exports 1 dependencies

Last updated from:921d01f678. Checks:12 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK193
linux-devel-x86_64OK152
source / vignettesOK220
linux-release-arm64OK161
linux-release-x86_64OK191
macos-release-arm64OK139
macos-release-x86_64OK218
macos-oldrel-arm64OK145
macos-oldrel-x86_64OK264
windows-develOK205
windows-releaseOK187
windows-oldrelOK175
wasm-releaseFAIL110

Exports:rpgen_bedrpgen_bed_inforpgen_dosagerpgen_import_bcfrpgen_import_bedrpgen_import_bgenrpgen_import_genrpgen_import_hapsrpgen_import_plink1_dosagerpgen_import_vcfrpgen_inforpgen_read_bed_hardcallsrpgen_read_dosagesrpgen_read_hardcalls

Dependencies:Rfmalloc