- Introduced by
- Jian Yang & Peter Visscher
- Year
- 2011
- Type
- Computational analysis tool
- Family
- Quantitative genetics
What does it do?
GCTA (Genome-wide Complex Trait Analysis) is a software tool for estimating SNP-based heritability and genetic correlations between traits from genome-wide genotype and phenotype data on unrelated individuals.
Its core estimator, GREML (genome-wide restricted maximum likelihood), splits phenotypic variance into a component explained by a genome-wide relationship matrix built from common SNPs and a residual component. The tool was introduced in a 2011 paper by Yang, Lee, Goddard and Visscher.
The intuition behind the method
GCTA asks how much of the variation in a trait, such as height or disease liability, across individuals reflects genetic differences rather than environmental ones. Twin and family designs answer this question, but they cannot easily separate shared genes from shared environment. GCTA instead uses SNP genotypes to measure how genetically similar each pair of unrelated individuals is, summed over many common variants across the genome. If pairs that look more alike genetically also tend to have more similar trait values, that pattern points to a genetic contribution. GREML turns this comparison into a heritability estimate, namely the share of trait variance that the genome-wide similarity accounts for.
History
Yang and colleagues introduced GCTA in a 2011 paper in the American Journal of Human Genetics (volume 88), which was first made available online in 2010. The tool estimated heritability from genome-wide SNP data on unrelated individuals, and they popularised the GREML approach. Its results contributed to the 'missing heritability' discussion, in which heritability estimated from measured SNPs is lower than heritability estimated from family studies. Later releases of the software extended its functionality.
When to use it
Choose GCTA when you have individual-level genotype and phenotype data from a large sample of unrelated people and want to estimate how much of a trait's variance is captured by common SNPs, or whether two traits share genetic influences. It suits questions about the polygenic architecture of a trait and comparisons with heritability estimates from family studies. Do not use GCTA to estimate the contribution of rare variants, because the standard GREML model built on common SNPs does not capture them. Avoid the standard analysis when the sample contains close relatives, unless they are removed first, because it assumes unrelated individuals. Avoid it also when only GWAS summary statistics are available, since the individual-level GREML approach does not apply to them; summary-statistic methods such as LDSC are the usual alternative in that case.
Limitations and considerations
- Captures only the variance explained by the measured common SNPs, so rare variants and structural variants contribute nothing to the estimate.
- Precision depends strongly on sample size, and small cohorts yield wide confidence intervals for the heritability estimate.
- The model assumes additive genetic effects, so dominance and epistatic variance are not captured.
- Unmodelled population structure can inflate the estimate, because genetic similarity then partly reflects ancestry rather than trait-specific genetic effects.
- The estimate is a variance partition across the genome and does not identify which specific variants or genes drive it.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Estimates heritability from realised genetic similarity among unrelated individuals, so it does not depend on pedigree records.
- Gives SNP-based heritability that is explicitly separate from total heritability, so the two are not conflated.
- Can estimate the genetic correlation between two traits from the same genotype data, which allows cross-trait comparisons.
- Open-source and widely used, with documentation and a body of published extensions.
Applications
- Estimating SNP-based heritability of psychiatric conditions in large biobank cohorts.
- Testing whether two diseases share a genetic basis by estimating their genetic correlation from the same genotype data.
- Partitioning the heritability of a quantitative trait such as height across autosomal SNPs and X-chromosome variants.
- Estimating how much of the liability for a disease is accounted for by common variants, as a complement to genome-wide association studies.
How it works
How it works
Collect genome-wide SNP genotypes and phenotype measurements for a cohort of unrelated individuals. The sample should be large enough for the heritability estimate to be stable, and its genetic ancestry should be documented.
Apply genotype quality control, including filtering of variants with high missingness and of variants below a minimum allele frequency. Remove individuals who are closely related, because the model assumes that the genome-wide relationship matrix captures relatedness among the included individuals rather than pedigree structure. Relatedness is screened from the GRM itself: pairs whose estimated genetic relatedness exceeds a chosen cut-off are removed, and the cut-off used should be reported with the analysis. Ancestry differences should be checked, since they can bias the estimate.
Compute the genome-wide genetic relationship matrix (GRM) from the standardised genotypes, giving a pairwise genetic similarity value for every pair of individuals.
Fit a linear mixed model in which the phenotype covariance is a genetic component proportional to the GRM plus a residual variance. Estimate the variance components by restricted maximum likelihood (REML), and take the heritability as the genetic variance divided by the total phenotypic variance.
Report the SNP-based heritability with its standard error or confidence interval. When two traits are analysed jointly, report the genetic correlation between them with the same uncertainty. Read the estimate as the variance explained by the measured common SNPs, not as total heritability.
Common pitfalls
- Comparing SNP heritability across populations without accounting for differences in allele frequency and linkage disequilibrium, both of which affect the estimate.
- Treating the SNP-based estimate as if it equalled total heritability; the gap between the two is not explained by the GREML model itself.
- Ignoring ancestry structure in admixed or stratified samples, which can make an ancestry signal look like a genetic signal for the trait.
- Reading a genetic correlation between two diseases as evidence of a shared biological mechanism without further functional or experimental work.
Frequently asked questions
What is the difference between SNP heritability and total heritability?
SNP heritability is the fraction of phenotypic variance explained by measured common SNPs. Total heritability includes all genetic sources, including rare variants, structural variants and other forms of genetic variation. SNP heritability is usually lower than total heritability, which is the core of the 'missing heritability' problem.
How large a sample is needed for reliable GCTA heritability estimates?
Precision improves with sample size. Larger samples of unrelated individuals give narrower confidence intervals, while small samples can still be analysed but yield wide intervals. The required size depends on the heritability of the trait and on the linkage disequilibrium structure of the genotyped variants.
How does population structure affect GCTA results?
Population stratification can inflate heritability estimates when ancestry is correlated with the trait. Adjusting for ancestry principal components in the analysis helps reduce this bias. Analysing ancestry-defined subgroups separately can also show whether the estimate differs between them.
Can GCTA estimate heritability for binary traits such as disease status?
Yes. GCTA can analyse binary traits by fitting the linear mixed model on the observed scale and then converting the result to liability-scale heritability. The conversion requires the disease prevalence in the population. Binary traits generally need larger samples than quantitative traits to reach comparable precision.
Related methods
Sources
Yang, J., Lee, S. H., Goddard, M. E., & Visscher, P. M. (2011). GCTA: A tool for genome-wide complex trait analysis. American Journal of Human Genetics, 88(1), 76–82.
Open DOI referenceZhou, X., Stephens, M. (2012). Genome-wide efficient mixed-model analysis for association studies. Nature Genetics, 44(7), 821–824.
Open DOI referencePitchford, W. S., & Brown, W. M. (2019). Genomic prediction and selection of genomic variance. Genetics Selection Evolution, 51(1), 53–66.
Open publication reference