 Software
 Open Access
 Published:
Genotype calling in tetraploid species from biallelic marker data using mixture models
BMC Bioinformaticsvolume 12, Article number: 172 (2011)
Abstract
Background
Automated genotype calling in tetraploid species was until recently not possible, which hampered genetic analysis. Modern genotyping assays often produce two signals, one for each allele of a biallelic marker. While ample software is available to obtain genotypes (homozygous for either allele, or heterozygous) for diploid species from these signals, such software is not available for tetraploid species which may be scored as five alternative genotypes (aaaa, baaa, bbaa, bbba and bbbb; nulliplex to quadruplex).
Results
We present a novel algorithm, implemented in the R package fitTetra, to assign genotypes for biallelic markers to tetraploid samples from genotyping assays that produce intensity signals for both alleles. The algorithm is based on the fitting of several mixture models with five components, one for each of the five possible genotypes. The models have different numbers of parameters specifying the relation between the five component means, and some of them impose a constraint on the mixing proportions to conform to HardyWeinberg equilibrium (HWE) ratios. The software rejects markers that do not allow a reliable genotyping for the majority of the samples, and it assigns a missing score to samples that cannot be scored into one of the five possible genotypes with sufficient confidence.
Conclusions
We have validated the software with data of a collection of 224 potato varieties assayed with an Illumina GoldenGate™ 384 SNP array and shown that all SNPs with informative ratio distributions are fitted. Almost all fitted models appear to be correct based on visual inspection and comparison with diploid samples. When the collection of potato varieties is analyzed as if it were a population, almost all markers seem to be in HardyWeinberg equilibrium. The R package fitTetra is freely available under the GNU Public License from http://www.plantbreeding.wur.nl/UK/software_fitTetra.html and as Additional files with this article.
Background
Several important agronomic and horticultural crops are tetraploids, including potato (Solanum tuberosum), leek (Allium porrum) and alfalfa (Medicago sativa). In such species marker alleles can be present in different dosages, ranging from 0 (nulliplex) to 4 (quadruplex). Differences in allele dosage may result in differences in the RNA levels of a particular allele and in phenotypic differences [1]. Therefore it is important to be able to exactly determine the allele dosage.
In species with tetrasomic inheritance like autotetraploids the four copies of each chromosome may recombine with each other, showing no or little preferential pairing [2]. In contrast, in allotetraploids, also termed amphidiploids, in effect there are two different genomes that show little or no recombination.
Genetic studies in species with tetrasomic inheritance have lagged behind those in diploids because segregation patterns are more complex. The exception is where one parent of a cross contains an allele in single dose (simplex, abbb) and the other parent is homozygous (nulliplex, bbbb); in this case segregation is exactly as in a diploid heterozygous × homozygous cross. While software has been developed for linkage analysis including duplex marker segregation and multiallelic markers [3], genetic studies in tetraploids rely mostly on simplex × nulliplex marker segregation, or on simplifying assumptions regarding chromosomal pairing [4]. Still, the construction of linkage maps based on such simplex × nulliplex markers is problematic because most of the markers will be in repulsion phase (two tetraploid cross parents have 8 homologs, so only one in 8 pairs of simplex × nulliplex markers are in linkage phase), meaning that genetic distances can be assessed only with low precision.
With the advent of highthroughput SNP genotyping technologies the number of available markers is increasing dramatically. To take full advantage of these technologies it is desirable to make use of all segregating markers in a population, not just the simplex × nulliplex markers. Also for association mapping in collections of genotypes the use of as many markers as possible would be useful [5, 6]. This requires the ability to score allele dosage, in contrast to just presence or absence of an allele, like in the case of simplex × nulliplex markers.
In the past highly polymorphic SSR markers have been used to study segregation of alleles in polyploid species [7, 8] and a general method, MACPR (microsatellite DNA allele counting  peak ratios) was developed [9]. In MACPR ratios between microsatellite peak areas are used to deduce the allelic configuration of a polyploid plant. The current technologies for SNP genotyping [10], including Illumina GoldenGateTM [11] and Infinium array [12, 13] typically generate two signals, one for each of two alleles at a marker locus. In principle, these signals are proportional with the allele dosage, e.g. one of five classes from nulliplex to quadruplex in a tetraploid species. However, in real life both signals are generally continuous, making it more difficult to assign a sample to a specific class. One approach to convert the continuous signal scores to discrete genotype classes is to apply a clustering algorithm to the twodimensional signal data. This is the approach used e.g. by Illumina's proprietary GenomeStudio software http://www.illumina.com/software/genomestudio_software.ilmn for diploid samples. In the diploid case only three genotype classes are possible, and assigning a genotype class to each cluster is not too difficult, even if one of the classes does not occur. However with tetraploid samples the problem is more complex. There are five instead of three possible genotype classes, which makes the cluster separation more difficult. Also, possibly occurring null alleles (alleles that are not recognized by the assay and hence do not generate a signal) may produce one or two additional clusters, in contrast to the diploid case. Finally, in a clustering approach the issue arises how to match the clusters to the different genotypes; in a tetraploid the number of clusters and genotypes is larger which complicates this matching, especially if less than five clusters are detected. Very recently, a software package, beadarrayMSV became available that is able to analyse Illumina BeadArrays in the partly duplicated genomes and uses a clustering approach to discriminate five possible genotypes [14]; this is discussed in more detail below.
We present here an alternative approach based on mixture models. Mixture models have been used in the codominant scoring of AFLP band intensities for diploid species [15, 16], and specifically in collections of genotypes [17]. Our approach is based on the allele signal ratio, i.e. the fraction of the a signal in the total signal. We fitted a mixture of five normal distributions to the allele signal ratios, with each distribution representing one of the five possible genotype classes. The means of the five distributions are constrained by the corresponding allele ratios (see Implementation  The mixture model). Because we model the component means explicitly as a function of the allele ratios, the assignment of components to genotype classes is in our case automatic. Furthermore, the relation between allele ratios and means of the distributions helps to identify each distribution, even when the distributions overlap considerably. These advantages compared with a clustering approach are well worth the considerable extra computation time required.
Implementation
The mixture model
We fit mixture models to the response signals to classify the markers into one of five genotype classes, corresponding to the five possible allele dosages in tetraploids. This type of classification is often called modelbased clustering, because a statistical model is used for the responses. We describe the model here.
Let the pair s_{ a } and s_{ b } represent the measured a and b allele signal strengths for an individual. We analyze the fraction s_{ a } /(s_{ a } + s_{ b } ). As it is advantageous to have a homoscedastic response in the mixture model, and the calculated fraction shows variance heterogeneity with smaller variation for fractions closer to 0 and 1, we take the arcsinesquare root (asr) transformed fraction to stabilize the variance.
For the transformed fraction y a normal (or Gaussian) mixture model [18] is fitted:
with f_{ j } the density of a normal distribution with mean μ_{ j } and common standard deviation σ. The mixing probabilities π_{ j } are the prior probabilities of a marker to have allele dosage j, with Σ_{j}π_{j}= 1. In the model described above, five components are specified for the five allele dosages (0,..,4), but in other situations less or more components may be needed. In case of five components, ten model parameters have to be estimated: five means μ_{ j } (for the mean responses of the five allele dosages), one standard deviation σ (measuring the common spread of individual responses with the same allele dosage), and four probabilities π_{ j } (measuring the fraction of individuals having the j^{th} allele dosage), with the fifth probability following from the other four.
One of the principles in statistical modelling is parsimony: remove redundant model parameters to improve stability and interpretability of results. Here it may be beneficial to put constraints on two groups of parameters:

1)
Constraints on π_{ j } according to HardyWeinberg equilibrium (HWE). If the allele dosages are in HWE, a single parameter p, representing the allele frequency in the population, suffices instead of four probabilities π_{ j } . The constraints are π _{1} = p ^{4}, π _{2} = 4p ^{3}(1p), π _{3} = 6p ^{2}(1p)^{2}, π _{4} = 4p(1p)^{3}, π _{5} = (1p)^{4}.

2)
Constraints on μ_{ j } , by incorporating an assumed relationship between allele dosage and signal strength. We first assume that the signal strengths s_{ a } and s_{ b } depend linearly on the allele dosage: with x the dosage of allele a, and 4x the dosage of allele b, the model states for the mean signal strengths of s_{ a } and s_{ b } where a _{0} and b _{0} are the background signal strength for alleles a and b. The fraction contains a superfluous parameter, and can be simplified into model 1:
(1)
with c_{1} = a_{0} /a_{1}, c_{2} = b_{0} /a_{1}, and r = b_{1} /a_{1}. Hence, parameters c_{1} and c_{2} are proportional to the background signals, and r is the ratio of sensitivities of the a and b signal strengths to the allele dosages.
If the a and b background signal strengths are equal, a common parameter c = c_{1} = c_{2} can be used to arrive at model 2:
The assumption of a linear relationship between signal strength and allele dosage may be too restrictive. Therefore, the model for the individual signal strengths is extended into assuming equal curvature for both signals, rendering the third model
with d = a_{2} /a_{1}.
Model 3 may be simplified into model 4, by equating the background signal strengths:
Models (1)  (4) are formulated for the fraction of means of signal strengths. However, as the response is the asr transformed variable y, the models need to be transformed as well. The transformed model (1) for the expectation of y is μ_{ y } = asr((c_{1} + x)/(c_{1} + x + c_{2} + r (4  x))), and likewise for the other three models.
There are two minor complications with the models:

The models 14 are developed for the fraction of expected signal strengths E(s_{ a })/(E(s_{ a }) + E(s_{ b })), but we analyze the fraction s_{ a }/(s_{ a }+ s_{ b }), amounting to a model for the expected fraction E(s_{ a }/(s_{ a }+ s_{ b })). However, the expectation of a fraction and the fraction of expectations are approximately, but not exactly, equal.

Transformation bias. We analyze the asrtransformed ratio of intensities y = asr(s_{ a }/(s_{ a }+ s_{ b })), amounting to a model for the expectation E(y). This expectation is approximately, but not exactly, equal to asr(E(y)).
Summarizing, two approximations are employed: E(asr(s_{ a } /(s_{ a } + s_{ b } ))) ≈ asr(E(s_{ a } /(s_{ a } + s_{ b } ))) ≈ asr(E(s_{ a } )/(E(s_{ a } ) + E(s_{ b } ))).
To compare different models, e.g. the unconstrained and HWEconstrained model, 2loglikelihoods (2LL) may be compared, with by definition a smaller 2LL for the unconstrained (larger) model. To balance model fit and increased model complexity, we use the Bayesian Information Criterion (BIC), which adds a penalty to the 2LL based on the number of parameters k in the model (and n the number of individuals): BIC = 2LL+k ln(n) [19].
The different mixture models are fitted to the transformed fractions using maximum likelihood (ML). The EMalgorithm is used to find the MLestimates [20]. The EMalgorithm needs starting values of the parameters. Next, E and Msteps are iterated. In the Estep, given the current parameter values, the posterior probabilities of an individual to have each of five allele dosages are calculated, followed by the Mstep, in which the mixture probabilities π_{ j } are estimated, and μ_{ j } and σ by weighted nonlinear least squares. The fitting is done using R [21]. For a more elaborate description of mixture models for marker genotyping and the EMalgorithm, see [17].
Model and marker selection
The selection of a suitable mixture model for a given marker is the result of a multistep process that has been developed empirically.
Before starting the model selection itself, unreliable observations should be removed. In the case of an Illumina GoldenGate assay we removed all observations with a total signal intensity less than 3200 (see Data sets for the rationale for this threshold).
In the first step, eight different mixture models are fitted. Each model consists of 5 component distributions. The means of the component distributions are constrained by the five possible allele ratios, using one parameter for the ratio of intrinsic signal strength for both alleles, and additionally one or two parameters for signal background, and no or one coefficient for a quadratic term in the signal response (Equations 14). This results in four possible models for the means of the component distributions. Each of these models is combined with two models for the mixing proportions: (a) the mixing proportions are not constrained, or (b) the mixing proportions are constrained to HardyWeinberg equilibrium (HWE) ratios. The HWE restriction often helps in identifying the peaks, even if the actual ratios depart slightly from the HWE. As the EM algorithm does not always find the global maximum from a given start configuration of parameter values, the EM algorithm for these eight models is started with two different configurations of means: one where the five original means are derived from a hierarchical clustering of the signal ratios, and one where they are set at equidistant positions on the transformed scale from 0.142 to 1.429 (corresponding to 0.02 and 0.98 on the original scale).
The BIC of the 16 results are compared and the result with the minimum BIC is selected. Using the selected model, for every sample the probabilities of belonging to each of the five distributions are calculated. Only if the maximum probability is above a certain threshold (by default 0.99) the corresponding genotype class is assigned to the sample. This threshold affects the reliability of the genotype scores; a high threshold (such as the default) results in a high reliability but in less called genotypes; and if the percentage of called genotypes drops below a specified level (see below) the SNP is not scored at all.
If the difference in response between the two allelic signals is large (parameter r is much smaller or larger than 1), a wide gap occurs between the nulliplex or quadruplex peak and the next peak, while the other four peaks are closely spaced. In such cases it may happen that the EM algorithm does not find the optimal fit but instead fits the simplex or triplex peak in the wide gap. In order to detect and correct such misfits, a second step tests whether the simplex or triplex peaks have a lower mixing proportion or a smaller number of samples assigned than peaks at both sides. If this is the case, the eight models are fitted again with a third starting configuration for the distribution means: if the triplex peak appears to be fitted in the gap the means of the duplex, simplex and nulliplex peaks are reassigned to the triplex, duplex and simplex peak; for the nulliplex peak a new mean halfway between the (new) simplex mean and 0.0 is assigned. A similar rearrangement is made if the simplex peak appears to be fitted in the gap. Using this new starting configuration of the means the EM algorithm for the eight models is run again.
For each of the fitted models a check is done if a lower peak occurs between higher peaks. Neither in a cross progeny nor in a population in HardyWeinberg equilibrium such a pattern is expected. Therefore, by default the algorithm includes a third step which rejects all fitted solutions where such a pattern occurs; however, this check can be disabled. If in all fitted models lower peaks occur between higher peaks or if this check is disabled, no solutions are rejected in this step.
After these initial steps, the fitted model with the lowest BIC among the nonrejected solutions is selected. Again for every sample the probabilities of belonging to each of the five distributions are calculated and genotypes are assigned using the same criterion as in step 1.
In the final step, markers can be rejected based on several additional criteria. If less than a minimum fraction (by default 60%) of the samples are assigned a genotype this indicates an unclear peak pattern. This parameter interacts with the parameter specifying the minimum probability level required for assigning a genotype as described above. Also a peak variance above a certain threshold (by default 0.1 on the transformed scale) causes the marker to be rejected; again this filters against unclear peak patterns. This parameter may be decreased when the general noise level of the wellperforming assays is low. A third criterion for marker rejection is when more than a maximum fraction (by default 85%) of the assigned samples are in the same peak. This parameter may be increased for data sets with more samples, as long as there are sufficient samples outside the main peak for reliable fitting of the remaining components of the mixture distribution.
It is recommended to try out some different values of the parameters based on the guidelines above and inspect the results for a subset of the markers, before selecting the values to apply to the full dataset.
The program
The algorithm for model fitting and selection is implemented in fitTetra, an R package [21] which is included as Additional files 1 and 2. FitTetra produces output in tabular form, including (1) a specification of the fitted model with a.o. the means and mixing proportions of the mixture components, and (2) a list of samples, their probabilities of belonging to each of the mixture components and their assigned genotypes. Further it produces a graphical presentation with a histogram of the allele signal ratio distribution, the fitted model and the genotypes assigned to the samples. If data on diploid samples are also available, a histogram with the signal ratios of these samples is shown superimposed on the tetraploid histogram for visual comparison; the diploid samples are not used in the model fitting or selection. A typical example is shown in Figure 1.
Results
Selection of useful SNPs
The GoldenGate data set consisted of 384 SNPs that were scored on 224 tetraploid samples, resulting in 86016 data points of which 70556 reached the signal intensity threshold. Sixtythree of the 384 SNPs (16%) were rejected because less than 60% of the samples reached this threshold.
In the first step of the model selection, 9 of the 321 SNPs were rejected because model fitting failed for numerical reasons with all of the 8 models and both start configurations used for the component means. Visual inspection showed that 7 of these 9 SNPs had no clear peak pattern and 2 were monomorphic. Of the remaining 312 SNPs, in 58 cases one of the five component distributions appeared to be fitted in a wide gap in the histogram; in these cases the second step of model fitting was performed with an adjusted starting configuration of means, which in 45 cases resulted in an improved fit (Figure 2).
Finally, of the 312 SNPs 74 were discarded because less than 60% of the samples could be assigned a genotype, 26 because more than 85% of the samples were scored in one peak and 4 because the standard deviation of the component distributions was above the threshold (0.1 on the transformed scale), leaving 208 SNPs that delivered genotyping data useful for allele dose determination.
Visual inspection showed that of the 26 SNPs that were discarded because more than 85% of the samples was in one peak, 15 were completely monomorphic, while in 11 cases a small number of samples was found outside the peak. The other rejected SNPs all showed an unclear, diffuse pattern in the signal ratio histograms.
Of the 208 SNPs with genotype scores, on visual inspection nine were dominated by one large peak. While the large peak contained less than 85% of the samples and the SNP was therefore not rejected, the remaining samples for these SNPs did not show clear peaks and their scoring seemed uncertain. Also, one SNP (PotSNP234) showed an unclear peak pattern with apparently a small simplex peak between larger nulliplex and duplex peaks. When this interpretation of the peaks is correct, the fitted model and most assigned genotypes for this SNP are incorrect, as the fitted simplex peak rather than the duplex peak coincides with the heterozygous diploid peak. Another SNP (PotSNP373) showed a highly unequal signal intensity for both alleles, with the mean of the duplex peak above 0.85; also in this case the fitted model and most assigned genotypes were incorrect.
Validation and application of the SNPs
Generally the presence of diploid samples allows a visual check on the correctness of the fitted mixture model. For 123 of the 206 fitted SNPs (excluding the incorrectly fitted PotSNP234 and PotSNP373) the diploid samples were polymorphic. In 110 of these, the diploid peaks coincided with the nulliplex, duplex and quadruplex peaks of the tetraploid varieties. In 13 cases the positions of the diploid peaks did not match that of the corresponding tetraploid peaks.
The presence of null alleles may be indicated by the presence of extra peaks between the duplex and the simplex and/or triplex peaks. While such peaks can be observed visually in several histograms (e.g. Figure 3, PotSNP034) it is not clear whether these really represent aab0 or abb0 genotypes, or are just a random phenomenon. We have tried to test for the presence of an excess of samples between the scored duplex and simplex or triplex samples based on the fitted mixture model, but this did not produce conclusive results. Therefore fitTetra cannot give an indication of the possible presence of null alleles.
For the 208 fitted SNPs a total of 45702 data points with a signal above the threshold level were available. Of these data points, 40392 (88.4%) were assigned a genotype, as the probability of belonging to any of the 5 classes was above 0.99. The percentage of assigned genotypes varied between SNPs from 62.3% to 100.0%. Among the 208 selected models, the mixture component means were constrained in 56 cases according to Model 1, in 114 cases to Model 2, in 15 cases to Model 3 and in 23 cases to Model 4. In 195 out of the 208 models (93.8%) the mixing proportions were constrained according to HWE ratios, meaning that the observed frequencies of the five genotype classes over all samples were close to those expected under HWE. The 13 SNPs for which nonHWE models were selected included eight that were dominated by one large peak, and the two incorrectly fitted SNPs. This left three SNPs (PotSNP006, PotSNP131, PotSNP184) with a regular, fully informative distribution with a nonHWE model.
Discussion
Assigning potato varieties to a genotype class
In this paper we describe the development of fitTetra, an R package that assigns genotype scores to tetraploid samples for biallelic markers. We evaluated fitTetra using data for 384 SNPs obtained using the GoldenGate technology for a collection 224 potato varieties. Not all SNPs turned out to be equally suited for assigning a genotype score in this collection. We took the approach that it is better to reject uncertain scores and lowquality SNPs than to try to assign all samples a score. For the GoldenGate array this resulted in the selection of 208 out of the 384 SNPs, i.e. 54%. For the selected SNPs, overall about 88% of the samples were assigned a genotype.
These statistics depend on the choice of the thresholds applied during model selection and the assigning of genotypes. We have shown that the default settings, applied in the current study, perform quite well: the rejected SNPs are either (almost) monomorphic or do not show a clear peak pattern based on visual evaluation, and the samples not assigned a genotype are always in the area between neighbouring peaks. However, these thresholds can be adjusted by the users to fit their specific data sets. The visual inspection of the output data should be done on a representative sample of the markers to set the various options to suitable values for the data set under evaluation.
Validating the genotype assignments in the varieties in an independent way is not easy as there is no 'gold standard'. Therefore we used the position of the assignments in a diploid mapping population as a reference. In 193 of the 206 SNPs (excluding two evidently misfitted SNPs) the distribution of the diploid peaks matched that of the tetraploid peaks. In only 13 SNPs (6.3%) this was not the case. This was not due to a misassignment of the tetraploid peaks, but rather to a difference in the intrinsic X and/or Y signal strengths between the tetraploid varieties and the diploid population. The reason for this remains unclear, but might be related to SNPs close to the interrogated SNP that interfere with the assay and result in a lower signal in the diploid material. Alternatively also (partial) amplification of paralogous sequences may explain the observation. As the diploid samples were derived from two semiwild parents [22] and the SNP assays were based on ESTs from tetraploid varieties, the diploid population might harbour such additional SNPs or different paralogous sequences not present in the tetraploid varieties. We attempted to test this assumption by blasting the GoldenGate sequences of these 13 SNPs against the sequences of the RH parent (EMBL, November 2010). However we found only two hits, in one of which additional SNPs were present; which is not sufficient to allow a general conclusion.
SNPs that are not selected for assigning genotype scores in the tetraploid variety panel are not necessarily unusable in other contexts. For instance 44 of the 176 rejected SNPs (25%) could be mapped with high confidence in the diploid SH × RH cross progeny [23]. The most likely reason for performing differently in a wide range of germplasm compared to a welldefined mapping population might be that there are SNPs in the region of the interrogated SNP that interfere with the assay.
Comparison between fitTetra and beadarrayMSV
We compared fitTetra with the recently published package beadarrayMSV [14]. BeadarrayMSV is designed to analyse SNPs in duplicated loci or (partially) tetraploid species with disomic inheritance. Like in our autotetraploid (potato) case five different allele ratios are possible in these situations. However, as described by [14] several different segregation patterns are possible in such a situation, different from the patterns occurring in an autotetraploid. As fitTetra and beadarrayMSV were developed to analyse the patterns observed in these different situations it is not very surprising that they perform (considerably) less well with data sets of the other type, as described in Additional file 3.
Application of the approach
The genotype scores can be applied first of all to improve genetic studies in tetraploids. Classical mapping can be carried out more efficiently when all markers that segregate can be used and not just only the nulliplex and simplex markers. For association mapping one could take into account the allele dose, which might result in a more precise estimate of the linkage disequilibrium. SNP markers will also be useful in variety identification in polyploids [24–26]. In this context the genotype scores can improve the resolving power of the markers.
An interesting observation from our analysis of a large collection of tetraploid potato varieties is that almost none of studied markers show evidence against HWE ratios. In general HWE results from random mating in a population. One might expect that potato breeding involves nonrandom selection of cross parents and cross progeny. While this selection may have resulted in an overall shift of allele frequencies at certain loci it generally does not seem to result in a departure from HWE genotype ratios among varieties.
The use of the approach and the package is not restricted to data obtained from GoldenGate experiments. In principle it can be applied to data that are obtained with any biallelic marker system that produces different signals that are proportional to the allele dose. Thus we expect the system to work also well for Infinium, Fluidigm or KASPar http://www.kbioscience.co.uk/ derived data from (auto)tetraploid species. In addition it will also be useful for the analysis of Pyrosequencing data [27], where intensity data per allele are obtained that can be transformed into genotype scores. Finally, while fitTetra is specific for tetrasomically inherited markers, the approach can in principle be generalized to other ploidy levels; how well this will work depends mainly on the noise level of the data, as additional and more closely spaced peaks will be present at higher ploidy levels.
Conclusions
Until now automated SNP genotype calling in tetraploid species was not possible, which hampered genetic analysis. We have developed and evaluated an R package called fitTetra, that efficiently assigns genotype scores to biallelic markers in tetraploid species. The package can in principle be used for any type of biallelic marker, including Golden Gate, Infinium and Kaspar, and any tetraploid species.
Data set
The GoldenGate data set was obtained using the Illumina GoldenGate array with 384 SNPs, as described by [23]. A collection of 224 tetraploid potato varieties covering a wide variation with respect to geographic origin, year of first registration and intended application (fresh consumption, chips, crisps, starch production) was genotyped using this array. Variety codes the tetraploid data set refer to the varieties as described in [6]. In addition 64 diploid samples were analyzed, 58 of which were a subset of the SHxRH cross population [22, 23]. The actual genotyping was performed by Service XS Leiden, The Netherlands as described in [23].
From the output of the assay we used the Raw_X and Raw_Y columns to calculate a total signal intensity (the square root of the sum of Raw_X squared and Raw_Y squared) and an allele signal ratio (Raw_X divided by the sum of Raw_X and Raw_Y). A histogram of the signal intensities revealed a peak of lowintensity observations, separated from the higherintensity observations by a dip around 3200 (not shown). Therefore we removed all observations with a total signal intensity < 3200. The calculated signal ratios together with the SNP_Name and Sample_ID columns were then used as input for our algorithm, after splitting the data into a tetraploid data set (for model fitting) and a diploid data set (for plotting the diploid histograms superimposed on the tetraploid models). The tetraploid and diploid data sets are included in the fitTetra package (Additional file 1).
Availability and requirements

Project name: fitTetra

Project home page: http://www.plantbreeding.wur.nl/UK/software_fitTetra.html

Operating system(s): Any platform for which the R software [21] is implemented, including Microsoft Windows and Linux. A version compiled for Windows is included as Additional file 2.

Programming language: R [21]. The package requires R version 2.12.1 or newer; this is relevant only for the Windows 32bit implementation of R which contained an error in some earlier versions.

Other requirements: None.

License: GNU General Public License.

Any restrictions to use by nonacademics: None.
References
 1.
Guo M, Davis D, Birchler JA: Dosage effects on gene expression in a maize ploidy series. Genetics 1996, 142: 1349–1355.
 2.
Soltis PS, Soltis DE: The role of hybridization in plant speciation. Ann Rev Plant Biology 2009, 60: 561–588. 10.1146/annurev.arplant.043008.092039
 3.
Hackett CA, Luo ZW: TetraploidMap: Construction of a linkage map in autotetraploid species. J Heredity 94: 358–359.
 4.
Luo ZW, Zhang Z, Leach L, Zhang RM, Bradshaw JE, Kearsey MJ: Constructing genetic linkage maps under a tetrasomic model. Genetics 2006, 172: 2635–2645.
 5.
Malosetti M, Van der Linden CG, Vosman B, Van Eeuwijk FA: A mixedmodel approach to association mapping using pedigree information with an illustration of resistance to Phytophthora infestans in potato. Genetics 2007, 175: 879–889. 10.1534/genetics.105.054932
 6.
D'hoop BB, Paulo MJ, Kowitwanich K, Sengers M, Visser RGF, Van Eck HJ, Van Eeuwijk FA: Population structure and linkage disequilibrium unravelled in tetraploid potato. Theor appl Genet 2010, 121: 1151–1170. 10.1007/s0012201013795
 7.
Nybom H, Esselink GD, Werlemark G, Vosman B: Microsatellite DNA marker inheritance indicates preferential pairing between two highly homologous genomes in polyploid and hemisexual dogroses, Rosa L. Sect. Caninae DC. Heredity 2004, 92: 139–150. 10.1038/sj.hdy.6800332
 8.
Nybom H, Esselink GD, Werlemark G, Leus L, Vosman B: Unique genomic configuration revealed by microsatellite DNA in polyploid dogroses, Rosa sect. Caninae . J Evolutionary Biology 2006, 19: 635–648. 10.1111/j.14209101.2005.01010.x
 9.
Esselink GD, Nybom H, Vosman B: Assignment of allelic configuration in polyploids using the MACPR (microsatellite DNA allele countingpeak ratios) method. Theor appl Genet 2004, 109: 402–408.
 10.
Syvanen AC: Toward genomewide SNP genotyping. Nature Genet 2005, 37: S5S10. 10.1038/ng1558
 11.
Fan JB, Oliphant A, Shen R, Kermani BG, Garcia F, Gunderson KL, Hansen M, Steemers F, Butler SL, Deloukas P, Galver L, Hunt S, McBride C, Bibikova M, Rubano T, Chen J, Wickham E, Doucet D, Chang W, Campbell D, Zhang B, Kruglyak S, Bentley D, Haas J, Rigault P, Zhou L, Stuelpnagel J, Chee MS, Wickham E, Doucet D, et al.: Highly parallel SNP genotyping. Cold Spring Harb Symp Quant Biol 2003, 68: 69–78. 10.1101/sqb.2003.68.69
 12.
Steemers FJ, Chang W, Lee G, Barker DL, Chen R, Gunderson KL: Wholegenome genotyping with the singlebase extension assay. Nat Methods 2006, 3: 31–33. 10.1038/nmeth842
 13.
Steemers FJ, Gunderson KL: Whole genome genotyping technologies on the BeadArray™ platform. Biotechnol J 2007, 2: 41–49. 10.1002/biot.200600213
 14.
Gidskehaug L, Kent M, Hayes BJ, Lien S: Genotype calling and mapping of multisite variants using an Atlantic salmon iSelect SNP array. Bioinformatics 2011, 27: 303–310. 10.1093/bioinformatics/btq673
 15.
Piepho HP, Koch G: Codominant analysis of banding data from a dominant marker system by normal mixtures. Genetics 2000, 155: 1459–1468.
 16.
Jansen RC, Geerlings H, Van Oeveren AJ, Van Schaik RR: A comment on codominant scoring of AFLP markers. Genetics 2001, 158: 925–926.
 17.
Gort G, Van Eeuwijk FA: Codominant scoring of AFLP in association panels. Theor appl Genet 2010, 121: 337–351. 10.1007/s001220101313x
 18.
McLachlan G, Peel D: Finite Mixture Models. New York: John Wiley & Sons; 2000.
 19.
Fraley C, Raftery AE: Modelbased clustering, discriminant analysis, and density estimation. J Am Statistical Assoc 2002, 458: 611–631.
 20.
Dempster AP, Laird NM, Rubin DB: Maximum likelihood from incomplete data via EM algorithm. J Royal Statistical Soc Series B  Methodological 1977, 39: 1–38.
 21.
R Development Core Team:R: A language and environment for statistical computing. Vienna: R Foundation for Statistical Computing; 2010. ISBN 3–900051–07–0 [http://www.Rproject.org] ISBN 3900051070
 22.
Van Os H, Andrzejewski S, Bakker E, Barrena I, Bryan GJ, Caromel B, Ghareeb B, Isidore E, De Jong W, Van Koert P, Lefebvre V, Milbourne D, Ritter E, Rouppe Van Der Voort JNAM, RousselleBourgeois F, Van Vliet J, Waugh R, Visser RGF, Bakker J, Van Eck HJ: Construction of a 10,000marker ultradense genetic recombination map of potato: providing a framework for accelerated gene isolation and a genomewide physical map. Genetics 2006, 173: 1075–1087. 10.1534/genetics.106.055871
 23.
Anithakumari AM, Tang J, Van Eck HJ, Visser RFG, Leunissen JAM, Vosman B, Van Der Linden CG: A pipeline for high throughput detection and mapping of SNPs from EST databases. Mol Breeding 2010, 26: 65–75. 10.1007/s1103200993775
 24.
Esselink GD, Smulders MJM, Vosman B: Identification of cut rose ( Rosa hybrida ) and rootstock varieties using robust sequence tagged microsatellite site markers. Theor appl Genet 2003, 106: 277–286.
 25.
Reid A, Hof L, Esselink D, Vosman B: Potato Cultivar Genome Analysis. In Methods in Molecular Biology, Plant Pathology. Volume 508. Edited by: Burns R. Humana Press, a part of Springer Science + Business Media, Totowa, NJ; 2009:295–308.
 26.
Reid A, Hof L, Felix G, Rücker B, Tams S, Milczynska E, Esselink D, Uenk G, Vosman B, Weitz A: Construction of an integrated microsatellite and key morphological characteristic database of potato varieties on the EU Common Catalogue. Euphytica 2011, in press. 10.1007/s1068101104626
 27.
Rickert AM, Premstaller A, Gebhardt C, Oefner PJ: Genotyping of SNPs in a polyploid genome by Pyrosequencing. BioTechniques 2002, 32: 592–603.
Acknowledgements
This work was supported by funding from the Dutch Ministry of Economic Affairs, Agriculture and Innovation (Kennisbasis thema 4); TTI  Green Genetics project 3CC043RP; the research programme of the Centre of Biosystems Genomics (CBSG) which is part of the Netherlands Genomics Initiative/Netherlands Organization for Scientific Research and grants from the departments of Plant Breeding and Biometris from Wageningen UR.
Author information
Additional information
Authors' contributions
REV developed the model selection algorithm and drafted the manuscript. GG implemented the fitting of mixture models using the EM algorithm. REV and GG together investigated and evaluated various possible models. BV initiated the project in which the data set was obtained and the study leading to this manuscript. All three authors wrote sections of the manuscript and contributed to the discussion. All authors read and approved the final manuscript.
Electronic supplementary material
12859_2010_4567_MOESM1_ESM.GZ
Additional file 2:A compiled version of the fitTetra R package. Additional file 2: "fitTetra_1.0.zip" contains the fitTetra package compiled for the Windows operating system. Note that the downloaded file should be renamed to "fitTetra_1.0.zip" before installing the package. (ZIP 998 KB)
Additional file 3:Comparison of fitTetra and beadarrayMSV. Additional file 3 "Comparison of fitTetra and beadarrayMSV.pdf"describes the comparison that was made between fitTetra and beadarrayMSV, using the potato data from this article and the salmon data from [14]. (PDF 13 KB)
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Received
Accepted
Published
DOI
Keywords
 Mixture Model
 Bayesian Information Criterion
 Tetraploid Species
 Genotype Class
 Allele Ratio