Abstract
The understanding of eco-evolutionary dynamics, and in particular the mechanism of coexistence of species, is still fragmentary and in need of test bench model systems. To this aim we developed a variant of SELEX in-vitro selection to study the evolution of a population of ∼ 1015 single-strand DNA oligonucleotide ‘individuals’. We begin with a seed of random sequences which we select via affinity capture from ∼ 1012 DNA oligomers of fixed sequence (‘resources’) over which they compete. At each cycle (‘generation’), the ecosystem is replenished via PCR amplification of survivors. Massive parallel sequencing indicates that across generations the variety of sequences (‘species’) drastically decreases, while some of them become populous and dominate the ecosystem. The simplicity of our approach, in which survival is granted by hybridization, enables a quantitative investigation of fitness through a statistical analysis of binding energies. We find that the strength of individual-resource binding dominates the selection in the first generations, while inter and intra-individual interactions become important in later stages, in parallel with the emergence of prototypical forms of mutualism and parasitism.
Introduction
A central effort in theoretical biology and ecology is to provide an effective description of the intimate, but often subtle, relationship between a given environment and the evolution of its ecosystem. In the case of simple environments without geographical isolation and physical barriers, as the one here considered, the emergence of species and phenotyping clustering Davis (1943); Rundle and Nosil (2005); Keymer et al. (2012); Gupta et al. (2021) is generally considered an outcome of the competition for the limited available resources Dieckmann and Doebeli (1999); Pigolotti et al. (2007); de Aguiar et al. (2009); Anceschi et al. (2018). The coexistence of stable species is ecologically understood in terms of “niches”, indicating the unique role and position that a particular species occupies within an ecosystem. According to the “niche hypothesis” Chase and Leibold (2009); Peterson (2011); Anceschi et al. (2018), biodiversity is limited by the number of “niches” (or types of resources) that are present since no two species can occupy the same niche indefinitely, as one would eventually out-compete the other Levin (1970); Gupta et al. (2021).
Fitness, which quantifies species reproductive success and thus also their relationship with the environment De Visser and Krug (2014), cannot generally be defined in a predictive way even in the most idealized systems Thurner et al. (2010); Wiser and Lenski (2015). Indeed, despite the efforts to identify simple case study systems, the evolution of populations formed by a variety of species remains difficult to model and to quantitatively characterize because of the inherent complexity of ecosystems and living beings, of the large number of potentially relevant variables of difficult access, and of the role of stochasticity Catalán et al. (2017).
In this scenario, introducing new tools to explore and test eco-evolutionary models, concepts and interpretations appear as the best strategy toward new understanding Solé (2016). Along this line, various synthetic biological platforms have been proposed in the last years Ichihashi et al. (2013); Tizei et al. (2016); Parrilla-Gutierrez et al. (2017); Kauffman et al. (2018); Adamala and Szostak (2013); Katla et al. (2023) that exploit different principles and mechanisms, and focused on in-vivo, in-vitro, ex-vivo, or in-silico approaches. For example, in Ichihashi et al. (2013) a “cell-like” model system is proposed, in which the evolution of one long genomic RNA (> 2,000 nt-long) was investigated in detail under the action of a selective pressure ultimately provided by its biological meaning. Despite the tremendous simplification provided by this approach, the constructed artificial cell is still a complex system that includes ribosomes, lipids, translation factors, accessory proteins, tRNAs and amino acids. While most of the synthetic biological platforms are based on the establishment of cell-like, compartmentalized systems involving complex biomolecular milieus and processes Tizei et al. (2016), a few are devoted to investigate, with distinct strategies, the competition between two coexisting vescicle-based species competing for resources (vescicle-forming molecules) in a non-biochemical context Adamala and Szostak (2013); Katla et al. (2023). These articles demonstrate that typical evolution concepts, such as competition or resources and niche exclusion principle, can be applied to “non-biological” systems.
We here propose a synthetic eco-evolutionary scheme, with no cell-like compartmentalization and no connection to the molecular biology of the cell: no coding sequences, no translation, no proteins involved. We consider an ecosystem formed by a large crowd (∼ 1015) of distinct molecular individuals interacting with each other and competing for survival in an environment with fixed resources, and we focus on the process by which selection and competition drive the emergence of dominating species. Specifically, we study the evolution of a pool of 50-base-long single strand DNA oligomers with random sequences, a choice that ensures that in the initial solution each molecule is unique. The mechanisms of survival and mutual interactions are based on DNA hybridization. By exploiting the wealth of tools and knowledge about DNA code selective pairing and DNA synthesis, amplification and sequencing, we create a condition in which a limited number of accessible and computable variables controls the destiny of an ecosystem formed by biological molecules that evolve in a non-biological way, i.e. with no reference to the biological meaning of their sequence.
The results of our work, demonstrating the intimate connection between fitness and ecological interactions, belong to the growing body of studies Fussmann et al. (2007); Vetsigian (2017); Camacho Mateu et al. (2021) showing that ecological and evolutionary processes are strictly related in the emergence and maintenance of species.
Results
Affinity-based DNA Synthetic Evolution
We introduce here a variant of SELEX for in-vitro synthetic evolution of oligonucleotides to develop protein-binding aptamers Ellington and Szostak (1990); Tuerk and Gold (1990). In standard SELEX protocol, the evolving oligonucleotides are selected at each cycle by their interactions of with the target protein. In the experiment here reported, we implemented a selective mechanism based on the affinity capture provided by magnetic beads carrying single-stranded DNA (ssDNA) filaments of fixed length L = 20 and sequence, that act as targets (or resources, Figure 1a). Selection is thus primarily based on the sequence of the DNA individuals and its level of complementarity to the targets. This marks a significant difference with SELEX, in which the aptamer-protein interaction depends instead on higher order factors such as the secondary structure of the oligonucleotides and the variety of binding sites on the folded protein. Being these hard to model, predict and control, SELEX has never been considered, to the best of our knowledge, as a useful experimental test bench to understand evolution.
In our Affinity-based DNA Synthetic Evolution (ADSE) protocol, evolution starts from an initial pool of DNA Individuals (DNAi), chosen to be of fixed length L = 50 and random sequence. Each sequence indicates a ‘species’. Since the potential molecular variety is 450 ∼ 1030 while our experiments use about 1015 initial molecules, each species in the initial pool has only one DNAi. The following evolution process is sketched in Figure 1b, Figure 1-figure supplement 2, and is given by three steps.
Selection: the seed population is mixed with a given amount of dispersed capture beads. After a suitable incubation time, the beads are extracted from the solution and the bound oligomers released and saved. The rest of the original solution is discarded;
Amplification: the pool of “survived” oligomers is PCR amplified about 1000 times to recover the initial molarity;
Sequencing: a small portion of the amplified sample (1-3 106 molecules) is analyzed by massive parallel sequencing (MPS). These molecules are thus removed from the evolving pool.
These steps constitute a cycle - one generation of evolution - that we repeated up to 24 times in two independent evolution histories, which we refer to as “Oligo 1” and “Oligo 2”. In the following, we present in detail the results of the Oligo 1 evolution, while Oligo 2 results are described in the figure supplements.
In actuality, to enable amplification and sequencing, DNAi are built by flanking the 50mer with two 25 base long fixed sequences that enable primer binding for a total length of 100 bases. Such two terminal segments of the DNAi are made inactive during selection by hybridization with oligomers of perfect complementarity, as sketched in Figure 1a, Figure 1-figure supplement 1.
A key feature of ADSE is that DNAi can interact not only with the resources, but also with itself and with each other, and also potentially form complexes binding to the affinity beads as summarized in Figure 1c. Indeed, the choice of a length of 50 for the DNAi interaction was thought to enable - in principle - simultaneous resource and mutual binding.
PCR amplification can be of high fidelity or error-prone, the latter choice enabling genetic drift and, potentially, speciation. Since our primary goal was to first investigate fitness in a pool of competing species within a given niche, defined in our case by the 20 base long resources, we opted for a high-fidelity amplification, and left the investigation of high mutations regimes to a follow- up experiment. Because of the many PCR cycles required in the ADSE scheme, the amplification inevitably leads to the formation of artifacts in the form of longer sequences Tolle et al. (2014), a phenomenon that intrinsically sets a limit to the number of generations that can be explored (see Appendix 1).
As detailed below, the ADSE protocol enables observing a non-trivial evolution of the DNAi ecosystem across generations, the emergence of dominating species and non-monotonic population evolution. It also enables to appreciate the role of inter-specific interactions and their contribution to fitness.
Evolution of the DNAi ecosystem
The main output of the synthetic evolution that we are proposing is the dataset {DNAi}j obtained by sequencing DNAi at the various cycles (1 ≤ j ≤ 24 being the index of the cycle). We find that the initial random ecosystem markedly changes with ADSE generations as shown in Figure 2a, in which we have plotted the evolution of: (i) the fraction FD of the total population formed by distinct nucleotide sequences (red dots). FD drops from 1 to nearly 0, indicating that initially DNAi are all different from each other, while after 24 generations the number of distinct sequences is much smaller than the number of DNAi. This indicates that most of the initial sequences become progressively “extinct”; (ii) The fraction F10 of the total population formed by the 10 most abundant DNA sequences (black dots). F10 is initially close to 0 - being each sequence represented by a single DNAi, and grows to about 25% at cycle 12 and 55% at cycle 24 - indicating that the offspring of 10 initial “mother” sequences becomes the majority of the system. This loss of diversity can also be quantified by the zipped file size of the list of sequences Benedetto et al. (2002) or by computing its Shannon entropy Hill (1973), both markedly decreasing during evolution (see Appendix 1).
Since in ADSE survival depends on bead capture, we expect DNAi-resource binding strength to be an essential ingredient of fitness. To this aim we compute the mean DNAi-resources binding free energy ΔGDR across generations, plotted in Figure 2b (blue squares, right-hand side y- axis). Specifically, ΔGDR has been computed based on DNAi and resource sequences by using the standard “nearest-neighbor approximation” for the thermodynamics of DNA hybridization SantaLucia Jr (1998); Ghosh et al. (2019); Plata et al. (2021), as implemented in the NUPACK tool in Python Zadeh et al. (2011). Being this computation of some complexity, we could perform it only on batches of 1000 DNAi randomly chosen within {DNAi}j, the error bars expressing the uncertainty introduced by such down-sampling (see Material and Methods section). For reference, a DNA 20mer perfectly complementary to the resource would bind to it with an energy of approximately -24 kcal⁄mol.
To perform a faster - and thus more complete - analysis of the resource-binding energy in the evolving population, we have introduced ω, a simpler quantifier than ΔGDR. ω is the length of the longest consecutive number of bases within each DNAi that is complementary to the resource sequence (considering all possible relative positions of the two), in which we allow for single pairing errors and 1-base bulges Mambretti et al. (2022a). ω ignores factors that are relevant for the free energy, such as the specificity of the sequence and the fraction of CG pairs, and thus is inadequate to evaluate the binding strength of specific DNAi. However, its average value ⟨ω⟩ computed for the entire population in each generation (Figure 2b, red dots, left-hand side y-axis) grows almost identically to⟨ ΔGDR⟩ (blue dots, right-hand side y-axis). The ⟨ω⟩ axis has been scaled so that its value (computed on a pool of random sequence DNAi - dashed red line) matches, in the plot, ⟨ΔGDR⟩ (computed on the same pool - dashed blue line). A more detailed comparison between ω and ΔGDR is given in Figure 2c, showing box plots with ΔGDR on the y axis and ω expressed through color code. Both are computed from a random selection of 1000 distinct DNAi from the initial (left hand side box), the final populations (central box), and the top 10 most frequent sequences in the final generation (right hand side box). The result further strengthens the validity, in our statistical context, of ω as a quantifier of the strength of interaction with the resources Mambretti et al. (2022a).
Figure 2b shows that, during ADSE, ⟨ω⟩ tends to saturate at a value ωsat ≈ 10, indicating that no relevant selective advantage is gained when ω > 10, in agreement with the notion that the residence time of hybridized oligomers becomes larger than typical experimental times when ω > 12 Di Leo et al. (2022).
Figure 2d-f describes the evolution of the ecosystem {DNAi}j by showing p (ω), the fraction of DNAi having overlap ω with the resource evaluated in the initial pool (panel d) and at generation 12 (e) and 24 (f). p (ω) clearly evolves, its small ω components being progressively lost, while individuals with large ω grow in number, as they are more successful in being selected and amplified. It might be worth pointing out that the appearance of non-zero p (ω > 13) at generation 12, while p (ω > 13) = 0 in the initial distribution, is an effect of the under-sampling involved in the sequencing procedure.
The different destiny of DNAi with distinct ω values is shown in Figure 2g-i, where we show the temporal (i.e. across generation) evolution of the fraction of the total population whose ω is in the following ranges: 3 ≤ ω ≤ 5 (panel g), 6 ≤ ω ≤ 10 (panel h) and 11 ≤ ω (panel i). As expected, DNAi with weak affinity to the resources decrease, while those with large affinity increase. Interestingly, DNAi with intermediate affinity exhibit a non-monotonic behavior, indicating that the conditions for survival change during the evolution, reflecting the evolution of the ecosystem.
Null Model and Eco-evolutionary Algorithm
In order to better understand the experimental outcomes, we build first a null random model without evolution and then an Individual-Based Eco-Evolutionary (IBEE) model enabling predictions for p (ω).
The null model describes the interaction between individuals in the initial pool {DNAij=0} of random sequences and the resources within a purely combinatorial framework (see Methods and Appendix 3 for mathematical details). In this model, we attach a random string of length 50 to the resource string in a random position, and we compute the maximum consecutive overlap, accepting the binding only if it is at least formed by 3 complementary basis.
The resulting analytical p0(ω), plotted in Figure 2d (orange crosses) closely matches the data obtained from sequencing, confirming the random-sequence nature of {DNAi}j=0}. The analytical p0(ω) extends to a ω range where no data are available due to the limited size of the sequenced pool. The comparison between p0(ω) and p (ω) in panels e and f shows that the exponential decay of p0(ω) at large ω is maintained even in generation 12 and partly in generation 24, further supporting the notion that the selective advantage of ω saturates at large ω.
In the IBEE algorithm we consider Np individuals. Each has a fitness fi(ω) (i = 1, 2, .., Np) that depends on its affinity ω with the resource. At time t = 0 we assign ω to each individual based on p0(ω) from the null model. Then, for each evolutive cycle, we model competition and selection so that out of Np individuals, only Nr survives. This is attained as a combination of two processes: a fraction x of the Nr sequences results from sampling individuals from the Np population, each with a survival probability f (ω) ∈ (0, 1) (selection); the remaining fraction 1 − x is extracted completely from the Np individuals. The latter group is meant to mimic “neutral drift” (as it would be expressed in evolutionary language) provided by non-specific binding to the beads. The Nr survivers are amplified by identical copying back to Np, the starting population of the next evolutionary cycle (the introduction of very rare mutations do not affect the results). We perform 24 evolutionary cycles.
As expected, the outcome of the eco-evolutionary dynamics strongly depends on the shape of the fitness function. We model it as:
where ωmax is the (cycle-dependent) largest value of ω within the actual population and, ω* = ω if ω < ωsat, while ω* = ωsat otherwise. ωsat and γ are parameters to be tuned in the comparison with the observed ⟨ω⟩. ωsat expresses the loss of fitness gain for ω > ωsat yielding the saturation of ⟨ω⟩. γ represents the strength with which f ⟨ω⟩depends on ω, and thus the rate at which low ω individuals are discarded. γ may of course depend on time on account of the evolving ecosystem.
After grid search we find x = 0.9, indicating that the random drift contributes to about 10% of survival at each cycle, and ωth = 10, in agreement with the observations prompted by the saturating behavior of ⟨ω⟩. We also find that the data cannot be approximated with a single value of γ, as visible in Figure 2-figure supplement 8. Data can instead be very well matched assuming γ = 3 for the first 5 cycles and γ = 1 for the remaining cycles, as shown in Figure 2b, green line. With the same choice of parameters, the IBEE fitness based model captures the decrease in the diversity of the DNAi ecosystem (Figure 2a, green and grey lines) and the temporal (i.e. across generations) evolution of the relative population abundance of DNAi in the three ω intervals in Figure 2, panels g, h and i.
The effect of the system size and initial conditions on the IBEE results, discussed in the Appendix 2, do not qualitatively change the models results. Error-bars on simulations have been obtained by averaging 20 independent runs, starting from the same initial conditions. As can be observed, the variability among simulations is negligible.
Also, the IBEE model with a fixed γ would respect the increasing, decreasing, and non-monotonic trends of the data in Figure 2, but not quantitatively. The change in γ, and thus in fitness, is indeed necessary to reproduce the observed⟨ω⟩with the IBEE model. This is a key result of our investigation because it indicates that, even in simple conditions of ADSE environment (fixed resource and low mutation rate), survival is controlled by more than affinity to the resources, as discussed in the analysis below.
Self and mutual DNAi interactions are evolutionary drivers
While ω is certainly a key driver of the observed evolution, it is clearly not the only one. The fact that the top 10 most represented sequences become, in the last cycle, about 55% of the total population (Figure 2a) implies that, even among sequences with large ω, only a tiny minority come to dominate, while the largest part of them eventually disappear. Moreover, the 10 most represented sequences do not stand out for their particularly large ΔGDR or ω, as noticeable in Figure 2c. The same data are plotted in Figure 3a as a p (ΔGDR) distribution to enable comparing the free energy distribution in the initial population (purple shading), in the final population (blue columns), and in the top 10 (black columns). These elements support the notion that survival and dominance must also be due to factors in addition to ω, which we thus explored.
Figure 3b shows the value, across the 24 generations, of two other contributions to the total free energy, normalized to their value computed in random sequences, so to enable comparing their relative variations: ⟨ΔGself⟩ (green symbols), the average unimolecular free energy, expressing the average strength of the internal folding of each DNAi; ⟨ΔGDD⟩ (red dots), the total bimolecular DNAi-DNAi free energy, comprising both self and mutual interactions. For comparison, we also plot the normalized value of ⟨ΔGDR⟩ (blue dots). As for the case of ⟨ΔGDR⟩, ⟨ΔGself⟩ and ⟨ΔGDD⟩ are computed by randomly selecting 1000 individuals or pairs, respectively, from the population at cycle j and using the NUPACK tool to compute the values.
Figure 3b reveals that ⟨ΔGself⟩ grows in time even more than ⟨ΔGDR⟩, but with a different progression: ΔGDR grows faster in the first cycles to later saturate, while the growth of ⟨ΔGself⟩ is more uniform.
Since ⟨ΔGDR⟩ is computed as the free energy of the whole DNAi-resource structure, it includes contributions of self energy associated to hairpins in the DNAi. Thus the growth of ⟨ΔGDR⟩ could actually depend on the growth in ⟨ΔGself⟩ (but not the contrary). To investigate this possibility, Figure 3c displays the scatter plot between ⟨ΔGDR⟩ and⟨ ΔGself⟩, for a randomly chosen subset of DNAi at j = 24. In evidence are the 10 points corresponding to the 10 most populous sequences. The plot shows weak or no correlation, and a relevant shift with respect to ⟨ΔGself⟩ = ⟨ΔGDR⟩ (black line), demonstrating negligible dependence of ⟨ΔGDR⟩ on ⟨ΔGself⟩ and indicating that these two quantities reflect two independent driving forces in the ADSE selection mechanism. The existence of two different growth regimes suggests that in the first stages of ADSE the selection is mainly dominated by affinity with the resources, while in later generations the requirement of stronger unimolecular folding becomes more important.
A similar scatter plot analysis for ⟨ΔGDD⟩ yields a different outcome. Figure 3 d compares the ⟨ΔGDD⟩ computed for two selected DNAi (individual “k” and “l”) and the sum of ΔGself of the same two DNAi. The apparent correlation indicates that, on average, a large part of ΔGDD simply embodies the growth of self-energy, although the difference ΔΔG≡ΔGDD,kl − ΔGself,k − ΔGself,l (orange arrow) is non-negligible. Figure 3b shows the behavior of ⟨ΔΔG⟩ across cycles (orange squares). Despite the resulting mild growth of ΔΔG might appear not relevant, it actually indicated that ADSE, independently of ω, selects strings that have higher reciprocal affinity than a random DNAi set (see Appendix 2). Indeed, the selection process could instead have promoted a decrease of the same quantity. It should be noted that mutual interactions might also involve the unfolding of hairpins self-structures, in which case their strength is much larger than ΔΔG.
Self-interactions and mutual interactions can compete with the binding of DNAi to the resources either when they involve the same nucleobases or through steric hindrance. Therefore, we could expect that the increase of ΔGDR would lead to a decrease of both ΔGself and ΔGDD. Their unfore- seen growth in the ADSE process is hence an indication of the selective advantage they convey. We interpret this behavior as an indirect sign that mutual DNAi interactions, more than just an impediment, are major deadly threats for their survival. To avoid them, DNAi need screening. Indeed, the strong growth of self-interactions, and the mild increment in mutual interactions, could represent the emergence of “defensive” strategies, as discussed below.
In our search for evolution quantifiers other than resource binding strength, we also found that selection favors binding to resource sequences close to their resource 3’ terminal, away from the bead surface (see Figure 4-figure supplement 2). While this is expected, being that terminal less constrained and in a less crowded environment, it also provides useful clues to further analysis.
The evolution of DNAi species
We examined the evolution of DNAi species, i.e. the change in numerosity of the groups of DNAi having equal sequence, which we report in Figure 4a relative to a limited set of (mainly) successful species (for a larger selection see SI). Data in Figure 4a are expressed as the fraction F of the total population that belong to a given species. It can be noticed that species that are later becoming dominant “appear” in our analysis only at generation 5 in a single or a few copies. This is reasonable since we sequence a sample of ∼106 DNAi over the much larger population of ∼1012 survived individuals.
Species are named after their ω value, combined with an index (e.g. “12.0”, “12.1”, “12.2” …) expressing their ranking in populousness. In Figure 3, panels c and d, we marked and labeled in red the free energy values associated to the 10 species dominating in the last generation and labeled the corresponding species or pairs of species. It can be noticed that the dominant species are not - as one could naively expect - at the extremes of the energies distributions and assigned, confirming that the statistical trends do not enable, by themselves, a full understanding of ADSE.
The populousness of ADSE species does not have standard patterns of evolution. This is true even when limiting the observation to the successful species in Figure 4a whose population growths are varied and do not reflect in any simple way the energy quantifiers. Conversely, species with similar energy quantifiers may have opposite fate, either becoming dominant or rapidly extinguishing or else displaying a non-monotonic population evolution. It is worth pointing out that all species start equal, each represented in the original pool by a single molecule, which on this scale would appear as a F ≈ 10−12 (black dot in Figure 4a, right panel).
We thus decided to seek further understanding on the survival of the fittest in ADSE by inspecting the “natural history” of a few species (see Tables 2, 3 in the Supplementary Information).
13.0 and 11.0 (orange and gray dots in Figure 4a) are, respectively, the most and second most populous species in the last generation. It might be relevant to mention that the replica of ADSE described in the SI leads to different dominant sequences, as expected on the basis of the distinct initial pool and on the key role of randomness and sampling in the first cycles. At generation 24, 13.0 and 11.0 have grown to more than 85% and 53% of DNAi with ω = 13 and ω = 11, respectively. 13.0, and 11.0 likewise, have a weak self-interaction (Figure 3c), corresponding to hairpins that provide a mild defense to mutual interactions, as schematically sketched in Figure 4, panel b1. The hairpins involve most of the bases that are complementary to the resource (yellow shading), leaving however a few unpaired bases that might act as toehold to initiate resource binding. The resource binding takes place at its 3’ terminus (panel b2). A bit puzzled about the success of these two species we also explored their capacity of mutual interactions and found that both of them are capable of forming homodimers, as shown in panel b3 for 13.0 (binding energy marked in Figure 3d). Such dimers can bind resources at both ends (yellow shading regions), giving 13.0 and 11.0 self-screening and divalent binding capacity. We argue this to be a crucial drive toward success of these two species, which also explains why their growth has such an increment in the latest generations, following the probability of dimer formation.
The third most populous sequence (species 8.0) is characterized by a weak resource interaction which includes a bulge (see Figure 3c). While its survival rationale appears clear - good defensive self-binding (panel c1) and interaction targeting the 3’ end of the resource (panel c2) - it is hard to accept this could be the cause of the success. Again, inspecting the mutual interaction we found that 8.0 efficiently interacts with 13.0 (as marked in Figure 3d), in a region (frame in pink) that does not conflict with the capacity of 13.0 to bind the resource (panel c3). We speculate that this parasitic capacity of 8.0 adds to the weak intrinsic binding to lead to a remarkable success of this species.
As a test to this concept, we focus on species 5.1, whose binding strength to the resource is the weakest in the top 10 species and one of the weakest among all the survivors of generation 24 (Figure 3c), a feature that questions its success. However, by inspecting mutual interactions, we find its binding to 11.0 to be strong and stable (pink frame in panel d1 and Figure 4d1). An analogous behavior is found for species 5.0 and its interaction to 12.0 (panel d2), confirming that parasitism is an emerging successful survival solution in ADSE.
We then inspect 12.1 since it has largest ΔGDR and ΔGself among the top 10 species (Figure 3c). Species 12.1 has all the features to succeed in ADSE: it forms a weak hairpin with the bases involved in the binding with the resources and a strong hairpin that protects the rest of the ssDNA segment (panel e1); it strongly binds to the resource with the bond ending at its 3’ terminal (panel e2); it forms homodimers capable of double resource binding, analogous to that of 13.0 (panel e3). Remarkably, 12.1 emerges only late in ADSE (Figure 4a, blue dots), a very unusual behavior when compared to the other many species we have considered. The combination of this late appearance and of the remarkable growth in F afterward suggests that 12.1 is the outcome of one of the rare mutations that can occur even with the high quality PCR that we adopted. By assuming an initial growth analogous to that of dominant species (black arrows in panel a), we argue that such mutation occurred around generation 9, where we have found ancestors having sequence equal to 12.1 except for 4 bases.
F has a monotonic increase for most of the species that become dominant in the latest generations. This behavior is however not at all general. Non-monotonic F, growing during in the first generations and decreasing to extinction afterward, is the general behavior for the majority of species that do not become extinct in the first cycle, as also shown - through their average behavior - in Figure 2h. An examples of these is species 7.X (empty dots in Figures 4a and 4b).
More intriguing is when a non-monotonic behavior is observed for one of the dominating species. This is the case of 11.1, whose growth can be again attributed to an effective screening and a good binding to the resources, but whose decrease is harder to justify. To understand it we again investigate mutual interactions, and we find a strong 11.0-11.1 bond (sketched in panel f), which, differently from the DNAi-DNAi complex examined above, competes with resource binding. We thus speculate that the fall of 11.1 is a consequence of the rise of 11.0, which has become frequent enough to make the formation of the complex 11.0-11.1 probable, which lowers the survival probability of both species. This could also explain why species 11.0 has such an irregular growth pattern, with a slowing down when 11.1 becomes highly populated.
The insight gained by these case-studies enables appreciating how self and mutual interactions can affect the fate of species in ADSE beyond what we could discern through distributions and average quantifiers. Indeed, this analysis shows that the success of the dominant ASDE species can be achieved through different combinations of resource and mutual DNAi interactions, a fact that makes the evolution of population so varied and generation dependent and explains why, in the latest generations of ADSE, the population distribution p(ΔG) (Figure 3a) is so irregular.
Discussion and Conclusion
We have here introduced ADSE, a synthetic molecular evolution protocol that exploits sequencing technology and DNA interaction computability to provide a test-bed for key concepts in ecology and evolution. Although the simple scheme of ADSE enables to perform studies in which mutations and resource drifts can be introduced, we performed experiments by adopting the most simple environment within this protocol, i.e. by holding fixed the capture sequence and minimizing mutations. This choice was aimed at achieving a condition dominated by competition and selection, which enables investigating the nature of fitness in this simplified evolution process.
Our experiments and their comparison with theoretical models indicate that fitness is not a simple function of the direct competitive advantage of strong binding to the resources, as it could have been naively expected. Resource binding is indeed the dominant factor in the first part of the evolution (cycles 1-5), producing a fast growth of ⟨ω⟩ compatible with a strong dependence of the survival probability on ω (f ∝ω3). However, as ⟨ω⟩reaches a value corresponding to bonds of moderate stability Woodside et al. (2006) - approximately from generation 6 onward - the selective pressure related to resource binding decreases (f ∝ ω), a condition enabling to appreciate other factors at play. Which are these factors is suggested by the different growth patterns of ΔGDR and ΔGself, the former dominating the first cycles while the latter drives the later stages. However, the quantification of binding energies is not sufficient to predict the fate of individual species, that also depends on interaction details (location of binding and hairpins, secondary structures) and possibly on kinetics.
In fact, by design, DNAi can interact with themselves, both internally - forming hairpin-like struc- tures - and mutually - leading to the formation of complexes. These interactions can either coexist when they involve non-overlapping sequences - or they can become competitive. Our experiments reveal that, among the wide variety of conditions made available by the initial random seed, ADSE generally promotes those that combine a good interaction with the resources and a structure capable of screening from mutual DNAi interactions conflicting with binding to the beads. By exploring hybridisation-dependent DNAi secondary structures - the only ones accessible with simple analytical tools, we found three basic motifs: hairpins due to self-interactions (as for species 12.1), formation of DNAi homoduplets (as for species 13.0 and 11.0), and formation of dimers of DNAi belonging to distinct species. The latter can bring to distinct prototypical behavior: it can be the basis of parasitism, as in the case of the pairs 8.0-13.0 and 5.1-11.0, it can lead to extinction with no benefit for either species (as in the case of 15.0-12.0), or it can provide - at least in principle mutualism. While we do not have a solid proof, clues suggest that cooperation might be active in the case of the interaction between species 5.0 and 12.0, since 12.0 has a weak self-defensive system and since the populations of 12.0 and 5.0 evolve very similarly (see Table 2). Finally, we cannot exclude a possible role of the formation of multi-DNAi multivalent complexes. This is the case of species 12.0 and 15.0 whose pattern of multivalent mutual interactions can, in principle, allow higher order interactions (see Appendix 2).
Fitness in ADSE is the outcome of a complex interplay of all these elements. The history of single species in Figure 4 indicates that the nature of fitness is beyond what can be captured by analyzing the probability distributions of the relevant parameters describing structure and interactions. Moreover, the variety of population evolution patterns enlightens the fundamental fact that despite the constancy of resources, the progressive modification of the ecosystem brings about a change in the competition modes, and thus in fitness. A forthcoming work focused on a limited number of species will be devoted to better disentangle the nature of fitness in ADSE.
The evolution of the ADSE ecosystem, which corresponds to a marked decrement of its entropy with 2/3 of the initial species become extinct in the first 5 generations - and potentially terminating with the indication of a single winner species leads instead, in the last cycles, to a significant number of dominant species all still growing at the expense of subservient ones, indicating that in their direct competition none of them is strongly prevailing despite - or maybe thanks to - their distinct survival strategies and their very different population share. Hence, while the niche hypothesis could still be verified in the long run - beyond the experimental limitations due to PCR - it is clear that its drive is weak, suggesting that it could be overcome by environmental fluctuations, thus allowing for coexistence of different species even in a single niche environment.
Methods
Our experimental design takes advantage of a selective capture mechanism where magnetic beads carrying single-stranded DNA filaments of fixed length and sequence (resources) target DNA individuals (DNAi) (Figure 1-figure supplement 1) present in a DNA library based on their level of complementarity. This process of selection is carried out through subsequent steps that are described in detail in the next paragraphs and represented in Figure 1-figure supplement 2.
Library design
The DNA library contains 100-nt-long sequences where a randomized central region of 50 nucleotides is flanked by 25-nt-long fixed sequences at both its 5’ and 3’ ends. The fixed regions provide an anchor point for primer annealing, required to perform PCR reactions during the amplification phase (see below). These terminal segments are made inactive by hybridization with oligomers of perfect complementarity (blockers), so that they are not involved in the selection phase. The blockers, as well as the fixed regions of the DNA library, have been designed to avoid hybridization with the resources. In addition, the blockers carry a phosphate group at their 3′ end to prevent them from functioning as primers during the PCR amplification. Following the above described criteria, we designed two sets of sequences (Table 1 in the Supplementary Information), called Oligo1 (whose results are presented in the main text) and Oligo2 that was used as a replication experiment. All the oligonucleotides used in this work were purchased from Integrated DNA Technologies, Coralville, IA, USA (Table 1).
Beads preparation
The capture of DNAi within the DNA library was performed with carboxylic acid magnetic beads (M-270 Dynabeads, Invitrogen, Carlsbad, CA) coated with the resources. The resources are 20- nucleotide-long, 5’-amino-modified oligonucleotides. Their coupling to the beads surface was performed according to the manufacturer’s instructions. Following the activation and coupling procedure, the beads were washed in Tris-HCl (50mM, pH 7.4), and stored in the same buffer in single-use aliquotes.
Sample preparation
The starting samples were prepared in 1X SSC buffer (0.15M sodium chloride, 15mM sodium citrate, pH 7.0). In detail, the Oligo1 (or Oligo2) library (0.75nmol) was mixed with the blockers (2.25nmol) in 1:3 molar ratio to saturate all the available interaction sites between the blockers and the fixed regions of the DNA library. The sample was then denatured at 95°C for 5 minutes, then slowly brought to room temperature using a thermal cycler (MasterCycler Nexus Gradient, Eppendorf, Hamburg, Germany).
Selection phase
The beads, coupled with the resources, are mixed with the sample, prepared as described above. The capture of the DNAi is carried out at 40°C for 2 hours in stirring (600rpm, ThermoMixer, Eppendorf). Once the selection phase is completed, the sample is incubated for 2 minutes on a magnet and the supernatant is removed. The beads, that are now bound to the captured DNAi, are washed three times in SSC 1X buffer to eliminate the aspecific sequences. Finally, the beads are resuspended in water and incubated for 5 minutes at 60°C to recover the DNAi from the resources. The sample is quickly placed on the magnet and after 2 minutes the supernatant containing the selected DNAi is collected and then quantified by NanoDrop (Thermofisher Scientific).
Control experiments were performed showing that no artifact in ADSE are introduced in ADSE because of non-specific interactions with the magnetic beads (see Appendix 1, Experimental controls).
Amplification phase
The captured DNAi are then amplified by PCR with Q5® Hot Start High-Fidelity DNA Polymerase (New England Biolabs, Ipswich, MA, USA). DNA samples were diluted 10 times and 3μl were used for each PCR reaction. The PCR was performed in a final volume of 25μL using 0.25μL of polymerase, and each primer had a final primer concentration of 2.5μM. To allow the regeneration of the single strand library, the reverse primer was designed to carry a 5′ biotin modification (see next paragraph for details). The thermal protocol was the following: i) denaturation step at 98 ° C for 2 minutes, ii) 28 cycles characterized by three thermal steps: 10 seconds at 98°C, 10 seconds at 68°C for Oligo1 (69°C for Oligo2) and 1 second at 72°C, iii) 2 minutes at 72°C. The annealing temperature was kept higher than conventional protocols to endure that hairpins or DNAi dimers are melted. For each generation, 10 different PCR reactions were performed. The PCR products were then checked for size on a 2% TBE 1X agarose gel.
Control experiments were performed showing that no artifact are introduced in ADSE from the amplification steps (see Appendix 1, Experimental controls).
Regeneration phase
PCR products were purified by precipitation with 2.5 volumes of ethanol and 0.1 volumes of sodium acetate 2M, pH 5.2. After an overnight precipitation at -20°C, the pellet was washed with ethanol 75%, resuspended in water and quantified using the Qubit fluorometer (Invitrogen, Waltham, MA, USA). The single-strand regeneration was performed with streptavidin-coated magnetic beads (M- 270 Dynabeads, Invitrogen, Carlsbad, CA) according to manufacturer’s instructions. Briefly, the PCR product was incubated for 15 minutes on a rotator with the magnetic beads. After 2 washes with binding and washing buffer (10mM Tris–HCl pH 7.5, 1mM EDTA, 0.2M NaCl) and a third one with SSC 1X buffer, an alkaline denaturation was performed by incubating the beads with 150mM NaOH for 10 minutes to induce the separation of the two DNA strands. This way it is possible to recover the unlabeled DNA strand in solution. The ssDNA is then collected and buffered with 1.25M acetic acid and TE 1X. The regenerated ssDNA is ready for the next round of selection and amplification.
Sequencing of the recovered products
To check the growth of DNAi species in our experimental model, some generations were sequenced through next-generation sequencing techniques. To prepare the sample for sequencing, the DNAi species captured as described in the “Selection phase” paragraph were first PCR-amplified using the same conditions discussed before. However, in this case, both forward and reverse primers were unlabelled. After PCR purification, performed as already described (see “regeneration phase” paragraph), the products were quantified and used to obtain libraries. About 300ng of DNA were used as starting material for the NEBNext® Ultra™ II DNA Library Prep Kit for Illumina ® (New England Biolabs), and libraries were prepared following the manufacturer’s instruction. Sequencing was performed with the NextSeq™ 550 sequencer (Illumina, San Diego, CA, USA) and a paired-end strategy to obtain 75-nt long reads.
A technical replica was performed to assess the fluctuations intrinsic to sequencing in the context of ADSE (see Appendix 1, Experimental controls)
Replicas
The experimental workflow was repeated on two different sets of DNA libraries: Oligo1, whose results are described in the main text, and Oligo2, used as a replicate. The experimental conditions and procedures were the same for both sets of oligonucleotides, the only differences being the sequences of the fixed parts of the DNA libraries (and hence of the blockers and primers) and of the resources (Table 1). As a consequence, also the PCR conditions had to be adjusted, in terms of the annealing temperature that is one degree higher for Oligo2.
Eco-Evolutionary algorithm
To support experimental observation with a simple abstract model, we developed an Evolutionary Algorithm where a population of Np sequences evolves in presence of Nr < Np shorter sequences. In particular, Nr individuals in this population are selected at each cycle depending on their fitness, i.e. on their affinity to the resource, expressed via their ω with it. These survived sequences are then amplified by a factor of (roughly) Np/Nr. In this work, two types of fitness functions have been explored: the first one is merely linearly proportional to the ω of each individual (i.e., where Σω is the sum of the ω values of the whole population), while the other one is a modification of the previous fitness which sets it to be beyond a threshold value ωth. The code is written in C++, exploiting MPI Message Passing Interface Forum (2021) and Armadillo Sanderson and Curtin (2016, 2018) libraries for acceleration.
NUPACK calculations
We resorted to NUPACK for nucleotide sequences analysis, for the prediction of their free energies at equilibrium, either alone or when binding to one or two other oligomers. Schemes like those shown in Figure 4 have been obtained via the NUPACK web application Zadeh et al. (2011), while massive ΔG calculations have been performed with custom Python codes exploiting NU- PACK Python package (v4.0.0.27) Fornace et al. (2020); Dirks et al. (2007). The model is dna04 and ensemble=‘some-nupack3’; T = 40°C and [Na+] = 0.24 M, as in the experiments. Concentration of each species in the tube has been arbitrarily set to 10−6 M. Detection of hairpins and other secondary structures has been performed visually (thanks to the oxView software Bohlin et al. (2022); Poppleton et al. (2020)).
Acknowledgements
T.B. acknowledges support from MIUR-PRIN (Grant No. 2017Z55KCW). F.M. and S.S. acknowledge CloudVeneto (http://cloudveneto.it, Andreetto et al. (2019)) for the use of computing and storage facilities, through the SEDES and HPC-Physics projects.
Conflict of interest
The authors declare no conflict of interest.
Availability of data and materials
The datasets generated and analysed during the current study are available from the corresponding author on reasonable request.
Code availability
The Jupyter Notebooks used for the present analysis are available at https://github.com/francescomambretti/stat_phys_synthetic_biodiversity.
Appendix 1 Data analysis protocol
Since we performed a paired-end sequencing, for each experimental cycle two FASTQ files were generated (R1 and R2).
The data shown in the paper all come from the cumulative analysis of R1 and R2 files. To analyze such files, we have developed an ad-hoc package (in Python and C++), currently maintained at https://github.com/francescomambretti/stat_phys_synthetic_biodiversity. Here follows a scheme of the main steps of the analysis:
Read FASTQ file, extracting the list of single-stranded DNA (ssDNA) sequences. Reverse sequences are reverted and complemented, so to have all the sequences oriented as 5′→3′. Fixed sequences at the ends are removed in this way: if the full blocker is present, then the 50 bases after it are retained. If some of the last bases of the blocker are lost (it may happen), then just remove the primer and keep the subsequent 50 bases. Slightly different choices for this cut of the sequences turned out to be substantially irrelevant for all the results.
Each sequence can be either saved or discarded, according to some filtering procedure. Criteria include the minimum quality of the read (≥ 10, measured according to the Phred score), the minimum and maximum allowed length, the presence of invalid nucleotides (indicated by ‘N’ in the FASTQ file) and other checks (see below in particular for PCR by-products).
The ‘survived’ sequences are processed, computing the related observables. Unique sequences are identified and their degeneracy is computed. This allows to monitor the time evolution of the abundance of each species (where the equivalence: DNA sequence-species holds).
For each of these unique ssDNAs, we compute the indicators quantifying the ‘affinity’ with the target sequence: in particular, the maximum consecutive overlap (MCO) and eventually the binding free energy with the resource and/or other oligomers.
Several post-processing options are available, such as: generating histograms of the ssDNA population based on their affinity with the resource; tracking the time evolution of dominant strands; determining the fraction of the total population covered by the n most abundant strands. All these quantities can be plotted by suitable Python scripts, provided in the GitHub repository.
By-Product Formation from PCR Amplification
During the amplification phase, described in our workflow, we observed the formation of PCR by- products. This phenomenon is known in SELEX systems, especially when an oligonucleotide library characterized by high heterogeneity is PCR-amplified Tolle et al. (2014). The generation of these by- products is caused by unspecific hybridization of the primers and/or of oligonucleotides, leading to PCR products abnormal in terms of length and distribution of random/fixed sequences. To limit this phenomenon we adopted blocker oligos with a phosphate group at 3’, so that they do not act as primers, and a stringent PCR protocol, characterized by: i) a high annealing temperature, ii) fewer PCR cycles, iii) a high primer concentration, iv) a very short elongation step (1s). Moreover, during the data analysis step, we developed an algorithm to identify and remove these spurious sequences.
PCR by-products are identified among the sequenced oligomers according to the following criteria:
if either the sequence (after the cut of the blocker as previously described) contains at least n consecutive bases identical to n of the 5′ blocker (i.e. an n-long MCO with a subsequence of the Primer1-F)
or it has at least n consecutive bases identical to n of the 3′ blocker
then this sequence is considered as a by-product and excluded from the analysis.
Figure 2-figure supplement 1a shows how such unwanted sequences become ≈ 30% of the total sampled population at cycle 15 and then the striking majority (> 95%) in the last cycle, setting de facto an upper limit to the number of feasible experimental cycles. On the other hand, as we can see from Figure 2-figure supplement 1b, the behaviour of ⟨ω⟩ for the by-products is very similar to the one observed considering only regular oligomers, therefore the one observed considering only re their presence does not affect the main outcome of the experiment.
In Figure 2-figure supplement 2 the p (ω) for the first and last cycle of only the by-products of Oligo 1 are displayed and compared with the null model prediction. The main evolutive trend is also present in these sequences, which have however been discarded from all the analyses.
Intrinsic limitations of the molecular approach
Possible biases in our workflow are intrinsic to both PCR and Illumina sequencing technologies (e.g. sequencing of homopolymers or amplification of GC-rich sequences). However, in our experimental procedure we implemented approaches and solutions to reduce them. Regarding PCR, we developed an optimized thermal protocol, characterized by very short denaturation, annealing and amplification steps performed at high temperatures. Regarding Illumina sequencing, we can’t rule out a bias against specific sequences (e.g, homopolymers), which however should not be captured during the selection step, due to the design of the resource. Also, the libraries subjected to sequencing are characterized by a low complexity since, according to the experimental design, the first and last 25 nucleotides are the same for all DNAi. The complexity further decreases during cycles because of the decrease in DNAi diversity. This could constitute a problem, since in the design of Illumina instruments nucleotide diversity, especially in the first sequencing cycles, is critical for cluster filtering, optimal run performance and high-quality data generation. To overcome this limitation, the obtained libraries were run together with much larger and more complex and diverse library preparations (and as a consequence the number of reads we obtained was in the range of a few millions per run, a small fraction of the total).
Experimental controls
To check the specificity and the robustness of our approach, we implemented different control steps: i) a negative control with bare beads, ii) a technical replicate of the sequencing, iii) a PCR replica.
Negative control
First, we tested the effect of a possible non-specific binding of DNAi to the beads on the selection process. Beads were prepared as described in the Methods section, but they were not coated with the resources. The selection step was performed following the described protocol, and six selection cycles were carried out. We were able to recover DNAi after each selection steps, due to an non-specific binding between the beads surface and DNAi. After sequencing cycle 6, we compared the results with the corresponding cycles of the Oligo1 and Oligo2 experiments. The most abundant sequence in the negative control had a relative occurrence of 0.05%, whereas the dominant strand in the 6th generation in Oligo1 and Oligo2 had an abundance of 8% and 16%, respectively, i.e. 40-80 times larger. This indicates that the natural drift provoked by non-specific interactions with bare beads is more than one order of magnitude smaller than the selection induced by the affinity with the resource.
Technical replicate
Second, we tested the effect of sampling on the consistency of the sequencing results. Since only a small fraction of the recovered sample is actually analyzed, we sequenced twice the library derived from Oligo1 cycle 9, and we identified in both replicates the most abundant DNA species, defined as those with at least 100 sequencing reads (corresponding to 27.42% of the total reads). Among the 800 DNA species that satisfied this requirement, 93.6% are found in both replicates; the remaining ones are characterized by a low representation, close to 100 reads. Subsequently, we compared the abundance of DNAi populations between the two replicates (Figure 2-figure supplement 3), by calculating the ratio between the number of reads of each shared DNA species in each replicate, after normalizing for the total number of reads obtained from sequencing. We found an average ratio of 0.965 (standard deviation = 0.119), and we observed significant fluctuations only for the least populated species. Overall these results indicate that the effect of sampling (and thus the sequencing readout, as well as possible PCR amplification errors) don’t have a significant impact on the selection process.
PCR effects on DNAi selection
Third, we tested the effect of PCR amplification on the selection process. Starting from Oligo1 cycle 9 sample, we performed an additional PCR amplification round (equal to those used to connect ADSE generations) and we proceeded directly to sequencing with no beads-selection step. We then compared the ensemble of oligos obtained in this way, which we named Oligo 1 “cycle 9 replica”, with both the original Oligo1 cycle 9, and with Oligo1 cycle 10. We sampled 20 times 4 x 105 sequences from the cycle 9 dataset, from cycle 9 replica and from cycle 10 with a bootstrap approach. To compare the three systems we extracted the fraction of the population of each covered by the 10 most abundant individuals (Figure 2-figure supplement 4). We found that the 10 most abundant species represent on average the 8.8% ± 0.1% of all sequences in Oligo1 cycle 9 and the 8.5% ± 0.1% in its replica, thus indicating a statistical compatibility within 3 standard deviations (calculated on the 20 subsamples). Notably, across the 20 subsampling, for each of the analyzed condition, the 10 most abundant sequences are almost always the same. In particular, the first 8/9 are always the same, possibly shuffled. This result should be compared with the top-10 fraction in cycle 10, which is 13.6% ± 0.1%, far beyond the statistical compatibility with cycle 9, with cycle 9 replica and with the distance between the two.
Appendix 2 Further analyses of the Eco-Evolutionary Model
We here show some further results and sensitivity analyses of the Eco-Evolutionary stochastic individual based model. In Figure 2-figure supplement 7 we show how the eco-evolutionary model can describe the emergent order and complexity, that is a loss of the initial huge diversity of the random strings towards few dominating species, during evolution. This behaviour can be quantified 1) by the ratio CR between the zipped file size Benedetto et al. (2002) and the original file size of all the sequences oligomers in the ecosystem or 2) by computing the Shannon entropy of the Relative Species Abundance Hill (1973). We can see that that the model is able to reproduce, at least qualitatively, the marked decrease of diversity observed during evolution.
In Figure 2-figure supplement 8a we show the outcome of the model if we do not include the saturation at ωth = 10. As we can see, the effect is evident as after a few cycles the experimental ⟨ω⟩ lies significantly under the model (which promotes too much the strongest sequences). Simi-larly, Figure 2-figure supplement 8b shows the evolution for the average MCO in the case we use only γ = 1 in the simulation (here, ωsat = 11). It is very apparent how in this case the simulated initial evolution is much slower with respect to the observed from the data, while the final trend is captured. These results indicate that both saturation and the non-linear fitness time dependent fitness function are fundamental ingredients to describe the empirical evolution of ⟨ω⟩. Note that in both cases of the above picture, there is a 10% random sampling drift.
Finally, Figure 2-figure supplement 9a and Figure 2-figure supplement 9b show the simulations results for different total number of individuals (N = 106, 105 and 104) and resources (R = N⁄100, keeping this ratio fixed) and for different initial conditions (i.e., different sequences populations), respectively. We can see that the qualitative results concerning ⟨ω⟩as a function of time are robust, beyond a given system’s size (the silver data in Figure 2-figure supplement 9a are already of a system’s size large enough, while the blue ones correspond to a too small system). Considering a different initial (random) population of sequences, keeping fixed all the other hyperparameters (in particular N = 106 and R = 1064), as shown by Figure 2-figure supplement 9b preserves the qualitative agreement with the experimental data, assessing the substantial independence on the initial conditions. Overall, these further analyses show the robustness of the qualitative behavior of results of the Eco-Evolutionary model, pointing out to two relevant phases of the evolution of the oligomers, as highlighted in the main text.
Further results on the interactions between oligomers
In this section we highlight some further results on the interactions between species and resources and among oligemers, respectively.
Figure 4-figure supplement 1 shows the average pair-wise interactions between 10 random strings (as representative of the whole population) during the different evolutionary cycles (t = 0, 9, 18, 24), ⟨ΔGpp⟩. Such averages have been computed by giving to NUPACK a pool of 1000 sequences, randomly subdivided in 100 groups of 10 sequences each. We can see that, during evolution, the selected oligomers increase their average interaction strength, a signature that the evolution favors not only strings that have higher overlap with the resource, but also that interact in some way with the other species.
Figure 4-figure supplement 2 is the 2D probability distribution p(ω, xR), computed from experimental data, to simultaneously have a given MCO= ω and xR, the rightmost basis of the of the resource involved in the formation of such an MCO. Noticeably, we start from a distribution peaked in ω = 4 and 10 ≤ xR ≤ 12, essentially corresponding to purely random binding. Across cycles, the probability distribution is deeply modified, with a shift towards the bottom right corner. Along the horizontal axis this simply reflects the shift in the average ⟨ω⟩ of the population, and also the fact that winners have large overlaps. Interestingly, we observe significant shift of xR towards high values, meaning the MCO are preferably formed far away from the bead surface, near the free end of target strands.
Results of the experimental replica
In Figure 2-figure supplement 5 and Figure 2-figure supplement 6 show the main outcomes of the replica experiment Oligo2. The evolution of the average MCO⟨ω⟩ over cycles is qualitatively the same of that one found in Oligo1: we have a initial steep grow ⟨ω⟩, compatible with a non linear fitness, and then we observe a slower increase for the last cycles, saturating for ⟨ω⟩ ≈ 7. The histogram shows the whole p (ω) at cycles t = 0 and t = 18. As for what we found in O o1, at t = 0 the behaviour of p (ω) is compatible with our null random model, while at t = 18 the oligomers with higher ω are selected, and the tail of p (ω) is fatter than the one expected by chance.
These results show that indeed the main outcome of Oligo1 are replicated by Oligo2.
Appendix 3 A combinatorial null model with no evolution
As a first step to understand what happens in our experiments, we have built a null model, assuming purely random attachment sites, i.e. there is not any search for the relative positions of binding filaments so to maximize the MCO. In this way we have a null expectation for the typical MCO distribution in case of oligomers insensitive to the presence of target sequences.
Let us call a the number of consecutive bonded pairs between oligomers 1 (e.g. the species) and 2 (e.g. the resource), with maxr1,2 MCO = ω and R1,2 being the relative position of the left ends of the two filaments, as also explained in Mambretti et al. (2022b) and in the main text. Consider the initial population being uniformly random selected (in the high 4L dimensional space of all possible DNA strands). The first quantity we are interested to calculate is π(a), the probability density of a at time t = 0, i.e. before the evolution starts. This distribution is also the distribution of the subsample (i.e, the ≈ 106 strands which we are able to sequence at each cycle), if we assume purely random attachment (no competition among the DNAi, no optimization of the attachment site).
The relative position of the two strands is important since the target can be either “inside” (Figure 3-figure supplement 1, panel a)) or surpassing one of the borders (Figure 3-figure supplement 1, panel b) and C)) of the longer oligomer after the attachment. In the picture, R1,2 = 0 when the first nucleotide of the target resource overlaps with the first one of the DNAi species. From now on, we will refer to R1,2 simply as R.
Our goal consists in finding the MCO of L-long strand (the species) with a l-long target ssDNA (the resource), where l < L. In the following calculations, we therefore assume that R is a random uniform variable (−l + 1 ≤ r ≤ L − 1) and we will calculate a R (for this R).
Such a problem is sketched in Figure 3-figure supplement 2 (where R = 2, but the following holds for any R in the allowed range), where we indicate with d the number of mismatching bases between the target resource (red) and the DNAi species (blue), with u the number of matching ones, being d+u := l. Labeling as xi the number of consecutive matching nucleotides comprised between two consecutive mismatching bases, as shown in the picture, the problem can be reformulated in terms of counting how many integer solutions can be found for the equation:
that corresponds to determine the number of ways in which a set of xi solving Eq. 1 can be obtained. Note that xi vanishes between two neighboring pairs of mismatching sites, as marked by the arrows in the picture. In the case reported in the picture, e.g., xi = (1, 0, 1, 4, 0, 4, 0, 0, 2) and , u = 12 and d = 8.
Ref. Charalambides (2008) provides us with a formula to answer this question. We stress that finding the number of solutions Ad,u for the above equation is equivalent to obtaining the probability distribution π(a) for the relative occurrence of each a in a sample of DNA strands, with uniformly random extracted relative positions of the two sequences.
Theorem 1.
Let us have the equation. Let us suppose that si ≤ xi ≤ mi, ∀i = 1, …, n for given integers si, mi, i = 1, …, n with s ≤ u ≤ m, being , and . Let us define wi = mi − si ≥ 0 ∀i. The number of integer solutions, having the shape (r1, …, rn), of this equation, with the restrictions aforementioned, is given by:
where the inner sum is performed over all the r−combinations (having the shape {i1, i2, …, ir}) of the n indices 1, …, n.
In our case, the resource string may not go beyond the DNAi species boundaries (as the latter is longer than the former). But we can modify the name of some variables to adapt the theorem to our problem and make some constraints explicit:
From i = 1, …, n it follows that n = d + 1 because we have d + 1 terms (from 0 to d).
si = 0 ∀i, because each xi ≥ 0 by definition. Therefore, s = 0.
At least one of the xi must be equal to a.
In principle, mi is equal to a for each i (which means that there are no consecutive overlaps larger than a).
It must be that a ≤ u ≤ min((d + 1)a, l) (i.e., the total overlap u - which, at most, is equal to d + 1 times a - must not be larger than l).
In fact, by using s = 0 and d + u = l, the theorem Eq. 2 can be rewritten as:
where the inner sum can be replaced by (how many ways are there to dispose the d +1 integer indexes to form r groups):
First of all, can be placed inside the summation because it corresponds to the r case. Now, we have to apply the constraint that at least one of the wj = a, which means having the first term where the wj are always equal to a, minus the second term which includes all the cases where all the wj < a:
Note that the previous expressions concern only the cases where 0 ≤ R≤ L − l. However, this should not matter for practical purposes because R does not appear in the above expressions. Similar formulas can be found when the target surpasses the left/right border: if − l + 1 ≤ R ≤ −1
while if L − l ≤ R ≤ L – 1
Using all the previous results, the general equation for the number of ways which lead to a MCO a is given by:
where the 3 options are originated by the 3 options for the relative position of the target and of the DNAi sketched in Figure 3-figure supplement 1.
Let us now derive nk, ∀k. In particular, if the target resource is completely within the DNAi species boundaries, then we have
with (L−l+1) is the total number of possible positions R where the DNAi can attach to the resource, 4L is the number of ways to build a L-long string (i.e. all possible species), 3d represents the number of arrangements for the non-matching bases (3 is because we exclude the only matching base) and for 0 ≤ R ≤ L − l.
Analogously,
where the summations run over the admitted integer R values as well as over the allowed d values. In this case, 4L−l−R is the number of ways in which the nucleotides not involved in the attachment can be obtained. Here, . A similar equation holds for n3 (a), where
and .
To get the distribution of the overlap measure π(a), it suffices to divide n(a, R) by the total number of ways in which we can build a string, i.e. 4L times the number of possible positions R where the attachment can happen, i.e. L + l − 1.
π(a) is exactly the probability density to find a given MCO= a between a l-long and a L-long sequence which found themselves attached in a random position R.
The underlying probability distribution π(a) is naturally discretized and can be represented as an histogram, with the occupancy probability for each bin a (the affinity to the resource). π(a) is represented in Figure 3-figure supplement 3a as orange bars; grey bars in the same panel represent the average of 50 independent simulations with K = 106 50-mers uniformly generated, where their overlap with the target strand - once uniformly random extracted their relative position - is measured.
The analytical result for the null model and simulations yield almost exactly the same results, with the difference that for large MCO we have strong sampling effect in the simulations. In order to understand how possible biases in the initial frequency of each nucleotide in the starting population, we run N = 50 independent simulations with a non-uniform frequency for A,C,G,T in the sequences. For instance, the panel b) of Figure 3-figure supplement 3 compares the π(a) obtained with A,C,G,T having a probability of 25% (grey data) with the corresponding distribution obtained having: A=23%, C=19%, G=29%, T=29%. The average bin occupancy does not change significantly, but only the large a tails are slightly affected by the bias and the error-bars are much larger for the majority of the a values.
We furthermore set a threshold T to model the physical constraint that if a < T, the two ssDNAs cannot bind. We thus obtain a null model physically constrained distribution π′(a), where π′(a) = 0 if a < T, while is the same as before (after a proper normalization) for a ≥ T. The new analytical distribution π′(a) reads as
where sgn(0) := 0. The corresponding pseudo-algorithm to generate random number from such distribution is
sample a random number z from π(a)
if z < T, sample another number from π(a)
else, save it in the new distribution π′(a)
The comparison between analytical and numerical results are reported in Figure 3-figure supplement 4a and Figure 3-figure supplement 4b (linear and logarithmic scale on y axis, respectively). The cyan bars correspond to the analytical distribution for the null model with physical constraint (π′(a)), whereas the purple bars represented the average over N = 200 independent simulations of π′(a) performed via Metropolis Monte Carlo accept-reject technique Metropolis et al. (1953). A custom Python script which simulates this process is available at the GitHub repository associated to this work. The null model that we present in the main text is the physical constraint one, i.e. π′(a).
References
- Competition between model protocells driven by an encapsulated catalystNature Chemistry 5:495–501https://doi.org/10.1038/nchem.1650
- Global patterns of speciation and diversityNature 460:384–387
- How neutral and niche forces contribute to speciation processesarXiv: Populations and Evolution
- Merging OpenStack-based private clouds: the case of CloudVeneto.itEPJ Web of Conferences
- Language trees and zippingPhysical Review Letters 88
- Design and simulation of DNA, RNA and hybrid protein–nucleic acid nanostructures with oxViewNature Protocols 17:1762–1788https://doi.org/10.1038/s41596-022-00688-5
- Phenotypic-dependent variability and the emergence of tolerance in bacterial populationsPLoS computational biology 17
- Adaptive multiscapes: an up-to-date metaphor to visualize molecular adaptationBiology Direct 12:1–15
- Enumerative CombinatoricsSIGACT News 39:25–27https://doi.org/10.1145/1466390.1466395
- Ecological nichesUniversity of Chicago Press
- Ernst. Systematics and the Origin of SpeciesColumbia University Press :273–274https://doi.org/10.2307/1374810
- Empirical fitness landscapes and the predictability of evolutionNature Reviews Genetics 15:480–490
- Pairing statistics and melting of random DNA oligomers: Finding your partner in superdiverse environmentsPLoS computational biology 18
- On the origin of species by sympatric speciationNature 400:354–357
- Thermodynamic Analysis of Interacting Nucleic Acid Strands:65–88https://doi.org/10.1137/060651100
- In vitro selection of RNA molecules that bind specific ligandsNature 346:818–822https://doi.org/10.1038/346818a0
- A Unified Dynamic Programming Framework for the Analysis of Interact-ing Nucleic Acid Strands: Enhanced Models, Scalability, and SpeedACS Synthetic Biology 9:2665–2678https://doi.org/10.1021/acssynbio.9b00523
- Eco-evolutionary dynamics of communities and ecosystemsFunctional ecology :465–477
- Validation of the nearest-neighbor model for Watson–Crick self-complementary DNA duplexes in molecular crowding conditionNucleic acids research 47:3284–3294
- Effective resource competition model for species coexistencePhysical review letters 127
- Diversity and evenness: a unifying notation and its consequencesEcology 54:427–432
- Darwinian evolution in a translation-coupled RNA replication system within a cell-like compartmentNature Communications 4https://doi.org/10.1038/ncomms3494
- Competitive exclusion principle among synthetic non-biochemical protocellsCell Reports Physical Science 4https://doi.org/10.1016/j.xcrp.2023.101359
- Synthetic molecular evolution of hybrid cell penetrating peptidesNature Communications 9https://doi.org/10.1038/s41467-018-04874-6
- Diversity emerging: from competitive exclusion to neutral coexistence in ecosystemsTheoretical Ecology 5:457–463
- Community equilibria and stability, and an extension of the competitive exclusion principleThe American Naturalist 104:413–423
- OxDNA to Study Species InteractionsEntropy 24https://doi.org/10.3390/e24040458
- OxDNA to Study Species InteractionsEntropy 24https://doi.org/10.3390/e24040458
- Message Passing Interface Forum. MPI: A Message-Passing Interface Standard Version 4.0; 2021, https://www.mpi-forum.org/docs/mpi-4.0/mpi40-report.pdf.
- Equation of state calculations by fast computing machinesJ Chem Phys 6https://doi.org/10.2172/4390578
- Adaptive artificial evolution of droplet protocells in a 3D-printed fluidic chemorobotic platform with configurable environmentsNature Communications 8https://doi.org/10.1038/s41467-017-01161-8
- Ecological niche conservatism: A time-structured review of evidenceJournal of Biogeography 38:817–827
- Species clustering in competitive Lotka-Volterra modelsPhys Rev Lett https://doi.org/10.1103/PhysRevLett.98.258101
- Statistical physics of DNA hybridizationPhysical Review E 103
- Design, optimization and analysis of large DNA and RNA nanostructures through interactive visualization, editing and molecular simulationNucleic Acids Res 48
- Ecological speciation - Rundle - 2005 - Ecology Letters - Wiley Online LibraryEcology letters 1
- Armadillo: a template-based C++ library for linear algebraJournal of Open Source Software 1https://doi.org/10.21105/joss.00026
- A User-Friendly Hybrid Sparse Matrix Class in C++Mathematical Software – ICMS 2018 Cham: Springer International Publishing :422–430
- A unified view of polymer, dumbbell, and oligonucleotide DNA nearest-neighbor thermody-namicsProceedings of the National Academy of Sciences 95:1460–1465
- The major synthetic evolutionary transitionsThe Royal Society
- Physics of evolution: Selection without fitnessPhysica A: Statistical Mechanics and its Applications 389:747–753
- Selection platforms for directed evolution in synthetic biologyBiochemical Society Transactions 44:1165–1175https://doi.org/10.1042/bst20160076
- By-product formation in repetitive PCR amplification of DNA libraries during SELEXPloS one 9
- Systematic Evolution of Ligands by Exponential Enrichment: RNA Ligands to Bacteriophage T4 DNA PolymeraseScience 249:505–510https://doi.org/10.1126/science.2200121
- Diverse modes of eco-evolutionary dynamics in communities of antibiotic-producing microorgan- ismsNature Ecology & Evolution 1
- A comparison of methods to measure fitness in Escherichia coliPloS one 10
- Nanomechanical measurements of the sequence-dependent folding landscapes of single nucleic acid hairpinsProceedings of the National Academy of Sciences 103:6190–6195
- NUPACK: Analysis and design of nucleic acid systemsJ Comput Chem 32:170–173
Article and author information
Author information
Version history
- Sent for peer review:
- Preprint posted:
- Reviewed Preprint version 1:
- Reviewed Preprint version 2:
- Version of Record published:
Copyright
© 2023, Casiraghi et al.
This article is distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use and redistribution provided that the original author and source are credited.
Metrics
- views
- 555
- downloads
- 58
- citations
- 0
Views, downloads and citations are aggregated across all versions of this paper published by eLife.