weizhouUMICH / SAIGE

GNU Lesser General Public License v3.0
188 stars 73 forks source link

Clarification for gwas with related individuals #320

Closed rbutleriii closed 3 years ago

rbutleriii commented 3 years ago

Per the paper, SAIGE should be able to run with related individuals as it is GRM aware. But for individual variant analysis, the wiki says to skip step0, where the sparse GRM is created.

Just to make sure, even with related individuals in the population, single variant association tests don't need step0?

weizhouUMICH commented 3 years ago

Hi @rbutleriii,

Full GRM is used in SAIGE, but it is not pre-estimated, as with large sample sizes, the full GRM takes much memory to store. SAIGE estimates the elements in the full GRM on the fly using the provided Plink file when fitting the null model in step 1.

The sparse GRM generated in Step 0 is for estimating the variance ratio for gene-based tests, so it is not needed for single-variant tests. Hope this flowchart helps https://github.com/weizhouUMICH/SAIGE/wiki/Genetic-association-tests-using-SAIGE#flowchart

Thanks, Wei