Skip to main content
Genetics and Molecular Biology logoLink to Genetics and Molecular Biology
. 2010 Jun 1;33(2):398–407. doi: 10.1590/S1415-47572010005000033

Comparison between simulated annealing algorithms and rapid chain delineation in the construction of genetic maps

Moysés Nascimento 1,, Cosme Damião Cruz 2, Luiz Alexandre Peternelli 1, Ana Carolina Mota Campana 1
PMCID: PMC3036851  PMID: 21637501

Abstract

The efficiency of simulated annealing algorithms and rapid chain delineation in establishing the best linkage order, when constructing genetic maps, was evaluated. Linkage refers to the phenomenon by which two or more genes, or even more molecular markers, can be present in the same chromosome or linkage group. In order to evaluate the capacity of algorithms, four F2 co-dominant populations, 50, 100, 200 and 1000 in size, were simulated. For each population, a genome with four linkage groups (100 cM) was generated. The linkage groups possessed 51, 21, 11 and 6 marks, respectively, and a corresponding distance of 2, 5, 10 and 20 cM between adjacent marks, thereby causing various degrees of saturation. For very saturated groups, with an adjacent distance between marks of 2 cM and in greater number, i.e., 51, the method based upon stochastic simulation by simulated annealing presented orders with distances equivalent to or lower than rapid chain delineation. Otherwise, the two methods were commensurate through presenting the same SARF distance.

Keywords: better order, genetic mapping, genomic analyses, stochastic optimization

Introduction

Genetic mapping favors breeding activities, by associating one or more marks to those genes of economic interest and/or control quantitative characteristics (QTL), with a reasonable chance of use in assisted selection, hence the extreme importance of the precise construction of genetic maps in the successful introduction of strategies in breeding programs.

One of the most important stages in the construction of linkage maps is the ordering of the genetic markers within each linkage group (Mollinari et al., 2008). It is said that two or more genes, or molecular markers, are connected if they belong to the same chromosome or linkage group.

Several methods for ordering markers are mentioned in the literature, such as rapid chain delineation (Doerge, 1996), seriation (Buetow and Chakravarti, 1987a,b), simulated annealing (Kirkpatrick et al., 1983) and branch and bound (Thompson, 1987). Rapid chain delineation consists of obtaining a preliminary order for loci based upon a recombination matrix of all the pairs of marks. Successive inversions are then attempted with triple marks, in order to minimize the sum of adjacent recombination fractions (SARF). Seriation is a simple method, in which a set of rules is proposed, based upon the recombination fractions between two loci (Liu, 1998). The method of branch and bound is based on a tree structure, a recombinant number being calculated for each branch. Simulated annealing, a stochastic simulation method, corresponds to the famous MCMC method (Markov Chain Monte Carlo, specifically the Metropolis-Hastings Algorithm), modified in such a way as to become an optimization algorithm. In order to arrive at an ordering solution through these methods, several criteria may be used, namely the minimum Sum of Adjacent Recombination Fractions (SARF) (Falk, 1992), the minimum Product of Adjacent Recombination Fractions (PARF) (Wilson, 1988), and the maximum Sum of Adjacent LOD Scores (SALOD) (Weeks and Lange, 1987).

Several studies using genetic mapping as a basis for breeding are to be found in the literature. The study of Silva et al. (2008) intended to map and detect QTLs in chromosome 4 of swine, and associate these with the carcass and characteristics of internal organs in an F2 population. Miyata et al. (2007) investigated the presence of QTLs in BTA14 chromosomes, by weight at birth and after 60 days, also in an F2 experimental station. Soares et al. (2008) also aimed to detect QTLs related to protein content in soybean cultivated in two divergent tropical environments, thereby constructing a genetic map of genotypes adapted to tropical conditions.

In spite of the outstanding significance of ordering markers when constructing linkage maps, and of the numerous methods designed to provide solutions for the problem of ordering itself, it is difficult to find works which present comparative analyses of these methods. Mollinari et al. (2008) compared the rapid chain delineation and seriation methods, and concluded that final results were alike.

Thus, the aim hereby was to evaluate the efficacy of both the simulated annealing and rapid chain delineation methods, in establishing the most efficient linkage order when constructing genetic maps. The study was so developed as to capacitate its competent reproduction and use in research. The problem of mark ordering is described as the problem of the traveling salesman.

Material and Methods

In order to create a real situation and compare the efficiency of the methods, four F2 co-dominant populations in various sizes (50, 100, 200 and 1000) were simulated. Genomes were generated for each population, with four linkage groups, each 100 cM in size. There were 51, 21, 11 and 6 marks in each linkage group, with distances of 2, 5, 10 and 20 cM, respectively, between adjacent marks, thus causing various degrees of saturation. The groups were composed of:

• First linkage group: marker 1 (m1), marker 2 (m2), ..., marker 51 (m51), with intervals between adjacent marks of 2 cM;

• Second linkage group: marker 52 (m52), marker 53 (m53),..., marker 72 (m72), with intervals between adjacent marks of 5 cM;

• Third linkage group: marker 73 (m73), marker 74 (m74),..., marker 83 (m83), with intervals between adjacent marks of 10 cM;

• Fourth linkage group: marker 84 (m84), marker 85 (m85),..., marker 89 (m89), with intervals between adjacent marks of 20 cM.

The “Complex Genome Simulation” module GQMOL (Cruz, 2007) for computing application was used in obtaining the above populations.

The problem of mark ordering by performing the analogies necessary for solving the traveling salesman problem, can be described in the following way: let I = {1, ..., k} be a set of indices and M = {mi: iI} a set of markers indexed by i. Consider that Dij represents the distance between the marker mi and the marker mj and define Λ as a set of all the possible permutations of the elements of the M set. An M element will be denoted by Inline graphic, where (σi, ..., σk) is a permutation of the elements of set I. A permutation xm ∈ Λ can be understood as an order to by-pass all the markers. The problem is to find an order that minimizes the distance necessary to by-pass all the markers only once, without the need of returning to the origin.

Let f(xm) be the function that associates SARF, or the total distance covered, to each order xm ∈ Λ, or, in other words, Inline graphic, where Inline graphic is the distance between the marks Inline graphic and Inline graphic. The objective is to find the xm ∈ Λ order that minimizes f(xm). Simulated annealing and rapid chain delineation algorithms were used for obtaining a numeric approximation for the solution of this problem.

Simulated annealing is a small modification in the famous MCMC algorithm of Metropolis-Hastings (Hastings, 1970), thereby transforming it into an optimization algorithm, known as simulated annealing (Kirkpatrick et al., 1983). The main idea inherent in this method is borrowed from physics. In condensed matter physics, annealing is the thermic process used to minimize the free energy of a solid. Informally, the process may be described as occurring in two stages: (i) an increase in temperature to melting; (ii) followed by a slow decrease in temperature until particle re-organization in a state of minimum energy. This physical process may be simulated computationally by using the Metropolis-Hastings algorithm.

Suppose that the current state of the solid is x and that the energy of this state is H(x). A candidate state y of energy H(y) is generated by applying slight perturbation to state x. The following probability is used in the decision-rule for accepting the candidate state:

graphic file with name gmb-33-2-398-eq5.jpg

,

with T indicating temperature. If cooling is slow, the solid reaches thermic balance at each temperature. From the point of view ‘simulation', this means generating several transactions at a certain temperature T (Robert and Casella, 2004).

For the problem of marker ordering, there is the following analogy:

• The solutions of problem ordering (optimization), or, in other words, the elements xm ∈ Λ, are equivalent to the physical states of x;

• The function Inline graphic (SARF) is equivalent to the function ‘soil energy', H(x);

• A candidate order ym of distance given by Inline graphic is equivalent to a candidate state y of energy H(y);

• A control parameter c > 0 is equivalent to the temperature.

Let Inline graphic be an initial order, c0 the initial control parameter and L0 the initial number of iterations used for an equal value of c0. Simulated annealing can thus be described in the following manner:

1) Choose n = 0, Inline graphic, c0 and L0;

2) Make i vary from 1 to Ln

• Generate ym in the neighborhood of xm and generate a random variable X ~ U(0, 1);

• If f(ym) ≤ f(xm), then xmym;

• If f(ym) > f(xm) and Inline graphic, then xmym;

• End of operation;

nn + 1

Define cn and Ln, and return to step 2 until the ‘stop' criterion, where Ln is the number of chain transactions in each temperature (cn).

The rapid chain delineation algorithm (Doerge, 1996) constitutes a simple way of molecular marker ordering within linkage groups. This algorithm can be described in the following manner:

1) Verify for which pairs of markers (mi, mj) the estimate of recombination fractions between pairs is the lowest. These markers will start the chain;

2) Verify which is the unmapped marker (mk) presenting the lowest estimate of recombination fractions with one of the terminal markers. Place the two together accordingly;

3) Repeat the procedure until all the markers are added to the chain;

4) Then, attempt successive inversions in double and triple marks, in order to minimize SARF (the sum of adjacent recombination fractions).

One hundred repetitions were carried out with the stochastic simulation algorithm, simulated annealing, and the results compared to those provided by the rapid chain delineation method. The criterion used for reaching this solution was minimum SARF.

Results and Discussion

The results obtained with GQMOL software, which finds the solution for the problem through the rapid chain delineation method, are presented in Figures 1 and 4. For numeric approximation of the solution to the marker ordering problem, when using the simulated annealing algorithm, it is necessary to define a neighborhood system in Λ, or, in other words, a candidate permutation of markers. A system was adopted in which the typical neighbor (candidate order) of an order

Figure 1.

Figure 1

Solutions for mark ordering through rapid chain delineation (obtained using GQMOL software) for a population of 50 individuals.

Figure 4.

Figure 4

Solution obtained for mark ordering through rapid chain delineation (obtained with GQMOL software) for a population of 1000 individuals

graphic file with name gmb-33-2-398-eq11.jpg

was defined as

graphic file with name gmb-33-2-398-eq12.jpg

.

During the application of the algorithm, it was defined to uniformly choose an order ym in the set of possible orders. The algorithm was implemented in the R version 2.7.1 programming language (R DEVELOPMENT CORE TEAM, 2007). An Intel Core 2 Duo T5750 2.0 GHz processor was used with a 3 Gb RAM memory, Windows XP SP2.

The parameter of control in the nth algorithm iteration, denoted by cn, was calculated based upon the expression

graphic file with name gmb-33-2-398-eq13.jpg

,

where m is the number of iterations of the algorithm and A is a constant chosen in a convenient form, described as follows:

The choice of A is undertaken in such a way that the simulated annealing algorithm escapes from the minimum places of interest function (SARF) to reach the global minimum. Therefore, constant A must be chosen in such a way that all the initial orders are accepted. In the present case, 2 was considered as the value of this constant.

One hundred repetitions were carried out, with a comparison of the best result from simulated annealing to that from the rapid chain delineation method.

The final results through simulated annealing for a population composed of 50 individuals in linkage group 1, and as a numeric solution, is given by the following order, m3, m2, m4, m5, ..., m14, m15, m17, m16, m18, m19, ..., m32, m34, m33, m1, m35, m36, ..., m49, m50, m51, with a total SARF distance of 129,90 cM, thus being of smaller size than the 135,00 cM from rapid chain delineation (Figure 1). For the second, third and fourth linkage groups, the solutions obtained through simulated annealing are the same as those by the method implemented in the GQMOL program, also apparent in Figure 1, with distances of 101,10 , 118,20 and 96,50, respectively. Figure 5 shows the evolution of total distances of algorithmic iteration in each of the linkage groups analyzed.

Figure 5.

Figure 5

Evolution of the total distances at each algorithm iteration in each population of 50 individuals. (A) linkage group 1 (B) linkage group 2 (C) linkage group 3 (D) linkage group 4.

For a population with 100 individuals, the solution obtained for the first linkage group is given by the following order: m51, m50, ..., m22, m21, m19, m20, m1, m18, m17, ..., m3, m2. In this order, SARF is 117,60 cM. On comparing this specific solution with that from rapid chain delineation (Figure 2), it can be seen that the total distance is shorter in the former than in the latter method (122,70 cM). The solutions obtained for linkage groups 2, 3 and 4 by simulated annealing are the same as those found by way of the rapid chain delineation method, with a total distance of 98,70, 109,00 and 97,90 cM, respectively. These orders are presented in Figure 2. Figure 6 shows the evolution of total algorithmic iteration distances in each of the linkage groups analyzed.

Figure 2.

Figure 2

Solution obtained for mark ordering through rapid chain delineation (obtained using GQMOL software) for a population of 100 individuals.

Figure 6.

Figure 6

Evolution of the total distances at each algorithm iteration, in each population of 100 individuals. (A) linkage group 1 (B) linkage group 2 (C) linkage group 3 (D) linkage group 4.

On considering a population of 200 individuals, the numeric solution for the first linkage group, when employing stochastic optimization, is given by the following order: m51, m50, ..., m46, m45, m43, m44, m42, m41, ..., m20, m19, m1, m18, m16, m17, m15, m14, ..., m2, m3, with a total distance of 108,40 cM, thus smaller than that provided by the method implemented in the GQMOL program, whereby the SARF value was 112,00 cM. The corresponding numeric order is presented in Figure 3. As regards the three remaining linkage groups, the solutions arrived at by both methods are identical, and are also perceptible in Figure 3. These orders presented total distances of 101,40, 111,50 and 105,00 cM, respectively. The evolution of total distances of algorithmic iterations in each linkage group analyzed can be seen in Figure 7.

Figure 3.

Figure 3

Solution obtained for mark ordering through rapid chain delineation (obtained using GQMOL software) for a population of 200 individuals.

Figure 7.

Figure 7

Evolution of total distances at each algorithm iteration in each population of 200 individuals. (A) linkage group 1 (B) linkage group 2 (C) linkage group 3 (D) linkage group 4.

According to Ferreira et al. (2006), a total of 200 individuals is considered large enough for constructing reasonably precise genetic maps. They evaluated F2 populations with dominant and co-dominant markers, backcrossing, recombinant inbred lines (RIL) and double-haploid. Nevertheless, on comparison, algorithmic performance in simulated annealing was superior to that in rapid chain delineation, even with sufficiently large populations.

The analysis of a population of 1000 individuals revealed that the order established by the rapid chain delineation method was identical to that from a population of 200 individuals, thus corroborating the results by Ferreira et al., (2006). Nevertheless, application of the algorithm of simulated annealing gave rise to the following order as a numeric solution: m51, m50, ..., m19, m1, m18, m17, ..., m3, m2. The total distance was 112,30 cM, thus shorter than that arising from the other method evaluated (SARF) of 115,60 cM. The numeric order appears in Figure 4. The solutions found in the other linkage groups are mutually equivalent (Figure 4).

The total distances for these orders are 104,10, 113,90 and 97,80 cM, for the second, third and fourth linkage groups, respectively. The evolution of the total distances of algorithmic iteration in the linkage groups was analyzed (Figure 8).

Figure 8.

Figure 8

Evolution of the total distances at each algorithm iteration in each population of 1000 individuals. (A) linkage group 1 (B) linkage group 2 (C) linkage group 3 (D) linkage group 4.

In all the cases studied, execution of simulated annealing took less than 131 s, at the most (Table 1). As rapid chain delineation is a deterministic method, no repetitions were used, the time-span not exceeding 5 s in the various cases studied. The percentage of times, in 100 repetitions, that results from simulated annealing were higher (lowest SARF value) than those from rapid chain delineation, are presented in Table 1. As can be observed, in the first linkage group of each population, results from simulated annealing were higher in less than 50% of the cases, although there were orders with a lower SARF value in the same groups.

Table 1.

The average time spent on simulated annealing (S.A.), and the percentage of times when the results were higher than those from rapid chain delineation in 100 repetitions.

Parameter Algorithm Size of the population
50
100
200
1000
Linkage Groups
1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4
Percentage (%) S. A. 30 100 100 100 35 100 100 100 8 100 100 100 30 100 100 100
Time (s) 73 3 2 < 1 105 15 3 < 1 112 14 1 < 1 131 17 2 < 1

Figures 5 and 8 demonstrate that the number of necessary iterations for the algorithm to obtain a satisfactory result depends on the number of markers in the study, since the higher the number of marks in the linkage group, the higher the number of iterations.

It is obvious from the data that, in the case of the most saturated linkage groups, namely those with shorter distances between adjacent marks, viz., 2 cM, achievements through simulated annealing were similar or better than those by rapid chain delineation in less than 50% of the repetitions. Nevertheless, on considering the criterion used for constructing linkage maps, i.e. the lowest SARF value, the former proved to be more efficient. Such a superior performance can also be explained by the number of markers, for, as the algorithm in question is stochastic, the higher the number of markers, the more efficient the method when compared to rapid chain delineation, ultimately leading to the possibility of analyzing a higher number of possible orders, as occurred here. As to the other linkage groups, with lower saturation levels and consequently less markers, results were similar with the two methods.

Furthermore, the number of individuals constituting the population has no effect on results when using the algorithm, since recombination frequencies, previously calculated for each pair of markers, are fundamental when ordering. So, the number of individuals exerts an influence only on the precision of estimates, but not on the ordering, thereby possibly leading to the construction of imprecise linkage maps. According to Mollinari et al., (2008), it was concluded that the rapid chain delineation and the seriation methods are both equivalent, whereby it is possible to infer that simulated annealing is also superior to the seriation method in certain situations.

Conclusions

In the present study, simulated annealing and rapid chain delineation algorithms were compared when establishing the best linkage order in the construction of genetic maps, in populations of different sizes and saturation levels. It was observed that, for very saturated linkage groups, with an adjacent distance between marks of 2 cM, and a higher number of marks, e.g. 51, the method based on stochastic simulation, viz., simulated annealing, presented orders with distances (SARF) equal to or shorter than rapid chain delineation in less than 50% of the repetitions. Nevertheless, the former method appears to be more interesting than the latter in these cases, as the criterion used for constructing linkage maps is to take into consideration the order of markers with lower SARF values. In the other cases, the two methods were alike, presenting the same SARF distances. Furthermore, it was noted that the number of individuals in the population does not affect ordering, although it does affect the estimates of recombination frequencies. The average time taken for simulated annealing execution did not exceed 112 s, thus not an obstacle for implementation.

The data from the present work demonstrate the relevance of the method used for ordering markers in the construction of genetic maps. Therefore, future studies should be carried out, in order to evaluate all the methods encountered in the literature, and thus facilitate their use according to the situation.

Acknowledgments

We wish to thank CNPQ for granting scholarships and financial support.

Footnotes

Associate Editor: Luciano Da Fontoura Costa

References

  1. Buetow K.H., Chakravarti A. Multipoint gene mapping using seriation. I. General methods. Am J Hum Genet. 1987a;41:180–188. [PMC free article] [PubMed] [Google Scholar]
  2. Buetow K.H., Chakravarti A. Multipoint gene mapping using seriation. I. Analysis of simulated and empirical data. Am J Hum Genet. 1987b;41:189–201. [PMC free article] [PubMed] [Google Scholar]
  3. GQMOL . Application to computational analysis of molecular data and their associations with quantitative traits. V. 1.0.0. Viçosa: Universidade Federal de Viçosa; 2007. [Google Scholar]
  4. Doerge R. Constructing genetic maps by rapid chain delineation. J Quant Trait Loci. 1996;2:121–132. [Google Scholar]
  5. Falk C.T. Preliminary ordering of multiple linked loci using pairwise linkage data. Genet Epidemiol. 1992;9:367–375. doi: 10.1002/gepi.1370090507. [DOI] [PubMed] [Google Scholar]
  6. Ferreira A., Silva M.F., Silva L.C., Cruz C.D. Estimating the effects of population size and type on the accuracy of genetic maps. Genet Mol Biol. 2006;29:187–192. [Google Scholar]
  7. Hastings W. Monte Carlo sampling methods using markov chains and their applications. Biometrika. 1970;57:97–109. [Google Scholar]
  8. Kirkpatrick S., Gelatt C.D., Vecchi M.P. Optimization by simulated annealing. Science. 1983;220:671–680. doi: 10.1126/science.220.4598.671. [DOI] [PubMed] [Google Scholar]
  9. Liu B.H. Statistical Genomics. New York: CRC Press; 1998. [Google Scholar]
  10. Miyata M., Gasparin G., Coutinho L.L., Martinez M.L., Machado M.A., Silva M.V.G.B., Campos A.L., Sonstergard T.S., Rosado M.F., Regitano L.C.A. Quantitative trait loci mapping for growth traits on bovine chromosome 14. Genet Mol Biol. 2007;30:364–369. [Google Scholar]
  11. Mollinari M., Margarido G.R.A., Garcia A.A.F. Comparação dos algoritmos delineação rápida em cadeia e seriação, para a construção de mapas genéticos. Pesq Agropec Bras. 2008;43:505–512. (Abstract in English) [Google Scholar]
  12. R Development Core Team. R: A Language and Environment for Statistical Computing. Vienna: R Fundation for Statistical Computing; 2007. [Google Scholar]
  13. Robert C., Casella G. Monte Carlo Statistical Methods. Berlin: Springer; 2004. [Google Scholar]
  14. Silva K.M., Paixão D.M., Silva P.V., Solero B.P., Pereira A.M.S., Lopes P.S., Guimarães S.E.F. Mapping of quantitative trait loci and confirmation of the FAT1region on chromosome 4 in an F2 population of pigs. Genet Mol Biol. 2008;31:475–480. [Google Scholar]
  15. Soares T.C.B., Good-God P.I.V., Miranda F.D., Soares Y.J.B., Schuster I., Piovesan N.D., Barros S.E.G., Moreira M.A. QTL mapping for protein content in soybean cultivated in two tropical environments. Pesq Agropec Bras. 2008;43:1533–1541. [Google Scholar]
  16. Thompson E.A. Crossover counts and likelihood in multipoint linkage analysis. MA-J Math Appl Med Biol. 1987;4:93–108. doi: 10.1093/imammb/4.2.93. [DOI] [PubMed] [Google Scholar]
  17. Weeks D., Lange K. Preliminary ranking procedures for multilocus ordering. Genomics. 1987;1:236–242. doi: 10.1016/0888-7543(87)90050-4. [DOI] [PubMed] [Google Scholar]
  18. Wilson S.R. A major simplification in the preliminary ordering of linked loci. Genet Epidemiol. 1988;5:75–80. doi: 10.1002/gepi.1370050203. [DOI] [PubMed] [Google Scholar]

Internet Resources

  1. R: A language and environment for statistical computing. Available from: http://r-project.org.
  2. GQMOL: application to computational analysis of molecular data and their associations with quantitative traits. Available from: http://www.ufv.br/dbg/gqmol/gqmol.htm.

Articles from Genetics and Molecular Biology are provided here courtesy of Sociedade Brasileira de Genética

RESOURCES