Literature DB >> 21714868

phenosim--A software to simulate phenotypes for testing in genome-wide association studies.

Torsten Günther1, Inka Gawenda, Karl J Schmid.   

Abstract

BACKGROUND: There is a great interest in understanding the genetic architecture of complex traits in natural populations. Genome-wide association studies (GWAS) are becoming routine in human, animal and plant genetics to understand the connection between naturally occurring genotypic and phenotypic variation. Coalescent simulations are commonly used in population genetics to simulate genotypes under different parameters and demographic models.
RESULTS: Here, we present phenosim, a software to add a phenotype to genotypes generated in time-efficient coalescent simulations. Both qualitative and quantitative phenotypes can be generated and it is possible to partition phenotypic variation between additive effects and epistatic interactions between causal variants. The output formats of phenosim are directly usable as input for different GWAS tools. The applicability of phenosim is shown by simulating a genome-wide association study in Arabidopsis thaliana.
CONCLUSIONS: By using the coalescent approach to generate genotypes and phenosim to add phenotypes, the data sets can be used to assess the influence of various factors such as demography, genetic architecture or selection on the statistical power of association methods to detect causal genetic variants under a wide variety of population genetic scenarios. phenosim is freely available from the authors' website http://evoplant.uni-hohenheim.de.

Entities:  

Mesh:

Year:  2011        PMID: 21714868      PMCID: PMC3150295          DOI: 10.1186/1471-2105-12-265

Source DB:  PubMed          Journal:  BMC Bioinformatics        ISSN: 1471-2105            Impact factor:   3.307


Background

In recent years, genome-wide association studies (GWAS) became widely used to uncover the genetic basis of complex traits by comparing patterns of genetic and phenotypic variation [1-3]. The power of such studies depends on various factors that include the genetic architecture of the trait, the demographic history of the population, and variation in mutation and recombination rates [4]. In addition, the trait under investigation may be adaptive or (in case of a disease trait) can evolve under purifying selection, which both would result in a non-neutral pattern of genetic diversity in the genomic neighborhood of the causal mutation. Coalescent simulations are widely used to simulate genotypes under complex demographies [5] with recent extensions to include recombination hotspots [6] and selection [7], or to simulate whole genomes [8]. Simulations are often used to test population genetic hypotheses by comparing simulated and observed data. However, such simulations produce only genotypes but not phenotypes, which are also required to test methods for detecting significant associations between genetic and phenotypic variation. Although some tools provide an option to map phenotypes onto simulated genotypes, they only allow the simulation of qualitative phenotypes [9] or require time-consuming forward-in-time simulations to create genotypes from complex demographic scenarios [10-13]. Here, we present phenosim, a tool written in Python [14] that was designed to add a phenotype to genotypes simulated by coalescent-based simulation tools. Simulated phenotypes may either be qualitative or quantitative traits with different effect sizes and may show epistatic interactions. Hence, the simulation of case/control studies as well as the search for quantitative trait nucleotides (QTNs) of a complex trait with a user-defined architecture is possible. By combining simulated genotypes and phenotypes, researchers can assess the influence of different factors on the power of new methods for association mapping, compare different methods or estimate an optimal sample size and number of markers for a given study design.

Implementation

The general work flow of phenosim is shown in Figure 1. First, the user simulates genotypes with one of four different programs for coalescent simulations. In the current version, phenosim is able to read the output of the ms[5], msHOT[6], msms[7] and GENOME[8] programs. After the import of genotypes, a phenotype generated under a user-defined model is assigned to each genotype. The trait can either be qualitative or quantitative.
Figure 1

Work flow. Flowchart of the phenosim pipeline.

Work flow. Flowchart of the phenosim pipeline. For qualitative traits, one- and two-locus models are supported. The user defines the model by setting the penetrance (probability of being affected) for all genotypes. In the two-locus model, this is done by a penetrance table for all possible allelic combinations among the two loci. Therefore, the user may define arbitrary interactions between all alleles of the loci. The case/control-status of all simulated individuals is then assigned according to the model. In many cases, disease states are caused by risk alleles segregating at low allele frequencies in the overall population. As such low frequency variants share a genealogy that may differ from high frequency variants and thus the linkage pattern around these variants may be different [15], the user can restrict causal mutations to a certain frequency range to obtain realistic risk loci. However, as this may result in a low number of cases in the final sample, users need to simulate larger populations and optionally enter a minimum number of cases to be sampled from the population. This procedure reflects the sampling procedure of many case/control studies. For quantitative traits, multiple QTNs with additive effects or epistatic interactions between two QTNs are possible. By default locations of causal variants are selected randomly. Nevertheless, the user can determine the position of a QTN manually and/or restrict the selection to an allele frequency range. A phenotype is generated based on the formulas of [16], which we generalize for additive effects among multiple QTNs as follows. The trait value is calculated by adding a fixed variance proportion explained by the QTN to a random number drawn from a standard normal distribution with mean 0 and standard deviation 1, N(0, 1). We provide two different models, depending on the ploidy of the individuals. The effect of the j-th QTN is πand the QTN has a derived allele frequency of f. It should be noted that the sum of all QTN effects, ∑, equals the heritability, h2, of the trait. If the individuals are haploid, the allelic state of the i-th individual at the j-th QTN is a, where a:= 0 if the allele is ancestral and a:= 1 if it is derived. Then the phenotype Y of individual i is calculated as: The phenotype of diploid individuals under an additive model without dominance is calculated as: where Q:= 1 if the j-th QTN is homozygous derived, Q:= 0 if the QTN is heterozygous and Q:= -1 if the QTN is homozygous ancestral. Dominant effects at each QTN and additive effects between loci are also supported for diploids. In this case, equation (1) is used with a:= 0 for homozygous ancestral QTNs and a:= 1 for heterozygous and homozygous derived individuals. If exactly two QTNs are selected, a positive, additive epistatic effect πbetween these QTNs can be simulated. This epistasis is modeled as a fictive third QTN, whose allelic state ais 1, if the individual carries at least one derived allele at both basal QTNs. For users with a some Python scripting experience, other types of epistasis can easily be simulated by modifying the code of phenosim. To simulate a causal haplotype or allelic heterogeneity among two causal variants within a single gene, both QTNs may also be located on a common haploblock defined by the four-gamete test [17]. To our knowledge, quantiNemo[12] is the only software that currently supports the simulation of interactions between QTNs. However, quantiNemo utilizes time-consuming forward simulations, whereas phenosim allows to include epistasis between QTNs within a time-efficient coalescent framework. After phenotypes have been generated, a predefined number of markers and/or individuals can be sub sampled from the total simulated population. The causal marker(s) can be optionally removed from the sample, since frequently the causal mutation itself is not genotyped in a genome-wide study. Finally, genotypes and phenotypes are written into different output file formats that can be directly used as input for commonly used association programs such as Blossoc/QBlossoc[16,18], EMMA/EMMAX[19,20], PLINK[21], QTDT/MERLIN[22,23] and TASSEL 3.0 [24]. A snapshot of phenosim is available as Additional File 1 whereas the most current version is maintained at http://evoplant.uni-hohenheim.de

Results and Discussion

To demonstrate the ability of phenosim to simulate data for GWAS, we utilized GENOME[8] and simulated populations N= 1000, with a population recombination parameter of ρ = 8 · 10-3 and 250,000 SNPs distributed over a 120 Mbp genome. These settings are comparable to data sets used for recent GWAS in A. thaliana [2,25,26]. phenosim was then used to generate phenotypes under three different models: (i) 2 QTNs, each with an effect of 0.05; (ii) 2 QTNs at random positions, each with an effect of 0.01, and epistatic interaction of π= 0.08; and (iii) 2 QTNs, located on a common haploblock, each with an effect of 0.01 and epistatic interaction of π= 0.08. In all three scenarios, the total proportion of variance explained by these QTNs and their interaction was identical (h2 = 0.1). Four hundred chromosomes were sub-sampled and the causal polymorphisms were removed from the data. EMMAX[20] was used to detect marker-trait associations and the causal locus for this hypothetical trait. In Figure 2 we show the proportion of significant markers that were found at a given distance from the causal locus. In the first model (only additive effects), less than 10% of the detected significant markers are located within a distance of 10 kbp to the causal locus. A larger sample size may increase the power to detect such small additive effects in genome-wide scans. Despite the smaller additive effect in model (ii), the number of significant markers within 10 kbp of the QTN was comparable to model (i). Additionally, there is an increased number of significant associations further than 10 kbp from the QTNs. These may represent false positive associations caused by epistasis, such as markers that are in strong linkage disequilibrium with the fictive epistatic marker [27]. The highest power was observed in the third model. QTNs on a common haploblock with epistatic effects create a strong joint QTL and therefore in more than 75% of simulations, a significant marker was located within a distance of 10 kbp to the causal locus. The results show that single marker association methods as EMMAX are able to detect QTNs with small additive effects and a strong positive epistatic interaction. However, in certain situations larger samples than simulated sizes are needed and some results may be confounded by false positives as discussed earlier [27].
Figure 2

Example. Proportion of significant marker-trait associations (Bonferroni adjusted significance threshold) found at different distances from the causal marker. For each QTN, the distance to the next significant association is shown. The bars on the left show the proportion of simulated data sets for which no significant association was found. The simulated models include: 'additive' - 2 QTNs randomly distributed with a variance proportion of 0.05 each; 'epi_rand' - 2 QTNs randomly distributed with a variance proportion of 0.01 each and 0.08 epistatic effect; 'epi_hapl' - 2 QTNs located on a common haploblock with a variance proportion of 0.01 each and 0.08 epistatic effect. Each model was simulated 1000 times.

Example. Proportion of significant marker-trait associations (Bonferroni adjusted significance threshold) found at different distances from the causal marker. For each QTN, the distance to the next significant association is shown. The bars on the left show the proportion of simulated data sets for which no significant association was found. The simulated models include: 'additive' - 2 QTNs randomly distributed with a variance proportion of 0.05 each; 'epi_rand' - 2 QTNs randomly distributed with a variance proportion of 0.01 each and 0.08 epistatic effect; 'epi_hapl' - 2 QTNs located on a common haploblock with a variance proportion of 0.01 each and 0.08 epistatic effect. Each model was simulated 1000 times. On average, a single simulation ran 4 min with GENOME[8] and 2 min with phenosim on a single core of an Intel Xeon X5650 (2.66 GHz) Processor. To compare this running time with other software tools, we simulated two QTNs and 249,998 neutral loci in a population of 500 diploid individuals using quantiNemo[12]. In six minutes, quantiNemo generated ~120 generations. As the expected coalescent time for a sample is ~ 4Ngenerations [28], this is by far not enough to get a realistic variation pattern comparable to what can be achieved by GENOME in the same time. Although forward simulations like quantiNemo allow more complex demographic, selection and trait scenarios, the combination of coalescent simulators and phenosim is much more suitable for generating multiple simulations of large sample sizes.

Conclusions

Demographic effects, genetic architecture, selection, and different mutation and recombination rates affect the ability to detect the genetic basis of complex traits in natural populations [4]. Such population genetic parameters can now be estimated from genome-wide marker sets prior to further analyses. Since GWAS are widely used in plant and animal genetics, there is a great interest in assessing the power of a particular study or method. Using coalescent simulations in conjunction with phenosim, one can investigate the statistical power and other characteristics of GWAS methods efficiently. Additionally, as different causal markers may contribute different effects to a trait, the essential sample size and number of markers to detect a certain pattern can be estimated.

Competing interests

The authors declare that they have no competing interests.

Availability and requirements

• Project name: phenosim • Project home page: http://evoplant.uni-hohenheim.de • Operating system(s): Platform independent • Programming language: Python • Other requirements: Python 2.X • License: no license required • Any restrictions to use by non-academics: none

Authors' contributions

TG, IG and KJS conceived the project. TG and IG designed the software. TG wrote the code. IG analyzed the data. KJS supervised the project. All authors contributed to writing of the manuscript. All authors read and approved the final manuscript.

Additional file 1

phenosim v0.15. The archive includes the current version of phenosim as well as a documentation of its usage. For updated versions, please visit the authors' website http://evoplant.uni-hohenheim.de. Click here for file
  26 in total

1.  A general test of association for quantitative traits in nuclear families.

Authors:  G R Abecasis; L R Cardon; W O Cookson
Journal:  Am J Hum Genet       Date:  2000-01       Impact factor: 11.025

2.  Association mapping of local climate-sensitive quantitative trait loci in Arabidopsis thaliana.

Authors:  Yan Li; Yu Huang; Joy Bergelson; Magnus Nordborg; Justin O Borevitz
Journal:  Proc Natl Acad Sci U S A       Date:  2010-11-15       Impact factor: 11.205

3.  GENOME: a rapid coalescent-based whole genome simulator.

Authors:  Liming Liang; Sebastian Zöllner; Gonçalo R Abecasis
Journal:  Bioinformatics       Date:  2007-04-25       Impact factor: 6.937

4.  PLINK: a tool set for whole-genome association and population-based linkage analyses.

Authors:  Shaun Purcell; Benjamin Neale; Kathe Todd-Brown; Lori Thomas; Manuel A R Ferreira; David Bender; Julian Maller; Pamela Sklar; Paul I W de Bakker; Mark J Daly; Pak C Sham
Journal:  Am J Hum Genet       Date:  2007-07-25       Impact factor: 11.025

5.  Variance component model to account for sample structure in genome-wide association studies.

Authors:  Hyun Min Kang; Jae Hoon Sul; Susan K Service; Noah A Zaitlen; Sit-Yee Kong; Nelson B Freimer; Chiara Sabatti; Eleazar Eskin
Journal:  Nat Genet       Date:  2010-03-07       Impact factor: 38.330

6.  Statistical properties of the number of recombination events in the history of a sample of DNA sequences.

Authors:  R R Hudson; N L Kaplan
Journal:  Genetics       Date:  1985-09       Impact factor: 4.562

7.  MSMS: a coalescent simulation program including recombination, demographic structure and selection at a single locus.

Authors:  Gregory Ewing; Joachim Hermisson
Journal:  Bioinformatics       Date:  2010-06-30       Impact factor: 6.937

8.  CoaSim: a flexible environment for simulating genetic data under coalescent models.

Authors:  Thomas Mailund; Mikkel H Schierup; Christian N S Pedersen; Peter J M Mechlenborg; Jesper N Madsen; Leif Schauser
Journal:  BMC Bioinformatics       Date:  2005-10-14       Impact factor: 3.169

9.  Whole genome association mapping by incompatibilities and local perfect phylogenies.

Authors:  Thomas Mailund; Søren Besenbacher; Mikkel H Schierup
Journal:  BMC Bioinformatics       Date:  2006-10-16       Impact factor: 3.169

10.  Fregene: simulation of realistic sequence-level data in populations and ascertained samples.

Authors:  Marc Chadeau-Hyam; Clive J Hoggart; Paul F O'Reilly; John C Whittaker; Maria De Iorio; David J Balding
Journal:  BMC Bioinformatics       Date:  2008-09-08       Impact factor: 3.169

View more
  7 in total

1.  Advantages of continuous genotype values over genotype classes for GWAS in higher polyploids: a comparative study in hexaploid chrysanthemum.

Authors:  Fabian Grandke; Priyanka Singh; Henri C M Heuven; Jorn R de Haan; Dirk Metzler
Journal:  BMC Genomics       Date:  2016-08-24       Impact factor: 3.969

2.  PhenotypeSimulator: A comprehensive framework for simulating multi-trait, multi-locus genotype to phenotype relationships.

Authors:  Hannah Verena Meyer; Ewan Birney
Journal:  Bioinformatics       Date:  2018-09-01       Impact factor: 6.937

3.  Identifying Cancer genes by combining two-rounds RWR based on multiple biological data.

Authors:  Wenxiang Zhang; Xiujuan Lei Ieee Member; Chen Bian
Journal:  BMC Bioinformatics       Date:  2019-11-25       Impact factor: 3.169

4.  SeqSIMLA: a sequence and phenotype simulation tool for complex disease studies.

Authors:  Ren-Hua Chung; Chung-Chin Shih
Journal:  BMC Bioinformatics       Date:  2013-06-20       Impact factor: 3.169

5.  Efficient Coalescent Simulation and Genealogical Analysis for Large Sample Sizes.

Authors:  Jerome Kelleher; Alison M Etheridge; Gilean McVean
Journal:  PLoS Comput Biol       Date:  2016-05-04       Impact factor: 4.475

6.  cophesim: a comprehensive phenotype simulator for testing novel association methods.

Authors:  Ilya Y Zhbannikov; Konstantin G Arbeev; Anatoliy I Yashin
Journal:  F1000Res       Date:  2017-08-01

7.  Simulating variance heterogeneity in quantitative genome wide association studies.

Authors:  Ahmad Al Kawam; Mustafa Alshawaqfeh; James J Cai; Erchin Serpedin; Aniruddha Datta
Journal:  BMC Bioinformatics       Date:  2018-03-21       Impact factor: 3.169

  7 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.