For better experience, turn on JavaScript!



SNPRelate is an R tool for computing relatedness and also provides principal component (PCA) analysis. The SNPRelate algorithm produces a binary format for single-nucleotide polymorphism (SNP) data in genome-wide association study (GWAS) data.


DNA polymorphism; GWAS study; Genetics


  • Operation: Genetic variation analysis; Statistical calculation
  • Software interface: Command-line user interface; Library
  • Language: R
  • Operating system: Linux; Mac OS X; Microsoft Windows
  • License: GPL-3.0
  • Cost: Free
  • Version name: 1.20.1
  • Maturity: Stable
  • Credit: US National Institutes of Health (NIH), Genes, Environment and Health Initiative. Genetics Coordinating Center.
  • Contact: Xiuwen Zheng zhengx _at_
  • Collection: Bioconductor


Zheng X, Levine D, Shen J, Gogarten SM, Laurie C, Weir BS "A high-performance computing toolset for relatedness and principal component analysis of SNP data." Bioinformatics 2012; 28(24):3326-8
PMID: 23060615
PMCID: PMC3519454

Huber W, Carey VJ, Gentleman R, Anders S, Carlson M, Carvalho BS, Bravo HC, Davis S, Gatto L, Girke T, Gottardo R, Hahne F, Hansen KD, Irizarry RA, Lawrence M, Love MI, MacDonald J1, Obenchain V, Oleś AK, Pagès H, Reyes A, Shannon P, Smyth GK, Tenenbaum D, Waldron L, Morgan M "Orchestrating high-throughput genomic analysis with Bioconductor." Nat Methods. 2015 Feb;12(2):115-21.
PMID: 25633503
PMCID: PMC4509590

Gentleman RC, Carey VJ, Bates DM, Bolstad B, Dettling M, Dudoit S, Ellis B, Gautier L, Ge Y, Gentry J, Hornik K, Hothorn T, Huber W, Iacus S, Irizarry R, Leisch F, Li C, Maechler M, Rossini AJ, Sawitzki G, Smith C, Smyth G, Tierney L, Yang JY, Zhang J. "Bioconductor: open software development for computational biology and bioinformatics." Genome Biol. 2004;5(10):R80. Epub 2004 Sep 15.
PMID: 15461798
PMCID: PMC545600

Download and documentation

If you find errors, please report here.