{'fraction_non_alphanumeric': 0.019975031210986267, 'fraction_numerical': 0.009363295880149813, 'mean_word_length': 5.596707818930041, '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}}
Deep history impacts present-day ecology and biodiversity

Lizards and snakes putatively arose between the early Jurassic and late Triassic; they diversified worldwide and now occupy many different ecological niches, making them ideal for testing theories on the origin of ecological traits. We propose and test the “deep history hypothesis,” which claims that differences in ecological traits among species arose early in evolutionary history of major clades, and that present-day assemblages are structured largely because of ancient, preexisting differences. We combine phylogenetic data with ecological data collected over nearly 40 years to reconstruct the evolution of dietary shifts in squamate reptiles. Data on diets of 184 lizard species in 12 families from 4 continents reveal significant dietary shifts at 6 major divergence points, reducing variation by 79.8%. The most striking dietary divergence (27.6%) occurred in the late Triassic, when Iguania and Scleroglossa split. These two clades occupy different regions of dietary niche space. Acquisition of chemical prey discrimination, jaw prehension, and wide foraging provided scleroglossans access to sedentary and hidden prey that are unavailable to iguanians. This cladogenic event may have profoundly influenced subsequent evolutionary history and diversification. We suggest the hypothesis that ancient events in squamate cladogenesis, rather than present-day competition, caused dietary shifts in major clades such that some lizard clades gained access to new resources, which in turn led to much of the biodiversity observed today.