{'fraction_non_alphanumeric': 0.013261000602772756, 'fraction_numerical': 0.0, 'mean_word_length': 5.287878787878788, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Time to fixation in changing environments.

Although many experimental and theoretical studies on natural selection have been carried out in a constant environment, as natural environments typically vary in time, it is important to ask if and how the results of these investigations are affected by a changing environment. Here, we study the properties of the conditional fixation time defined as the time to fixation of a new mutant that is destined to fix in a finite, randomly mating diploid population with intermediate dominance that is evolving in a periodically changing environment. It is known that in a static environment, the conditional mean fixation time of a co-dominant beneficial mutant is equal to that of a deleterious mutant with the same magnitude of selection coefficient. We find that this symmetry is not preserved, even when the environment is changing slowly. More generally, we find that the conditional mean fixation time of an initially beneficial mutant in a slowly changing environment depends weakly on the dominance coefficient and remains close to the corresponding result in the static environment. However, for an initially deleterious mutant under moderate and slowly varying selection, the fixation time differs substantially from that in a constant environment when the mutant is recessive. As fixation times are intimately related to the levels and patterns of genetic diversity, our results suggest that for beneficial sweeps, these quantities are only mildly affected by temporal variation in environment. In contrast, environmental change is likely to impact the patterns due to recessive deleterious sweeps strongly.