Bioc2026 Registration Open!

SNPRelate

Parallel Computing Toolset for Relatedness and Principal Component Analysis of SNP Data

Bioconductor version: 3.24 · Package version: 1.47.0

Genome-wide association studies (GWAS) are widely used to investigate the genetic basis of diseases and traits, but they pose many computational challenges. We developed an R package SNPRelate to provide a binary format for single-nucleotide polymorphism (SNP) data in GWAS utilizing CoreArray Genomic Data Structure (GDS) data files. The GDS format offers the efficient operations specifically designed for integers with two bits, since a SNP could occupy only two bits. SNPRelate is also designed to accelerate two key computations on SNP data using parallel computing for multi-core symmetric multiprocessing computer architectures: Principal Component Analysis (PCA) and relatedness analysis using Identity-By-Descent measures. The SNP GDS format is also used by the GWASTools package with the support of S4 classes and generic functions. The extended GDS format is implemented in the SeqArray package to support the storage of single nucleotide variations (SNVs), insertion/deletion polymorphism (indel) and structural variation calls in whole-genome and whole-exome variant data.

Installation

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("SNPRelate")

Details

MaintainerXiuwen Zheng <zhengx@u.washington.edu>
AuthorXiuwen Zheng [aut, cre, cph] (ORCID: <https://orcid.org/0000-0002-1390-0708>), Stephanie Gogarten [ctb], Cathy Laurie [ctb], Bruce Weir [ctb, ths] (ORCID: <https://orcid.org/0000-0002-4883-1247>)
LicenseGPL-3
URLhttps://github.com/zhengxwen/SNPRelate
Bug Reportshttps://github.com/zhengxwen/SNPRelate/issues
Downloads rank2572
Source branchdevel
biocViewsGenetics, Infrastructure, PrincipalComponent, Software, StatisticalMethod

Documentation

Download

Follow the installation instructions to use this package in your R session.

Source packageSNPRelate_1.47.0.tar.gz
Windows binary (x86_64)SNPRelate_1.47.0.zip
macOS binary (arm64)SNPRelate_1.47.0.tgz
macOS binary (x86_64)SNPRelate_1.47.0.tgz
Dependencies

Depends: R (>= 2.15), gdsfmt (>= 1.8.3)

Imports: methods, RhpcBLASctl

LinkingTo: gdsfmt

Suggests: parallel, Matrix, RUnit, knitr, markdown, rmarkdown, MASS, BiocGenerics

Enhances: SeqArray (>= 1.12.0)

Reverse dependencies

Depends On Me (2): RAIDS, SeqSQC

Imports Me (11): CNVRanger, dartR, dartR.base, EthSEQ, GDSArray, GENESIS, gwasurvivr, gwid, simplePHENOTYPES, snplinkage, VariantExperiment

Suggests Me (4): GWASTools, HIBAG, SAIGEgds, SeqArray