Skip to main content
Genetics logoLink to Genetics
. 2014 Feb 21;197(1):285–289. doi: 10.1534/genetics.113.160341

SNP2GO: Functional Analysis of Genome-Wide Association Studies

David Szkiba *, Martin Kapun †,, Arndt von Haeseler *,§, Miguel Gallach *,1
PMCID: PMC4012486  PMID: 24561481

Abstract

Genome-wide association studies (GWAS) are designed to identify the portion of single-nucleotide polymorphisms (SNPs) in genome sequences associated with a complex trait. Strategies based on the gene list enrichment concept are currently applied for the functional analysis of GWAS, according to which a significant overrepresentation of candidate genes associated with a biological pathway is used as a proxy to infer overrepresentation of candidate SNPs in the pathway. Here we show that such inference is not always valid and introduce the program SNP2GO, which implements a new method to properly test for the overrepresentation of candidate SNPs in biological pathways.

Keywords: GWAS, SNP, linkage disequilibrium, Gene Ontology


GENOME-WIDE association studies (GWAS) allow researchers to identify the portion of the genetic variants associated with a complex trait. The typical output of GWAS consists of a set of noncandidate and candidate single-nucleotide polymorphisms (SNPs), which are supposedly associated with the trait. How to identify a candidate SNP is still under discussion and different statistical approaches have been suggested (Evangelou and Ioannidis 2013). In addition, biological information, such as linkage, genotype, and mutation effects (e.g., missense SNPs in coding regions) can also help to deal with the heterogeneity associated with the experimental design and reduce the number of false (positive) candidate SNPs (Wang et al. 2012).

At some point, and regardless of the classification criterion, the researcher ends up with a set of candidate and noncandidate SNPs. To gain a deeper biological insight into the candidate SNPs, a pathway analysis is carried out to identify the genes and mechanisms that are involved in the expression of the trait under study (Holmans 2010; Wang et al. 2012). One rationale of such analysis is that if a biological pathway (i.e., a group of related genes) is involved in the expression of the trait, then it is likely that the candidate SNPs will be enriched among the genes of the pathway (Holmans 2010). Here, we focus on the Gene Ontology (GO) as a paradigm of a structured and controlled way to associate genes according to their cellular roles (Ashburner et al. 2000).

Strategies to identify significant GO terms are typically based on the concept of gene list enrichment (Wang et al. 2007; Chasman 2008; Guo et al. 2009; Holmans et al. 2009; Medina et al. 2009; Chen et al. 2010; Nam et al. 2010; Zhang et al. 2010; Turner et al. 2011; Jones et al. 2012; Kofler and Schlötterer 2012) (to cite a few). Originally developed for the analysis of differentially expressed genes (Wang et al. 2012), the idea is to test whether the number of candidate genes (i.e., genes having at least one candidate SNP) linked to a GO term is higher than expected (enriched) in the respective GO term (Holmans 2010; Wang et al. 2012). If candidate genes are significantly overrepresented, then one typically concludes that the GO term also contains an overrepresentation of candidate SNPs. While this may be true in many instances, it is certainly not always the case. Figure 1 illustrates the conceptual difference between gene list enrichment and candidate SNP enrichment. Let us call π1 the probability to obtain a candidate gene associated with one GO term and π2 the probability to obtain a candidate gene associated with the other GO terms. The null hypothesis of homogeneity, H0, states that π1 = π2, which is tested against the alternative hypothesis H1: π1 > π2 (Agresti 1992). If H0 is rejected in favor of H1, it is inferred that the tested GO term has an overrepresentation of candidate genes. However, the conclusion that the tested GO term has also an overrepresentation of candidate SNPs is true only when π1 = π′1 and π2 = π′2, where π′1 is the probability to obtain a candidate SNP associated to the GO term, and π′2 is the probability to obtain a candidate SNP associated to the other GO terms. When these equalities do not hold, then rejection of H0: π1 = π2 may not entail rejection of H0: π′1 = π′2, and vice versa.

Figure 1.

Figure 1

Illustration comparing gene list enrichment (left) and candidate SNP enrichment (right) methods. Solid and open bars represent candidate genes (i.e., genes having at least one candidate SNP) and noncandidate genes, respectively. Arrowheads and circles represent candidate and noncandidate SNPs, respectively. π1 = a/(a + c); π2 = b/(b + d); π′1 = a′/(a′ + c′); π′2 = b′/(b′ + d′); see main text for details.

To better illustrate the conceptual difference, we discuss an example. To this end, we randomly classified 1.6 million nucleotide positions across the Drosophila melanogaster genome as noncandidate SNPs and 2000 positions as candidate SNPs. The apportionment is based on recent population genetics studies on this species (Orozco-Terwengel et al. 2012). Next, we ran Gowinda (Kofler and Schlötterer 2012) (snp mode), a program based on the gene list enrichment concept, on the simulated data and compared the results with the SNP2GO results. Because candidate genes are defined as a function of candidate SNPs, we expect π1 = π′1 and π2 = π′2 in most cases. In agreement with this, we found a significant correlation between the P-values calculated by Gowinda and SNP2GO for each GO term (Spearman’s ρ = 0.924, P < 2.2 10−16). However, these equalities do not always hold. GO:0000981 and GO:0006915 constitute representative examples. GO:0000981 is an arbitrary GO term in which Gowinda found a significant overrepresentation of candidate genes (P-value = 0.009). Thus, from the Gowinda analysis, one would conclude that, because candidate genes are significantly overrepresented, GO:0000981 has an overrepresentation of candidate SNPs. However, SNP2GO estimated a P-value of 0.133, indicating that there is no overrepresentation of candidate SNPs in GO:0000981. On the other hand, GO:0006915 has a significant overrepresentation of candidate SNPs according to SNP2GO (P-value = 0.038), while this result does not necessarily imply a significant overrepresentation of candidate genes (P-value = 0.848, according to Gowinda). At this point, it is worth clarifying that GO:0000981 and GO:0006915 are not examples of false positive and false negative errors found by Gowinda. The examples illustrate that gene list enrichment methods do not test for overrepresentation of candidate SNPs and that in some instances the test outcomes may be very different. Therefore, SNP2GO complements standard gene list enrichment tests.

To add more complexity to the problem, a GO term may be significant due to different reasons: (1) only few genomic regions accumulate most or even all candidate SNPs associated with the GO term (as in Linkage Disequilibrium (LD) in Figure 2) or (2) the candidate SNPs are “evenly” distributed in the genomic regions associated with a GO term and equally contribute to the significance of the GO term (Even Distribution (ED) in Figure 2). In the latter case, one may conclude that the GO term is involved in the expression of the trait (Holmans 2010), whereas in the former case, the significance may be due to the positional neighborhood of the SNPs. A third case, not usually considered in GWAS, is the overdispersion of candidate SNPs, in which the number of genomic regions carrying at least one candidate SNP is larger than expected. Therefore, detection of a local genomic effect on the SNP distribution is of special interest as it might help researchers to properly interpret their results. In some cases, mainly in humans, linkage or haplotype data are available, and this information can be used to detect enrichment of candidate SNPs due to LD (see, for instance, Raychaudhuri et al. 2009). However, in many others, such information is not available or cannot be inferred (e.g., if allele frequencies are analyzed from pooled sequencing data). In addition, the enrichment of candidate SNPs may be due to other genomic local effects, such as clustering of genes with the same function (Hong et al. 2009) or heterogeneity in mutation and evolutionary rates across the genome (Eyre-Walker 1993; Hwang and Green 2004; Singh et al. 2005; Duret and Arndt 2008; Tanay and Siggia 2008). We have, therefore, developed SNP2GO to detect such local genomic effects. Importantly, SNP2GO does not require genotype data and can be easily used in studies on any organism. Our method is especially useful in the aforementioned cases, typically found in population genetics and experimental evolution studies (Atwell et al. 2010; Hancock et al. 2011; Turner et al. 2011; Fabian et al. 2012; Jones et al. 2012; Orozco-terWengel et al. 2012; Turner and Miller 2012; Bastide et al. 2013) (to cite a few).

Figure 2.

Figure 2

Test for local effects. Here we represent the distribution of candidate and noncandidate SNPs in the 15 genomic regions associated with the GO term GO:0005548. This term was significant using random SNP positions in the D. melanogaster genome, as explained in the main text. In ED (actual result, with expected distribution of candidate SNPs), g = 6 while in LD (a hypothetical scenario) all candidate SNPs occur in a single genomic region (g = 1). In both ED and LD examples, candidate SNPs (c) = 6 and noncandidate SNPs (nc) = 1497 (not all shown). Run 1 . . . Run r display typical outcomes of the sampling. Genomic regions with at least one sampled SNP are shaded. After r runs, the empirical distribution (right side) is used to test whether g is higher or lower than expected. For ED we estimated P(g ≥ 6) = 0.16 (shaded bar in the histogram), while for LD, P(g ≤ 1) < 10−5.

In the next section, we introduce SNP2GO, a candidate SNP enrichment analysis method for GWAS that also provides a strategy to detect local genomic effects in the candidate SNP distribution.

Candidate SNP Enrichment Analysis and Detection of Local Genomic Effects

SNP2GO can be applied to pathway databases such as the Kyoto encyclopedia of genes and genomes (Kanehisa et al. 2004), Panther (Mi et al. 2013), GO (Ashburner et al. 2000), or other BioOntologies (Smith et al. 2007), although here we focus on GO. SNP2GO answers two questions: (1) Does a particular GO term show an overrepresentation of candidate SNPs? (2) Is the number of genomic regions contributing to the significance of a GO term different from expectation?

We briefly describe the workflow. SNP2GO takes the genome annotation of the organism of interest (i.e., the gene coordinates), the associated GO terms, and the list of candidate and noncandidate SNPs as defined by the user as input. To avoid decreasing the power of the tests when parental GO terms and children GO terms are compared, SNP2GO carries out an inclusive analysis of the GO terms (Al-Shahrour and Dopazo 2005). For a selected node level, the SNPs are assigned to the genomic regions associated with the GO term (i.e., genes or genes plus or minus a given amount of nucleotides up and down the gene) and a Fisher’s exact test for 2 × 2 contingency tables is done (Figure 1). Correction of P-values for multiple testing follows the Benjamini and Hochberg (1995) false discovery rate adjustment. This part of SNP2GO answers the first question.

To answer the second question, SNP2GO carries out an additional analysis of significant GO terms based on the hypergeometric sampling. Figure 2 shows an instance where all candidate SNPs belong to a single genomic region and another example where exactly one candidate SNP belongs to one genomic region. To determine significant spatial patterns, we count the number, g, of genomic regions in the selected GO term containing at least one candidate SNP and the number, c, of candidate SNPs contained in these regions. Then we sample without replacement c SNPs from all the SNPs associated with the GO term and count the number of genomic regions to which the SNPs belong. After r runs (100,000 by default), the resulting distribution of genomic regions with at least one SNP serves as a null distribution to test whether g deviates significantly from the simulated distribution. If g is small, then the candidate SNPs cluster in a few genomic regions (LD in Figure 2); if g is large, then the candidate SNP distribution is overdispersed (not shown).

This hypergeometric sampling is conceptually similar to the genome-wide permutation approaches typically applied to preserve the LD structure in the data (e.g., Guo et al. 2009; Holmans et al. 2009; Atwell et al. 2010; Kofler and Schlötterer 2012). However, our sampling space is defined by the genomic regions associated with the significant GO term, instead of the whole genome. In other words, SNP2GO does not assume that the level of LD between SNPs is, on average, equal across GO categories, and therefore it is released from violations of this general assumption (Holmans et al. 2009).

Results

As previously mentioned, our method is especially useful in population genetics studies where there is no a priori biological knowledge about linkage, haplotypes, or where this information cannot be inferred. To show the relevance of SNP2GO in such studies, we analyzed the SNPs identified from the comparison between the base and the middle experiment in Orozco-Terwengel et al. (2012). In this study, the authors found 2000 candidate SNPs (of 1.6 million) potentially involved in the thermal adaptation of D. melanogaster and wanted to find the biological pathways potentially implicated in the process. We ran SNP2GO on these data and found 135 significant GO terms (false discovery rate <0.05), with at least 10 genes associated to each of these terms (supporting information, Table S1). Typically, one would conclude that these cellular processes and molecular functions are involved in thermal adaptation in Drosophila. However, SNP2GO found that the number of genomic regions in the corresponding GO terms contributing to the significance of 120 of the 135 significant GO terms was lower than expected by chance (P < 0.05, according to the empirical null distribution). In other words, only a few genomic regions per GO term caused the significance. Hence, according to SNP2GO, one should be careful about the interpretation of the significance of these GO terms, since local genomic effects are probably clustering the candidate SNPs.

Therefore, we further studied the genomic distribution of the SNPs found in Orozco-Terwengel et al. (2012) and analyzed the location of the candidate SNPs on the chromosomes. We found that 1568 of the 2000 candidate SNPs (i.e., 78%) are located on the chromosomal arm 3R (expected 23%, according to the size of the chromosomal arm). In agreement with this observation, we also found that the chromosomal arm 3R contributes on average 2.6 more than expected to the significance of the GO terms (Figure 3). This leads to a simpler, nonadaptive, biological explanation for the significance of these GO terms. The Drosophila populations that Orozco-Terwengel et al. (2012) studied segregate the cosmopolitan inversion ln(3R)Payne, which covers a region of ∼8 Mb on the chromosomal arm 3R. Since suppression of recombination expands beyond the inversion region (Evans et al. 2007), LD is expected to affect more than one-third of this chromosomal arm, explaining the unique contribution of the genes located in this genomic region, as SNP2GO reported. This observation was recently corroborated by Tobler et al. (2013).

Figure 3.

Figure 3

Observed/expected ratio number of genes contributing to the significance of the GO terms. 3R, autosomal arm 3R; Rest, other chromosomes.

Conclusions

Originally developed for the analysis of gene expression data, gene list enrichment is currently being applied by researchers to test whether a particular pathway/GO term has an overrepresentation of candidate SNPs. While a big effort has been made to find the best criteria to define candidate SNPs and to detect whether LD is causing the significance of the pathway (Holmans 2010; Wang et al. 2012; Evangelou and Ioannidis 2013), the appropriateness of gene list enrichment methods in GWAS has not been discussed. Here we show that gene list enrichment tests are not generally applicable to test for the overrepresentation of candidate SNPs. Thus, we propose a candidate SNP enrichment analysis that is implemented in the program SNP2GO. SNP2GO tests on the basis of the number of candidate SNPs and noncandidate SNPs in a GO term. In addition, it allows testing for the spatial distribution of candidate SNPs and addresses the potential biological meaning for the significant overrepresentation.

An R package that implements our method (i.e., the inclusive analysis of GO terms, candidate SNPs enrichment analysis, and a test for local effects) can be found at http://www.cibiv.at/software/snp2go/index.shtml.

Supplementary Material

Supporting Information

Acknowledgments

The described method was conceived and developed at the Center for Integrative Bioinformatics, Vienna (CIBIV), and we thank all members of the CIBIV for helpful discussions and comments on earlier versions of this manuscript.

Footnotes

Communicating editor: L. B. Jorde

Literature Cited

  1. Agresti A., 1992.  A survey of exact inference for contingency tables. Stat. Sci. 7: 131–153. [Google Scholar]
  2. Al-Shahrour F., Dopazo J., 2005.  Ontologies and functional genomics, pp. 99–112 in Data Analysis and Visualization in Genomics and Proteomics , edited by F. Azuaje and J. Dopazo. John Wiley & Sons, West Sussex, England. [Google Scholar]
  3. Ashburner M., Ball C. A., Blake J. A., Botstein D., Butler H., et al. , 2000.  Gene ontology: tool for the unification of biology. The Gene Ontology Consortium. Nat. Genet. 25: 25–29. [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Atwell S., Huang Y. S., Vilhjálmsson B. J., Willems G., Horton M., et al. , 2010.  Genome-wide association of 107 phenotypes in Arabidopsis thaliana inbred lines. Nature 465: 627–631. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Bastide H., Betancourt A., Nolte V., Tobler R., Stöbe P., et al. , 2013.  A genome-wide, fine-scale map of natural pigmentation variation in Drosophila melanogaster. PLoS Genet. 9: e10003534. [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Benjamini Y., Hochberg Y., 1995.  Controlling the false discovery rate: a practical and powerful approach to multiple testing. J. R. Stat. Soc. B 57: 289–300. [Google Scholar]
  7. Chasman D. I., 2008.  On the utility of gene set methods in genomewide association studies of quantitative traits. Genet. Epidemiol. 32: 658–668. [DOI] [PubMed] [Google Scholar]
  8. Chen L. S., Hutter C. M., Potter J. D., Yang Y., Prentice R. L., et al. , 2010.  Insights into colon cancer etiology via a regularized approach to gene set analysis of GWAS data. Am. J. Hum. Genet. 86: 860–871. [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Duret L., Arndt P. F., 2008.  The impact of recombination on nucleotide substitutions in the human genome. PLoS Genet. 4: e1000071. [DOI] [PMC free article] [PubMed] [Google Scholar]
  10. Evangelou E., Ioannidis J. P., 2013.  Meta-analysis methods for genome-wide association studies and beyond. Nat. Rev. Genet. 14: 379–389. [DOI] [PubMed] [Google Scholar]
  11. Evans A. L., Mena P. A., McAllister B. F., 2007.  Positive selection near an inversion breakpoint on the neo-X chromosome of Drosophila americana. Genetics 177: 1303–1319. [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Eyre-Walker A., 1993.  Recombination and mammalian genome evolution. Proc. Biol. Sci. 252: 237–243. [DOI] [PubMed] [Google Scholar]
  13. Fabian D. K., Kapun M., Nolte V., Kofler R., Schmidt P. S., et al. , 2012.  Genome-wide patterns of latitudinal differentiation among populations of Drosophila melanogaster from North America. Mol. Ecol. 21: 4748–4769. [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Guo Y., Li J., Chen Y., Zhang L., Deng H., 2009.  A new permutation strategy of pathway-based approach for genome-wide association study. BMC Bioinformatics 10: 429. [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Hancock A. M., Brachi B., Faure N., Horton M. W., Jarymowycz L. B., et al. , 2011.  Adaptation to climate across the Arabidopsis thaliana genome. Science 334: 83–86. [DOI] [PubMed] [Google Scholar]
  16. Holmans P., 2010.  Statistical methods for pathway analysis of genome-wide data for association with complex genetic traits. Adv. Genet. 72: 141–179. [DOI] [PubMed] [Google Scholar]
  17. Holmans P., Green E. K., Pahwa J. S., Ferreira M. A., Purcell S. M., et al. , 2009.  Gene ontology analysis of GWA study data sets provides insights into the biology of bipolar disorder. Am. J. Hum. Genet. 85: 13–24. [DOI] [PMC free article] [PubMed] [Google Scholar]
  18. Hong M. G., Pawitan Y., Magnusson P. K., Prince J. A., 2009.  Strategies and issues in the detection of pathway enrichment in genome-wide association studies. Hum. Genet. 126: 289–301. [DOI] [PMC free article] [PubMed] [Google Scholar]
  19. Hwang D. G., Green P., 2004.  Bayesian Markov chain Monte Carlo sequence analysis reveals varying neutral substitution patterns in mammalian evolution. Proc. Natl. Acad. Sci. USA 101: 13994–14001. [DOI] [PMC free article] [PubMed] [Google Scholar]
  20. Jones F. C., Grabherr M. G., Chan Y. F., Russell P., Mauceli E., et al. , 2012.  The genomic basis of adaptive evolution in threespine sticklebacks. Nature 484: 55–61. [DOI] [PMC free article] [PubMed] [Google Scholar]
  21. Kanehisa M., Goto S., Kawashima S., Okuno Y., Hattori M., 2004.  The KEGG resource for deciphering the genome. Nucleic Acids Res. 32: D277–D280. [DOI] [PMC free article] [PubMed] [Google Scholar]
  22. Kofler R., Schlötterer C., 2012.  Gowinda: unbiased analysis of gene set enrichment for genome- wide association studies. Bioinformatics 28: 2084–2085. [DOI] [PMC free article] [PubMed] [Google Scholar]
  23. Nam D., Kim J., Kim S.-Y., Kim S., 2010.  GSA-SNP: a general approach for gene set analysis of polymorphisms. Nucleic Acids Res. 38: W749–W754. [DOI] [PMC free article] [PubMed] [Google Scholar]
  24. Medina I., Montaner D., Bonifaci N., Pujana M. A., Carbonell J., et al. , 2009.  Gene set-based analysis of polymorphisms: finding pathways or biological processes associated to traits in genome-wide association studies. Nucleic Acids Res. 37: W340–W344. [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Mi H., Muruganujan A., Thomas P. D., 2013.  PANTHER in 2013: modeling the evolution of gene function, and other gene attributes, in the context of phylogenetic trees. Nucleic Acids Res. 41: D377–D386. [DOI] [PMC free article] [PubMed] [Google Scholar]
  26. Orozco-terWengel P., Kapun M., Nolte V., Kofler R., Flatt T., et al. , 2012.  Adaptation of Drosophila to a novel laboratory environment reveals temporally heterogeneous trajectories of selected alleles. Mol. Ecol. 21: 4931–4941. [DOI] [PMC free article] [PubMed] [Google Scholar]
  27. Raychaudhuri S., Plenge R. M., Rossin E. J., Ng A. C., International Schizophrenia Consortium et al. , 2009.  Identifying relationships among genomic disease regions: predicting genes at pathogenic SNP associations and rare deletions. PLoS Genet. 5: e1000534. [DOI] [PMC free article] [PubMed] [Google Scholar]
  28. Singh N. D., Arndt P. F., Petrov D. A., 2005.  Genomic heterogeneity of background substitutional patterns in Drosophila melanogaster. Genetics 169: 709–722. [DOI] [PMC free article] [PubMed] [Google Scholar]
  29. Smith B., Ashburner M., Rosse C., Bard J., Bug W., et al. , 2007.  The OBO foundry: coordinated evolution of ontologies to support biomedical data integration. Nat. Biotechnol. 25: 1251–1255. [DOI] [PMC free article] [PubMed] [Google Scholar]
  30. Tanay A., Siggia E. D., 2008.  Sequence context affects the rate of short insertions and deletions in flies and primates. Genome Biol. 9: R37. [DOI] [PMC free article] [PubMed] [Google Scholar]
  31. Tobler R., Franssen S. U., Kofler R., Orozco-terWengel P., Nolte V., et al. , 2014.  Massive habitat-specific genomic response in D. melanogaster populations during experimental evolution in hot and cold environments. Mol. Biol. Evol. 31: 364–375. [DOI] [PMC free article] [PubMed] [Google Scholar]
  32. Turner T. L., Miller P. M., 2012.  Investigating natural variation in Drosophila courtship song by the evolve and resequence approach. Genetics 191: 633–642. [DOI] [PMC free article] [PubMed] [Google Scholar]
  33. Turner T. L., Steward A. D., Fields A. T., Rice W. R., Tarone A. M., 2011.  Population-based resequencing of experimentally evolved populations reveals the genetic basis of body size variation in Drosophila melanogaster. PLoS Genet. 7: e10001336. [DOI] [PMC free article] [PubMed] [Google Scholar]
  34. Wang K., Li M., Bucan M., 2007.  Pathway-based approaches for analysis of genomewide association studies. Am. J. Hum. Genet. 81: 1278–1283. [DOI] [PMC free article] [PubMed] [Google Scholar]
  35. Wang K., Li M., Hakonarson H., 2012.  Analysing biological pathways in genome-wide association studies. Nat. Rev. Genet. 11: 843–854. [DOI] [PubMed] [Google Scholar]
  36. Zhang K., Cui S., Chang S., Zhang L., Wang J., 2010. i-GSEA4GWAS: a web server for identification of pathways/gene sets associated with traits by applying an improved gene set enrichment analysis to genome-wide association study. Nucleic Acids Res. 38: W90–W95. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supporting Information

Articles from Genetics are provided here courtesy of Oxford University Press

RESOURCES