Closed tammy-dg closed 2 years ago
Hi @tammy-dg,
when using the sparse GRM for fitting the null model, the proximal contamination is not as severe as using the full GRM, so LOCO is set to be FALSE.
Thanks for reporting this issue! We have now fixed it and --chrom should work in v1.0.2 More specifically,
if LOCO = FALSE, --chrom is
if LOCO = TRUE, --chrom is always required
Hi @weizhou0 thank you for the quick response, I pulled the v1.0.2 from docker and --chrom looks like it is working as intended now! Thank you
Hello all,
For Step 1 (and subsequently Step 2 since that depends on the output model), is LOCO only available if the full GRM is used to fit the null model? I see in the source code that when
--useSparseGRMtoFitNULL=TRUE
, then LOCO is set to false: https://github.com/saigegit/SAIGE/blob/accec20e9eb49507e456c0412bdc0bfa65ce8874/R/backup/SAIGE_fitGLMM_fast.R#L714-L719 Also is--useSparseGRMforVarRatio
set to false when--useSparseGRMtoFitNULL=TRUE
because the variance is being calculated from the sparse GRM directly now?Additionally, the
--chrom
flag doesn't seem to be working for Step 2. I have specified--chrom=1
, passed in a VCF container all chromosomes, a group file containing containing genes on all chromosomes, e.g.:But in the logs I see that SAIGE-GENE+ looks to still be analyzing all genes. For example, though A2ML1 does not container markers on chr1, it looks to be analyzed:
Thank you for your time and attention and development of the tool!