title: GWAS on your notebook: fast semi-parallel linear and logistic regression for genome-wide association studies.
abstract: BACKGROUND
  Genome-wide association studies have become very popular in identifying genetic contributions to phenotypes. Millions of SNPs are being tested for their association with diseases and traits using linear or logistic regression models. This conceptually simple strategy encounters the following computational issues: a large number of tests and very large genotype files (many Gigabytes) which cannot be directly loaded into the software memory. One of the solutions applied on a grand scale is cluster computing involving large-scale resources. We show how to speed up the computations using matrix operations in pure R code.
  
  
  RESULTS
  We improve speed: computation time from 6 hours is reduced to 10-15 minutes. Our approach can handle essentially an unlimited amount of covariates efficiently, using projections. Data files in GWAS are vast and reading them into computer memory becomes an important issue. However, much improvement can be made if the data is structured beforehand in a way allowing for easy access to blocks of SNPs. We propose several solutions based on the R packages ff and ncdf.We adapted the semi-parallel computations for logistic regression. We show that in a typical GWAS setting, where SNP effects are very small, we do not lose any precision and our computations are few hundreds times faster than standard procedures.
  
  
  CONCLUSIONS
  We provide very fast algorithms for GWAS written in pure R code. We also show how to rearrange SNP data for fast access.
authors.affiliation: Department of Biostatistics, Erasmus MC, Rotterdam, The Netherlands. k.sikorska@erasmusmc.nl
authors.forename: Karolina
authors.initials: K
authors.lastname: Sikorska
authors.forename: Emmanuel
authors.initials: E
authors.lastname: Lesaffre
authors.forename: Patrick F J
authors.initials: PF
authors.lastname: Groenen
authors.forename: Paul H C
authors.initials: PH
authors.lastname: Eilers
mesh_terms: D019295:Computational Biology / Q000379:methods; D055106:Genome-Wide Association Study / Q000706:statistics & numerical data; D005838:Genotype; D006801:Humans; D016014:Linear Models; D016015:Logistic Models; D020641:Polymorphism, Single Nucleotide; D012984:Software; D013997:Time Factors