<?xml version="1.0" encoding="UTF-8"?>
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" article-type="research-article" dtd-version="1.4" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">cjbr</journal-id>
      <journal-title-group>
        <journal-title>Cascadia Journal of Biomedical Research</journal-title>
        <abbrev-journal-title abbrev-type="publisher">Cascadia J. Biomed. Res.</abbrev-journal-title>
      </journal-title-group>
      <issn publication-format="electronic">2693-8510</issn>
      <publisher>
        <publisher-name>Cascadia Health Sciences Publishing</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.58302/4nk5f751</article-id>
      <title-group>
        <article-title>Hybridization breaks species barriers in long-term coevolution of a cyanobacterial population (publisher XML)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes">
          <contrib-id contrib-id-type="orcid" authenticated="false">https://orcid.org/0000-0003-3561-024X</contrib-id>
          <name>
            <surname>Birzu</surname>
            <given-names>Gabriel</given-names>
          </name>
          <xref ref-type="aff" rid="aff1"/>
          <xref ref-type="corresp" rid="cor1"/>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Subrahmaniam Muralidharan</surname>
            <given-names>Harihara</given-names>
          </name>
          <xref ref-type="aff" rid="aff2"/>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Goudeau</surname>
            <given-names>Danielle</given-names>
          </name>
          <xref ref-type="aff" rid="aff3"/>
        </contrib>
        <contrib contrib-type="author">
          <contrib-id contrib-id-type="orcid" authenticated="false">https://orcid.org/0000-0002-4758-7369</contrib-id>
          <name>
            <surname>Malmstrom</surname>
            <given-names>Rex R</given-names>
          </name>
          <xref ref-type="aff" rid="aff3"/>
        </contrib>
        <contrib contrib-type="author" corresp="yes" equal-contrib="yes">
          <contrib-id contrib-id-type="orcid" authenticated="false">https://orcid.org/0000-0002-5559-2491</contrib-id>
          <name>
            <surname>Fisher</surname>
            <given-names>Daniel S</given-names>
          </name>
          <xref ref-type="aff" rid="aff4"/>
          <xref ref-type="corresp" rid="cor2"/>
        </contrib>
        <contrib contrib-type="author" corresp="yes" equal-contrib="yes">
          <contrib-id contrib-id-type="orcid" authenticated="false">https://orcid.org/0000-0001-7965-4258</contrib-id>
          <name>
            <surname>Bhaya</surname>
            <given-names>Devaki</given-names>
          </name>
          <xref ref-type="aff" rid="aff5"/>
          <xref ref-type="corresp" rid="cor3"/>
        </contrib>
        <aff id="aff1">https://ror.org/00f54p054Department of Applied Physics, Stanford UniversityStanfordUnited States; https://ror.org/02y3ad647Department of Physics, University of FloridaGainesvilleUnited States</aff>
        <aff id="aff2">https://ror.org/047s2c258Department of Computer Science, University of MarylandCollege ParkUnited States</aff>
        <aff id="aff3">https://ror.org/02jbv0t02DOE Joint Genome Institute, Lawrence Berkeley National LaboratoryBerkeleyUnited States</aff>
        <aff id="aff4">https://ror.org/00f54p054Department of Applied Physics, Stanford UniversityStanfordUnited States</aff>
        <aff id="aff5">https://ror.org/04jr01610Department of Plant Biology, Carnegie Institution for ScienceWashington, DCUnited States</aff>
      </contrib-group>
      <contrib-group>
        <contrib contrib-type="editor">
          <name>
            <surname>Weigel</surname>
            <given-names>Detlef</given-names>
          </name>
          <role>Reviewing Editor</role>
        </contrib>
      </contrib-group>
      <author-notes>
        <corresp id="cor1"><email>gbirzu@ufl.edu</email></corresp>
        <corresp id="cor2"><email>dsfisher@stanford.edu</email></corresp>
        <corresp id="cor3"><email>dbhaya@carnegiescience.edu</email></corresp>
        <fn fn-type="equal">
          <p>These authors contributed equally to this work.</p>
        </fn>
      </author-notes>
      <pub-date publication-format="electronic" date-type="pub" iso-8601-date="2023-10-03">
        <day>03</day>
        <month>10</month>
        <year>2023</year>
      </pub-date>
      <volume>15</volume>
      <issue>3</issue>
      <elocation-id>RP90849</elocation-id>
      <permissions>
        <ali:free_to_read/>
        <license>
          <ali:license_ref>http://creativecommons.org/publicdomain/zero/1.0/</ali:license_ref>
        </license>
      </permissions>
      <abstract>
        <p>Bacterial species often undergo rampant recombination yet maintain cohesive genomic identity. Ecological differences can generate recombination barriers between species and sustain genomic clusters in the short term. But can these forces prevent genomic mixing during long-term coevolution? Cyanobacteria in Yellowstone hot springs comprise several diverse species that have coevolved for hundreds of thousands of years, providing a rare natural experiment. By analyzing more than 300 single-cell genomes, we show that despite each species forming a distinct genomic cluster, much of the diversity within species is the result of hybridization driven by selection, which has mixed their ancestral genotypes. This widespread mixing is contrary to the prevailing view that ecological barriers can maintain cohesive bacterial species and highlights the importance of hybridization as a source of genomic diversity.</p>
      </abstract>
      <kwd-group kwd-group-type="author">
        <kwd>Synechococcus</kwd>
        <kwd>hybridization</kwd>
        <kwd>bacterial species</kwd>
        <kwd>introgression</kwd>
        <kwd>selective sweep</kwd>
        <kwd>population genetics</kwd>
      </kwd-group>
      <funding-group>
        <funding-statement>The funders had no role in study design, data collection, and interpretation, or the decision to submit the work for publication.</funding-statement>
      </funding-group>
    </article-meta>
  </front>
  <body><sec id="s1" sec-type="intro"><title>Introduction</title><p>The origin, persistence, and extinction of species in obligate sexual populations is a fundamental problem in evolutionary theory (<xref ref-type="bibr" rid="bib14">Coyne and Orr, 2004</xref>). But in bacteria, long thought to be primarily asexual, our understanding is still very limited (<xref ref-type="bibr" rid="bib25">Fraser et al., 2009</xref>; <xref ref-type="bibr" rid="bib62">Rocha, 2018</xref>). While it has long been known that bacteria can acquire non-essential genes from distantly related strains (<xref ref-type="bibr" rid="bib61">Rivera et al., 1998</xref>), in recent years, studies across a wide range of bacteria have found that homologous recombination of core genes is also ubiquitous (<xref ref-type="bibr" rid="bib19">Didelot and Maiden, 2010</xref>; <xref ref-type="bibr" rid="bib84">Yahara et al., 2016</xref>; <xref ref-type="bibr" rid="bib63">Rosen et al., 2015</xref>; <xref ref-type="bibr" rid="bib26">Garud et al., 2019</xref>; <xref ref-type="bibr" rid="bib65">Sakoparnig et al., 2021</xref>). How does the interplay between selection acting both asexually and on transferred elements, and barriers to recombination from geographical separation, mechanistic effects, and epistatic interactions lead to formation and maintenance of cohesive species?</p><p>One explanation is that ecological specialization provides barriers to recombination (<xref ref-type="bibr" rid="bib32">Kashtan et al., 2014</xref>; <xref ref-type="bibr" rid="bib3">Arevalo et al., 2019</xref>). This view is supported by evidence that selective sweeps of individual genes through parts of a population can lead to distinct ecological subtypes, or ecotypes, even in highly recombining bacterial populations (<xref ref-type="bibr" rid="bib15">Croucher et al., 2011</xref>; <xref ref-type="bibr" rid="bib68">Shapiro et al., 2012</xref>; <xref ref-type="bibr" rid="bib4">Bao et al., 2016</xref>). But it also raises an important open question: if species coexist and recombine with each other, do genetic differences continue to increase over evolutionary time, or does recombination gradually break down barriers between species?</p><p>Answering this question is challenging because data on the underlying evolutionary dynamics is lacking. The time scales of direct observations and laboratory experiments are too short, while those corresponding to phylogenetic relationships between extant species are too long. And since spatial dynamics over these intermediate time scales are unknown in most bacteria (<xref ref-type="bibr" rid="bib28">Hanson et al., 2012</xref>; <xref ref-type="bibr" rid="bib26">Garud et al., 2019</xref>), it is difficult to control for changes in local community structure during evolution. Therefore, microbial communities that coevolved for long time periods can act as natural experiments for studying bacterial speciation. The cyanobacterial populations found in hot springs from Yellowstone National Park form a natural incubator in which one such natural experiment is ongoing. These communities have two key features that allow us to identify and quantify the effects of coevolution on intermediate time scales.</p><p>First, like other thermophilic communities, these populations are geographically isolated (<xref ref-type="bibr" rid="bib55">Papke et al., 2003</xref>; <xref ref-type="bibr" rid="bib82">Whitaker et al., 2003</xref>). To date, the two most abundant species, <italic>Synechococcus</italic> A and B, have not been found outside of North America, suggesting that their global mixing time is much longer than for most other bacteria (<xref ref-type="bibr" rid="bib55">Papke et al., 2003</xref>). Comparison of two isolate genomes from these species, OS-A and OS-B’, suggest a divergence time considerably longer than the formation of the Yellowstone caldera around 640,000 years ago (<xref ref-type="bibr" rid="bib64">Rosen et al., 2018</xref>). This would imply their ancestors colonized the caldera independently.</p><p>Second, these populations have considerable sub-species diversity, suggesting ongoing evolutionary processes generate and maintain it. Analysis of variants of 16S rRNA and marker genes was initially interpreted as evidence of asexual ecotypes occupying distinct niches (<xref ref-type="bibr" rid="bib78">Ward et al., 2006</xref>; <xref ref-type="bibr" rid="bib77">Ward et al., 1998</xref>). However, deep amplicon data from a diverse, but largely OS-B’-like sample revealed extensive recombination (<xref ref-type="bibr" rid="bib63">Rosen et al., 2015</xref>). Genetic exchange with other genomic clusters—which we refer to as hybridization—was also evident, particularly with relatives of OS-A. To date, evidence of hybridization in bacteria has mainly been from comparisons between reference genomes from large genomic databases (<xref ref-type="bibr" rid="bib70">Smillie et al., 2011</xref>; <xref ref-type="bibr" rid="bib22">Diop et al., 2022</xref>), with only a handful of studies investigating hybridization in natural environments (<xref ref-type="bibr" rid="bib74">Tyson et al., 2004</xref>; <xref ref-type="bibr" rid="bib43">Lo et al., 2007</xref>; <xref ref-type="bibr" rid="bib69">Sheppard et al., 2008</xref>). The primary focus of the current paper is to determine the impact of hybridization on the long-term coevolution of a natural microbial community.</p><p>Characterizing hybridization requires long-distance linkage between variants that cannot be obtained from traditional metagenomics. Strain isolates are often not representative of the population diversity (<xref ref-type="bibr" rid="bib9">Browne et al., 2016</xref>; <xref ref-type="bibr" rid="bib86">Zheng et al., 2022</xref>), while metagenome assembly destroys linkage. Recruiting metagenomic reads to reference genomes can, in some cases, be used to infer linkage (<xref ref-type="bibr" rid="bib26">Garud et al., 2019</xref>), but the high diversity of <italic>Synechococcus</italic> prevents us from using such approaches. To circumvent these problems, we used single-cell genomics (<xref ref-type="bibr" rid="bib59">Rinke et al., 2013</xref>; <xref ref-type="bibr" rid="bib86">Zheng et al., 2022</xref>) to obtain over 300 genomes from the Mushroom and Octopus Springs, which contain two of the most well-studied communities from the Yellowstone caldera (<xref ref-type="bibr" rid="bib79">Ward et al., 2012</xref>). This is to our knowledge the first large sample of genomes from hot spring cyanobacterial populations <italic>without</italic> the compositional bias due to strain isolation.</p></sec><sec id="s2" sec-type="results"><title>Results</title><sec id="s2-1"><title>Population comprises three distinct highly recombining genomic clusters</title><p>Previous analysis of 16S amplicons identified two main clusters similar to OS-A and OS-B’, but also several others at frequencies below 1% (<xref ref-type="bibr" rid="bib64">Rosen et al., 2018</xref>). But whether clusters within 16S amplicons correspond to clusters at the whole-genome level in such a rapidly recombining population is not clear (<xref ref-type="bibr" rid="bib63">Rosen et al., 2015</xref>; <xref ref-type="bibr" rid="bib45">Miller and Carvey, 2019</xref>). Therefore, we first compared each single-amplified genome (SAG) to <italic>Synechococcus</italic> OS-A and OS-B’. Almost all SAGs (330 out of 331) comprised two clusters with an average nucleotide divergence of ∼2% from one of the reference genomes and ∼15% from the other. Note that the divergence between clusters is well above the 5% threshold that is commonly used to distinguish different species (<xref ref-type="bibr" rid="bib49">Nayfach et al., 2016</xref>; <xref ref-type="bibr" rid="bib30">Jain et al., 2018</xref>; <xref ref-type="bibr" rid="bib26">Garud et al., 2019</xref>). We labeled the cluster closer to OS-A by <italic>α</italic> (128 SAGs) and the other by <italic>β</italic> (202 SAGs), to distinguish them from the reference genomes. Surprisingly, one SAG (approximately 70% complete) was ∼15% diverged from both OS-A and OS-B’ and formed a separate cluster which we labeled <italic>γ</italic> (<xref ref-type="fig" rid="fig1">Figure 1A</xref>). Clustering methods based on different metrics gave identical results (<xref ref-type="fig" rid="app2fig2">Appendix 2—figures 2</xref> and <xref ref-type="fig" rid="app2fig3">3</xref>).</p><fig id="fig1" position="float"><label>Figure 1.</label><caption><title><italic>Synechococcus</italic> population comprises three genomic clusters.</title><p>(<bold>A</bold>) The mean divergence across homologous genes from the two reference genomes is shown for every genome in the data. Each dot represents a single genome and is colored according to its assigned species. (<bold>B</bold>) The relative abundances of all three species across samples from different temperatures within Mushroom Spring. Abundances were estimated based on read recruitment from the metagenome to core genes from the <inline-formula><alternatives><mml:math id="inf1"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft1">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> genome, as well as representative genomes from the <italic>α</italic> and <italic>β</italic> populations. Dashed lines show the minimum detection frequencies from the single-cell (black) and metagenome (gray) data, respectively (see Appendix 3). Shaded gray region shows temperature range of the eight single-cell samples.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-fig1-v1.tif"/></fig><p>To investigate the extent that these clusters characterize the distribution of genomes throughout the two springs, we used single-cell genomes as references and recruited reads from a large collection of metagenome samples to determine the abundance of <italic>α</italic>, <italic>β</italic>, and, particularly, <italic>γ</italic> across different environments (see Appendix 3). We found that 95% of reads were part of a main cloud of sequences with ≤5% nucleotide divergence from one of the three main clusters. We used the fraction of reads within each main cloud to infer the abundances of each cluster in the metagenomic samples. The abundance of <italic>γ</italic> was highly correlated with <italic>α</italic> (<xref ref-type="fig" rid="app3fig4">Appendix 3—figures 3</xref> and <xref ref-type="fig" rid="app3fig3">4</xref>) and increased rapidly with temperature in the Mushroom Spring samples (<xref ref-type="fig" rid="fig1">Figure 1B</xref>). One interpretation of this pattern is that <italic>α</italic>, <italic>β</italic>, and <italic>γ</italic> represent distinct species adapted to different temperatures. Alternatively, genotypes within the same cluster could be adapted to different temperatures or other environmental conditions. The relative abundances of the clusters would then reflect the complex eco-evolutionary processes that maintain the diversity in the population.</p><p>Previous analysis using a much more limited dataset proposed that <italic>β</italic> formed a quasisexual population, in which rapid recombination led to random assortment of alleles within the cluster (<xref ref-type="bibr" rid="bib63">Rosen et al., 2015</xref>). Motivated by these results, we investigated the impact of recombination on the diversity within the two main clusters.</p><p>We quantified recombination rates in <italic>α</italic> and <italic>β</italic> using a standard measure of linkage disequilibrium, <inline-formula><alternatives><mml:math id="inf2"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft2">\begin{document}$ \sigma_{d}^{2}$\end{document}</tex-math></alternatives></inline-formula>. Given a pair of sites with alleles <inline-formula><alternatives><mml:math id="inf3"><mml:mstyle><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi mathvariant="monospace">a</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mo mathvariant="monospace">/</mml:mo></mml:mrow><mml:mi mathvariant="monospace">A</mml:mi></mml:mrow></mml:mstyle></mml:math><tex-math id="inft3">\begin{document}$ \mathtt{a/A}$\end{document}</tex-math></alternatives></inline-formula> and <inline-formula><alternatives><mml:math id="inf4"><mml:mstyle><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi mathvariant="monospace">b</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mo mathvariant="monospace">/</mml:mo></mml:mrow><mml:mi mathvariant="monospace">B</mml:mi></mml:mrow></mml:mstyle></mml:math><tex-math id="inft4">\begin{document}$ \mathtt{b/B}$\end{document}</tex-math></alternatives></inline-formula>, <inline-formula><alternatives><mml:math id="inf5"><mml:mstyle><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>d</mml:mi></mml:mrow><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:math><tex-math id="inft5">\begin{document}$ \sigma_{d}^{2}$\end{document}</tex-math></alternatives></inline-formula> is defined as<disp-formula id="equ1"><label>(1)</label><alternatives><mml:math id="m1"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mrow><mml:mo>⟨</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="monospace">a</mml:mi><mml:mi mathvariant="monospace">b</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="monospace">a</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="monospace">b</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>⟩</mml:mo></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo>⟨</mml:mo><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="monospace">a</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="monospace">a</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="monospace">b</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="monospace">b</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>⟩</mml:mo></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t1">\begin{document}$$\displaystyle \sigma_{d}^{2}=\frac{\left\langle(f_{\mathtt{ab}}-f_{\mathtt{a}}f_{\mathtt{b}}\right\rangle)}{\left\langle f_{\mathtt{a}}(1-f_{\mathtt{a}})f_{\mathtt{b}}(1-f_{\mathtt{b}})\right\rangle},$$\end{document}</tex-math></alternatives></disp-formula></p><p>where <inline-formula><alternatives><mml:math id="inf6"><mml:mstyle><mml:mrow><mml:mo>⟨</mml:mo><mml:mo>⋅</mml:mo><mml:mo>⟩</mml:mo></mml:mrow></mml:mstyle></mml:math><tex-math id="inft6">\begin{document}$ \left\langle\cdot\right\rangle$\end{document}</tex-math></alternatives></inline-formula> is the average across pairs of sites. In asexual populations with conventional demographic drift, <inline-formula><alternatives><mml:math id="inf7"><mml:mstyle><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>d</mml:mi></mml:mrow><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>5</mml:mn><mml:mrow class="MJX-TeXAtom-ORD"><mml:mo>/</mml:mo></mml:mrow><mml:mn>11</mml:mn></mml:mstyle></mml:math><tex-math id="inft7">\begin{document}$ \sigma_{d}^{2}=5/11$\end{document}</tex-math></alternatives></inline-formula> independently of the location of the sites. Recombination events affecting one but not both sites can unlink mutations, leading to a decrease in <inline-formula><alternatives><mml:math id="inf8"><mml:mstyle><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>d</mml:mi></mml:mrow><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:math><tex-math id="inft8">\begin{document}$ \sigma_{d}^{2}$\end{document}</tex-math></alternatives></inline-formula>. Because sites further apart have more opportunities to become unlinked, <inline-formula><alternatives><mml:math id="inf9"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft9">\begin{document}$ \sigma_{d}^{2}$\end{document}</tex-math></alternatives></inline-formula> decreases with the distance between sites.</p><p>In <italic>β</italic>, the linkage disequilibrium <inline-formula><alternatives><mml:math id="inf10"><mml:mstyle><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>d</mml:mi></mml:mrow><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:math><tex-math id="inft10">\begin{document}$ \sigma_{d}^{2}$\end{document}</tex-math></alternatives></inline-formula> decreased by around a factor of 10 over distances of ∼1 kbp (<xref ref-type="fig" rid="fig2">Figure 2A</xref>). This agreed quantitatively with earlier results based on deep amplicon sequencing from <xref ref-type="bibr" rid="bib63">Rosen et al., 2015</xref>, which showed a decrease by a factor of ∼1 over distances of up to 300 bp, using a different but related measure of linkage, conventionally denoted as <inline-formula><alternatives><mml:math id="inf11"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mrow><mml:mo>⟨</mml:mo><mml:msup><mml:mi>r</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>⟩</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft11">\begin{document}$ \left\langle r^{2}\right\rangle$\end{document}</tex-math></alternatives></inline-formula>. Over genome-wide length scales, linkage was small (<inline-formula><alternatives><mml:math id="inf12"><mml:mstyle><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>d</mml:mi></mml:mrow><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0.06</mml:mn></mml:mstyle></mml:math><tex-math id="inft12">\begin{document}$ \sigma_{d}^{2}=0.06$\end{document}</tex-math></alternatives></inline-formula>) and close to a fully unlinked control (<inline-formula><alternatives><mml:math id="inf13"><mml:mstyle><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>d</mml:mi></mml:mrow><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0.04</mml:mn></mml:mstyle></mml:math><tex-math id="inft13">\begin{document}$ \sigma_{d}^{2}=0.04$\end{document}</tex-math></alternatives></inline-formula>). We found similar results for <inline-formula><alternatives><mml:math id="inf14"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft14">\begin{document}$ \alpha$\end{document}</tex-math></alternatives></inline-formula>, but with a quantitatively slower decrease in linkage by a factor of ∼8 over ∼1 kbp. Nevertheless, genome-wide linkage values were still close to the fully unlinked control (<inline-formula><alternatives><mml:math id="inf15"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0.14</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft15">\begin{document}$ \sigma_{d}^{2}=0.14$\end{document}</tex-math></alternatives></inline-formula> for the data vs <inline-formula><alternatives><mml:math id="inf16"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0.12</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft16">\begin{document}$ \sigma_{d}^{2}=0.12$\end{document}</tex-math></alternatives></inline-formula> for the control). As a consequence of rapid recombination, we found that diversity in marker genes, such as 16S rRNA, was poor predictors of whole-genome diversity (<xref ref-type="fig" rid="fig2">Figure 2B</xref>). Further details and analyses can be found in Appendices 4 and 8. Appendix 8 also provides estimates of the recombination parameters for each species and compares these to estimates obtained from previously proposed methods (<xref ref-type="bibr" rid="bib20">Didelot and Wilson, 2015</xref>; <xref ref-type="bibr" rid="bib42">Lin and Kussell, 2019</xref>). Altogether, these results are consistent with each cluster representing a quasisexual population and imply that phylogenies inferred from whole genomes do not reflect the evolutionary history of the population.</p><fig id="fig2" position="float"><label>Figure 2.</label><caption><title>Genetic linkage analysis shows extensive recombination within <italic>α</italic> and <italic>β</italic>.</title><p>(<bold>A</bold>) Linkage disequilibrium <inline-formula><alternatives><mml:math id="inf17"><mml:mstyle><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>d</mml:mi></mml:mrow><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:math><tex-math id="inft17">\begin{document}$ \sigma_{d}^{2}$\end{document}</tex-math></alternatives></inline-formula> as a function of separation between SNPs <inline-formula><alternatives><mml:math id="inf18"><mml:mstyle><mml:mi>x</mml:mi></mml:mstyle></mml:math><tex-math id="inft18">\begin{document}$ x$\end{document}</tex-math></alternatives></inline-formula> averaged across all core genes from <italic>α</italic> (orange circles) and <italic>β</italic> (blue squares). Genome-wide estimates from SNPs in different genes are shown to the right of the black dashed line using the same symbols. Fully unlinked controls for the genome-wide linkage are shown by crosses of corresponding colors. Dashed lines show fit to linkage decay curves in an infinite sample using <xref ref-type="disp-formula" rid="equ6">Equation 6</xref> for <italic>α</italic> (orange) and <italic>β</italic> (blue) separately. (<bold>B</bold>) Scatter plot of 16S and genome-wide divergences between all pairs of genomes within the same species. Solid lines show linear regressions indicating very weak Pearson correlation coefficient, <inline-formula><alternatives><mml:math id="inf19"><mml:mstyle><mml:mi>R</mml:mi></mml:mstyle></mml:math><tex-math id="inft19">\begin{document}$ R$\end{document}</tex-math></alternatives></inline-formula>, within each species. This demonstrates that 16S divergence is a poor proxy of whole-genome divergence.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-fig2-v1.tif"/></fig><p>While linkage decay in <italic>α</italic> and <italic>β</italic> was similar, we found diversity patterns at the gene level were qualitatively different (<xref ref-type="fig" rid="fig3">Figure 3A</xref>). The typical diversity at synonymous sites in <italic>β</italic> was <inline-formula><alternatives><mml:math id="inf20"><mml:mstyle><mml:msub><mml:mi>π</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>≈</mml:mo><mml:mn>0.04</mml:mn></mml:mstyle></mml:math><tex-math id="inft20">\begin{document}$ \pi_{S}\approx 0.04$\end{document}</tex-math></alternatives></inline-formula>, with ∼2× variation across genes (<xref ref-type="fig" rid="fig3">Figure 3A</xref>), consistent with previous results (<xref ref-type="bibr" rid="bib64">Rosen et al., 2018</xref>). In contrast, <inline-formula><alternatives><mml:math id="inf21"><mml:mstyle><mml:msub><mml:mi>π</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft21">\begin{document}$ \pi_{S}$\end{document}</tex-math></alternatives></inline-formula> in <italic>α</italic> varied wildly by over two orders of magnitude (<xref ref-type="fig" rid="fig3">Figure 3A</xref>), ranging from <inline-formula><alternatives><mml:math id="inf22"><mml:mstyle><mml:msub><mml:mi>π</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>≈</mml:mo><mml:mn>0.2</mml:mn></mml:mstyle></mml:math><tex-math id="inft22">\begin{document}$ \pi_{S}\approx 0.2$\end{document}</tex-math></alternatives></inline-formula> in some genes to others that did not have a single mutation. Note that because here we only used synonymous sites, these variations cannot be explained by differences in the strength of purifying selection or the accumulation of non-synonymous mutations during rapid adaptation (<xref ref-type="bibr" rid="bib51">Neher, 2022</xref>). Importantly, the low-diversity segments of the <italic>α</italic> genome spanned multiple samples and springs and are thus unlikely to be the result of a very recent clonal expansion as is often seen in human commensal and pathogenic bacteria (<xref ref-type="bibr" rid="bib20">Didelot and Wilson, 2015</xref>; <xref ref-type="bibr" rid="bib26">Garud et al., 2019</xref>; <xref ref-type="bibr" rid="bib65">Sakoparnig et al., 2021</xref>; <xref ref-type="bibr" rid="bib80">Weimann et al., 2024</xref>).</p><fig id="fig3" position="float"><label>Figure 3.</label><caption><title><italic>α</italic> and <italic>β</italic> have distinct patterns of within-species diversity.</title><p>(<bold>A</bold>) The synonymous diversity <inline-formula><alternatives><mml:math id="inf23"><mml:mstyle><mml:msub><mml:mi>π</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft23">\begin{document}$ \pi_{S}$\end{document}</tex-math></alternatives></inline-formula> within <italic>α</italic> (orange) and <italic>β</italic> (blue) at all core genes ordered according to their respective reference genomes. The solid line shows the value of <inline-formula><alternatives><mml:math id="inf24"><mml:mstyle><mml:msub><mml:mi>π</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft24">\begin{document}$ \pi_{S}$\end{document}</tex-math></alternatives></inline-formula>, with lighter colors showing one standard deviation across different pairs around the mean. Both lines were smoothed by averaging over a sliding window of five genes with a step size of two genes. (<bold>B</bold>) Distribution of the fraction of polymorphic fourfold degenerate (4D) sites for each <italic>α</italic> core gene (blue histogram) is shown together with Poisson fit based on the number of genes without any polymorphic sites (black line and dots). The inset shows zoomed-in region of low-diversity genes (&lt;5% polymorphic 4D sites) together with the same fit. (<bold>C</bold>) The same as (<bold>B</bold>) using data from <italic>β</italic>. The Poisson distribution is fitted using the mean of the distribution, which provides a better fit than the number of genes without polymorphic sites (data not shown). (<bold>D</bold>) Histogram of synonymous diversities <inline-formula><alternatives><mml:math id="inf25"><mml:mstyle><mml:msub><mml:mi>π</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft25">\begin{document}$ \pi_{S}$\end{document}</tex-math></alternatives></inline-formula> within genes for <italic>β</italic> (blue), <italic>α</italic> low-diversity backbone (orange), and <italic>α</italic> high-diversity (hybrid) genes (red). Note the overlap between the diversity in the <italic>β</italic> core genome and the hybrid <italic>α</italic> genes.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-fig3-v1.tif"/></fig><p>Beyond the low-diversity genes in <inline-formula><alternatives><mml:math id="inf26"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft26">\begin{document}$ \alpha$\end{document}</tex-math></alternatives></inline-formula>, we found genomes in both species containing segments very similar or identical to homologous regions from the other species. We performed extensive checks to verify that these segments were not assembly artifacts or cross-contamination between reaction wells during whole-genome amplification (Appendix 10). Such segments could represent accessory genes transferred between species, as has been widely reported in both <italic>Synechococcus</italic> and other species (<xref ref-type="bibr" rid="bib5">Bhaya et al., 2007</xref>; <xref ref-type="bibr" rid="bib70">Smillie et al., 2011</xref>). Alternatively, they could be the result of homologous recombination with other species within the core genome. We refer to the later process as <italic>hybridization</italic> throughout. The rest of our analysis aims to quantify the extent of hybridization and its impact on the evolution of the population. We began by identifying the core genes shared by <italic>α</italic> and <italic>β</italic>.</p></sec><sec id="s2-2"><title>Gene-level analysis reveals distinct patterns of hybridization between species</title><p>We defined core genes by constructing groups of orthologous genes (orthogroups) and identifying those that were likely present in all genomes. Specifically, we clustered gene sequences in several steps using standard methods based on similarity (Appendix 1). We used phylogenetic distances to identify and separate distant paralogs within the same orthogroup. To assign clusters corresponding to each species, we analyzed the abundance distributions of orthogroups in <italic>α</italic> and <italic>β</italic> separately. Because of the incomplete nature of our genomes (average coverage ≈0.3, with a range of ≈0.05–0.95; see Appendix 1), the assignment has to be done statistically. Distributions for both species were bimodal, with a peak near zero corresponding to flexible genes and another at high abundances corresponding to core genes. We used a binomial fit to determine single-copy genes that were likely present in all genomes and found 1825 core <italic>α</italic> and 1737 core <italic>β</italic> orthogroups. Of these, 1448 orthogroups were shared by both <italic>α</italic> and <italic>β</italic> and make up the <italic>Synechococcus core genes</italic>. We focus the rest of our analysis on these core genes.</p><p>We first performed a quantitative comparison of the synonymous diversity between <italic>α</italic> and <italic>β</italic> across the core genes. We hypothesized that the low-diversity segments of the <italic>α</italic> genome were the result of mutation accumulation since their common ancestor. If mutation rates across genes are similar, we expect the fraction of polymorphic sites <inline-formula><alternatives><mml:math id="inf27"><mml:mstyle><mml:msub><mml:mi>f</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft27">\begin{document}$ f_{p}$\end{document}</tex-math></alternatives></inline-formula> for each gene to follow a Poisson distribution. Empirically, we found that for <inline-formula><alternatives><mml:math id="inf28"><mml:mstyle><mml:msub><mml:mi>f</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo>&lt;</mml:mo><mml:mn>0.05</mml:mn></mml:mstyle></mml:math><tex-math id="inft28">\begin{document}$ f_{p} \lt 0.05$\end{document}</tex-math></alternatives></inline-formula>, the data closely matched the Poisson expectation with a single fit parameter (<xref ref-type="fig" rid="fig3">Figure 3B</xref>). This group, which we call the <italic>ancestral backbone of</italic><inline-formula><alternatives><mml:math id="inf29"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft29">\begin{document}$ \alpha$\end{document}</tex-math></alternatives></inline-formula>, contained around half of the core genes (675 out of 1448). Note that this result is distinct from the distribution of divergences <italic>between</italic> species, which was shown previously to also follow a Poisson distribution (<xref ref-type="bibr" rid="bib64">Rosen et al., 2018</xref>). The remaining half (773 out of 1448) had up to ten times higher fraction of segregating sites and were inconsistent with the backbone polymorphism rate. As our subsequent analysis shows, the high diversity in these genes is the result of hybridization (see <xref ref-type="fig" rid="fig4">Figures 4</xref>—<xref ref-type="fig" rid="fig7">7</xref> and subsequent discussion). We therefore refer to this group as the <italic>hybrid α</italic> genes. In <italic>β</italic>, the distribution of <inline-formula><alternatives><mml:math id="inf30"><mml:mstyle><mml:msub><mml:mi>f</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft30">\begin{document}$ f_{p}$\end{document}</tex-math></alternatives></inline-formula> had a single peak, but a simple Poisson process was a poor fit to the data (<xref ref-type="fig" rid="fig3">Figure 3C</xref>). This suggests a substantial fraction of the diversity is not simply due to mutations but is introduced through recombination with other strains or species. Consistent with this interpretation, we found the distribution of synonymous diversities in the hybrid <italic>α</italic> overlapped that of <italic>β</italic>, and both were two orders of magnitude higher than in the <italic>α</italic> backbone (<xref ref-type="fig" rid="fig3">Figure 3D</xref>). These results suggest that hybridization had a large impact on the genetic diversity of both <italic>α</italic> and <italic>β</italic>. We therefore developed a method to identify hybrid segments directly and test this hypothesis.</p><fig id="fig4" position="float"><label>Figure 4.</label><caption><title>Alignments reveal distinct patterns of hybridization across different genes.</title><p>Three core gene alignments, each chosen to illustrate a distinct pattern of hybridization, are shown. Rows represent different cells and columns different positions along the gene. One sequence was chosen randomly as a reference (top row), with nucleotides shown in different colors. The species assigned to each cell are indicated by the colored rectangles on the left, using the same color scheme as the species clusters (<italic>α</italic> shown in orange, <italic>β</italic> in blue, and <italic>γ</italic> in green). Rows were sorted hierarchically based on pairwise distances. Nucleotides are shown in gray if they are identical to the reference genome and in a different color if different. Species clusters were assigned as described in the main text and Appendix 1. (<bold>A</bold>) Segment of an alignment containing three distinct species clusters of a non-hybrid gene. (<bold>B</bold>) Segment of an alignment containing two distinct clusters (<italic>α</italic> and <italic>β</italic>) and six different simple hybrids. The direction of the transfer was inferred as described in the main text and is indicated on the left. Transfers from <italic>α</italic> into <italic>β</italic> and <italic>β</italic> into <italic>α</italic> are highlighted in orange and blue, respectively. Note that the presence of more than one type of transfer is rare and was chosen here for illustration. (<bold>C</bold>) Segment of an alignment without distinct species clusters chosen to illustrate mosaic hybrid genes. Regions with clear hybrid blocks are highlighted in purple. Note the extensive hybridization on short length scales, despite the fact that sequences from the same species cluster with each other based on pairwise distances.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-fig4-v1.tif"/></fig><fig id="fig5" position="float"><label>Figure 5.</label><caption><title>Transfers of whole-gene alleles between species are common.</title><p>The frequency of hybrid gene alleles along the <italic>α</italic> (<bold>A</bold>) and <italic>β</italic> (<bold>B</bold>) genomes. Different colors show the donor species, with unknown species labeled <inline-formula><alternatives><mml:math id="inf31"><mml:mstyle><mml:mi>X</mml:mi></mml:mstyle></mml:math><tex-math id="inft31">\begin{document}$ X$\end{document}</tex-math></alternatives></inline-formula> and shown in magenta. The orange lines on top show mosaic loci without distinct gene clusters. Note that the <italic>x</italic>-axis in (<bold>B</bold>) is shared with (<bold>C</bold>). (<bold>C</bold>) The mean synonymous divergence between <italic>α</italic> and <italic>β</italic> at homologous loci, ordered according to OS-B’. Smoothed line over a sliding window of five genes with a step size of two genes is shown in black. Maximum and minimum divergences at each locus are shown in red and blue, respectively. (Insets, middle) A zoomed-in region from a typical genomic region (left) and a divergence trough (right), with dots representing individual genes. (Insets, bottom) Alignment segments of individual genes, subsampled to 40 sequences for clarity. The first sequence is arbitrarily chosen as the reference with each nucleotide represented by a different color. Other sites are colored gray if same as reference or using nucleotide colors if mutated. Left-colored rectangles show the species of each genome.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-fig5-v1.tif"/></fig><fig id="fig6" position="float"><label>Figure 6.</label><caption><title>Diversity within hybrid genes and divergence troughs reveals mixture of soft and hard sweeps.</title><p>(<bold>A</bold>) The distribution of synonymous diversities in <italic>α</italic> genomes in the divergence troughs (purple histogram) is compared to a random sample of genes from the <italic>α</italic> backbone of the same size (orange histogram). The orange line shows the bootstrapped distribution of the <italic>α</italic> backbone. (<bold>B</bold>) Same as (<bold>A</bold>), but comparing divergence troughs in <italic>β</italic> genomes with the <italic>β</italic> core genome. (<bold>C</bold>) Each circle shows the synonymous diversity of a non-singleton simple hybrid locus (see <xref ref-type="fig" rid="fig5">Figure 5AB</xref>) in <italic>α</italic>. The donor species are shown in different colors as labeled on the <italic>x</italic>-axis. For transfers between <italic>α</italic> and <italic>β</italic>, the diversity within <italic>β</italic> is shown as squares of the same color as a control, with sequences from the same locus connected by a line. The orange horizontal lines show the synonymous diversity in the low-diversity <italic>α</italic> backbone. Transfers above this line likely contain multiple independent events.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-fig6-v1.tif"/></fig><fig id="fig7" position="float"><label>Figure 7.</label><caption><title>Hybridization between species leads to mixing of short DNA segments within single genes.</title><p>(<bold>A</bold>, top) Alignment segment of <italic>α</italic> genomes from a representative locus with four SNP blocks. The inferred ancestral <italic>α</italic> haplotype (labeled <inline-formula><alternatives><mml:math id="inf32"><mml:mstyle><mml:msub><mml:mi>α</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft32">\begin{document}$ \alpha_{1}$\end{document}</tex-math></alternatives></inline-formula>) is highlighted in orange and the hybrid haplotype (all <italic>β</italic> here; labeled <inline-formula><alternatives><mml:math id="inf33"><mml:mstyle><mml:msub><mml:mi>α</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft33">\begin{document}$ \alpha_{2}$\end{document}</tex-math></alternatives></inline-formula>) is shown in blue. Note the SNPs in different blocks in different sets of cells. (Middle) Illustration of SNP block analysis pipeline. (Right) The consensus alignment of the two <italic>α</italic> haplotypes, <italic>β</italic>, and <inline-formula><alternatives><mml:math id="inf34"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft34">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> is constructed. (Left) Pairwise divergences between consensus sequences are calculated. Note that <inline-formula><alternatives><mml:math id="inf35"><mml:mstyle><mml:msub><mml:mi>α</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft35">\begin{document}$ \alpha_{2}$\end{document}</tex-math></alternatives></inline-formula> is identical to <italic>β</italic> here. (<bold>B</bold>) The joint distribution of divergences of <italic>α</italic> SNP block haplotypes from the other species for all SNP blocks. Each point represents a haplotype with coordinates showing the divergence from <italic>β</italic> (<italic>x</italic>-axis) and <inline-formula><alternatives><mml:math id="inf36"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft36">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> (<italic>y</italic>-axis). The orange and blue dots show the two haplotypes from the example in (<bold>A</bold>). Marginal distributions are shown on the top and right. Note the high density of haplotypes near the axes, indicating transfer from one of the other known species. (<bold>C</bold>) Same as panel (<bold>B</bold>) for <italic>β</italic> block haplotypes. Note the much larger number of haplotypes far from the axes compared to (<bold>B</bold>), indicating transfers of unknown origin. (<bold>D</bold>) Histogram of linkage coefficients between pairs of block haplotypes at different loci for <italic>α</italic> (orange histogram) and <inline-formula><alternatives><mml:math id="inf37"><mml:mstyle><mml:mi>β</mml:mi></mml:mstyle></mml:math><tex-math id="inft37">\begin{document}$ \beta$\end{document}</tex-math></alternatives></inline-formula> (blue histogram) compared to the expectation under a fully unlinked model (solid orange and blue lines, respectively).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-fig7-v1.tif"/></fig><p>We used hierarchical clustering to identify and characterize hybridization patterns between species. If hybridization is common, as in our case, inferences based on phylogenetic trees would not provide reliable estimates of pairwise divergences. We therefore used pairwise nucleotide distances directly. The distribution of pairwise distances was bimodal, with a clear gap around <inline-formula><alternatives><mml:math id="inf38"><mml:mstyle><mml:mi>d</mml:mi><mml:mo>=</mml:mo><mml:mn>0.075</mml:mn></mml:mstyle></mml:math><tex-math id="inft38">\begin{document}$ d=0.075$\end{document}</tex-math></alternatives></inline-formula>, consistent with our comparisons to the reference genomes (<xref ref-type="fig" rid="fig1">Figure 1</xref>). Based on this observation, we defined species clusters for each gene using a simple cutoff at <inline-formula><alternatives><mml:math id="inf39"><mml:mstyle><mml:msub><mml:mi>d</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>c</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0.075</mml:mn></mml:mstyle></mml:math><tex-math id="inft39">\begin{document}$ d_{c}=0.075$\end{document}</tex-math></alternatives></inline-formula> (<xref ref-type="fig" rid="app1fig2">Appendix 1—figure 2</xref>) together with additional constraints to ensure that clusters were well separated and consistent with asexual divergence from a common ancestor (Appendix 1).</p><p>Detailed analysis of species clusters revealed evidence of hybridization in roughly half of the genome. We found two distinct patterns of hybridization. Around 75% of core genes (1078 out of 1448) had two to three clusters of sizes roughly proportional to abundances of <italic>α</italic>, <italic>β</italic>, and <italic>γ</italic> in the samples (<xref ref-type="fig" rid="app5fig1">Appendix 5—figure 1</xref>). The majority of these genes (844 out of 1078) had clusters, each of which contained sequences from a single species (<xref ref-type="fig" rid="fig4">Figure 4A</xref>), as expected if they were asexually diverged. We call these <italic>non-hybrid loci</italic>. A significant minority (234 out of 1078) contained a mixture of sequences from different species (<xref ref-type="fig" rid="fig4">Figure 4B</xref>), representing recent transfers of whole genes between species. We call these <italic>simple hybrid loci</italic>. The remaining 25% of core genes (370 out of 1448) formed either a single cluster or had one very large cluster containing most sequences (<xref ref-type="fig" rid="fig4">Figure 4C</xref>). As we show below, these large clusters result from complex patterns of hybridization <italic>within single genes</italic>. We thus call these <italic>mosaic hybrid loci</italic>. In around a quarter of these loci, we found evidence of complete or near-complete gene sweeps, but in most, the divergence between <italic>α</italic> and was typical. Almost half (297 out of 773) of high-diversity <italic>α</italic> genes were mosaic hybrids. To better understand the dynamics of hybridization in the population, we analyzed both hybridization patterns in detail, starting with the simple hybrid loci.</p></sec><sec id="s2-3"><title>Simple hybrid genes are common and reveal distinct patterns of hybridization across species</title><p>We used a simple set of heuristic criteria to assign the transfer direction of simple hybrids. If species evolved by asexual divergence from a common ancestor, we expect each orthogroup to contain two to three clusters of sizes roughly proportional to the species abundances. For example, based on the average coverage and the proportion of <italic>β</italic> in our samples (<xref ref-type="fig" rid="fig1">Figure 1A</xref>), we expect the largest cluster to contain ∼80 sequences from <italic>β</italic> genomes. In some cases (45 out of 1063), we also find a minority of sequences from <inline-formula><alternatives><mml:math id="inf40"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft40">\begin{document}$ \alpha$\end{document}</tex-math></alternatives></inline-formula> genomes in this <italic>β</italic> cluster, which we infer to be the result of a hybridization event from <italic>β</italic> into <italic>α</italic> (<xref ref-type="fig" rid="fig4">Figure 4B</xref>). An alternative explanation would be a transfer from a third species that underwent a full selective sweep through <italic>β</italic> and only a partial sweep through <italic>α</italic>. This scenario would imply that hybridization is even more common than we infer, so our method is conservative. We infer transfers from <italic>α</italic> into <italic>β</italic> in a similar way (<xref ref-type="fig" rid="fig4">Figure 4B</xref>). When the third cluster is present and contains <italic>γ</italic>, we assign all other sequences in the cluster to hybridization with <italic>γ</italic>. Because we only have a single <italic>γ</italic> sequence, these clusters are difficult to classify. We cannot distinguish between transfer <italic>from</italic> and <italic>to γ</italic>, and it is possible that some simple hybrid loci involving <italic>γ</italic> may actually be mosaic hybrids. When the third cluster is present but does not contain <italic>γ</italic> or in cases where we find a fourth cluster, we assign those sequences to hybridization with an unknown species <inline-formula><alternatives><mml:math id="inf41"><mml:mstyle><mml:mi>X</mml:mi></mml:mstyle></mml:math><tex-math id="inft41">\begin{document}$ X$\end{document}</tex-math></alternatives></inline-formula>. Using this procedure, we systematically determine the frequencies of different hybridization events in <italic>α</italic> and <italic>β</italic>.</p><p>We found simple hybrids were present in 5−10% of core genes in both species (<xref ref-type="fig" rid="fig5">Figure 5A, B</xref>). Specifically, we found 185 simple hybrid loci in <italic>α</italic> and 68 in <italic>β</italic>. Note that we conservatively excluded contigs that were fully hybrid from this analysis, so our numbers likely underestimate hybridization rates in the population (Appendix 5).</p><p>In both species, simple hybrids were scattered along the genome and contained alleles from different donor species (shown in different colors in <xref ref-type="fig" rid="fig5">Figure 5A, B</xref>), implying multiple hybridization events occurred independently, as expected when recombined segments are much shorter than the genome. Around 80% of <italic>α</italic> hybrid alleles were present in multiple cells, while in <italic>β</italic> the fraction was lower, at around 50%. The frequencies of simple hybrids were highly variable, ranging from singletons to frequencies close to 100%, consistent with a continual hybridization scenario. Surprisingly, around half of hybrids in <italic>β</italic> and a fifth of those in <italic>α</italic> were from unknown donors. However, a systematic search over the 34 metagenomic samples did not find evidence of other <italic>Synechococcus</italic> species in either spring (<xref ref-type="fig" rid="app3fig5">Appendix 3—figures 5</xref>–<xref ref-type="fig" rid="app3fig7">7</xref>). These sequences could be the result of hybridization with species that were formerly present in the caldera and are now either extinct or at very low abundances. Alternatively, the hybrid sequences could have resulted from hybridization with, as yet, undiscovered species from other springs. But regardless of the exact scenario, overall, these results suggest the current population is descended from multiple cyanobacterial species that hybridized with each other.</p></sec><sec id="s2-4"><title>Soft and hard selective gene sweeps drive hybridization of whole genes</title><p>Is the genomic mixing between species the result of neutral processes or does positive selection for beneficial hybrids play an important role? Distinguishing between these alternatives is difficult in general, so we instead focused on cases where beneficial hybrid genes swept through the entire host species, that is, full gene sweeps. Full gene sweeps would greatly reduce the synonymous divergence between <italic>α</italic> and <italic>β</italic>, making them much easier to detect. Visually, we observed the synonymous divergence between <italic>α</italic> and <italic>β</italic> contained several <italic>divergence troughs</italic>, in which the average diversity was well below typical values. We identified the genes contained in these troughs by imposing a simple cutoff <inline-formula><alternatives><mml:math id="inf42"><mml:mstyle><mml:msub><mml:mi>d</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>t</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>u</mml:mi><mml:mi>g</mml:mi><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0.2</mml:mn></mml:mstyle></mml:math><tex-math id="inft42">\begin{document}$ d_{trough}=0.2$\end{document}</tex-math></alternatives></inline-formula> on the synonymous divergence between <italic>α</italic> and <italic>β</italic>, which we chose close to the inflection point of the synonymous divergence distribution across genes (data not shown).</p><p>A systematic search revealed 91 very low divergence loci, spread across more than half a dozen divergence troughs (<xref ref-type="fig" rid="fig5">Figure 5C</xref>). Comparing alignments of typical genes and divergence through genes revealed a dramatic difference in fixed substitutions between species, which can only be explained by a recent selective sweep. The largest divergence trough contained 27 genes, representing around 25% of divergence trough genes, most of which were part of a nitrogen-fixation pathway. In addition, the nitrogen-fixation pathway is one of the largest genomic segments in which the gene order between <italic>α</italic> and <italic>β</italic> is conserved (<xref ref-type="bibr" rid="bib5">Bhaya et al., 2007</xref>), suggesting all genes were transferred simultaneously. The most likely explanation is that at least one of the ancestors acquired the ability to fix nitrogen after it colonized the Yellowstone caldera and that this gave it a substantial selective advantage. The genetic diversity within the pathway genes gave further clues about the hybridization process. The diversity within the trough was similar in both species (<inline-formula><alternatives><mml:math id="inf43"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>π</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0.052</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft43">\begin{document}$ \pi_{S}=0.052$\end{document}</tex-math></alternatives></inline-formula> in <italic>α</italic> and <inline-formula><alternatives><mml:math id="inf44"><mml:mstyle><mml:msub><mml:mi>π</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0.039</mml:mn></mml:mstyle></mml:math><tex-math id="inft44">\begin{document}$ \pi_{S}=0.039$\end{document}</tex-math></alternatives></inline-formula> in <italic>β</italic>) and was close to the average diversity within <italic>β</italic> (<inline-formula><alternatives><mml:math id="inf45"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>π</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0.042</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft45">\begin{document}$ \pi_{S}=0.042$\end{document}</tex-math></alternatives></inline-formula>), suggesting the <italic>β</italic> ancestor already had the ability to fix nitrogen when it colonized the caldera. However, the trough diversity was more than an order of magnitude larger than the diversity within the <italic>α</italic> backbone (<xref ref-type="fig" rid="fig6">Figure 6A, B</xref>). This large discrepancy strongly suggests <italic>α</italic> acquired the pathway from <italic>β</italic> through multiple independent transfers after they colonized the Yellowstone caldera.</p><p>We performed a similar analysis of diversity within simple hybrid genes to determine the direction and timing of transfers. We focused our analysis on <italic>α</italic>, where we had more data. Presence of hybrid genes at high frequencies suggests the hybridization process may be driven by selection. Two distinct patterns of diversity could result. If a single allele was transferred into <italic>α</italic> and then underwent a selective sweep, we would see very little diversity among the hybrid alleles. This is known as a hard sweep. Alternatively, if multiple hybrid alleles were transferred into <inline-formula><alternatives><mml:math id="inf46"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft46">\begin{document}$ \alpha$\end{document}</tex-math></alternatives></inline-formula> while undergoing a sweep, the diversity would be comparable to that in the host species. This is the pattern we observed in the divergence troughs and is known as a soft sweep.</p><p>We found evidence that both hard and soft sweeps contribute to hybridization in the population (<xref ref-type="fig" rid="fig6">Figure 6C</xref>). Around 15% of <italic>α</italic> simple hybrids (31 out of 153 genes) had no diversity at all, regardless of the donor species, consistent with hard sweeps driving their spread. In the remaining 85% (122 out of 153 genes), diversity within <italic>α</italic> was 1–2 orders of magnitude higher than the <italic>α</italic> backbone diversity. As a result, the diversity could not be due to mutation accumulation since the common <italic>α</italic> ancestor, but must have originated from multiple independent transfers—that is, a soft sweep. We further verified the presence of soft sweeps within <italic>α</italic> by comparing the diversity of individual genes. In most cases, the diversity within <italic>α</italic> at these loci was similar to <italic>β</italic>, with a handful of cases of <italic>α</italic> having significantly less, consistent with a subset of <italic>β</italic> alleles sweeping through the population simultaneously (<xref ref-type="fig" rid="fig6">Figure 6C</xref>).</p></sec><sec id="s2-5"><title>Recombination within hybrid genes leads to extensive genomic mixing on short genomic length scales</title><p>Selective sweeps of individual genes could also lead to mixing of other genomic segments from the donor species into the host population through genetic hitchhiking. If the diversity within the two hybridizing species is low, this process would result in blocks of tightly linked SNPs consisting of primarily two haplotypes, one from the host and another from the donor (<xref ref-type="fig" rid="fig7">Figure 7A</xref>). Anecdotally, we frequently observed such patterns in mosaic hybrid genes (<xref ref-type="fig" rid="fig4">Figures 4C</xref> and <xref ref-type="fig" rid="fig7">7A</xref>). We developed a systematic method to search for SNP blocks based on clustering the SNP linkage matrix. Briefly, we search for consecutive SNPs that have perfect linkage (see Appendix 6). We used <italic>α</italic> hybrid genes to calibrate our method and chose very conservative parameters to avoid false positives. Consistent with this, only around 17% of SNPs from the <italic>α</italic> hybrid genes belonged to blocks.</p><p>Despite the very conservative thresholds used in our algorithm, we found over one thousand SNP blocks in each species, scattered across hundreds of genes, including in highly conserved ribosomal genes and genes in which distinct species clusters could be assigned (<xref ref-type="fig" rid="fig7">Figure 7BC</xref>; <xref ref-type="fig" rid="app6fig1">Appendix 6—figures 1</xref> and <xref ref-type="fig" rid="app6fig2">2</xref>). Most blocks were short, with typical lengths around 70 bp in <italic>α</italic> and around 30 bp in <italic>β</italic> (<xref ref-type="fig" rid="app6fig1">Appendix 6—figure 1</xref>). The divergences between SNP block haplotypes were similar to that between species, consistent with hybridization (<xref ref-type="fig" rid="app6fig3">Appendix 6—figure 3</xref>). To confirm their hybrid origin, we mapped the haplotypes from each block to the two other species in our sample. We found 66% (406 out of 605) of SNP blocks within <italic>α</italic> and 15% of those within <italic>β</italic> (128 out of 776) contained a haplotype identical to consensus of other species (<xref ref-type="fig" rid="fig7">Figure 7B</xref>). Note that we only considered blocks in which all three species were present for this comparison. In addition, we found a comparable number of blocks that were statistically similar but did not match the other species <italic>α</italic>, <italic>β</italic>, and <inline-formula><alternatives><mml:math id="inf47"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft47">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> (<xref ref-type="fig" rid="fig7">Figure 7B, C</xref>). The most likely explanation is that these blocks resulted from hybridization with other species, similar to the whole-gene hybrids found previously (<xref ref-type="fig" rid="fig5">Figure 5</xref>).</p><p>How much linkage is maintained between blocks? Given the relatively high divergences between species, one might expect epistatic interactions between blocks to constrain the genotypic structure of the population. Conversely, if recombination is dominant, each genome would be a mosaic of segments from the two ancestral species. To answer this question, we calculated the linkage coefficients between haplotypes for each pair of blocks and compared their distribution to a fully unlinked control (see Appendix 6 for details). Within the <italic>β</italic> species, the two distributions were almost identical, implying that the genomes are consistent with a random mixture of block haplotypes, as was previously proposed (<xref ref-type="bibr" rid="bib63">Rosen et al., 2015</xref>). Within <inline-formula><alternatives><mml:math id="inf48"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft48">\begin{document}$ \alpha$\end{document}</tex-math></alternatives></inline-formula> the linkage coefficients were statistically larger than those predicted from the unlinked control (<xref ref-type="fig" rid="fig7">Figure 7D</xref>), but the overall value was still low, with <inline-formula><alternatives><mml:math id="inf49"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mrow><mml:mo>⟨</mml:mo><mml:msup><mml:mi>r</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>⟩</mml:mo></mml:mrow><mml:mo>≈</mml:mo><mml:mn>0.12</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft49">\begin{document}$ \left\langle r^{2}\right\rangle\approx 0.12$\end{document}</tex-math></alternatives></inline-formula> for data compared to <inline-formula><alternatives><mml:math id="inf50"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mrow><mml:mo>⟨</mml:mo><mml:msup><mml:mi>r</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>⟩</mml:mo></mml:mrow><mml:mo>≈</mml:mo><mml:mn>0.05</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft50">\begin{document}$ \left\langle r^{2}\right\rangle\approx 0.05$\end{document}</tex-math></alternatives></inline-formula> for unlinked control. These results are consistent with the slower rate of linkage decrease within <inline-formula><alternatives><mml:math id="inf51"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft51">\begin{document}$ \alpha$\end{document}</tex-math></alternatives></inline-formula> compared to <italic>β</italic> discussed previously. We also found similar results for the linkage between hybrid gene alleles (Appendix 4). Thus, rather than finding clonal subpopulations, every one of the ∼300 cells in our sample has a unique combination of SNP block haplotypes.</p></sec></sec><sec id="s3" sec-type="discussion"><title>Discussion</title><p>By analyzing over 300 <italic>Synechococcus</italic> single-cell genomes, we show that hybridization plays a major role in shaping their genomic diversity. Our results suggest a simple scenario for the evolutionary history of the population (<xref ref-type="fig" rid="fig8">Figure 8</xref>; see also Appendix 7). Multiple strains were geographically separated and evolved independently into distinct species from an ancestral population. They then colonized the Yellowstone caldera after its formation around 640,000 years ago and have since been gradually hybridizing. The presence of genes with multiple-sequence clusters and previous analysis of 16S sequences (<xref ref-type="bibr" rid="bib64">Rosen et al., 2018</xref>) suggests at least four independent colonizers, but the current population is dominated by the descendants of only three: the ancestors of <italic>α</italic>, <italic>β</italic>, and <italic>γ</italic>. The <italic>β</italic> population has been hybridizing with others and recombining with itself long enough that its genomes are a mosaic of different ancestral segments, consistent with a quasisexual population. But <italic>α</italic> still exhibits a large fraction of low-diversity genomic segments, interlaced with clearly hybridized segments. Molecular clock estimates using the low-diversity regions of the <italic>α</italic> genomes suggest it emerged around <inline-formula><alternatives><mml:math id="inf52"><mml:mstyle><mml:msup><mml:mn>10</mml:mn><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>4</mml:mn><mml:mo>−</mml:mo><mml:mn>5</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:math><tex-math id="inft52">\begin{document}$ 10^{4-5}$\end{document}</tex-math></alternatives></inline-formula> years ago and on these time scales the population is well-mixed across springs (<xref ref-type="fig" rid="app9fig1">Appendix 9—figure 1</xref>). Using the hybridized genomic segments of <italic>α</italic> as a control, we also estimated the contribution of de novo mutations to the <italic>β</italic> diversity. This analysis suggests that the ancestor of <italic>β</italic> colonized the Yellowstone caldera soon after its formation (Appendix 7).</p><fig id="fig8" position="float"><label>Figure 8.</label><caption><title>Hybridization between previously isolated lineages is the main source of diversity within the population.</title><p>(Main panel) An illustration of the evolutionary scenario consistent with the main results of this paper. A single common ancestor (gray) for the population (<inline-formula><alternatives><mml:math id="inf53"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft53">\begin{document}$ t_{0}$\end{document}</tex-math></alternatives></inline-formula>) diverged into several species (four shown here) following spatial isolation (<inline-formula><alternatives><mml:math id="inf54"><mml:mstyle><mml:msub><mml:mi>t</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft54">\begin{document}$ t_{1}$\end{document}</tex-math></alternatives></inline-formula>). The species colonized the Yellowstone caldera, represented by the yellow rectangle, at different times (<inline-formula><alternatives><mml:math id="inf55"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mn>3</mml:mn></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft55">\begin{document}$ t_{2}-t_3$\end{document}</tex-math></alternatives></inline-formula>) and began hybridizing. This process continued up to the present (<inline-formula><alternatives><mml:math id="inf56"><mml:mstyle><mml:msub><mml:mi>t</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>4</mml:mn></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft56">\begin{document}$ t_{4}$\end{document}</tex-math></alternatives></inline-formula>). (Top inset) Illustration of the mechanism for generating unlinked SNP blocks through recombination between a hybrid segment (blue) containing a beneficial region (red star) and the rest of the host species (orange). Note the four distinct haplotypes highlighted at the end. (Bottom inset) Zoom in of the ancestry of a particular genome (middle) compared with the donor (orange, top) and host (green, bottom) ancestral genomes. After the initial hybridization, recombination with other host genomes (red arrows) creates a mosaic structure across a range of genomic length scales.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-fig8-v1.tif"/></fig><p>Diversity within species is often modeled using neutral processes (<xref ref-type="bibr" rid="bib20">Didelot and Wilson, 2015</xref>; <xref ref-type="bibr" rid="bib62">Rocha, 2018</xref>; <xref ref-type="bibr" rid="bib12">Chen et al., 2022</xref>). But in this <italic>Synechococcus</italic> population, there is overwhelming evidence for the crucial role played by selection. The divergence troughs resulted from selective sweeps through the whole population that likely overcame mechanistic barriers to recombination, genetic incompatibilities, and ecological differences, evident in the apparent preferences to different temperatures of the three species. These results are consistent with previous analyses showing that recombination events between pathogenic <italic>Streptococcus</italic> species were primarily driven by selection (<xref ref-type="bibr" rid="bib39">Lefébure and Stanhope, 2007</xref>; <xref ref-type="bibr" rid="bib67">Shapiro et al., 2009</xref>). Moreover, the thousands of blocks composed of tightly linked SNPs we observe are difficult to explain through neutral drift, due to the long time it would take for them to reach observable frequencies. Instead, genetic hitchhiking during selective sweeps is by far the most likely explanation.</p><p>Selective sweeps of single genes through subpopulations have been argued to lead to the formation of separate ecotypes, recombination barriers, and eventual speciation (<xref ref-type="bibr" rid="bib15">Croucher et al., 2011</xref>; <xref ref-type="bibr" rid="bib68">Shapiro et al., 2012</xref>). But we find multiple cases of genes from one species partially sweeping through another, sometimes via several independent transfer events. Thus, gene sweeps do not necessarily lead to ecological specialization, but can do the opposite, acting to homogenize the population. Overall, the population shows abundant evidence of hybridization on a wide range of genomic scales leading to both homogenization between species, through the erosion of genomic clusters, and diversification within species.</p><p>Our results suggest several directions for future work. A significant fraction of SNP blocks in <inline-formula><alternatives><mml:math id="inf57"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft57">\begin{document}$ \alpha$\end{document}</tex-math></alternatives></inline-formula> and the majority of those in <italic>β</italic> were transferred from species not present in our samples. But further work is needed to determine the precise number of hybridizing species and whether some may still be present at high abundances in other springs. Metagenome samples from a wider range of springs would provide valuable information for addressing this question (see Appendix 3). Another important question is how do variants reach observable frequencies in the population. Our analysis revealed direct evidence for genetic sweeps at several hundred loci within divergence troughs and simple hybrid loci. But these loci are only a lower bound on the effect of the selection within the population. A more quantitative analysis of SNP statistics would provide important insights into evolutionary dynamics at these intermediate time scales, which could be informative for understanding bacterial evolution more broadly.</p><p>Whether the erosion of genomic clusters we observe would continue indefinitely remains an open question. The hybridization process appears to be very slow: we estimate that the genomic mixing we observe occurred over at least 10<sup>4</sup> years and likely started soon after <italic>α</italic> became abundant (see Appendix 7). It is therefore possible that the current population is an evolutionary transient that would eventually lead to a single hybrid population. This scenario would be contrary to the prevailing view that microbial evolution leads to increased specialization (<xref ref-type="bibr" rid="bib68">Shapiro et al., 2012</xref>; <xref ref-type="bibr" rid="bib30">Jain et al., 2018</xref>). Distinguishing between these two scenarios would require a detailed understanding of how the diversity changes during the hybridization process. For example, a better theoretical understanding of how SNP correlations within and between SNP blocks change after an initial transfer could generate testable predictions about single- and multi-site frequency spectra that could be checked in the data. Some statistical features will likely be more sensitive to selective pressures that act at the whole-genome level and could help maintain clusters indefinitely. Similar approaches could shed light on the evolutionary history of other highly recombining bacteria, such as <italic>H. pylori</italic> or <italic>SAR11</italic> (<xref ref-type="bibr" rid="bib75">Vergin et al., 2007</xref>; <xref ref-type="bibr" rid="bib34">Kennemann et al., 2011</xref>). Thus, how extensive hybridization affects, and is affected by, ecology and how the interplay between selection at both gene and genome scales shapes the diversity of long-term coexisting populations are intriguing questions for future work.</p><p>The importance of hybridization in eukaryotic evolution is increasingly being recognized, but there have been few investigations in prokaryotes (<xref ref-type="bibr" rid="bib66">Sankararaman et al., 2014</xref>; <xref ref-type="bibr" rid="bib47">Moran et al., 2021</xref>). Metagenomic studies on communities in acid mine drainages revealed several hybrid bacterial and archaeal populations whose genomes were mosaics of hundreds of kbp segments from two different ancestors (<xref ref-type="bibr" rid="bib74">Tyson et al., 2004</xref>; <xref ref-type="bibr" rid="bib43">Lo et al., 2007</xref>). Those results are consistent with very recent hybridization, after the start of mining operations (<xref ref-type="bibr" rid="bib18">Denef and Banfield, 2012</xref>). Our study shows the effects of this process over much longer time scales. At the level of individual genes, evidence for hybridization has been observed among commensal and pathogenic species of <italic>Campylobacter</italic> (<xref ref-type="bibr" rid="bib69">Sheppard et al., 2008</xref>; <xref ref-type="bibr" rid="bib48">Mourkas et al., 2022</xref>). But unlike the thermophilic <italic>Synechococcus</italic>, such host-associated bacteria are globally dispersed and have likely sampled many different environments, on a wide range of time scales, during their evolutionary history. It is thus difficult to identify which evolutionary forces drive their hybridization.</p><p>For the Yellowstone <italic>Synechococcus</italic>, a fortuitous combination of spatial separation and later mixing on the same time scales on which speciation and then hybridization can extensively shape—but not completely overwrite—their diversity has enabled us to infer a great deal about the evolutionary history and the effects of full and partial sweeps. This provides a window into processes that shape species-level bacterial diversity. But for most bacterial populations, the effects of these processes are obscured by the broad range—and little knowledge—of the time scales on which different strains have co-occurred and are able to exchange DNA. Investigating whether hybridization plays a major role in other communities will thus require developing a predictive theory that can distinguish between possible evolutionary scenarios.</p></sec></body>
  <back><sec sec-type="additional-information" id="s4"><title>Additional information</title><fn-group content-type="competing-interest"><title>Competing interests</title><fn fn-type="COI-statement" id="conf1"><p>No competing interests declared</p></fn></fn-group><fn-group content-type="author-contribution"><title>Author contributions</title><fn fn-type="con" id="con1"><p>Conceptualization, Investigation, Methodology, Writing – original draft, Writing – review and editing</p></fn><fn fn-type="con" id="con2"><p>Investigation, Writing – review and editing</p></fn><fn fn-type="con" id="con3"><p>Resources, Data curation</p></fn><fn fn-type="con" id="con4"><p>Resources, Data curation, Methodology, Writing – review and editing</p></fn><fn fn-type="con" id="con5"><p>Conceptualization, Supervision, Funding acquisition, Methodology, Writing – original draft, Writing – review and editing</p></fn><fn fn-type="con" id="con6"><p>Conceptualization, Funding acquisition, Writing – original draft, Project administration, Writing – review and editing</p></fn></fn-group></sec><sec sec-type="supplementary-material" id="s5"><title>Additional files</title><supplementary-material id="mdar"><label>MDAR checklist</label><media xlink:href="elife-90849-mdarchecklist1-v1.docx" mimetype="application" mime-subtype="docx"/></supplementary-material></sec><ack id="ack"><title>Acknowledgements</title><p>We thank Benjamin H Good, Alana Papula, and Freddy Bunbury for helpful comments and discussions. GB and DSF gratefully acknowledge support from the Simons Foundation via a Postdoctoral Fellowship Award 730295 to GB and Sabbatical Fellowship to DSF. This work was also supported by NSF Grants PHY-1607606 and PHY-2210386 to DSF. HSM was supported by the National Institutes of Health grant R01-AI-100947 to Mihai Pop. DB acknowledges support from the NSF/BIO-BBSRC collaborative research grant 1921429, NSF MIM grant 2125965, Joint Genome Institute Community Sequencing Project 503441 and 509352, and the Carnegie Institution for Science. Samples processed for single-cell genome amplification were collected using NP Park Permits: YELL-5494 to David Ward (multi-year), YELL-5660 to DB (2007–2008), and YELL 5694 to DB (2007–2009). The work (proposal: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.46936/10.25585/60001132">https://doi.org/10.46936/10.25585/60001132</ext-link>) conducted by the U.S. Department of Energy Joint Genome Institute (<ext-link ext-link-type="uri" xlink:href="https://ror.org/04xm1d337">https://ror.org/04xm1d337</ext-link>), a DOE Office of Science User Facility, is supported by the Office of Science of the U.S. Department of Energy operated under Contract No. DE-AC02-05CH11231.</p></ack><ref-list><title>References</title><ref id="bib1"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Allewalt</surname><given-names>JP</given-names></name><name><surname>Bateson</surname><given-names>MM</given-names></name><name><surname>Revsbech</surname><given-names>NP</given-names></name><name><surname>Slack</surname><given-names>K</given-names></name></person-group><year iso-8601-date="2006">2006</year><article-title>Effect of temperature and light on growth of and photosynthesis by</article-title><source>Applied and Environmental Microbiology</source><volume>72</volume><elocation-id>544</elocation-id><pub-id pub-id-type="doi">10.1128/AEM.72.1.544-550.2006</pub-id></element-citation></ref><ref id="bib2"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Altschul</surname><given-names>SF</given-names></name><name><surname>Gish</surname><given-names>W</given-names></name><name><surname>Miller</surname><given-names>W</given-names></name><name><surname>Myers</surname><given-names>EW</given-names></name><name><surname>Lipman</surname><given-names>DJ</given-names></name></person-group><year iso-8601-date="1990">1990</year><article-title>Basic local alignment search tool</article-title><source>Journal of Molecular Biology</source><volume>215</volume><fpage>403</fpage><lpage>410</lpage><pub-id pub-id-type="doi">10.1016/S0022-2836(05)80360-2</pub-id><pub-id pub-id-type="pmid">2231712</pub-id></element-citation></ref><ref id="bib3"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Arevalo</surname><given-names>P</given-names></name><name><surname>VanInsberghe</surname><given-names>D</given-names></name><name><surname>Elsherbini</surname><given-names>J</given-names></name><name><surname>Gore</surname><given-names>J</given-names></name><name><surname>Polz</surname><given-names>MF</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>A reverse ecology approach based on a biological definition of microbial populations</article-title><source>Cell</source><volume>178</volume><fpage>820</fpage><lpage>834</lpage><pub-id pub-id-type="doi">10.1016/j.cell.2019.06.033</pub-id><pub-id pub-id-type="pmid">31398339</pub-id></element-citation></ref><ref id="bib4"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Bao</surname><given-names>Y-J</given-names></name><name><surname>Shapiro</surname><given-names>BJ</given-names></name><name><surname>Lee</surname><given-names>SW</given-names></name><name><surname>Ploplis</surname><given-names>VA</given-names></name><name><surname>Castellino</surname><given-names>FJ</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>Phenotypic differentiation of <italic>Streptococcus pyogenes</italic> populations is induced by recombination-driven gene-specific sweeps</article-title><source>Scientific Reports</source><volume>6</volume><elocation-id>36644</elocation-id><pub-id pub-id-type="doi">10.1038/srep36644</pub-id><pub-id pub-id-type="pmid">27821851</pub-id></element-citation></ref><ref id="bib5"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Bhaya</surname><given-names>D</given-names></name><name><surname>Grossman</surname><given-names>AR</given-names></name><name><surname>Steunou</surname><given-names>AS</given-names></name><name><surname>Khuri</surname><given-names>N</given-names></name><name><surname>Cohan</surname><given-names>FM</given-names></name><name><surname>Hamamura</surname><given-names>N</given-names></name><name><surname>Melendrez</surname><given-names>MC</given-names></name><name><surname>Bateson</surname><given-names>MM</given-names></name><name><surname>Ward</surname><given-names>DM</given-names></name><name><surname>Heidelberg</surname><given-names>JF</given-names></name></person-group><year iso-8601-date="2007">2007</year><article-title>Population level functional diversity in a microbial community revealed by comparative genomic and metagenomic analyses</article-title><source>The ISME Journal</source><volume>1</volume><fpage>703</fpage><lpage>713</lpage><pub-id pub-id-type="doi">10.1038/ismej.2007.46</pub-id><pub-id pub-id-type="pmid">18059494</pub-id></element-citation></ref><ref id="bib6"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Birzu</surname><given-names>G</given-names></name><name><surname>Hallatschek</surname><given-names>O</given-names></name><name><surname>Korolev</surname><given-names>KS</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Fluctuations uncover a distinct class of traveling waves</article-title><source>PNAS</source><volume>115</volume><fpage>E3645</fpage><lpage>E3654</lpage><pub-id pub-id-type="doi">10.1073/pnas.1715737115</pub-id></element-citation></ref><ref id="bib7"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Birzu</surname><given-names>G</given-names></name><name><surname>Hallatschek</surname><given-names>O</given-names></name><name><surname>Korolev</surname><given-names>KS</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Genealogical structure changes as range expansions transition from pushed to pulled</article-title><source>PNAS</source><volume>118</volume><elocation-id>2026746118</elocation-id><pub-id pub-id-type="doi">10.1073/pnas.2026746118</pub-id></element-citation></ref><ref id="bib8"><element-citation publication-type="software"><person-group person-group-type="author"><name><surname>Birzu</surname><given-names>G</given-names></name></person-group><year iso-8601-date="2025">2025</year><data-title>Yellowstone cyanobacteria hybridization</data-title><version designator="swh:1:rev:e0b78e8874250d1350950a7ffa0b6477d3848a94">swh:1:rev:e0b78e8874250d1350950a7ffa0b6477d3848a94</version><source>Software Heritage</source><ext-link ext-link-type="uri" xlink:href="https://archive.softwareheritage.org/swh:1:dir:f7848ae091316c9119a78b0484b00d9e33d88bb2;origin=https://github.com/gbirzu/yellowstone_cyanobacteria_hybridization;visit=swh:1:snp:6ab58dfed3ce0b42ed4a35b088c18bb7fdf14152;anchor=swh:1:rev:e0b78e8874250d1350950a7ffa0b6477d3848a94">https://archive.softwareheritage.org/swh:1:dir:f7848ae091316c9119a78b0484b00d9e33d88bb2;origin=https://github.com/gbirzu/yellowstone_cyanobacteria_hybridization;visit=swh:1:snp:6ab58dfed3ce0b42ed4a35b088c18bb7fdf14152;anchor=swh:1:rev:e0b78e8874250d1350950a7ffa0b6477d3848a94</ext-link></element-citation></ref><ref id="bib9"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Browne</surname><given-names>HP</given-names></name><name><surname>Forster</surname><given-names>SC</given-names></name><name><surname>Anonye</surname><given-names>BO</given-names></name><name><surname>Kumar</surname><given-names>N</given-names></name><name><surname>Neville</surname><given-names>BA</given-names></name><name><surname>Stares</surname><given-names>MD</given-names></name><name><surname>Goulding</surname><given-names>D</given-names></name><name><surname>Lawley</surname><given-names>TD</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>Culturing of “unculturable” human microbiota reveals novel taxa and extensive sporulation</article-title><source>Nature</source><volume>533</volume><fpage>543</fpage><lpage>546</lpage><pub-id pub-id-type="doi">10.1038/nature17645</pub-id><pub-id pub-id-type="pmid">27144353</pub-id></element-citation></ref><ref id="bib10"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Capella-Gutiérrez</surname><given-names>S</given-names></name><name><surname>Silla-Martínez</surname><given-names>JM</given-names></name><name><surname>Gabaldón</surname><given-names>T</given-names></name></person-group><year iso-8601-date="2009">2009</year><article-title>trimAl: a tool for automated alignment trimming in large-scale phylogenetic analyses</article-title><source>Bioinformatics</source><volume>25</volume><fpage>1972</fpage><lpage>1973</lpage><pub-id pub-id-type="doi">10.1093/bioinformatics/btp348</pub-id><pub-id pub-id-type="pmid">19505945</pub-id></element-citation></ref><ref id="bib11"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname><given-names>MY</given-names></name><name><surname>Teng</surname><given-names>WK</given-names></name><name><surname>Zhao</surname><given-names>L</given-names></name><name><surname>Hu</surname><given-names>CX</given-names></name><name><surname>Zhou</surname><given-names>YK</given-names></name><name><surname>Han</surname><given-names>BP</given-names></name><name><surname>Song</surname><given-names>LR</given-names></name><name><surname>Shu</surname><given-names>WS</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Comparative genomics reveals insights into cyanobacterial evolution and habitat adaptation</article-title><source>The ISME Journal</source><volume>15</volume><fpage>211</fpage><lpage>227</lpage><pub-id pub-id-type="doi">10.1038/s41396-020-00775-z</pub-id><pub-id pub-id-type="pmid">32943748</pub-id></element-citation></ref><ref id="bib12"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname><given-names>Z</given-names></name><name><surname>Wang</surname><given-names>X</given-names></name><name><surname>Song</surname><given-names>Y</given-names></name><name><surname>Zeng</surname><given-names>Q</given-names></name><name><surname>Zhang</surname><given-names>Y</given-names></name><name><surname>Luo</surname><given-names>H</given-names></name></person-group><year iso-8601-date="2022">2022</year><article-title>Prochlorococcus have low global mutation rate and small effective population size</article-title><source>Nature Ecology &amp; Evolution</source><volume>6</volume><fpage>183</fpage><lpage>194</lpage><pub-id pub-id-type="doi">10.1038/s41559-021-01591-0</pub-id></element-citation></ref><ref id="bib13"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Cohan</surname><given-names>FM</given-names></name></person-group><year iso-8601-date="2002">2002</year><article-title>What are bacterial species?</article-title><source>Annual Review of Microbiology</source><volume>56</volume><fpage>457</fpage><lpage>487</lpage><pub-id pub-id-type="doi">10.1146/annurev.micro.56.012302.160634</pub-id><pub-id pub-id-type="pmid">12142474</pub-id></element-citation></ref><ref id="bib14"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Coyne</surname><given-names>JA</given-names></name><name><surname>Orr</surname><given-names>HA</given-names></name></person-group><year iso-8601-date="2004">2004</year><source>Speciation</source><publisher-name>Sinauer Associates</publisher-name></element-citation></ref><ref id="bib15"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Croucher</surname><given-names>NJ</given-names></name><name><surname>Harris</surname><given-names>SR</given-names></name><name><surname>Fraser</surname><given-names>C</given-names></name><name><surname>Quail</surname><given-names>MA</given-names></name><name><surname>Burton</surname><given-names>J</given-names></name><name><surname>van der Linden</surname><given-names>M</given-names></name><name><surname>McGee</surname><given-names>L</given-names></name><name><surname>von Gottberg</surname><given-names>A</given-names></name><name><surname>Song</surname><given-names>JH</given-names></name><name><surname>Ko</surname><given-names>KS</given-names></name><name><surname>Pichon</surname><given-names>B</given-names></name><name><surname>Baker</surname><given-names>S</given-names></name><name><surname>Parry</surname><given-names>CM</given-names></name><name><surname>Lambertsen</surname><given-names>LM</given-names></name><name><surname>Shahinas</surname><given-names>D</given-names></name><name><surname>Pillai</surname><given-names>DR</given-names></name><name><surname>Mitchell</surname><given-names>TJ</given-names></name><name><surname>Dougan</surname><given-names>G</given-names></name><name><surname>Tomasz</surname><given-names>A</given-names></name><name><surname>Klugman</surname><given-names>KP</given-names></name><name><surname>Parkhill</surname><given-names>J</given-names></name><name><surname>Hanage</surname><given-names>WP</given-names></name><name><surname>Bentley</surname><given-names>SD</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>Rapid pneumococcal evolution in response to clinical interventions</article-title><source>Science</source><volume>331</volume><fpage>430</fpage><lpage>434</lpage><pub-id pub-id-type="doi">10.1126/science.1198545</pub-id><pub-id pub-id-type="pmid">21273480</pub-id></element-citation></ref><ref id="bib16"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Croucher</surname><given-names>NJ</given-names></name><name><surname>Page</surname><given-names>AJ</given-names></name><name><surname>Connor</surname><given-names>TR</given-names></name><name><surname>Delaney</surname><given-names>AJ</given-names></name><name><surname>Keane</surname><given-names>JA</given-names></name><name><surname>Bentley</surname><given-names>SD</given-names></name><name><surname>Parkhill</surname><given-names>J</given-names></name><name><surname>Harris</surname><given-names>SR</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Rapid phylogenetic analysis of large samples of recombinant bacterial whole genome sequences using Gubbins</article-title><source>Nucleic Acids Research</source><volume>43</volume><elocation-id>e15</elocation-id><pub-id pub-id-type="doi">10.1093/nar/gku1196</pub-id><pub-id pub-id-type="pmid">25414349</pub-id></element-citation></ref><ref id="bib17"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Darling</surname><given-names>ACE</given-names></name><name><surname>Mau</surname><given-names>B</given-names></name><name><surname>Blattner</surname><given-names>FR</given-names></name><name><surname>Perna</surname><given-names>NT</given-names></name></person-group><year iso-8601-date="2004">2004</year><article-title>Mauve: multiple alignment of conserved genomic sequence with rearrangements</article-title><source>Genome Research</source><volume>14</volume><fpage>1394</fpage><lpage>1403</lpage><pub-id pub-id-type="doi">10.1101/gr.2289704</pub-id><pub-id pub-id-type="pmid">15231754</pub-id></element-citation></ref><ref id="bib18"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Denef</surname><given-names>VJ</given-names></name><name><surname>Banfield</surname><given-names>JF</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>In situ evolutionary rate measurements show ecological success of recently emerged bacterial hybrids</article-title><source>Science</source><volume>336</volume><fpage>462</fpage><lpage>466</lpage><pub-id pub-id-type="doi">10.1126/science.1218389</pub-id><pub-id pub-id-type="pmid">22539719</pub-id></element-citation></ref><ref id="bib19"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Didelot</surname><given-names>X</given-names></name><name><surname>Maiden</surname><given-names>MCJ</given-names></name></person-group><year iso-8601-date="2010">2010</year><article-title>Impact of recombination on bacterial evolution</article-title><source>Trends in Microbiology</source><volume>18</volume><fpage>315</fpage><lpage>322</lpage><pub-id pub-id-type="doi">10.1016/j.tim.2010.04.002</pub-id></element-citation></ref><ref id="bib20"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Didelot</surname><given-names>X</given-names></name><name><surname>Wilson</surname><given-names>DJ</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>ClonalFrameML: efficient inference of recombination in whole bacterial genomes</article-title><source>PLOS Computational Biology</source><volume>11</volume><elocation-id>e1004041</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1004041</pub-id><pub-id pub-id-type="pmid">25675341</pub-id></element-citation></ref><ref id="bib21"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ding</surname><given-names>W</given-names></name><name><surname>Baumdicker</surname><given-names>F</given-names></name><name><surname>Neher</surname><given-names>RA</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>panX: pan-genome analysis and exploration</article-title><source>Nucleic Acids Research</source><volume>46</volume><elocation-id>gkx977</elocation-id><pub-id pub-id-type="doi">10.1093/nar/gkx977</pub-id><pub-id pub-id-type="pmid">29077859</pub-id></element-citation></ref><ref id="bib22"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Diop</surname><given-names>A</given-names></name><name><surname>Torrance</surname><given-names>EL</given-names></name><name><surname>Stott</surname><given-names>CM</given-names></name><name><surname>Bobay</surname><given-names>LM</given-names></name></person-group><year iso-8601-date="2022">2022</year><article-title>Gene flow and introgression are pervasive forces shaping the evolution of bacterial species</article-title><source>Genome Biology</source><volume>23</volume><elocation-id>239</elocation-id><pub-id pub-id-type="doi">10.1186/s13059-022-02809-5</pub-id><pub-id pub-id-type="pmid">36357919</pub-id></element-citation></ref><ref id="bib23"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Emms</surname><given-names>DM</given-names></name><name><surname>Kelly</surname><given-names>S</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>OrthoFinder: solving fundamental biases in whole genome comparisons dramatically improves orthogroup inference accuracy</article-title><source>Genome Biology</source><volume>16</volume><elocation-id>157</elocation-id><pub-id pub-id-type="doi">10.1186/s13059-015-0721-2</pub-id></element-citation></ref><ref id="bib24"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Enright</surname><given-names>AJ</given-names></name></person-group><year iso-8601-date="2002">2002</year><article-title>An efficient algorithm for large-scale detection of protein families</article-title><source>Nucleic Acids Research</source><volume>30</volume><fpage>1575</fpage><lpage>1584</lpage><pub-id pub-id-type="doi">10.1093/nar/30.7.1575</pub-id></element-citation></ref><ref id="bib25"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Fraser</surname><given-names>C</given-names></name><name><surname>Alm</surname><given-names>EJ</given-names></name><name><surname>Polz</surname><given-names>MF</given-names></name><name><surname>Spratt</surname><given-names>BG</given-names></name><name><surname>Hanage</surname><given-names>WP</given-names></name></person-group><year iso-8601-date="2009">2009</year><article-title>The bacterial species challenge: making sense of genetic and ecological diversity</article-title><source>Science</source><volume>323</volume><fpage>741</fpage><lpage>746</lpage><pub-id pub-id-type="doi">10.1126/science.1159388</pub-id><pub-id pub-id-type="pmid">19197054</pub-id></element-citation></ref><ref id="bib26"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Garud</surname><given-names>NR</given-names></name><name><surname>Good</surname><given-names>BH</given-names></name><name><surname>Hallatschek</surname><given-names>O</given-names></name><name><surname>Pollard</surname><given-names>KS</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Evolutionary dynamics of bacteria in the gut microbiome within and across hosts</article-title><source>PLOS Biology</source><volume>17</volume><elocation-id>e3000102</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pbio.3000102</pub-id><pub-id pub-id-type="pmid">30673701</pub-id></element-citation></ref><ref id="bib27"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gibbons</surname><given-names>TR</given-names></name><name><surname>Mount</surname><given-names>SM</given-names></name><name><surname>Cooper</surname><given-names>ED</given-names></name><name><surname>Delwiche</surname><given-names>CF</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Evaluation of BLAST-based edge-weighting metrics used for homology inference with the Markov Clustering algorithm</article-title><source>BMC Bioinformatics</source><volume>16</volume><elocation-id>218</elocation-id><pub-id pub-id-type="doi">10.1186/s12859-015-0625-x</pub-id><pub-id pub-id-type="pmid">26160651</pub-id></element-citation></ref><ref id="bib28"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hanson</surname><given-names>CA</given-names></name><name><surname>Fuhrman</surname><given-names>JA</given-names></name><name><surname>Horner-Devine</surname><given-names>MC</given-names></name><name><surname>Martiny</surname><given-names>JBH</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>Beyond biogeographic patterns: processes shaping the microbial landscape</article-title><source>Nature Reviews. Microbiology</source><volume>10</volume><fpage>497</fpage><lpage>506</lpage><pub-id pub-id-type="doi">10.1038/nrmicro2795</pub-id><pub-id pub-id-type="pmid">22580365</pub-id></element-citation></ref><ref id="bib29"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hudson</surname><given-names>RR</given-names></name></person-group><year iso-8601-date="1985">1985</year><article-title>The sampling distribution of linkage disequilibrium under an infinite allele model without selection</article-title><source>Genetics</source><volume>109</volume><fpage>611</fpage><lpage>631</lpage><pub-id pub-id-type="doi">10.1093/genetics/109.3.611</pub-id><pub-id pub-id-type="pmid">3979817</pub-id></element-citation></ref><ref id="bib30"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Jain</surname><given-names>C</given-names></name><name><surname>Rodriguez-R</surname><given-names>LM</given-names></name><name><surname>Phillippy</surname><given-names>AM</given-names></name><name><surname>Konstantinidis</surname><given-names>KT</given-names></name><name><surname>Aluru</surname><given-names>S</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>High throughput ANI analysis of 90K prokaryotic genomes reveals clear species boundaries</article-title><source>Nature Communications</source><volume>9</volume><elocation-id>5114</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-018-07641-9</pub-id></element-citation></ref><ref id="bib31"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Jukes</surname><given-names>TH</given-names></name><name><surname>Cantor</surname><given-names>CR</given-names></name></person-group><year iso-8601-date="1969">1969</year><chapter-title>Evolution of protein molecules</chapter-title><person-group person-group-type="editor"><name><surname>Jukes</surname><given-names>TH</given-names></name><name><surname>Cantor</surname><given-names>CR</given-names></name></person-group><source>Mammalian Protein Metabolism</source><publisher-name>Academic Press</publisher-name><fpage>21</fpage><lpage>132</lpage><pub-id pub-id-type="doi">10.1016/B978-1-4832-3211-9.50009-7</pub-id></element-citation></ref><ref id="bib32"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kashtan</surname><given-names>N</given-names></name><name><surname>Roggensack</surname><given-names>SE</given-names></name><name><surname>Rodrigue</surname><given-names>S</given-names></name><name><surname>Thompson</surname><given-names>JW</given-names></name><name><surname>Biller</surname><given-names>SJ</given-names></name><name><surname>Coe</surname><given-names>A</given-names></name><name><surname>Ding</surname><given-names>H</given-names></name><name><surname>Marttinen</surname><given-names>P</given-names></name><name><surname>Malmstrom</surname><given-names>RR</given-names></name><name><surname>Stocker</surname><given-names>R</given-names></name><name><surname>Follows</surname><given-names>MJ</given-names></name><name><surname>Stepanauskas</surname><given-names>R</given-names></name><name><surname>Chisholm</surname><given-names>SW</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>Single-cell genomics reveals hundreds of coexisting subpopulations in wild Prochlorococcus</article-title><source>Science</source><volume>344</volume><fpage>416</fpage><lpage>420</lpage><pub-id pub-id-type="doi">10.1126/science.1248575</pub-id><pub-id pub-id-type="pmid">24763590</pub-id></element-citation></ref><ref id="bib33"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Katoh</surname><given-names>K</given-names></name><name><surname>Standley</surname><given-names>DM</given-names></name></person-group><year iso-8601-date="2013">2013</year><article-title>MAFFT multiple sequence alignment software version 7: improvements in performance and usability</article-title><source>Molecular Biology and Evolution</source><volume>30</volume><fpage>772</fpage><lpage>780</lpage><pub-id pub-id-type="doi">10.1093/molbev/mst010</pub-id><pub-id pub-id-type="pmid">23329690</pub-id></element-citation></ref><ref id="bib34"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kennemann</surname><given-names>L</given-names></name><name><surname>Didelot</surname><given-names>X</given-names></name><name><surname>Aebischer</surname><given-names>T</given-names></name><name><surname>Kuhn</surname><given-names>S</given-names></name><name><surname>Drescher</surname><given-names>B</given-names></name><name><surname>Droege</surname><given-names>M</given-names></name><name><surname>Reinhardt</surname><given-names>R</given-names></name><name><surname>Correa</surname><given-names>P</given-names></name><name><surname>Meyer</surname><given-names>TF</given-names></name><name><surname>Josenhans</surname><given-names>C</given-names></name><name><surname>Falush</surname><given-names>D</given-names></name><name><surname>Suerbaum</surname><given-names>S</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title><italic>Helicobacter pylori</italic> genome evolution during human infection</article-title><source>PNAS</source><volume>108</volume><fpage>5033</fpage><lpage>5038</lpage><pub-id pub-id-type="doi">10.1073/pnas.1018444108</pub-id></element-citation></ref><ref id="bib35"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Klatt</surname><given-names>CG</given-names></name><name><surname>Wood</surname><given-names>JM</given-names></name><name><surname>Rusch</surname><given-names>DB</given-names></name><name><surname>Bateson</surname><given-names>MM</given-names></name><name><surname>Hamamura</surname><given-names>N</given-names></name><name><surname>Heidelberg</surname><given-names>JF</given-names></name><name><surname>Grossman</surname><given-names>AR</given-names></name><name><surname>Bhaya</surname><given-names>D</given-names></name><name><surname>Cohan</surname><given-names>FM</given-names></name><name><surname>Kühl</surname><given-names>M</given-names></name><name><surname>Bryant</surname><given-names>DA</given-names></name><name><surname>Ward</surname><given-names>DM</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>Community ecology of hot spring cyanobacterial mats: predominant populations and their functional potential</article-title><source>The ISME Journal</source><volume>5</volume><fpage>1262</fpage><lpage>1278</lpage><pub-id pub-id-type="doi">10.1038/ismej.2011.73</pub-id></element-citation></ref><ref id="bib36"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kriventseva</surname><given-names>EV</given-names></name><name><surname>Rahman</surname><given-names>N</given-names></name><name><surname>Espinosa</surname><given-names>O</given-names></name><name><surname>Zdobnov</surname><given-names>EM</given-names></name></person-group><year iso-8601-date="2007">2007</year><article-title>OrthoDB: the hierarchical catalog of eukaryotic orthologs</article-title><source>Nucleic Acids Research</source><volume>36</volume><fpage>D271</fpage><lpage>D275</lpage><pub-id pub-id-type="doi">10.1093/nar/gkm845</pub-id></element-citation></ref><ref id="bib37"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Langmead</surname><given-names>B</given-names></name><name><surname>Salzberg</surname><given-names>SL</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>Fast gapped-read alignment with Bowtie 2</article-title><source>Nature Methods</source><volume>9</volume><fpage>357</fpage><lpage>359</lpage><pub-id pub-id-type="doi">10.1038/nmeth.1923</pub-id><pub-id pub-id-type="pmid">22388286</pub-id></element-citation></ref><ref id="bib38"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lee</surname><given-names>H</given-names></name><name><surname>Popodi</surname><given-names>E</given-names></name><name><surname>Tang</surname><given-names>H</given-names></name><name><surname>Foster</surname><given-names>PL</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>Rate and molecular spectrum of spontaneous mutations in the bacterium <italic>Escherichia coli</italic> as determined by whole-genome sequencing</article-title><source>PNAS</source><volume>109</volume><elocation-id>9109</elocation-id><pub-id pub-id-type="doi">10.1073/pnas.1210309109</pub-id></element-citation></ref><ref id="bib39"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lefébure</surname><given-names>T</given-names></name><name><surname>Stanhope</surname><given-names>MJ</given-names></name></person-group><year iso-8601-date="2007">2007</year><article-title>Evolution of the core and pan-genome of Streptococcus: positive selection, recombination, and genome composition</article-title><source>Genome Biology</source><volume>8</volume><elocation-id>R71</elocation-id><pub-id pub-id-type="doi">10.1186/gb-2007-8-5-r71</pub-id></element-citation></ref><ref id="bib40"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Li</surname><given-names>H</given-names></name><name><surname>Handsaker</surname><given-names>B</given-names></name><name><surname>Wysoker</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2009">2009</year><article-title>and 1000 genome project data processing subgroup</article-title><source>Bioinformatics</source><volume>25</volume><fpage>2078</fpage><lpage>2079</lpage><pub-id pub-id-type="doi">10.1093/bioinformatics/btp352</pub-id></element-citation></ref><ref id="bib41"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lin</surname><given-names>M</given-names></name><name><surname>Kussell</surname><given-names>E</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Correlated mutations and homologous recombination within bacterial populations</article-title><source>Genetics</source><volume>205</volume><fpage>891</fpage><lpage>917</lpage><pub-id pub-id-type="doi">10.1534/genetics.116.189621</pub-id><pub-id pub-id-type="pmid">28007887</pub-id></element-citation></ref><ref id="bib42"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lin</surname><given-names>M</given-names></name><name><surname>Kussell</surname><given-names>E</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Inferring bacterial recombination rates from large-scale sequencing datasets</article-title><source>Nature Methods</source><volume>16</volume><fpage>199</fpage><lpage>204</lpage><pub-id pub-id-type="doi">10.1038/s41592-018-0293-7</pub-id></element-citation></ref><ref id="bib43"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lo</surname><given-names>I</given-names></name><name><surname>Denef</surname><given-names>VJ</given-names></name><name><surname>Verberkmoes</surname><given-names>NC</given-names></name><name><surname>Shah</surname><given-names>MB</given-names></name><name><surname>Goltsman</surname><given-names>D</given-names></name><name><surname>DiBartolo</surname><given-names>G</given-names></name><name><surname>Tyson</surname><given-names>GW</given-names></name><name><surname>Allen</surname><given-names>EE</given-names></name><name><surname>Ram</surname><given-names>RJ</given-names></name><name><surname>Detter</surname><given-names>JC</given-names></name><name><surname>Richardson</surname><given-names>P</given-names></name><name><surname>Thelen</surname><given-names>MP</given-names></name><name><surname>Hettich</surname><given-names>RL</given-names></name><name><surname>Banfield</surname><given-names>JF</given-names></name></person-group><year iso-8601-date="2007">2007</year><article-title>Strain-resolved community proteomics reveals recombining genomes of acidophilic bacteria</article-title><source>Nature</source><volume>446</volume><fpage>537</fpage><lpage>541</lpage><pub-id pub-id-type="doi">10.1038/nature05624</pub-id><pub-id pub-id-type="pmid">17344860</pub-id></element-citation></ref><ref id="bib44"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Meyer-Dombard</surname><given-names>DR</given-names></name><name><surname>Swingley</surname><given-names>W</given-names></name><name><surname>Raymond</surname><given-names>J</given-names></name><name><surname>Havig</surname><given-names>J</given-names></name><name><surname>Shock</surname><given-names>EL</given-names></name><name><surname>Summons</surname><given-names>RE</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>Hydrothermal ecotones and streamer biofilm communities in the Lower Geyser Basin, Yellowstone National Park</article-title><source>Environmental Microbiology</source><volume>13</volume><fpage>2216</fpage><lpage>2231</lpage><pub-id pub-id-type="doi">10.1111/j.1462-2920.2011.02476.x</pub-id><pub-id pub-id-type="pmid">21453405</pub-id></element-citation></ref><ref id="bib45"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Miller</surname><given-names>SR</given-names></name><name><surname>Carvey</surname><given-names>D</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Ecological divergence with gene flow in a Thermophilic Cyanobacterium</article-title><source>Microbial Ecology</source><volume>78</volume><fpage>33</fpage><lpage>41</lpage><pub-id pub-id-type="doi">10.1007/s00248-018-1267-0</pub-id><pub-id pub-id-type="pmid">30267129</pub-id></element-citation></ref><ref id="bib46"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Moran</surname><given-names>NA</given-names></name><name><surname>McLaughlin</surname><given-names>HJ</given-names></name><name><surname>Sorek</surname><given-names>R</given-names></name></person-group><year iso-8601-date="2009">2009</year><article-title>The dynamics and time scale of ongoing genomic erosion in symbiotic bacteria</article-title><source>Science</source><volume>323</volume><fpage>379</fpage><lpage>382</lpage><pub-id pub-id-type="doi">10.1126/science.1167140</pub-id><pub-id pub-id-type="pmid">19150844</pub-id></element-citation></ref><ref id="bib47"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Moran</surname><given-names>BM</given-names></name><name><surname>Payne</surname><given-names>C</given-names></name><name><surname>Langdon</surname><given-names>Q</given-names></name><name><surname>Powell</surname><given-names>DL</given-names></name><name><surname>Brandvain</surname><given-names>Y</given-names></name><name><surname>Schumer</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>The genomic consequences of hybridization</article-title><source>eLife</source><volume>10</volume><elocation-id>e69016</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.69016</pub-id><pub-id pub-id-type="pmid">34346866</pub-id></element-citation></ref><ref id="bib48"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Mourkas</surname><given-names>E</given-names></name><name><surname>Yahara</surname><given-names>K</given-names></name><name><surname>Bayliss</surname><given-names>SC</given-names></name><name><surname>Calland</surname><given-names>JK</given-names></name><name><surname>Johansson</surname><given-names>H</given-names></name><name><surname>Mageiros</surname><given-names>L</given-names></name><name><surname>Muñoz-Ramirez</surname><given-names>ZY</given-names></name><name><surname>Futcher</surname><given-names>G</given-names></name><name><surname>Méric</surname><given-names>G</given-names></name><name><surname>Hitchings</surname><given-names>MD</given-names></name><name><surname>Sandoval-Motta</surname><given-names>S</given-names></name><name><surname>Torres</surname><given-names>J</given-names></name><name><surname>Jolley</surname><given-names>KA</given-names></name><name><surname>Maiden</surname><given-names>MCJ</given-names></name><name><surname>Ellström</surname><given-names>P</given-names></name><name><surname>Waldenström</surname><given-names>J</given-names></name><name><surname>Pascoe</surname><given-names>B</given-names></name><name><surname>Sheppard</surname><given-names>SK</given-names></name></person-group><year iso-8601-date="2022">2022</year><article-title>Host ecology regulates interspecies recombination in bacteria of the genus <italic>Campylobacter</italic></article-title><source>eLife</source><volume>11</volume><elocation-id>e73552</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.73552</pub-id><pub-id pub-id-type="pmid">35191377</pub-id></element-citation></ref><ref id="bib49"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Nayfach</surname><given-names>S</given-names></name><name><surname>Rodriguez-Mueller</surname><given-names>B</given-names></name><name><surname>Garud</surname><given-names>N</given-names></name><name><surname>Pollard</surname><given-names>KS</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>An integrated metagenomics pipeline for strain profiling reveals novel patterns of bacterial transmission and biogeography</article-title><source>Genome Research</source><volume>26</volume><fpage>1612</fpage><lpage>1625</lpage><pub-id pub-id-type="doi">10.1101/gr.201863.115</pub-id><pub-id pub-id-type="pmid">27803195</pub-id></element-citation></ref><ref id="bib50"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Neher</surname><given-names>RA</given-names></name><name><surname>Hallatschek</surname><given-names>O</given-names></name></person-group><year iso-8601-date="2013">2013</year><article-title>Genealogies of rapidly adapting populations</article-title><source>PNAS</source><volume>110</volume><fpage>437</fpage><lpage>442</lpage><pub-id pub-id-type="doi">10.1073/pnas.1213113110</pub-id></element-citation></ref><ref id="bib51"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Neher</surname><given-names>RA</given-names></name></person-group><year iso-8601-date="2022">2022</year><article-title>Contributions of adaptation and purifying selection to SARS-CoV-2 evolution</article-title><source>Virus Evolution</source><volume>8</volume><elocation-id>veac113</elocation-id><pub-id pub-id-type="doi">10.1093/ve/veac113</pub-id><pub-id pub-id-type="pmid">37593203</pub-id></element-citation></ref><ref id="bib52"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Nei</surname><given-names>M</given-names></name><name><surname>Gojobori</surname><given-names>T</given-names></name></person-group><year iso-8601-date="1986">1986</year><article-title>Simple methods for estimating the numbers of synonymous and nonsynonymous nucleotide substitutions</article-title><source>Molecular Biology and Evolution</source><volume>3</volume><fpage>418</fpage><lpage>426</lpage><pub-id pub-id-type="doi">10.1093/oxfordjournals.molbev.a040410</pub-id><pub-id pub-id-type="pmid">3444411</pub-id></element-citation></ref><ref id="bib53"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ohta</surname><given-names>T</given-names></name><name><surname>Kimura</surname><given-names>M</given-names></name></person-group><year iso-8601-date="1969">1969</year><article-title>Linkage disequilibrium at steady state determined by random genetic drift and recurrent mutation</article-title><source>Genetics</source><volume>63</volume><fpage>229</fpage><lpage>238</lpage><pub-id pub-id-type="doi">10.1093/genetics/63.1.229</pub-id><pub-id pub-id-type="pmid">5365295</pub-id></element-citation></ref><ref id="bib54"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Page</surname><given-names>AJ</given-names></name><name><surname>Cummins</surname><given-names>CA</given-names></name><name><surname>Hunt</surname><given-names>M</given-names></name><name><surname>Wong</surname><given-names>VK</given-names></name><name><surname>Reuter</surname><given-names>S</given-names></name><name><surname>Holden</surname><given-names>MTG</given-names></name><name><surname>Fookes</surname><given-names>M</given-names></name><name><surname>Falush</surname><given-names>D</given-names></name><name><surname>Keane</surname><given-names>JA</given-names></name><name><surname>Parkhill</surname><given-names>J</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Roary: rapid large-scale prokaryote pan genome analysis</article-title><source>Bioinformatics</source><volume>31</volume><fpage>3691</fpage><lpage>3693</lpage><pub-id pub-id-type="doi">10.1093/bioinformatics/btv421</pub-id><pub-id pub-id-type="pmid">26198102</pub-id></element-citation></ref><ref id="bib55"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Papke</surname><given-names>RT</given-names></name><name><surname>Ramsing</surname><given-names>NB</given-names></name><name><surname>Bateson</surname><given-names>MM</given-names></name><name><surname>Ward</surname><given-names>DM</given-names></name></person-group><year iso-8601-date="2003">2003</year><article-title>Geographical isolation in hot spring cyanobacteria</article-title><source>Environmental Microbiology</source><volume>5</volume><fpage>650</fpage><lpage>659</lpage><pub-id pub-id-type="doi">10.1046/j.1462-2920.2003.00460.x</pub-id></element-citation></ref><ref id="bib56"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Price</surname><given-names>MN</given-names></name><name><surname>Dehal</surname><given-names>PS</given-names></name><name><surname>Arkin</surname><given-names>AP</given-names></name></person-group><year iso-8601-date="2010">2010</year><article-title>FastTree 2 – approximately maximum-likelihood trees for large alignments</article-title><source>PLOS ONE</source><volume>5</volume><elocation-id>e9490</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pone.0009490</pub-id></element-citation></ref><ref id="bib57"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Quast</surname><given-names>C</given-names></name><name><surname>Pruesse</surname><given-names>E</given-names></name><name><surname>Yilmaz</surname><given-names>P</given-names></name><name><surname>Gerken</surname><given-names>J</given-names></name><name><surname>Schweer</surname><given-names>T</given-names></name><name><surname>Yarza</surname><given-names>P</given-names></name><name><surname>Peplies</surname><given-names>J</given-names></name><name><surname>Glöckner</surname><given-names>FO</given-names></name></person-group><year iso-8601-date="2013">2013</year><article-title>The SILVA ribosomal RNA gene database project: improved data processing and web-based tools</article-title><source>Nucleic Acids Research</source><volume>41</volume><fpage>D590</fpage><lpage>D6</lpage><pub-id pub-id-type="doi">10.1093/nar/gks1219</pub-id><pub-id pub-id-type="pmid">23193283</pub-id></element-citation></ref><ref id="bib58"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Quinlan</surname><given-names>AR</given-names></name><name><surname>Hall</surname><given-names>IM</given-names></name></person-group><year iso-8601-date="2010">2010</year><article-title>BEDTools: a flexible suite of utilities for comparing genomic features</article-title><source>Bioinformatics</source><volume>26</volume><fpage>841</fpage><lpage>842</lpage><pub-id pub-id-type="doi">10.1093/bioinformatics/btq033</pub-id><pub-id pub-id-type="pmid">20110278</pub-id></element-citation></ref><ref id="bib59"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Rinke</surname><given-names>C</given-names></name><name><surname>Schwientek</surname><given-names>P</given-names></name><name><surname>Sczyrba</surname><given-names>A</given-names></name><name><surname>Ivanova</surname><given-names>NN</given-names></name><name><surname>Anderson</surname><given-names>IJ</given-names></name><name><surname>Cheng</surname><given-names>JF</given-names></name><name><surname>Darling</surname><given-names>A</given-names></name><name><surname>Malfatti</surname><given-names>S</given-names></name><name><surname>Swan</surname><given-names>BK</given-names></name><name><surname>Gies</surname><given-names>EA</given-names></name><name><surname>Dodsworth</surname><given-names>JA</given-names></name><name><surname>Hedlund</surname><given-names>BP</given-names></name><name><surname>Tsiamis</surname><given-names>G</given-names></name><name><surname>Sievert</surname><given-names>SM</given-names></name><name><surname>Liu</surname><given-names>WT</given-names></name><name><surname>Eisen</surname><given-names>JA</given-names></name><name><surname>Hallam</surname><given-names>SJ</given-names></name><name><surname>Kyrpides</surname><given-names>NC</given-names></name><name><surname>Stepanauskas</surname><given-names>R</given-names></name><name><surname>Rubin</surname><given-names>EM</given-names></name><name><surname>Hugenholtz</surname><given-names>P</given-names></name><name><surname>Woyke</surname><given-names>T</given-names></name></person-group><year iso-8601-date="2013">2013</year><article-title>Insights into the phylogeny and coding potential of microbial dark matter</article-title><source>Nature</source><volume>499</volume><fpage>431</fpage><lpage>437</lpage><pub-id pub-id-type="doi">10.1038/nature12352</pub-id><pub-id pub-id-type="pmid">23851394</pub-id></element-citation></ref><ref id="bib60"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Rinke</surname><given-names>C</given-names></name><name><surname>Lee</surname><given-names>J</given-names></name><name><surname>Nath</surname><given-names>N</given-names></name><name><surname>Goudeau</surname><given-names>D</given-names></name><name><surname>Thompson</surname><given-names>B</given-names></name><name><surname>Poulton</surname><given-names>N</given-names></name><name><surname>Dmitrieff</surname><given-names>E</given-names></name><name><surname>Malmstrom</surname><given-names>R</given-names></name><name><surname>Stepanauskas</surname><given-names>R</given-names></name><name><surname>Woyke</surname><given-names>T</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>Obtaining genomes from uncultivated environmental microorganisms using FACS-based single-cell genomics</article-title><source>Nature Protocols</source><volume>9</volume><fpage>1038</fpage><lpage>1048</lpage><pub-id pub-id-type="doi">10.1038/nprot.2014.067</pub-id><pub-id pub-id-type="pmid">24722403</pub-id></element-citation></ref><ref id="bib61"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Rivera</surname><given-names>MC</given-names></name><name><surname>Jain</surname><given-names>R</given-names></name><name><surname>Moore</surname><given-names>JE</given-names></name><name><surname>Lake</surname><given-names>JA</given-names></name></person-group><year iso-8601-date="1998">1998</year><article-title>Genomic evidence for two functionally distinct gene classes</article-title><source>PNAS</source><volume>95</volume><fpage>6239</fpage><lpage>6244</lpage><pub-id pub-id-type="doi">10.1073/pnas.95.11.6239</pub-id></element-citation></ref><ref id="bib62"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Rocha</surname><given-names>EPC</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Neutral theory, microbial practice: challenges in bacterial population genetics</article-title><source>Molecular Biology and Evolution</source><volume>35</volume><fpage>1338</fpage><lpage>1347</lpage><pub-id pub-id-type="doi">10.1093/molbev/msy078</pub-id><pub-id pub-id-type="pmid">29684183</pub-id></element-citation></ref><ref id="bib63"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Rosen</surname><given-names>MJ</given-names></name><name><surname>Davison</surname><given-names>M</given-names></name><name><surname>Bhaya</surname><given-names>D</given-names></name><name><surname>Fisher</surname><given-names>DS</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Microbial diversity. Fine-scale diversity and extensive recombination in a quasisexual bacterial population occupying a broad niche</article-title><source>Science</source><volume>348</volume><fpage>1019</fpage><lpage>1023</lpage><pub-id pub-id-type="doi">10.1126/science.aaa4456</pub-id><pub-id pub-id-type="pmid">26023139</pub-id></element-citation></ref><ref id="bib64"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Rosen</surname><given-names>MJ</given-names></name><name><surname>Davison</surname><given-names>M</given-names></name><name><surname>Fisher</surname><given-names>DS</given-names></name><name><surname>Bhaya</surname><given-names>D</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Probing the ecological and evolutionary history of a thermophilic cyanobacterial population via statistical properties of its microdiversity</article-title><source>PLOS ONE</source><volume>13</volume><elocation-id>e0205396</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pone.0205396</pub-id><pub-id pub-id-type="pmid">30427861</pub-id></element-citation></ref><ref id="bib65"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sakoparnig</surname><given-names>T</given-names></name><name><surname>Field</surname><given-names>C</given-names></name><name><surname>van Nimwegen</surname><given-names>E</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Whole genome phylogenies reflect the distributions of recombination rates for many bacterial species</article-title><source>eLife</source><volume>10</volume><elocation-id>e65366</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.65366</pub-id><pub-id pub-id-type="pmid">33416498</pub-id></element-citation></ref><ref id="bib66"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sankararaman</surname><given-names>S</given-names></name><name><surname>Mallick</surname><given-names>S</given-names></name><name><surname>Dannemann</surname><given-names>M</given-names></name><name><surname>Prüfer</surname><given-names>K</given-names></name><name><surname>Kelso</surname><given-names>J</given-names></name><name><surname>Pääbo</surname><given-names>S</given-names></name><name><surname>Patterson</surname><given-names>N</given-names></name><name><surname>Reich</surname><given-names>D</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>The genomic landscape of Neanderthal ancestry in present-day humans</article-title><source>Nature</source><volume>507</volume><fpage>354</fpage><lpage>357</lpage><pub-id pub-id-type="doi">10.1038/nature12961</pub-id><pub-id pub-id-type="pmid">24476815</pub-id></element-citation></ref><ref id="bib67"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Shapiro</surname><given-names>BJ</given-names></name><name><surname>David</surname><given-names>LA</given-names></name><name><surname>Friedman</surname><given-names>J</given-names></name><name><surname>Alm</surname><given-names>EJ</given-names></name></person-group><year iso-8601-date="2009">2009</year><article-title>Looking for Darwin’s footprints in the microbial world</article-title><source>Trends in Microbiology</source><volume>17</volume><fpage>196</fpage><lpage>204</lpage><pub-id pub-id-type="doi">10.1016/j.tim.2009.02.002</pub-id><pub-id pub-id-type="pmid">19375326</pub-id></element-citation></ref><ref id="bib68"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Shapiro</surname><given-names>BJ</given-names></name><name><surname>Friedman</surname><given-names>J</given-names></name><name><surname>Cordero</surname><given-names>OX</given-names></name><name><surname>Preheim</surname><given-names>SP</given-names></name><name><surname>Timberlake</surname><given-names>SC</given-names></name><name><surname>Szabó</surname><given-names>G</given-names></name><name><surname>Polz</surname><given-names>MF</given-names></name><name><surname>Alm</surname><given-names>EJ</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>Population genomics of early events in the ecological differentiation of bacteria</article-title><source>Science</source><volume>336</volume><fpage>48</fpage><lpage>51</lpage><pub-id pub-id-type="doi">10.1126/science.1218198</pub-id><pub-id pub-id-type="pmid">22491847</pub-id></element-citation></ref><ref id="bib69"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sheppard</surname><given-names>SK</given-names></name><name><surname>McCarthy</surname><given-names>ND</given-names></name><name><surname>Falush</surname><given-names>D</given-names></name><name><surname>Maiden</surname><given-names>MCJ</given-names></name></person-group><year iso-8601-date="2008">2008</year><article-title>Convergence of Campylobacter species: implications for bacterial evolution</article-title><source>Science</source><volume>320</volume><fpage>237</fpage><lpage>239</lpage><pub-id pub-id-type="doi">10.1126/science.1155532</pub-id><pub-id pub-id-type="pmid">18403712</pub-id></element-citation></ref><ref id="bib70"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Smillie</surname><given-names>CS</given-names></name><name><surname>Smith</surname><given-names>MB</given-names></name><name><surname>Friedman</surname><given-names>J</given-names></name><name><surname>Cordero</surname><given-names>OX</given-names></name><name><surname>David</surname><given-names>LA</given-names></name><name><surname>Alm</surname><given-names>EJ</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>Ecology drives a global network of gene exchange connecting the human microbiome</article-title><source>Nature</source><volume>480</volume><fpage>241</fpage><lpage>244</lpage><pub-id pub-id-type="doi">10.1038/nature10571</pub-id></element-citation></ref><ref id="bib71"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sniegowski</surname><given-names>PD</given-names></name><name><surname>Gerrish</surname><given-names>PJ</given-names></name><name><surname>Lenski</surname><given-names>RE</given-names></name></person-group><year iso-8601-date="1997">1997</year><article-title>Evolution of high mutation rates in experimental populations of <italic>E. coli</italic></article-title><source>Nature</source><volume>387</volume><fpage>703</fpage><lpage>705</lpage><pub-id pub-id-type="doi">10.1038/42701</pub-id><pub-id pub-id-type="pmid">9192894</pub-id></element-citation></ref><ref id="bib72"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Song</surname><given-names>YS</given-names></name><name><surname>Song</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="2007">2007</year><article-title>Analytic computation of the expectation of the linkage disequilibrium coefficient r2</article-title><source>Theoretical Population Biology</source><volume>71</volume><fpage>49</fpage><lpage>60</lpage><pub-id pub-id-type="doi">10.1016/j.tpb.2006.09.001</pub-id><pub-id pub-id-type="pmid">17069867</pub-id></element-citation></ref><ref id="bib73"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Stepanauskas</surname><given-names>R</given-names></name><name><surname>Fergusson</surname><given-names>EA</given-names></name><name><surname>Brown</surname><given-names>J</given-names></name><name><surname>Poulton</surname><given-names>NJ</given-names></name><name><surname>Tupper</surname><given-names>B</given-names></name><name><surname>Labonté</surname><given-names>JM</given-names></name><name><surname>Becraft</surname><given-names>ED</given-names></name><name><surname>Brown</surname><given-names>JM</given-names></name><name><surname>Pachiadaki</surname><given-names>MG</given-names></name><name><surname>Povilaitis</surname><given-names>T</given-names></name><name><surname>Thompson</surname><given-names>BP</given-names></name><name><surname>Mascena</surname><given-names>CJ</given-names></name><name><surname>Bellows</surname><given-names>WK</given-names></name><name><surname>Lubys</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Improved genome recovery and integrated cell-size analyses of individual uncultured microbial cells and viral particles</article-title><source>Nature Communications</source><volume>8</volume><elocation-id>84</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-017-00128-z</pub-id><pub-id pub-id-type="pmid">28729688</pub-id></element-citation></ref><ref id="bib74"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Tyson</surname><given-names>GW</given-names></name><name><surname>Chapman</surname><given-names>J</given-names></name><name><surname>Hugenholtz</surname><given-names>P</given-names></name><name><surname>Allen</surname><given-names>EE</given-names></name><name><surname>Ram</surname><given-names>RJ</given-names></name><name><surname>Richardson</surname><given-names>PM</given-names></name><name><surname>Solovyev</surname><given-names>VV</given-names></name><name><surname>Rubin</surname><given-names>EM</given-names></name><name><surname>Rokhsar</surname><given-names>DS</given-names></name><name><surname>Banfield</surname><given-names>JF</given-names></name></person-group><year iso-8601-date="2004">2004</year><article-title>Community structure and metabolism through reconstruction of microbial genomes from the environment</article-title><source>Nature</source><volume>428</volume><fpage>37</fpage><lpage>43</lpage><pub-id pub-id-type="doi">10.1038/nature02340</pub-id></element-citation></ref><ref id="bib75"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Vergin</surname><given-names>KL</given-names></name><name><surname>Tripp</surname><given-names>HJ</given-names></name><name><surname>Wilhelm</surname><given-names>LJ</given-names></name><name><surname>Denver</surname><given-names>DR</given-names></name><name><surname>Rappé</surname><given-names>MS</given-names></name><name><surname>Giovannoni</surname><given-names>SJ</given-names></name></person-group><year iso-8601-date="2007">2007</year><article-title>High intraspecific recombination rate in a native population of Candidatus pelagibacter ubique (SAR11)</article-title><source>Environmental Microbiology</source><volume>9</volume><fpage>2430</fpage><lpage>2440</lpage><pub-id pub-id-type="doi">10.1111/j.1462-2920.2007.01361.x</pub-id><pub-id pub-id-type="pmid">17803769</pub-id></element-citation></ref><ref id="bib76"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Virtanen</surname><given-names>P</given-names></name><name><surname>Gommers</surname><given-names>R</given-names></name><name><surname>Oliphant</surname><given-names>TE</given-names></name><name><surname>Haberland</surname><given-names>M</given-names></name><name><surname>Reddy</surname><given-names>T</given-names></name><name><surname>Cournapeau</surname><given-names>D</given-names></name><name><surname>Burovski</surname><given-names>E</given-names></name><name><surname>Peterson</surname><given-names>P</given-names></name><name><surname>Weckesser</surname><given-names>W</given-names></name><name><surname>Bright</surname><given-names>J</given-names></name><name><surname>van der Walt</surname><given-names>SJ</given-names></name><name><surname>Brett</surname><given-names>M</given-names></name><name><surname>Wilson</surname><given-names>J</given-names></name><name><surname>Millman</surname><given-names>KJ</given-names></name><name><surname>Mayorov</surname><given-names>N</given-names></name><name><surname>Nelson</surname><given-names>ARJ</given-names></name><name><surname>Jones</surname><given-names>E</given-names></name><name><surname>Kern</surname><given-names>R</given-names></name><name><surname>Larson</surname><given-names>E</given-names></name><name><surname>Carey</surname><given-names>CJ</given-names></name><name><surname>Polat</surname><given-names>İ</given-names></name><name><surname>Feng</surname><given-names>Y</given-names></name><name><surname>Moore</surname><given-names>EW</given-names></name><name><surname>VanderPlas</surname><given-names>J</given-names></name><name><surname>Laxalde</surname><given-names>D</given-names></name><name><surname>Perktold</surname><given-names>J</given-names></name><name><surname>Cimrman</surname><given-names>R</given-names></name><name><surname>Henriksen</surname><given-names>I</given-names></name><name><surname>Quintero</surname><given-names>EA</given-names></name><name><surname>Harris</surname><given-names>CR</given-names></name><name><surname>Archibald</surname><given-names>AM</given-names></name><name><surname>Ribeiro</surname><given-names>AH</given-names></name><name><surname>Pedregosa</surname><given-names>F</given-names></name><name><surname>van Mulbregt</surname><given-names>P</given-names></name><collab>SciPy 1.0 Contributors</collab></person-group><year iso-8601-date="2020">2020</year><article-title>SciPy 1.0: fundamental algorithms for scientific computing in Python</article-title><source>Nature Methods</source><volume>17</volume><fpage>261</fpage><lpage>272</lpage><pub-id pub-id-type="doi">10.1038/s41592-019-0686-2</pub-id><pub-id pub-id-type="pmid">32015543</pub-id></element-citation></ref><ref id="bib77"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ward</surname><given-names>DM</given-names></name><name><surname>Ferris</surname><given-names>MJ</given-names></name><name><surname>Nold</surname><given-names>SC</given-names></name><name><surname>Bateson</surname><given-names>MM</given-names></name></person-group><year iso-8601-date="1998">1998</year><article-title>A natural view of microbial biodiversity within hot spring cyanobacterial mat communities</article-title><source>Microbiology and Molecular Biology Reviews</source><volume>62</volume><fpage>1353</fpage><lpage>1370</lpage><pub-id pub-id-type="doi">10.1128/MMBR.62.4.1353-1370.1998</pub-id><pub-id pub-id-type="pmid">9841675</pub-id></element-citation></ref><ref id="bib78"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ward</surname><given-names>DM</given-names></name><name><surname>Bateson</surname><given-names>MM</given-names></name><name><surname>Ferris</surname><given-names>MJ</given-names></name><name><surname>Kühl</surname><given-names>M</given-names></name><name><surname>Wieland</surname><given-names>A</given-names></name><name><surname>Koeppel</surname><given-names>A</given-names></name><name><surname>Cohan</surname><given-names>FM</given-names></name></person-group><year iso-8601-date="2006">2006</year><article-title>Cyanobacterial ecotypes in the microbial mat community of Mushroom Spring (Yellowstone National Park, Wyoming) as species-like units linking microbial community composition, structure and function</article-title><source>Philosophical Transactions of the Royal Society B</source><volume>361</volume><fpage>1997</fpage><lpage>2008</lpage><pub-id pub-id-type="doi">10.1098/rstb.2006.1919</pub-id></element-citation></ref><ref id="bib79"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Ward</surname><given-names>DM</given-names></name><name><surname>Castenholz</surname><given-names>RW</given-names></name><name><surname>Miller</surname><given-names>SR</given-names></name></person-group><year iso-8601-date="2012">2012</year><chapter-title>Cyanobacteria in geothermal habitats</chapter-title><person-group person-group-type="editor"><name><surname>Ward</surname><given-names>DM</given-names></name></person-group><source>In Ecology of Cyanobacteria II: Their Diversity in Space and Time</source><publisher-name>Springer Dordrecht</publisher-name><fpage>39</fpage><lpage>63</lpage><pub-id pub-id-type="doi">10.1007/978-94-007-3855-3_3</pub-id></element-citation></ref><ref id="bib80"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Weimann</surname><given-names>A</given-names></name><name><surname>Dinan</surname><given-names>AM</given-names></name><name><surname>Ruis</surname><given-names>C</given-names></name><name><surname>Bernut</surname><given-names>A</given-names></name><name><surname>Pont</surname><given-names>S</given-names></name><name><surname>Brown</surname><given-names>K</given-names></name><name><surname>Ryan</surname><given-names>J</given-names></name><name><surname>Santos</surname><given-names>L</given-names></name><name><surname>Ellison</surname><given-names>L</given-names></name><name><surname>Ukor</surname><given-names>E</given-names></name><name><surname>Pandurangan</surname><given-names>AP</given-names></name><name><surname>Krokowski</surname><given-names>S</given-names></name><name><surname>Blundell</surname><given-names>TL</given-names></name><name><surname>Welch</surname><given-names>M</given-names></name><name><surname>Blane</surname><given-names>B</given-names></name><name><surname>Judge</surname><given-names>K</given-names></name><name><surname>Bousfield</surname><given-names>R</given-names></name><name><surname>Brown</surname><given-names>N</given-names></name><name><surname>Bryant</surname><given-names>JM</given-names></name><name><surname>Kukavica-Ibrulj</surname><given-names>I</given-names></name><name><surname>Rampioni</surname><given-names>G</given-names></name><name><surname>Leoni</surname><given-names>L</given-names></name><name><surname>Harrison</surname><given-names>PT</given-names></name><name><surname>Peacock</surname><given-names>SJ</given-names></name><name><surname>Thomson</surname><given-names>NR</given-names></name><name><surname>Gauthier</surname><given-names>J</given-names></name><name><surname>Fothergill</surname><given-names>JL</given-names></name><name><surname>Levesque</surname><given-names>RC</given-names></name><name><surname>Parkhill</surname><given-names>J</given-names></name><name><surname>Floto</surname><given-names>RA</given-names></name></person-group><year iso-8601-date="2024">2024</year><article-title>Evolution and host-specific adaptation of <italic>Pseudomonas aeruginosa</italic></article-title><source>Science</source><volume>385</volume><elocation-id>eadi0908</elocation-id><pub-id pub-id-type="doi">10.1126/science.adi0908</pub-id><pub-id pub-id-type="pmid">38963857</pub-id></element-citation></ref><ref id="bib81"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Weissman</surname><given-names>DB</given-names></name><name><surname>Hallatschek</surname><given-names>O</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>The rate of adaptation in large sexual populations with linear chromosomes</article-title><source>Genetics</source><volume>196</volume><fpage>1167</fpage><lpage>1183</lpage><pub-id pub-id-type="doi">10.1534/genetics.113.160705</pub-id><pub-id pub-id-type="pmid">24429280</pub-id></element-citation></ref><ref id="bib82"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Whitaker</surname><given-names>RJ</given-names></name><name><surname>Grogan</surname><given-names>DW</given-names></name><name><surname>Taylor</surname><given-names>JW</given-names></name></person-group><year iso-8601-date="2003">2003</year><article-title>Geographic barriers isolate endemic populations of hyperthermophilic archaea</article-title><source>Science</source><volume>301</volume><fpage>976</fpage><lpage>978</lpage><pub-id pub-id-type="doi">10.1126/science.1086909</pub-id><pub-id pub-id-type="pmid">12881573</pub-id></element-citation></ref><ref id="bib83"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Wu</surname><given-names>M</given-names></name><name><surname>Eisen</surname><given-names>JA</given-names></name></person-group><year iso-8601-date="2008">2008</year><article-title>A simple, fast, and accurate method of phylogenomic inference</article-title><source>Genome Biology</source><volume>9</volume><elocation-id>R151</elocation-id><pub-id pub-id-type="doi">10.1186/gb-2008-9-10-r151</pub-id><pub-id pub-id-type="pmid">18851752</pub-id></element-citation></ref><ref id="bib84"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yahara</surname><given-names>K</given-names></name><name><surname>Didelot</surname><given-names>X</given-names></name><name><surname>Jolley</surname><given-names>KA</given-names></name><name><surname>Kobayashi</surname><given-names>I</given-names></name><name><surname>Maiden</surname><given-names>MCJ</given-names></name><name><surname>Sheppard</surname><given-names>SK</given-names></name><name><surname>Falush</surname><given-names>D</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>The landscape of realized homologous recombination in pathogenic bacteria</article-title><source>Molecular Biology and Evolution</source><volume>33</volume><fpage>456</fpage><lpage>471</lpage><pub-id pub-id-type="doi">10.1093/molbev/msv237</pub-id><pub-id pub-id-type="pmid">26516092</pub-id></element-citation></ref><ref id="bib85"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yarza</surname><given-names>P</given-names></name><name><surname>Yilmaz</surname><given-names>P</given-names></name><name><surname>Pruesse</surname><given-names>E</given-names></name><name><surname>Glöckner</surname><given-names>FO</given-names></name><name><surname>Ludwig</surname><given-names>W</given-names></name><name><surname>Schleifer</surname><given-names>KH</given-names></name><name><surname>Whitman</surname><given-names>WB</given-names></name><name><surname>Euzéby</surname><given-names>J</given-names></name><name><surname>Amann</surname><given-names>R</given-names></name><name><surname>Rosselló-Móra</surname><given-names>R</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>Uniting the classification of cultured and uncultured bacteria and archaea using 16S rRNA gene sequences</article-title><source>Nature Reviews. Microbiology</source><volume>12</volume><fpage>635</fpage><lpage>645</lpage><pub-id pub-id-type="doi">10.1038/nrmicro3330</pub-id><pub-id pub-id-type="pmid">25118885</pub-id></element-citation></ref><ref id="bib86"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zheng</surname><given-names>W</given-names></name><name><surname>Zhao</surname><given-names>S</given-names></name><name><surname>Yin</surname><given-names>Y</given-names></name><name><surname>Zhang</surname><given-names>H</given-names></name><name><surname>Needham</surname><given-names>DM</given-names></name><name><surname>Evans</surname><given-names>ED</given-names></name><name><surname>Dai</surname><given-names>CL</given-names></name><name><surname>Lu</surname><given-names>PJ</given-names></name><name><surname>Alm</surname><given-names>EJ</given-names></name><name><surname>Weitz</surname><given-names>DA</given-names></name></person-group><year iso-8601-date="2022">2022</year><article-title>High-throughput, single-microbe genomics with strain resolution, applied to a human gut microbiome</article-title><source>Science</source><volume>376</volume><elocation-id>eabm1483</elocation-id><pub-id pub-id-type="doi">10.1126/science.abm1483</pub-id><pub-id pub-id-type="pmid">35653470</pub-id></element-citation></ref></ref-list><app-group><app id="appendix-1"><title>Appendix 1</title><sec sec-type="appendix" id="s8"><title>Materials and methods</title><sec sec-type="appendix" id="s8-1"><title>Sample collection and sequencing</title><p>Cork borers (approximate diameter 0.5–1 mm) were used to collect mat core samples from Octopus Spring (4453401N, 11079781W) and Mushroom Spring (4453861N, 11079791W). Samples were collected in 2005, 2006, 2007, and 2009 under YNP Park Permits (YELL-5494, YELL-5660, YELL 5694). Cores were immediately frozen until later use. Frozen samples were shipped to the Joint Genome Institute (JGI) in 2019, where they were processed and sequenced.</p><p>At JGI, for disaggregation of sample, frozen mat cores were cut into pieces using a razor blade on glass over dry ice and aliquoted chunks of approximately 5 mm diameter. Next, 500 µl PBS and 50 µl of 500 mM NaEDTA were added. Samples were vortexed briefly, sonicated for 1 min on benchtop sonicator, and vortexed briefly again. Passed 25 times through a 25-gauge needle and run through a 35-µm strainer cap. Next, 100 µl were placed in 900 µl PBS and stained with SYBR Green at 1X. Samples were run on the Influx with Gate SYBR+ Cells and Gate 670/30 off of 632 autofluorescence. Next, samples were sorted on a BD influx following the protocol outlined in <xref ref-type="bibr" rid="bib60">Rinke et al., 2014</xref>, and single-cell genomes were amplified with WGAX protocol as described in <xref ref-type="bibr" rid="bib73">Stepanauskas et al., 2017</xref>. Certain samples from plate YuBhay.Octo06.RedA.3 received an additional treatment with lysozyme (20 min at room temp in 50 U/µl prior to alkaline lysis) because of difficulty lysing the cells. Otherwise, they followed the standard alkaline lysis described in <xref ref-type="bibr" rid="bib73">Stepanauskas et al., 2017</xref>. In brief, libraries were made with Nextera XT v2 kits and sequenced on an Illumina Novaseq in 2 × 150 bp mode. Reads were assembled into contigs and annotated using the Integrated Microbial Genomes (IMG) platform as described in <xref ref-type="bibr" rid="bib59">Rinke et al., 2013</xref>. All of the data generated for this study is available on the JGI website, under the project ID 503441.</p></sec><sec sec-type="appendix" id="s8-2"><title>Data processing</title><fig id="app1fig1" position="float"><label>Appendix 1—figure 1.</label><caption><title>The genome coverage across single-amplified genomes (SAGs) is highly variable.</title><p>The SAG coverage, defined as the total length of contigs, is shown for all 331 SAGs (after quality control). SAGs were grouped by species (see Appendix 2) sorted in descending order of coverage within each species. The solid orange and blue horizontal lines show the genome sizes of OS-A and OS-B’. The dashed orange and blue lines show the threshold used to define high-coverage SAGs. The values of the thresholds are set at 75% of the length of the reference genomes.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app1-fig1-v1.tif"/></fig><p>In this section, we describe the procedure we used to process the single-amplified genomes (SAGs). Our analysis is based on grouping genes into orthologous gene clusters or <italic>orthogroups</italic>, which are then analyzed separately. This procedure makes it much easier to analyze the fragmented and incomplete genomes resulting from single-cell sequencing (<xref ref-type="fig" rid="app1fig1">Appendix 1—figure 1</xref>) compared to multiple-sequence alignment (MSA) of entire genomes, which are sometimes used for analyzing genomes obtained from isolates. An alternative approach is to align the assemblies or even the raw reads to reference genomes. In our case, there are only two reference genomes available, OS-A and OS-B’, so aligning to them would likely result in biases in the inferred diversity.</p><p>There are several ways of constructing orthogroups: (1) pairwise comparisons or (2) graph methods. Graph methods have the advantage that they produce sets of mutually homologous genes so we decided to use this approach. There are several packages available for identifying homologous gene clusters among samples of different genomes. Most widely used packages, such as OrthoDB (<xref ref-type="bibr" rid="bib36">Kriventseva et al., 2007</xref>) and OrthoFinder (<xref ref-type="bibr" rid="bib23">Emms and Kelly, 2015</xref>), were designed for finding homologs between different eukaryotic species and are inappropriate for studying large bacterial pangenomes (<xref ref-type="bibr" rid="bib21">Ding et al., 2018</xref>). More recently, several groups have developed packages that allow for efficient construction of large bacterial pangenomes (<xref ref-type="bibr" rid="bib54">Page et al., 2015</xref>; <xref ref-type="bibr" rid="bib21">Ding et al., 2018</xref>). However, such packages are primarily aimed at studying large collections of isolate genomes and were not designed to handle samples with low genome coverage, which are common in single-cell sequencing projects such as ours. As a result, we implemented a custom pipeline for processing the single-cell genome assemblies and constructing the pangenome from these sequences. The pipeline is divided into two parts: (1) a pre-processing step where assemblies are filtered for contamination and checked for misassemblies and misannotations, and (2) a gene clustering step, in which clusters of homologous genes are identified and paralogs are separated from true orthologs. The second half of the pipeline closely follows the approach taken in <xref ref-type="bibr" rid="bib21">Ding et al., 2018</xref>. A more detailed outline of the pipeline is given below. For details on the assignment of sequence clusters within orthogroups to different species, see Appendix 5.</p></sec><sec sec-type="appendix" id="s8-3"><title>Outline of data processing pipeline</title><list list-type="order" id="list1"><list-item><p>Data pre-processing</p></list-item><list-item><p>Orthogroup clustering</p></list-item><list-item><p>Orthogroup MSA</p></list-item><list-item><p>Deep branch splitting</p></list-item><list-item><p>Orthogroup species clustering</p></list-item><list-item><p>Reference genome mapping</p></list-item></list><p>The rest of this section explains how each step in the pipeline was performed. Readers not interested in the details may wish to move on to the next section.</p><sec sec-type="appendix" id="s8-3-1"><title>Data pre-processing</title><p>The goal of this step is to remove (1) SAGs from non-<italic>Synechococcus</italic> OS species, (2) SAGs that might have resulted from sequencing multiple cells in the same reaction well, and (3) contigs that might be the result of contamination from external DNA or other sequencing wells. We first removed all SAGs that were positive controls in which multiple cells were amplified in the same reaction well (all SAGs from the third column of the 384-well plate in our case). We then aligned all of the genes in our data to the OS-A and OS-B’ reference genomes using BLAST (alignment parameters: <monospace>-evalue 1E-10 -word_size 8 -qcov_hsp_perc 75.0</monospace>). We then removed all SAGs with &gt;50% of genes that did not map to either reference genome. The remaining SAGs are assumed to be from <italic>Synechococcus</italic> OS cells. Next, we filtered out all contigs without any hits to OS-A and OS-B’. This was done to avoid external DNA or cross-contamination from affecting the rate of hybridization we observed.</p><p>Next, we removed any remaining SAGs that were suspected to have been the result of sequencing multiple cells in the same well. We reasoned that sequencing multiple cells would lead to an increase in the number of duplicated genes in the SAG. We used the probability of sampling a gene with more than one copy in the two reference genomes, both ∼10%, as a benchmark and removed all SAGs with a multicopy frequency &gt;20%.</p><p>Preliminary analysis of the data following the above filtering procedure revealed the existence of a small number of palindromic contigs, in which the first half of the sequence was mirrored exactly in the second half, that were very likely the result of assembly artifacts. To remove these artifacts, we labeled the genes in each contig based on the hits to the reference genomes and used these to search for palindromic sequences within each contig. We then removed any contig that contained a palindromic subsequence that was either longer than four genes or contained &gt;50% of genes in the contig. Finally, we removed all partial genes from the remaining contigs to simplify the analysis of the multiple-sequence alignments (MSA), which we performed next.</p></sec><sec sec-type="appendix" id="s8-3-2"><title>Orthogroup clustering</title><p>The goal of this step is to obtain clusters of orthologous genes or <italic>orthogroups</italic>, which were used in subsequent analysis. To do this, we followed (<xref ref-type="bibr" rid="bib54">Page et al., 2015</xref>; <xref ref-type="bibr" rid="bib21">Ding et al., 2018</xref>) and used a Markov clustering algorithm to find groups of sequences that were similar to each other and well-separated from all other sequences (<xref ref-type="bibr" rid="bib24">Enright, 2002</xref>). The Markov clustering algorithm takes as input a similarity graph, where each node represents a gene sequence and the weight of each edge represents the similarity between the two sequences.</p><p>We constructed the gene similarity graph by translating all of the gene sequences in the filtered dataset and performing an all-to-all protein alignment using BLAST (alignment parameters:<monospace> -evalue 1E-3 -word_size 3 -qcov_hsp_perc 75.0</monospace>). Other approaches either perform a pre-alignment clustering (<xref ref-type="bibr" rid="bib54">Page et al., 2015</xref>) or use faster but less sensitive methods for all-to-all alignments (<xref ref-type="bibr" rid="bib21">Ding et al., 2018</xref>), but we found that this was not necessary in our case. The higher sensitivity provided by BLAST could help distinguish between paralogs within large gene families and minimize gene misassignments, but we did not extensively test how the performance would be affected by using other methods. We used the bitscore from the alignments to define the weight of each edge in the similarity graph. Using the bitscore instead of the <italic>e</italic>-value is a simple way to correct for the minimum <italic>e</italic>-value of <inline-formula><alternatives><mml:math id="inf58"><mml:mstyle><mml:mn>1</mml:mn><mml:mi>E</mml:mi><mml:mo>−</mml:mo><mml:mn>180</mml:mn></mml:mstyle></mml:math><tex-math id="inft58">\begin{document}$  1E-180$\end{document}</tex-math></alternatives></inline-formula> in BLAST and has been shown previously to improve the clustering performance (<xref ref-type="bibr" rid="bib27">Gibbons et al., 2015</xref>).</p><p>We used MCL (v. 14-137) to cluster the resulting similarity graph and obtain orthogroups (<xref ref-type="bibr" rid="bib24">Enright, 2002</xref>). We used a relatively small inflation parameter (-I 1.5) in order to cluster genes aggressively and used subsequent steps in the pipeline to split clusters resulting from incorrect cluster assignments or the presence of paralogs (steps 5 and 6). As a first step, we did an additional clustering based on sequence length as follows. We constructed a graph in which all sequences in an orthogroup were represented as nodes and edges were attached between pairs of sequences if the difference between their lengths was less than 30% of their average length. We then identified all connected components in this graph. Because homologous genes in OS-A and OS-B’ sometimes have different lengths, we hypothesized that each orthogroup should contain at most two main clusters. We therefore used the following heuristic algorithm to filter out orthogroups with unusual gene length patterns that could possibly result from overly aggressive clustering. If a single-length cluster was present or the largest cluster contained &gt;80% of sequences, only the sequences from the largest cluster were kept and the rest were removed. If two clusters accounted for &gt;80% of sequences, only the sequences in those two clusters were kept and the rest removed. In all other cases, we removed the orthogroup from our dataset and did not include it in subsequent analysis.</p></sec><sec sec-type="appendix" id="s8-3-3"><title>Orthogroup MSA</title><p>The filtered orthogroups from the previous step were aligned using a custom codon-aware alignment algorithm. Briefly, nucleotide sequences were translated into protein sequences and aligned using MAFFT (v. 7.475 with default parameters) (<xref ref-type="bibr" rid="bib33">Katoh and Standley, 2013</xref>). The alignments were then reverse-translated using nucleotide sequences as templates. After alignment, phylogenetic trees for each orthogroup were constructed using FastTree (v. 2.1.11 with parameters <monospace>-nj -noml</monospace>) (<xref ref-type="bibr" rid="bib56">Price et al., 2010</xref>).</p></sec><sec sec-type="appendix" id="s8-3-4"><title>Deep branch splitting</title><p>In this step, we separated gene clusters within the initial orthogroups that were joined by unusually long branches in the phylogenetic tree. Specifically, we implemented the following algorithm. For each orthogroup, we checked the branch length for each node in the phylogenetic tree and grouped any sequences with a branch length greater than a cutoff value <inline-formula><alternatives><mml:math id="inf59"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>b</mml:mi><mml:mi>c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0.3</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft59">\begin{document}$b_c=0.3$\end{document}</tex-math></alternatives></inline-formula> into separate orthogroups. Each newly created orthogroup was realigned as in step 3, and the procedure was repeated until no new orthogroups could be separated. We used the results from previous analysis of homologous genes in OS-A and OS-B’, which showed that typical divergences were ∼0.15 (<xref ref-type="bibr" rid="bib64">Rosen et al., 2018</xref>), as a benchmark to set <inline-formula><alternatives><mml:math id="inf60"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>b</mml:mi><mml:mi>c</mml:mi></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft60">\begin{document}$b_c$\end{document}</tex-math></alternatives></inline-formula>. Based on those results, we expected very few genuine homologs with divergences above <inline-formula><alternatives><mml:math id="inf61"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>b</mml:mi><mml:mi>c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0.3</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft61">\begin{document}$b_c=0.3$\end{document}</tex-math></alternatives></inline-formula>. The clusters that resulted after this step represent the final orthogroups that were used in subsequent analysis.</p></sec><sec sec-type="appendix" id="s8-3-5"><title>Orthogroup species clustering</title><p>We next sought to determine which orthogroups could be reliably partitioned into distinct species clusters, which would be expected if the different species asexually diverged from a common ancestor. To do this, we implemented the following algorithm in a custom Python script. For each orthogroup, the alignments were trimmed to remove excess gaps at the edges using a custom script. We then calculated the fraction of sites with different nucleotide between each pair of sequences and hierarchically clustered the sequences using average linkage as implemented in the Python Scipy package (v. 1.9.3) (<xref ref-type="bibr" rid="bib76">Virtanen et al., 2020</xref>). Preliminary clusters were assigned using a distance cutoff <inline-formula><alternatives><mml:math id="inf62"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0.075</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft62">\begin{document}$d_{c}=0.075$\end{document}</tex-math></alternatives></inline-formula> (<xref ref-type="fig" rid="app1fig2">Appendix 1—figure 2</xref>). To ensure that the clusters were well-separated and robust, we implemented an additional check by requiring that the minimum distance between any two sequences from different clusters be at least <inline-formula><alternatives><mml:math id="inf63"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>c</mml:mi><mml:mo>=</mml:mo><mml:mn>1.5</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft63">\begin{document}$c=1.5$\end{document}</tex-math></alternatives></inline-formula> times greater than the maximum distance between any two sequences within either cluster. Any clusters that did not satisfy this criterion were designated as <italic>mosaic orthogroups</italic>. We validated the robustness of the cluster assignments by <inline-formula><alternatives><mml:math id="inf64"><mml:mstyle><mml:msub><mml:mi>d</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>c</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft64">\begin{document}$  d_{c}$\end{document}</tex-math></alternatives></inline-formula> and c and found only small changes in the results.</p><fig id="app1fig2" position="float"><label>Appendix 1—figure 2.</label><caption><title>Distribution of pairwise nucleotide distances within orthogroups shows clear gap around <inline-formula><alternatives><mml:math id="inf65"><mml:mstyle><mml:msub><mml:mi>π</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>≈</mml:mo><mml:mn>0.075</mml:mn></mml:mstyle></mml:math><tex-math id="inft65">\begin{document}$ \pi_{ij}\approx 0.075$\end{document}</tex-math></alternatives></inline-formula>.</title><p>(<bold>A</bold>) Histogram of nucleotide distances between all pairs of cells across the 1448 core orthogroups. The dashed red line shows the distance cutoff used to define species clusters (<inline-formula><alternatives><mml:math id="inf66"><mml:mstyle><mml:msub><mml:mi>d</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>c</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0.075</mml:mn></mml:mstyle></mml:math><tex-math id="inft66">\begin{document}$ d_{c}=0.075$\end{document}</tex-math></alternatives></inline-formula>). (<bold>B</bold>) Distribution of orthogroups according to the number of species clusters. Species clusters were generated as described in the text using the distance cutoff shown in (<bold>A</bold>).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app1-fig2-v1.tif"/></fig><p>Manual examination of the mosaic orthogroup alignments revealed a small fraction with a large number of gaps. Such alignments could be the result of rapidly evolving genes in the presence of hybridization, but may also result from misalignments or the inclusion of non-orthologous sequences during the orthogroup construction. To simplify subsequent analysis, we therefore removed mosaic orthogroups with an unusually high fraction of gaps.</p></sec><sec sec-type="appendix" id="s8-3-6"><title>Mapping to reference</title><p>For this step, we use reciprocal best hit (RBH) given by BLAST to map the consensus sequences to the OS-A and OS-B’ reference CDS. Since at this point in the pipeline, most sequences within one OG are less than 10% diverged from each other, we use nucleotide sequences for this step to increase the accuracy of the mapping. The consensus sequence for each OG is constructed by finding the consensus codon at each residue along the CDS after replacing all codons containing gaps by a gap codon. The resulting sequences that have RBH to OS-B’ are mapped onto those respective genes. The genes without RBH to OS-B’ are searched against OS-A and mapped to it if an RBH is found.</p></sec></sec></sec></app><app id="appendix-2"><title>Appendix 2</title><sec sec-type="appendix" id="s9"><title>SAG species assignment</title><p>In this section, we outline the method we used to assign genomes to each species cluster. We also verify the robustness of the species assignment by using three different methods and show that they give identical results.</p><p>Comparisons of genomes from bacterial populations often reveal clusters at different length and divergence scales (<xref ref-type="bibr" rid="bib30">Jain et al., 2018</xref>). But the interpretation of such clusters is controversial (<xref ref-type="bibr" rid="bib13">Cohan, 2002</xref>; <xref ref-type="bibr" rid="bib25">Fraser et al., 2009</xref>). There are three main possible interpretations for such patterns. One interpretation is that the clusters represent the bacterial analog of eukaryotic species, which are sexually and ecologically isolated from each other. In practice, a whole-genome divergence cutoff of 5% is frequently used to define bacterial species (<xref ref-type="bibr" rid="bib30">Jain et al., 2018</xref>). An alternative interpretation is that clusters are the result of clonal expansions of particular strains from a much more diverse and possibly more genetically homogeneous population. The third interpretation is that the clusters are the result of uneven sampling from a larger and more diverse population. The unique combination of having a large collection of genomes, with minimal compositional bias, from a geographically isolated population allows us to test these alternatives. We will mainly aim to distinguish between the first two interpretations and the third one by checking whether there are robust genomic clusters in our sample. More discussion on the evidence concerning the first two hypotheses can be found in Appendices 3 and 5.</p><p>We used three different methods to check whether the genomes form robust clusters: the phylogenetic tree of the 16S rRNA sequences, average genome-wide divergence from the two reference genomes OS-A and OS-B’, and patterns of divergences between triplets formed by the SAG and the two reference sequences at different loci. The phylogenetic tree of the 16S is the simplest and still the most commonly used method to characterize the diversity of natural microbial communities (<xref ref-type="bibr" rid="bib85">Yarza et al., 2014</xref>). Because of its practical importance, we included it for comparison with the other two methods. However, in a highly recombining population like the Yellowstone <italic>Synechococcus</italic>, it is not clear to what extent the 16S divergence accurately reflects the whole-genome diversity. To address this question, we used the divergences across the entire genome as a comparison. The main limitation of using summary statistics such as the average divergence across the entire genome is that it obscures heterogeneities along the genome that could have important ecological and evolutionary implications. There are different ways to address this concern. Here, we used an extension of a method first used in <xref ref-type="bibr" rid="bib64">Rosen et al., 2018</xref>, which provides a coarse description of the variation in the diversity patterns across different loci. We present the results from each of these analyses next.</p><p>We first constructed the phylogenetic tree of 16S sequences. Predicted 16S rRNA sequences (117 from 331 filtered SAGs) were extracted and aligned using MAFFT (v7.453) (<xref ref-type="bibr" rid="bib33">Katoh and Standley, 2013</xref>). Two sequences (SAGs MA02M11_3 and MuA02C9) were incomplete and were removed from the analysis. The remaining (115) sequences were hierarchically clustered using the average linkage (UPGMA) method implemented in Scipy. Results are shown in <xref ref-type="fig" rid="app2fig3">Appendix 2—figure 3</xref>, with the colored background showing the species assignment using whole-genome divergences (see below) for comparison. We found perfect agreement between the whole-genome assignment and the largest three clusters in the 16S phylogenetic tree.</p><p>The average divergence within the <italic>α</italic> cluster is approximately half that of <italic>β</italic> (<inline-formula><alternatives><mml:math id="inf67"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mn>1</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>−</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft67">\begin{document}$1\cdot 10^{-3}$\end{document}</tex-math></alternatives></inline-formula> vs <inline-formula><alternatives><mml:math id="inf68"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mn>2</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>−</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft68">\begin{document}$2\cdot 10^{-3}$\end{document}</tex-math></alternatives></inline-formula>). However, a significant fraction of the average divergence within <italic>β</italic> was due to two outliers (MuA1L16 and MusA1J8). After removing the outliers, the average divergence within <italic>β</italic> decreased to <inline-formula><alternatives><mml:math id="inf69"><mml:mstyle><mml:mn>1.7</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow class="MJX-TeXAtom-ORD"><mml:mo>−</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:math><tex-math id="inft69">\begin{document}$  1.7\cdot 10^{-3}$\end{document}</tex-math></alternatives></inline-formula>. Closer investigation of the alignments revealed that both outlier <italic>β</italic> sequences contained a short segment of three SNPs that were identical to all <italic>α</italic> sequences and different from all other <italic>β</italic> sequences, at positions 1067–1072. In addition, MuA1L16 contained a larger segment of almost 200 bp (positions 390–570) containing 10 SNPs and an insertion that were different from all other <italic>β</italic> and were identical to the consensus <inline-formula><alternatives><mml:math id="inf70"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft70">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula>. Apart from these segments, the outlier sequences were typical of the <italic>β</italic> species. This pattern is similar to the SNP blocks discussed in the main text and in Appendix 6 and therefore is likely the result of hybridization between <italic>α</italic> and <italic>β</italic>.</p><p>We compared the 16S rRNA clusters to whole-genome divergences from the two reference genomes, OS-A and OS-B’. We aligned all of the predicted genes from each SAG to all of the coding DNA sequences (CDS) from each reference genome using BLAST (v2.13.0+) (<xref ref-type="bibr" rid="bib2">Altschul et al., 1990</xref>). For each SAG, we calculated the divergence to each reference genome (<inline-formula><alternatives><mml:math id="inf71"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>d</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mtext>pident</mml:mtext><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>100</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft71">\begin{document}$d=1-\text{pident}/100$\end{document}</tex-math></alternatives></inline-formula>) and calculated the average over the best hits across all genes. The results for all SAGs with more than 100 hits to both references are shown in <xref ref-type="fig" rid="fig1">Figure 1A</xref>. Three clear clusters were observed, which we labeled as <italic>α</italic>, <italic>β</italic>, and <italic>γ</italic>. The species of each SAG was assigned as the label corresponding to the cluster it belonged to in <xref ref-type="fig" rid="fig5">Figure 5A</xref>.</p><p>The previous two metrics do not reflect possible heterogeneity in the patterns of diversity along the genome. To characterize this variation on a gene-by-gene basis, we extended a method that was previously used to analyze amplicon data from the Mushroom Spring in <xref ref-type="bibr" rid="bib64">Rosen et al., 2018</xref>. We refer to this method as <italic>gene triplet analysis</italic>. This analysis exploits the separation of scales between and within species clusters. At most loci and in most cells, we observed previously in order to coarse grain the high-dimensional matrix of pairwise divergences into a small number of discrete patterns. Specifically, we take triplets of sequences from the SAGs, OS-A, OS-B’, at loci where all three are homologous and calculate the divergences between all three pairs of sequences. These divergences typically form a triangle as shown in <xref ref-type="fig" rid="app2fig1">Appendix 2—figure 1</xref>. Note that it is possible to have triplets of divergences that violate the triangle inequality, which cannot be represented as triangles in a two-dimensional space. In our data, such cases were rare, but this may not be generally true, particularly for sequences that are not clearly separated and which are the result of extensive recombination. Note, however, that the classification into distinct patterns given below can still be done even in these cases. To reduce the dimensionality of the data further, we define a main cloud diameter <inline-formula><alternatives><mml:math id="inf72"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0.1</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft72">\begin{document}$ d_{M}=0.1$\end{document}</tex-math></alternatives></inline-formula> for the diversity within species. We then classify the shape of the triangle into the 5 distinct patterns shown in <xref ref-type="fig" rid="app2fig1">Appendix 2—figure 1</xref>, depending on whether each side of the triangle is longer or shorter than <inline-formula><alternatives><mml:math id="inf73"><mml:mstyle><mml:msub><mml:mi>d</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft73">\begin{document}$  d_{M}$\end{document}</tex-math></alternatives></inline-formula>. For example, denote the divergence triplet by <inline-formula><alternatives><mml:math id="inf74"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>X</mml:mi><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>X</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft74">\begin{document}$(d_{XA},d_{XB},d_{AB})$\end{document}</tex-math></alternatives></inline-formula>, representing the divergences between the SAG sequence and OS-A, the SAG sequence and OS-B’, and OS-A and OS-B’, respectively. Then the first pattern in <xref ref-type="fig" rid="app2fig1">Appendix 2—figure 1A</xref> (labeled ‘XA–B’) contains loci where <inline-formula><alternatives><mml:math id="inf75"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>X</mml:mi><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&lt;</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft75">\begin{document}$ d_{XA} \lt d_{M}$\end{document}</tex-math></alternatives></inline-formula>, <inline-formula><alternatives><mml:math id="inf76"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>X</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>≥</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft76">\begin{document}$d_{XB}\geq d_{M}$\end{document}</tex-math></alternatives></inline-formula>, and <inline-formula><alternatives><mml:math id="inf77"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>&lt;</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft77">\begin{document}$d_{AB} \lt d_{M}$\end{document}</tex-math></alternatives></inline-formula>, the second pattern (labeled ‘XAB’) contains loci where <inline-formula><alternatives><mml:math id="inf78"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>X</mml:mi><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&lt;</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft78">\begin{document}$d_{XA} \lt d_{M}$\end{document}</tex-math></alternatives></inline-formula>, <inline-formula><alternatives><mml:math id="inf79"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>X</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>&lt;</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft79">\begin{document}$d_{XB} \lt d_{M}$\end{document}</tex-math></alternatives></inline-formula>, and <inline-formula><alternatives><mml:math id="inf80"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>&lt;</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft80">\begin{document}$d_{AB} \lt d_{M}$\end{document}</tex-math></alternatives></inline-formula>, and so on. The cutoff of <inline-formula><alternatives><mml:math id="inf81"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0.1</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft81">\begin{document}$d_{M}=0.1$\end{document}</tex-math></alternatives></inline-formula> is the same as the one used in <xref ref-type="bibr" rid="bib64">Rosen et al., 2018</xref> and provides a good separation between species at a gene by gene basis. The results of our analysis, however, do not depend on the specific value of <inline-formula><alternatives><mml:math id="inf82"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft82">\begin{document}$d_{M}$\end{document}</tex-math></alternatives></inline-formula> as discussed at the end.</p><p>For each SAG, we assigned all genes that were orthologous to OS-A and OS-B’ to one of the five patterns described above. The three rows in <xref ref-type="fig" rid="app2fig1">Appendix 2—figure 1</xref> show typical examples of an <italic>α</italic> (<xref ref-type="fig" rid="app2fig1">Appendix 2—figure 1A</xref>), a <italic>β</italic> (<xref ref-type="fig" rid="app2fig1">Appendix 2—figure 1B</xref>), and the <italic>γ</italic> (<xref ref-type="fig" rid="app2fig1">Appendix 2—figure 1C</xref>) SAG. The majority of genes across each row in <xref ref-type="fig" rid="app2fig1">Appendix 2—figure 1</xref> are found in the XA–B, XB–A, and X–A–B patterns, respectively. This is consistent with the species clusters we saw in the genome-wide average divergences from before. However, we also find a significant minority of genes forming other patterns, most notably XAB, representing genes where all three sequences are within the main cloud (<inline-formula><alternatives><mml:math id="inf83"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>d</mml:mi><mml:mo>&lt;</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft83">\begin{document}$d \lt d_{M}$\end{document}</tex-math></alternatives></inline-formula>). Some of these genes were contained in the divergence troughs discussed in the main text. In the case of the <italic>γ</italic> SAG, the fact that X–A–B is the dominant pattern rules out the possibility that <italic>γ</italic> is a hybrid resulting from the mixture of <inline-formula><alternatives><mml:math id="inf84"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft84">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula> and <italic>β</italic>. Such hybrids have been observed after recent clonal expansions in acid mine drainage microbial communities (<xref ref-type="bibr" rid="bib74">Tyson et al., 2004</xref>; <xref ref-type="bibr" rid="bib43">Lo et al., 2007</xref>), but do not appear to be present at substantial frequency in the Yellowstone community. Instead, it appears that <italic>γ</italic> is a distinct species that diverged from the other two around the same time <italic>α</italic> and <italic>β</italic> diverged from each other.</p><p>Using the pattern described above allows us to compare different SAGs to each other and allows us to test the robustness of the species assignment based on the average genome-wide divergence. Specifically, we assigned to each SAG a gene triple fingerprint <inline-formula><alternatives><mml:math id="inf85"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>f</mml:mi><mml:mo>=</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mi>X</mml:mi><mml:mi>A</mml:mi><mml:mo>−</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mi>X</mml:mi><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mi>X</mml:mi><mml:mo>−</mml:mo><mml:mi>A</mml:mi><mml:mo>−</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mi>X</mml:mi><mml:mo>−</mml:mo><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mi>X</mml:mi><mml:mi>B</mml:mi><mml:mo>−</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft85">\begin{document}$ f=(f_{XA-B},f_{XAB},f_{X-A-B},f_{X-AB},f_{XB-A})$\end{document}</tex-math></alternatives></inline-formula>, representing the fraction of genes with each pattern (note that <inline-formula><alternatives><mml:math id="inf86"><mml:mstyle><mml:munder><mml:mo>∑</mml:mo><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mi>f</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mstyle></mml:math><tex-math id="inft86">\begin{document}$  \sum_{i}f_{i}=1$\end{document}</tex-math></alternatives></inline-formula>). We then compared the fingerprints of each SAG with the species assignment based on the average divergence from OS-A and OS-B’ from <xref ref-type="fig" rid="fig1">Figure 1A</xref>. We found that the fingerprints formed three clear patterns that exactly matched the assignments based on the average divergence (<xref ref-type="fig" rid="app2fig2">Appendix 2—figure 2</xref>). We tested this assignment for different values of <inline-formula><alternatives><mml:math id="inf87"><mml:mstyle><mml:msub><mml:mi>d</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft87">\begin{document}$  d_{M}$\end{document}</tex-math></alternatives></inline-formula> ranging from 1% to 20% and found that the fingerprint patterns were robust across the entire range (data not shown). These results show that the classification into distinct species is robust and consistent across the three methods described.</p><fig id="app2fig1" position="float"><label>Appendix 2—figure 1.</label><caption><title>Species clusters at the gene level approximately match those at the genome level.</title><p>Figures show gene-by-gene comparison of three cells to the OS-A and OS-B’ reference genomes. The cells shown are representative of the <italic>α</italic> (<bold>A</bold>; OctA1J9) and <italic>β</italic> (<bold>B</bold>; MA02H14_2) clusters and the one <inline-formula><alternatives><mml:math id="inf88"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft88">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> cell (<bold>C</bold>; OcA3L13). Each core gene with homologs in both OS-A and OS-B’ was compared to the references and the divergences plotted as a triangle with each side length equal to the divergence between a given pair. The cell sequence is represented by a black dot, with the OS-A and OS-B’ sequences represented by the orange upward and blue downward triangles, respectively. The black circle is a 10% radius which was chosen as a cutoff to classify each gene. The different columns show genes in one of the five possible patterns labeled as follows: XA–B (the cell sequence is less than 10% diverged from OS-A and more than 10% diverged from OS-B’), XAB (all three sequences are within 10% of each other), X–A–B (all three sequences are more than 10% diverged from each other), X–AB (the cell is more than 10% diverged from both OS-A and OS-B’, but both references are less than 10% diverged from each other), and XB–A (the cell is less than 10% diverged from OS-B’ and more than 10% diverged from OS-A).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app2-fig1-v1.tif"/></fig><fig id="app2fig2" position="float"><label>Appendix 2—figure 2.</label><caption><title>The proportion of gene triplet patterns shows three distinct clusters.</title><p>The proportion of genes in each of the five patterns shown in <xref ref-type="fig" rid="app2fig1">Appendix 2—figure 1</xref> is shown for each cell passing our quality control criteria (see Appendix A). Lines represent different cells and are colored according to the species classification based on whole-genome divergences.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app2-fig2-v1.tif"/></fig><fig id="app2fig3" position="float"><label>Appendix 2—figure 3.</label><caption><title>Phylogenetic tree inferred from 16S rRNA agrees with whole-genome species classification.</title><p>The pairwise divergences between all 16S sequences passing quality control were calculated from the multiple sequence alignment performed using MAFFT (<xref ref-type="bibr" rid="bib33">Katoh and Standley, 2013</xref>). The tree was generated using a hierarchical agglomerative clustering algorithm with average linkage (UPGMA) as implemented in SciPy (<xref ref-type="bibr" rid="bib76">Virtanen et al., 2020</xref>).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app2-fig3-v1.tif"/></fig></sec></app><app id="appendix-3"><title>Appendix 3</title><sec sec-type="appendix" id="s10"><title>Metagenome analysis</title><sec sec-type="appendix" id="s10-1"><title>Phylogeny of <italic>γ</italic></title><p>Here, we present the details of the phylogenetic analysis of the <italic>γ</italic> SAG, OA3L13, which shows that it represents a new uncharacterized species within the Yellowstone cyanobacteria population. To establish its phylogeny, we used a concatenated alignment of marker genes, following <xref ref-type="bibr" rid="bib83">Wu and Eisen, 2008</xref>. Of the 31 marker genes used in <xref ref-type="bibr" rid="bib83">Wu and Eisen, 2008</xref>, 16 were covered in the <inline-formula><alternatives><mml:math id="inf89"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft89">\begin{document}$  \gamma$\end{document}</tex-math></alternatives></inline-formula> SAG (<italic>dnaG</italic>, <italic>frr</italic>, <italic>pgk</italic>, <italic>rplA</italic>, <italic>rplK</italic>, <italic>rplL</italic>, <italic>rplM</italic>, <italic>rplS</italic>, <italic>rplT</italic>, <italic>rpsB</italic>, <italic>rpsI</italic>, <italic>rpsJ</italic>, <italic>rpsK</italic>, <italic>rpsM</italic>, <italic>smpB</italic>, and <italic>tsf</italic>) and were used to determine its phylogeny. We used a large collection of cyanobacterial genomes from <xref ref-type="bibr" rid="bib11">Chen et al., 2021</xref> to check for closely related species to <italic>γ</italic>. The concatenated alignment was constructed as follows. For each of the 16 marker genes, we extracted the alignment of all species labeled ‘Thermal springs’ that were within one of the subsections labeled I through V in <xref ref-type="bibr" rid="bib11">Chen et al., 2021</xref> and added the <inline-formula><alternatives><mml:math id="inf90"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft90">\begin{document}$  \gamma$\end{document}</tex-math></alternatives></inline-formula> sequence to the alignment. All ‘?’ characters were replaced with ‘X’. The sequences were then realigned using MAFFT (v7.453) (<xref ref-type="bibr" rid="bib33">Katoh and Standley, 2013</xref>) using default parameters and the alignments were concatenated and trimmed using trimal (v1.4.rev22) (<xref ref-type="bibr" rid="bib10">Capella-Gutiérrez et al., 2009</xref>) with default parameters. Finally, the resulting sequences were realigned using MAFFT and the phylogenetic trees were inferred using FastTree (v2.1.11) (<xref ref-type="bibr" rid="bib56">Price et al., 2010</xref>) with default parameters. The resulting tree is shown in <xref ref-type="fig" rid="app3fig1">Appendix 3—figure 1</xref>.</p><p>To verify that the lack of other closely related genomes to <italic>γ</italic> was not due to the incompleteness of our reference database, we searched for homologs to the 16 <italic>γ</italic> marker genes in the NCBI database. We used the Web version of blast on NCBI with the megablast settings and word size 16. For all 16 marker genes, the top two hits were from OS-A and OS-B’, while all other high-scoring hits had less than 85% nucleotide identity. We are also matching sequences to the 16S rRNA using the SILVA database (v138.1) (<xref ref-type="bibr" rid="bib57">Quast et al., 2013</xref>). Using the non-redundant version of the database (SSU Ref NR99) only gave hits to OS-A and OS-B’ sequences. Using the full database we did find several sequences that were less than 10 SNPs away from the γ sequence across the entire 16S rRNA (&gt;99.7% identity), including one from a previous study of Yellowstone microbiomes (<xref ref-type="bibr" rid="bib44">Meyer-Dombard et al., 2011</xref>). The corresponding divergence of <inline-formula><alternatives><mml:math id="inf91"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mn>3</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>−</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft91">\begin{document}$3\cdot 10^{-3}$\end{document}</tex-math></alternatives></inline-formula> is comparable to the typical diversity within species in our SAGs of <inline-formula><alternatives><mml:math id="inf92"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mn>2</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>−</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft92">\begin{document}$1-2\cdot 10^{-3}$\end{document}</tex-math></alternatives></inline-formula> and much less than the typical divergence between species, which is approximately <inline-formula><alternatives><mml:math id="inf93"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mn>2</mml:mn><mml:mo>−</mml:mo><mml:mn>4</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>−</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft93">\begin{document}$2-4\cdot 10^{-2}$\end{document}</tex-math></alternatives></inline-formula> (Appendix 2).</p><table-wrap id="app3table1" position="float"><label>Appendix 3—table 1.</label><caption><title>Best hits to OA3L13 16S rRNA in SILVA SSU Ref database.</title></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" valign="bottom">SILVA ID</th><th align="left" valign="bottom">Matches/hit length</th><th align="left" valign="bottom">Identity</th><th align="left" valign="bottom">Notes</th></tr></thead><tbody><tr><td align="left" valign="bottom">AFSR01000050</td><td align="left" valign="bottom">1424/1454</td><td align="left" valign="bottom">0.978</td><td align="left" valign="bottom">OS and MS metagenome, <xref ref-type="bibr" rid="bib35">Klatt et al., 2011</xref></td></tr><tr><td align="left" valign="bottom">AY884052</td><td align="left" valign="bottom">1424/1454</td><td align="left" valign="bottom">0.978</td><td align="left" valign="bottom">OS-A isolate, <xref ref-type="bibr" rid="bib1">Allewalt et al., 2006</xref></td></tr><tr><td align="left" valign="bottom">HM448361</td><td align="left" valign="bottom">1382/1386</td><td align="left" valign="bottom">0.997</td><td align="left" valign="bottom"><xref ref-type="bibr" rid="bib44">Meyer-Dombard et al., 2011</xref></td></tr><tr><td align="left" valign="bottom">HM448360</td><td align="left" valign="bottom">1381/1386</td><td align="left" valign="bottom">0.997</td><td align="left" valign="bottom"><xref ref-type="bibr" rid="bib44">Meyer-Dombard et al., 2011</xref></td></tr><tr><td align="left" valign="bottom">KU382141</td><td align="left" valign="bottom">1381/1389</td><td align="left" valign="bottom">0.994</td><td align="left" valign="bottom"/></tr><tr><td align="left" valign="bottom">CP000239</td><td align="left" valign="bottom">1295/1324</td><td align="left" valign="bottom">0.978</td><td align="left" valign="bottom"><italic>Synechococcus</italic> OS-A</td></tr><tr><td align="left" valign="bottom">CP000240</td><td align="left" valign="bottom">1261/1324</td><td align="left" valign="bottom">0.952</td><td align="left" valign="bottom"><italic>Synechococcus</italic> OS-B’</td></tr></tbody></table></table-wrap><fig id="app3fig1" position="float"><label>Appendix 3—figure 1.</label><caption><title><inline-formula><alternatives><mml:math id="inf94"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft94">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> SAG represents a new distinct species within Yellowstone <italic>Synechococcus</italic>.</title><p>Shows the maximum likelihood tree obtained from an alignment of 16 marker genes present in the <inline-formula><alternatives><mml:math id="inf95"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft95">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> SAG together with all other thermophilic cyanobacteria from <xref ref-type="bibr" rid="bib11">Chen et al., 2021</xref>. Colored labels show the two Yellowstone <italic>Synechococcus</italic>, OS-A (orange) and OS-B’ (blue), and the <inline-formula><alternatives><mml:math id="inf96"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft96">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> SAG OA3L13 (green).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app3-fig1-v1.tif"/></fig><p>Inferred abundances of <italic>γ</italic> from metagenomic samples are consistent with a single <italic>γ</italic> SAG in our data (see Appendix 3). To further verify that no other γ SAGs were accidentally excluded during quality control (see Appendix A), we performed a BLAST search (alignment parameters: <monospace>-evalue 1E-10 -word_size 9 -qcov_hsp_perc 75.0</monospace>) of the <italic>γ</italic> genes against the contigs from the SAGs that were filtered out. The results were consistent with the majority of the excluded SAGs containing mostly <italic>α</italic> and <italic>β</italic> genes, with a smaller number of SAGs with divergences around twice as large (<xref ref-type="fig" rid="app3fig2">Appendix 3—figure 2</xref>). This confirms that no other <italic>γ</italic> SAGs were present in our data.</p><fig id="app3fig2" position="float"><label>Appendix 3—figure 2.</label><caption><title>Single-amplified genomes (SAGs) excluded during quality control do not include additional <inline-formula><alternatives><mml:math id="inf97"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft97">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> genomes.</title><p>The distribution of divergences from the best BLAST hit to the <inline-formula><alternatives><mml:math id="inf98"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft98">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> SAG (OcA3L13) across genes for each SAG excluded during the quality control process (see Appendix A) is shown. Each line represents the probability density of divergences across genes for one of the 44 SAGs.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app3-fig2-v1.tif"/></fig></sec></sec><sec sec-type="appendix" id="s11"><title>Estimating abundances of <italic>α</italic>, <italic>β</italic>, and <italic>γ</italic></title><p>To estimate abundances of the three main species <italic>α</italic>, <italic>β</italic>, and <italic>γ</italic> in the Octopus and Mushroom Springs, we recruited metagenomic reads from 34 samples taken from both springs to SAGs from each species. We chose the one γ SAG (OA3L13, ≈70% coverage) along with representative SAGs from <italic>α</italic> (MA02D15, ≈77% coverage) and <italic>β</italic> (OcA2H14, ≈96% coverage) as reference genomes. Hybridization on length scales longer than the typical read size (150 bp in our case) can lead to errors in our estimates of species abundances. To minimize these errors, we only used core genes where three distinct species clusters could be identified and there was no evidence of hybridization in the single-cell data (see Appendices 1 and 5). This resulted in a set of ≈400 genes for each reference. We aligned all the metagenomic reads to these target gene sequences using BowTie2 (v2.3.4, default parameters) (<xref ref-type="bibr" rid="bib37">Langmead and Salzberg, 2012</xref>) and extracted reads aligning to each of the three reference sequences using Samtools (v1.7.0) (<xref ref-type="bibr" rid="bib40">Li et al., 2009</xref>) and bedtools bamtofastq command (v2.26.0) (<xref ref-type="bibr" rid="bib58">Quinlan and Hall, 2010</xref>).</p><p>We assigned the recruited reads to each species cluster if their divergence from their respective reference was less than the ‘main cloud’ radius <inline-formula><alternatives><mml:math id="inf99"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft99">\begin{document}$d_{M}$\end{document}</tex-math></alternatives></inline-formula>. We determined <inline-formula><alternatives><mml:math id="inf100"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft100">\begin{document}$ d_{M}$\end{document}</tex-math></alternatives></inline-formula> self-consistently from the data as follows. For each reference, counted the number of reads that had divergences less than <inline-formula><alternatives><mml:math id="inf101"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft101">\begin{document}$d_{M}$\end{document}</tex-math></alternatives></inline-formula> from that reference sequence and more than <inline-formula><alternatives><mml:math id="inf102"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft102">\begin{document}$d_{M}$\end{document}</tex-math></alternatives></inline-formula> from the other two reference sequences, for <inline-formula><alternatives><mml:math id="inf103"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft103">\begin{document}$ d_{M}$\end{document}</tex-math></alternatives></inline-formula> from 1% to 15%. If the population consists of species clusters with typical diversity <inline-formula><alternatives><mml:math id="inf104"><mml:mstyle><mml:mi>π</mml:mi></mml:mstyle></mml:math><tex-math id="inft104">\begin{document}$  \pi$\end{document}</tex-math></alternatives></inline-formula>, the number of reads within the cloud will increase until <inline-formula><alternatives><mml:math id="inf105"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub><mml:mo>≈</mml:mo><mml:mi>π</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft105">\begin{document}$d_{M}\approx\pi$\end{document}</tex-math></alternatives></inline-formula>. As <inline-formula><alternatives><mml:math id="inf106"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft106">\begin{document}$ d_{M}$\end{document}</tex-math></alternatives></inline-formula> approaches the typical divergence between species <inline-formula><alternatives><mml:math id="inf107"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>d</mml:mi><mml:mo>≈</mml:mo><mml:mn>15</mml:mn><mml:mi mathvariant="normal">%</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft107">\begin{document}$ d\approx 15\%$\end{document}</tex-math></alternatives></inline-formula>, more reads will start to map to multiple reference sequences, so the number of reads uniquely assigned to each species cluster will decrease. Therefore, the number of reads uniquely assigned to each species cluster should have a maximum as a function of <inline-formula><alternatives><mml:math id="inf108"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft108">\begin{document}$ d_{M}$\end{document}</tex-math></alternatives></inline-formula>. We indeed found this to be the case for all three species (data not shown). Empirically, we found that <inline-formula><alternatives><mml:math id="inf109"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>5</mml:mn><mml:mi mathvariant="normal">%</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft109">\begin{document}$d_{M}=5\%$\end{document}</tex-math></alternatives></inline-formula> was close to the maximum for all three species, so we used this value throughout our analysis.</p><p>We found that the average depth of recruited reads across genes varied within the same sample. However, the variations across samples were highly correlated, which confirmed that most reads aligning to our chosen genes came from genomes that were part of the same species cluster rather than from genes transferred across species (<xref ref-type="fig" rid="app3fig3">Appendix 3—figure 3</xref>). We found that the genes that recruited the largest numbers of reads had read depths that were much more similar within the same sample compared to other genes. Interestingly, we found much more variation in depth between genes within the <italic>γ</italic> cluster compared to <italic>α</italic> and <italic>β</italic> (<xref ref-type="fig" rid="app3fig3">Appendix 3—figure 3</xref>). One likely explanation for this is that <italic>γ</italic> contains much more diversity compared to either <italic>α</italic> or <italic>β</italic>.</p><fig id="app3fig3" position="float"><label>Appendix 3—figure 3.</label><caption><title>The number of reads recruited to different loci from the three main species is highly correlated across samples.</title><p>The three panels show the average depth of reads recruited to representative single-amplified genomes (SAGs) from <italic>α</italic> (top), <italic>β</italic> (middle), and <inline-formula><alternatives><mml:math id="inf110"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft110">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> (bottom), respectively. Each panel shows 100 genes with the highest average read depth across samples, with each line representing one gene. Only reads that were &lt;5% diverged from the reference genomes were included.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app3-fig3-v1.tif"/></fig><p>We estimated the abundance of each species cluster by averaging the depth of the 100 genes with the highest average depth across all samples for each cluster. We found that γ was more than an order of magnitude more abundant than our detection threshold given by the metagenomic read depth in 32 out of the 34 metagenome samples (<xref ref-type="fig" rid="app3fig4">Appendix 3—figure 4</xref>). Moreover, its abundance in the two samples for which we had single-cell and metagenome data (MSe4 and OSM3) was close to the detection threshold of the single-cell samples, which was around 2%. This explains why we only obtained a single <italic>γ</italic> cell from the single-cell samples after our quality controls. Finally, we found that the abundance of <italic>γ</italic> was highly correlated with <italic>α</italic> across all samples and was only present at abundances higher than <inline-formula><alternatives><mml:math id="inf111"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>O</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo><mml:mi mathvariant="normal">%</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft111">\begin{document}$ O(1)\%$\end{document}</tex-math></alternatives></inline-formula> in the Mushroom Spring sample taken from 65°C. This suggests that <italic>γ</italic> is, together with <italic>α</italic>, primarily adapted to growth at higher temperatures.</p><fig id="app3fig4" position="float"><label>Appendix 3—figure 4.</label><caption><title>Abundance of <inline-formula><alternatives><mml:math id="inf112"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft112">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> is significantly above detection threshold in 32 of 34 metagenomic samples and is highly correlated with <italic>α</italic>.</title><p>The relative abundances of <italic>α</italic> (orange circles), <italic>β</italic> (blue squares), and <inline-formula><alternatives><mml:math id="inf113"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft113">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> (green diamonds) across all 34 metageomic samples. The detection threshold for the single cell (<inline-formula><alternatives><mml:math id="inf114"><mml:mstyle><mml:msub><mml:mi>f</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mrow class="MJX-TeXAtom-ORD"><mml:mo>/</mml:mo></mml:mrow><mml:mn>48</mml:mn><mml:mo>≈</mml:mo><mml:mn>0.021</mml:mn></mml:mstyle></mml:math><tex-math id="inft114">\begin{document}$ f_{t}=1/48\approx 0.021$\end{document}</tex-math></alternatives></inline-formula>, based on the maximum number of single-amplified genomes [SAGs] per sample) and metagenomic samples is shown in black and gray dashed lines, respectively. The asterisks on the <italic>x</italic>-axis label the two samples (MSe4 and OSM3) with both single-cell and metagenomic data.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app3-fig4-v1.tif"/></fig></sec><sec sec-type="appendix" id="s12"><title>Other <italic>Synechococcus</italic> species</title><p>Are other <italic>Synechococcus</italic> species present in Mushroom or Octopus Spring apart from <italic>α</italic>, <italic>β</italic>, and <italic>γ</italic>? To answer this question, we again used the 34 samples from which we have high-depth metagenomes. We used BLAST with highly sensitive parameter choices to minimize the number of true <italic>Synechococcus</italic> reads not captured. For computational efficiency, we focused on the 100 genes with highest coverage depth in the metagenomes across all three references.</p><p>To determine how much of the population is in the <italic>α–β</italic>–<italic>γ</italic> main cloud, we used the same three SAGs as in the previous subsection as references and recruited reads using BLAST (<monospace>-task blastn -evalue 1e-3 -word_size 6 -num_threads 32</monospace>). Using these parameters, we could recruit reads belonging to the dominant <italic>Roseiflexus</italic> species in our samples, which is in a different phylum from <italic>Synechococcus</italic>. We were therefore confident that any reads from other potential <italic>Synechococcus</italic> species would be included in our analysis. To limit the analysis to just <italic>Synechococcus</italic> species, we removed all reads that were more than 20% diverged from all of our references from subsequent analysis.</p><p>Because of the large amount of data in this analysis, we focus on just the Mushroom Spring samples taken from different temperatures (MS temperature series). We recruited a total of 4,522,833 reads with an average depth per gene of 4980. We calculated the minimum divergence from the three reference sequences for each read and found 94% within 5% divergence of one of them (<xref ref-type="fig" rid="app3fig5">Appendix 3—figure 5A</xref>). For comparison, we determined the typical divergences between species by dividing the reference sequences into 150 bp segments (the same size as our reads) and calculating the divergences between all three pairs of species (<xref ref-type="fig" rid="app3fig5">Appendix 3—figure 5B</xref>). The middle 95-percentile of the combined distributions extended down to a divergence of around 5% (eight SNPs), consistent with our cutoff for the intraspecies divergences at these loci. These results are consistent with all of the <italic>Synechococcus</italic> reads being from one of the three species and set an upper bound on the relative abundance of any other species at below 4%.</p><p>To check how sensitive our detection method is to the presence of other species, we used the Mushroom Spring sample from 65 in which <italic>γ</italic> had a relatively high abundance. To mimic the presence of another species, we compared the previous distributions to the distribution of the minimum divergence from <italic>α</italic> and <italic>β</italic> only (dashed red line in <xref ref-type="fig" rid="app3fig5">Appendix 3—figure 5A</xref>). We found a 19% decrease in cumulative number of reads within 5% from the references in this case, which was very close to the 21% abundance of <inline-formula><alternatives><mml:math id="inf115"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft115">\begin{document}$  \gamma$\end{document}</tex-math></alternatives></inline-formula> we estimated in the previous subsection based on the average depth across loci. This shows that our method is sensitive to the presence of other species and illustrates the benefits of combining single-cell and metagenome analysis for identifying unknown species.</p><fig id="app3fig5" position="float"><label>Appendix 3—figure 5.</label><caption><title>A vast majority of <italic>Synechococcus</italic> core gene sequences are within the <italic>α–β–</italic><inline-formula><alternatives><mml:math id="inf116"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft116">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> main clouds.</title><p>(<bold>A</bold>) Cumulative distribution of the minimum divergence of each read from the reference sequences across all loci used in the left panel. Different colors represent samples taken from different temperatures from Mushroom Spring. Solid lines show minimum divergence from all three references, and dashed lines from <italic>α</italic> and <italic>β</italic> only. Shaded olive region shows the typical divergences between species shown in the right panel. (<bold>B</bold>) Histogram of pairwise divergences between three representative single-amplified genomes (SAGs) for <italic>α</italic>, <italic>β</italic>, and <inline-formula><alternatives><mml:math id="inf117"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft117">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> at the 100 core loci chosen for illustration. Distributions are across all 150 bp segments from each locus. Shaded olive region is the middle 95% percentile for the combined distribution.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app3-fig5-v1.tif"/></fig><p>To further verify that no other <italic>Synechococcus</italic> species were present in our samples, we closely examined the diversity of 16S sequences. We used only single reads in our analysis instead of trying to assemble full sequences to prevent misinference caused by hybridization. Because the diversity along the 16S sequence is highly heterogeneous, variation between read recruitment locations can dominate the variation between species. We controlled for this by limiting the analysis to reads that aligned within a given region of the 16S. For 150 bp reads, we found that using segment sizes of 200 bp provided the best compromise between increasing depth and minimizing variance due to alignment location. To find the most informative region, we calculated the nucleotide diversity at each site <inline-formula><alternatives><mml:math id="inf118"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mrow><mml:mi class="mathcal" mathvariant="script">H</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>2</mml:mn><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo fence="false" stretchy="false">⟩</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft118">\begin{document}$\mathcal{H}_{i}=2\langle f_{i}(1-f)\rangle$\end{document}</tex-math></alternatives></inline-formula>, where <inline-formula><alternatives><mml:math id="inf119"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft119">\begin{document}$f_{i}$\end{document}</tex-math></alternatives></inline-formula> is the minor allele frequency at site <inline-formula><alternatives><mml:math id="inf120"><mml:mstyle><mml:mi>i</mml:mi></mml:mstyle></mml:math><tex-math id="inft120">\begin{document}$  i$\end{document}</tex-math></alternatives></inline-formula>, and averaged it over all 200 bp segments along the 16S (<xref ref-type="fig" rid="app3fig6">Appendix 3—figure 6A</xref>). We found the diversity varied by more than a factor of four, consistent with the presence of conserved and variable regions. The diversity was nearly identical when using all three species as reference genomes, suggesting our recruitment captured all sequences within the main cloud. The highest average diversity was close to 400–600 bp segments, which we chose for further analysis.</p><p>We calculated the distribution of divergences from the <italic>γ</italic> allele for all reads recruited from this segment for MS temperature series. We found temperatures of 60°C and below had two distinct peaks close to <xref ref-type="fig" rid="app3fig6">Appendix 3—figure 6B</xref> 4% and 8% divergences. For comparison, we calculated the range of divergences from <italic>α</italic> and <italic>β</italic> for all 150 bp subsegments within the 400–600 bp segment and found these matched with the two peaks we observed. At 65°C, we also found only two peaks, one close to zero and another close to 4%, consistent with our previous estimates showing that this sample mainly consisted of <italic>α</italic> and <italic>γ</italic> cells.</p><fig id="app3fig6" position="float"><label>Appendix 3—figure 6.</label><caption><title>Diversity of <italic>Synechococcus</italic> 16S rRNA sequences from Mushroom Spring temperature series samples is entirely contained within the <italic>α–β–</italic><inline-formula><alternatives><mml:math id="inf121"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft121">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> main clouds.</title><p>(<bold>A</bold>) Average diversity <inline-formula><alternatives><mml:math id="inf122"><mml:mstyle><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi class="MJX-tex-caligraphic" mathvariant="script">H</mml:mi></mml:mrow></mml:mstyle></mml:math><tex-math id="inft122">\begin{document}$ \mathcal{H}$\end{document}</tex-math></alternatives></inline-formula> (see text) of metagenome reads from all 34 samples mapping to <italic>Synechococcus</italic> along the length of the 16S sequence. Averaging was done over all sites within a 200-bp window starting at the location given by the <italic>x</italic>-axis. Results for reads recruited using each of the three main species as a reference sequence are shown in different colors. A black dashed line indicates the 400–600 bp segment with the highest diversity which was chosen for subsequent analysis. (<bold>B</bold>) Distribution of nucleotide divergences from the <inline-formula><alternatives><mml:math id="inf123"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft123">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> allele within the 400–600 bp segment of the 16S for four different samples taken from Mushroom Spring. Shaded regions show the range of divergences of OS-A (orange) and OS-B’ (blue) from <inline-formula><alternatives><mml:math id="inf124"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft124">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> across all 51 windows of 150 bp length, corresponding to the range of expected divergences of reads from <italic>α</italic> and <italic>β</italic>.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app3-fig6-v1.tif"/></fig><p>Do peaks correspond to single-species clusters or are they amalgamations of several distinct species with similar divergences from each other? To answer this question, we constructed a multiple-sequence alignment of all of the 16S reads recruited across the 34 metagenome samples and performed a hierarchical clustering on the pairwise divergence matrix using average linkage. Pairwise divergences were calculated by padding the reads with gaps to ensure all sequences were 200 bp in length and calculating the nucleotide divergence ignoring any gaps. For the MS temperature series, we found 97% of reads were in one of the three clusters associated with <italic>α</italic>, <italic>β</italic>, or <italic>γ</italic> (<xref ref-type="fig" rid="app3fig7">Appendix 3—figure 7A–D</xref>). Consistent with our previous results, samples below 65°C had two main clusters close to OS-A and OS-B’ (<xref ref-type="fig" rid="app3fig7">Appendix 3—figure 7A–C</xref>), while at 65°C they were close to γ and OS-A (<xref ref-type="fig" rid="app3fig7">Appendix 3—figure 7D</xref>). Aggregating across all 34 metagenome samples, we found that <italic>α</italic> and <italic>β</italic> were the two dominant clusters, with γ being the next largest (<xref ref-type="fig" rid="app3fig7">Appendix 3—figure 7E, F</xref>). We also observed a large difference in the overall abundances of <italic>α</italic> and <italic>β</italic> across the two springs, but the very large heterogeneity across samples we found previously (<xref ref-type="fig" rid="app3fig4">Appendix 3—figure 4</xref>) suggests this is likely due to the particular samples used in this study and may not necessarily be an accurate reflection of the overall abundances in the two springs.</p><fig id="app3fig7" position="float"><label>Appendix 3—figure 7.</label><caption><title>All <italic>Synechococcus</italic> 16S rRNA sequences from the metagenome samples belong to one of the three known species clusters.</title><p>(<bold>A–D</bold>) Each subpanel shows the matrix of pairwise divergences between all reads recruited to the 400−600 bp segment of the <inline-formula><alternatives><mml:math id="inf125"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft125">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> 16S rRNA sequence for the four samples from the MS temperature series. Dashed lines highlight the OS-A, OS-B’, and <inline-formula><alternatives><mml:math id="inf126"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft126">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula> reference sequences in this segment for comparison. (<bold>E, F</bold>) Same as above using a subsample of reads recruited from all 34 metagenome samples divided by spring.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app3-fig7-v1.tif"/></fig></sec></app><app id="appendix-4"><title>Appendix 4</title><sec sec-type="appendix" id="s13"><title>Linkage analysis</title><p>In this section, we summarize our analysis of linkage disequilibrium within <italic>α</italic> and <italic>β</italic>. The structure of this section is as follows. We begin by reviewing definitions of two commonly used ways to quantify linkage disequilibrium. We then compare the rate of decay of linkage disequilibrium within and between the two species. We next compare the decrease in linkage in the data to theoretical predictions from the neutral model and show that while the decay is similar to the neutral model prediction, the overall shape of the linkage decay curves cannot be fully explained by the classical neutral model. We then show that within <italic>α</italic>, there is substantial heterogeneity in the rate of linkage decay in low-diversity regions compared to high-diversity ones. Surprisingly, we find that linkage decreases more rapidly in low-divergence regions, suggesting the absence of a clonal frame for <italic>α</italic> even on short time scales. The final subsection presents a technical validation of our method for processing alignments showing that our results are robust to filtering for outlier gene alleles.</p></sec><sec sec-type="appendix" id="s14"><title>Statistical measures of linkage disequilibrium</title><p>We used two distinct but related methods for quantifying linkage disequilibrium, <inline-formula><alternatives><mml:math id="inf127"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft127">\begin{document}$\sigma_{d}^{2}$\end{document}</tex-math></alternatives></inline-formula> and <inline-formula><alternatives><mml:math id="inf128"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msup><mml:mi>r</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft128">\begin{document}$ r^{2}$\end{document}</tex-math></alternatives></inline-formula>. Both metrics are related to the correlation coefficient between alleles at two loci but differ in their normalization. For a single pair of loci <italic>A</italic> and <italic>B</italic> with alleles A/a and B/b, we can define the correlation coefficient between their respective frequencies as<disp-formula id="equ2"><label>(2)</label><alternatives><mml:math id="m2"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow><mml:mn>2</mml:mn></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mn>2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mfrac><mml:mo>.</mml:mo></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t2">\begin{document}$$\displaystyle  r_{AB}^2 = \frac{(f_{AB} - f_Af_B)^2}{f_A(1 - f_A)f_B(1 - f_B)}.$$\end{document}</tex-math></alternatives></disp-formula></p><p>Using this expression, we can define a statistical measure of linkage as a function of distance along the genome by averaging over pairs of loci with a given separation <inline-formula><alternatives><mml:math id="inf129"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft129">\begin{document}$x=|x_{A}-x_{B}|$\end{document}</tex-math></alternatives></inline-formula>, where <inline-formula><alternatives><mml:math id="inf130"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft130">\begin{document}$ x_{A}$\end{document}</tex-math></alternatives></inline-formula> and <inline-formula><alternatives><mml:math id="inf131"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft131">\begin{document}$x_{B}$\end{document}</tex-math></alternatives></inline-formula> are the positions of the two loci along the genome. The two most common ways to perform the average are<disp-formula id="equ3"><label>(3)</label><alternatives><mml:math id="m3"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msubsup><mml:mi>σ</mml:mi><mml:mi>d</mml:mi><mml:mn>2</mml:mn></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:msub><mml:mrow><mml:mo>⟨</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mn>2</mml:mn></mml:msup></mml:mrow><mml:mo>⟩</mml:mo></mml:mrow><mml:mrow><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mo>⟨</mml:mo><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>⟩</mml:mo></mml:mrow><mml:mrow><mml:mrow><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:mfrac><mml:mo>,</mml:mo></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t3">\begin{document}$$\displaystyle   \sigma_d^2(x) = \frac{\left \langle (f_{AB} - f_Af_B)^2 \right \rangle_{|x_A - x_B|=x}}{ \left \langle f_A(1 - f_A)f_B(1 - f_B) \right \rangle_{{|x_A - x_B|=x}}},$$\end{document}</tex-math></alternatives></disp-formula></p><p>and<disp-formula id="equ4"><label>(4)</label><alternatives><mml:math id="m4"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msup><mml:mi>r</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mo>⟨</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mn>2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mfrac><mml:mo>⟩</mml:mo></mml:mrow><mml:mrow><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t4">\begin{document}$$\displaystyle   r^2(x) = \left \langle \frac{(f_{AB} - f_Af_B)^2}{f_A(1 - f_A)f_B(1 - f_B)} \right \rangle_{|x_A - x_B|=x}.$$\end{document}</tex-math></alternatives></disp-formula></p><p>For a neutral panmitic and well-mixed population, both metrics decrease as <inline-formula><alternatives><mml:math id="inf132"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>∼</mml:mo><mml:msup><mml:mi>r</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>∼</mml:mo><mml:mn>1</mml:mn><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>x</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft132">\begin{document}$\sigma_{d}^{2}(x)\sim r^{2}(x)\sim 1/x$\end{document}</tex-math></alternatives></inline-formula>. For <inline-formula><alternatives><mml:math id="inf133"><mml:mstyle><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>d</mml:mi></mml:mrow><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:math><tex-math id="inft133">\begin{document}$  \sigma_{d}^{2}$\end{document}</tex-math></alternatives></inline-formula>, there also exists an analytic expression (<xref ref-type="bibr" rid="bib53">Ohta and Kimura, 1969</xref>):<disp-formula id="equ5"><label>(5)</label><alternatives><mml:math id="m5"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msubsup><mml:mi>σ</mml:mi><mml:mi>d</mml:mi><mml:mn>2</mml:mn></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>10</mml:mn><mml:mo>+</mml:mo><mml:mn>2</mml:mn><mml:mi>N</mml:mi><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mn>22</mml:mn><mml:mo>+</mml:mo><mml:mn>26</mml:mn><mml:mi>N</mml:mi><mml:mi>R</mml:mi><mml:mo>+</mml:mo><mml:mn>4</mml:mn><mml:mo stretchy="false">(</mml:mo><mml:mi>N</mml:mi><mml:mi>R</mml:mi><mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t5">\begin{document}$$\displaystyle   \sigma_d^2 = \frac{10 + 2NR}{22 + 26NR + 4(NR)^2},$$\end{document}</tex-math></alternatives></disp-formula></p><p>where <inline-formula><alternatives><mml:math id="inf134"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>N</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft134">\begin{document}$ N$\end{document}</tex-math></alternatives></inline-formula> is the population size, and <inline-formula><alternatives><mml:math id="inf135"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>R</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft135">\begin{document}$ R$\end{document}</tex-math></alternatives></inline-formula> the recombination rate per base pair per generation. When recombination is rare and occurs via crossover <inline-formula><alternatives><mml:math id="inf136"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>R</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>≈</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mi>x</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft136">\begin{document}$R(x)\approx R_{0}x$\end{document}</tex-math></alternatives></inline-formula>, and the expression is consistent with the scaling <inline-formula><alternatives><mml:math id="inf137"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>∼</mml:mo><mml:mn>1</mml:mn><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>x</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft137">\begin{document}$\sigma_{d}^{2}(x)\sim 1/x$\end{document}</tex-math></alternatives></inline-formula> mentioned previously. While numerical and theoretical studies have shown that <inline-formula><alternatives><mml:math id="inf138"><mml:mstyle><mml:msup><mml:mi>r</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:math><tex-math id="inft138">\begin{document}$  r^{2}$\end{document}</tex-math></alternatives></inline-formula> is more sensitive to low-frequency alleles compared to <inline-formula><alternatives><mml:math id="inf139"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft139">\begin{document}$\sigma_{d}^{2}$\end{document}</tex-math></alternatives></inline-formula> (<xref ref-type="bibr" rid="bib29">Hudson, 1985</xref>; <xref ref-type="bibr" rid="bib72">Song and Song, 2007</xref>), our analysis did not reveal significant differences between two metrics. We therefore focus here on <inline-formula><alternatives><mml:math id="inf140"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft140">\begin{document}$ \sigma_{d}^{2}$\end{document}</tex-math></alternatives></inline-formula> which is more commonly used and easier to compare to theoretical predictions.</p><p>We calculated <inline-formula><alternatives><mml:math id="inf141"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft141">\begin{document}$\sigma_{d}^{2}(x)$\end{document}</tex-math></alternatives></inline-formula> and <inline-formula><alternatives><mml:math id="inf142"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msup><mml:mi>r</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft142">\begin{document}$ r^{2}(x)$\end{document}</tex-math></alternatives></inline-formula> for <italic>α</italic> and <italic>β</italic> separately and together. Both procedures are similar, so we focus on the analysis for all <italic>α</italic> and <italic>β</italic> sequences. Unless otherwise stated, all analyses were performed on alignments of individual genes and the results were averaged across genes. Using this method, we can easily obtain linkage information over distances of up to around 1 kbp. Over longer distances, the results can be dominated by specific recombination events in a small number of unusually long genes and are therefore less useful for quantifying genome-wide statistical patterns. We thus perform most of our analysis up to distances of around 1 kbp, except when calculating typical genome-wide linkage as discussed below.</p><p>Alignments for each orthogroup were first trimmed to remove segments with excess numbers of gaps. We then determined a consensus sequence by taking the most common codon sequence at each location along the reading frame, excluding gaps. Each nucleotide was labeled 0 if it was a gap, 1 if it was the same as the consensus, and 2 if it was different from the consensus. While this does not distinguish between biallelic and multi-allelic sites, the latter are much less common than the former and should not affect our conclusions. Finally, we calculated the two linkage coefficients using <xref ref-type="disp-formula" rid="equ3">Equations 3 and 4</xref>. To estimate linkage across distances longer than a single gene, we performed the average across SNPs spanning a pair of genes and then averaged the values across a random sample of 1000 pairs of genes.</p><p>The linkage calculations within each species were performed in an analogous way, with the exception of a two-step filtering process of the alignments at the beginning. We describe this procedure in detail at the end of this section.</p></sec><sec sec-type="appendix" id="s15"><title>Linkage decrease within vs between species</title><fig id="app4fig1" position="float"><label>Appendix 4—figure 1.</label><caption><title>Genetic linkage analysis shows extensive recombination within <italic>α</italic> and <italic>β</italic>.</title><p>Linkage disequilibrium <inline-formula><alternatives><mml:math id="inf143"><mml:mstyle><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>d</mml:mi></mml:mrow><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:math><tex-math id="inft143">\begin{document}$ \sigma_{d}^{2}$\end{document}</tex-math></alternatives></inline-formula> as a function of separation between SNPs <inline-formula><alternatives><mml:math id="inf144"><mml:mstyle><mml:mi>x</mml:mi></mml:mstyle></mml:math><tex-math id="inft144">\begin{document}$ x$\end{document}</tex-math></alternatives></inline-formula> averaged across all core genes among the <italic>α</italic> (orange circles), <italic>β</italic> (blue squares), or all of the cells (black diamonds). Genome-wide estimates from SNPs in different genes are shown to the right of the black dashed line using the same symbols. Fully unlinked controls for the genome-wide linkage are shown as horizontal lines of different colors. The main cloud cutoff for both <italic>α</italic> and <italic>β</italic> was set to <inline-formula><alternatives><mml:math id="inf145"><mml:mstyle><mml:mi>c</mml:mi><mml:mo>=</mml:mo><mml:mn>0.05</mml:mn></mml:mstyle></mml:math><tex-math id="inft145">\begin{document}$ c=0.05$\end{document}</tex-math></alternatives></inline-formula>.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app4-fig1-v1.tif"/></fig><p>Our analysis showed that within both <italic>α</italic> and <italic>β</italic>, linkage quickly decreased by approximately an order of magnitude over a distance of ∼1 kbp (orange circles and blue squares in <xref ref-type="fig" rid="app4fig1">Appendix 4—figure 1</xref>). However, when considering the population as a whole, we find linkage disequilibrium is maintained across the whole length of the genome (black diamonds in <xref ref-type="fig" rid="app4fig1">Appendix 4—figure 1</xref>). Within <italic>β</italic>, the linkage at distances of 1 kbp was identical to the genomewide linkage between random pairs of genes. Within <italic>α</italic>, the decrease was slower, but followed a similar pattern. The value of the genome-wide linkage was slightly higher than at 1 kbp, likely because of the reduced sample size at long genomic distances caused by poor genome coverage. Consistent with this, we found that the genomewide-linkage values in both species were close to completely unlinked controls obtained by randomly permuting each column of the alignments (<inline-formula><alternatives><mml:math id="inf146"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0.14</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft146">\begin{document}$ \sigma_{d}^{2}=0.14$\end{document}</tex-math></alternatives></inline-formula> vs <inline-formula><alternatives><mml:math id="inf147"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0.12</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft147">\begin{document}$ \sigma_{d}^{2}=0.12$\end{document}</tex-math></alternatives></inline-formula> in <italic>α</italic> and <inline-formula><alternatives><mml:math id="inf148"><mml:mstyle><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>d</mml:mi></mml:mrow><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0.06</mml:mn></mml:mstyle></mml:math><tex-math id="inft148">\begin{document}$  \sigma_{d}^{2}=0.06$\end{document}</tex-math></alternatives></inline-formula> vs <inline-formula><alternatives><mml:math id="inf149"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0.04</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft149">\begin{document}$\sigma_{d}^{2}=0.04$\end{document}</tex-math></alternatives></inline-formula> in <italic>β</italic>). Overall, these results suggest that the dynamics leading to the reassortment of alleles are similar in the two species and only differ in the length scale over which alleles become unlinked. We discuss this in more detail in the next section.</p><p>The fact that both species have similar levels of genomewide linkage despite the sample size of <italic>α</italic> being less than half of that of <italic>β</italic> shows that our estimates for the genomewide linkage are not significantly affected by the sample size effect. We further validated this by taking random samples from the <italic>β</italic> main cloud equal to the size of the <italic>α</italic> main cloud at each locus and recalculating the linkage curves. We found the results for the full <italic>β</italic> main cloud and the subsampled main cloud were almost identical (<xref ref-type="fig" rid="app4fig2">Appendix 4—figure 2</xref>). This shows that the sample size does not have a large effect on our results and cannot explain the differences in linkage decay between the two species.</p><fig id="app4fig2" position="float"><label>Appendix 4—figure 2.</label><caption><title>Sample size has a small effect on linkage estimates.</title><p>Linkage disequilibria curves for the whole <italic>α</italic> and <italic>β</italic> populations shown in <xref ref-type="fig" rid="app4fig1">Appendix 4—figure 1</xref> are compared to a random subsample of <italic>β</italic> sequences chosen to match the <italic>α</italic> sample size at each locus (shown in gray).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app4-fig2-v1.tif"/></fig><p>The rapid decrease in linkage sets important limits on how much information about the diversity in the population is contained in samples of marker genes. To illustrate this, we performed a linear regression between the whole-genome divergences and the 16S rRNA divergence. Consistent with our previous analysis, we found slightly stronger linkage in <italic>α</italic> compared to <italic>β</italic>, but in both cases, the correlations were weak and the 16S divergences explained less than 10% of the genome-wide divergences (<xref ref-type="fig" rid="app4fig1">Appendix 4—figure 1B</xref>). These results show that frequent recombination in the population makes marker genes, such as the 16S rRNA, poor predictors of the genome-wide diversity.</p></sec><sec sec-type="appendix" id="s16"><title>Comparison to model of neutral drift with recombination</title><p>To get a more quantitative understanding of the effects of recombination on the genetic diversity in our population, we compared our previous results to theoretical predictions from population genetics.</p><p>At short distances, the prediction from <xref ref-type="disp-formula" rid="equ5">Equation 5</xref> is that <inline-formula><alternatives><mml:math id="inf150"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>5</mml:mn><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>11</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft150">\begin{document}$\sigma_{d}^{2}=5/11$\end{document}</tex-math></alternatives></inline-formula>. However, in our data, the value of <inline-formula><alternatives><mml:math id="inf151"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft151">\begin{document}$\sigma_{d}^{2}$\end{document}</tex-math></alternatives></inline-formula> for nearby sites was very close to one. While the Yellowstone <italic>Synechococcus</italic> have a strong mutational bias toward GC nucleotides (<xref ref-type="bibr" rid="bib64">Rosen et al., 2018</xref>), <xref ref-type="disp-formula" rid="equ5">Equation 5</xref> is independent of the relative rates of mutations. As a result, we conclude that the neutral model cannot explain the linkage curves we observe.</p><fig id="app4fig3" position="float"><label>Appendix 4—figure 3.</label><caption><title>Linkage decay curves for <italic>α</italic> and <italic>β</italic> collapse onto the same curve after rescaling distances by average recombination rate <inline-formula><alternatives><mml:math id="inf152"><mml:mstyle><mml:mi>ρ</mml:mi></mml:mstyle></mml:math><tex-math id="inft152">\begin{document}$ \rho$\end{document}</tex-math></alternatives></inline-formula>.</title><p>Shows the linkage decay as a function of distances between sites rescaled by the recombination rates <inline-formula><alternatives><mml:math id="inf153"><mml:mstyle><mml:mi>ρ</mml:mi></mml:mstyle></mml:math><tex-math id="inft153">\begin{document}$ \rho$\end{document}</tex-math></alternatives></inline-formula> fitted from <xref ref-type="fig" rid="fig2">Figure 2</xref> (main text). The solid black line shows the theoretical prediction from the neutral model given by <xref ref-type="disp-formula" rid="equ5">Equation 5</xref>.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app4-fig3-v1.tif"/></fig><p>While the overall level of <inline-formula><alternatives><mml:math id="inf154"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft154">\begin{document}$\sigma_{d}^{2}$\end{document}</tex-math></alternatives></inline-formula> in our data is inconsistent with the neutral prediction, we can still ask whether the rate of decay with distance has a similar functional form. To do this, we followed <xref ref-type="bibr" rid="bib26">Garud et al., 2019</xref> and fit the linkage curves to the following functional form:<disp-formula id="equ6"><label>(6)</label><alternatives><mml:math id="m6"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msubsup><mml:mi>σ</mml:mi><mml:mi>d</mml:mi><mml:mn>2</mml:mn></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mi>A</mml:mi><mml:mfrac><mml:mrow><mml:mn>10</mml:mn><mml:mo>+</mml:mo><mml:mi>ρ</mml:mi><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>22</mml:mn><mml:mo>+</mml:mo><mml:mn>13</mml:mn><mml:mi>ρ</mml:mi><mml:mi>x</mml:mi><mml:mo>+</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mi>ρ</mml:mi><mml:mi>x</mml:mi><mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t6">\begin{document}$$\displaystyle   \sigma_d^2(x) = A\frac{10 + \rho x}{22 + 13\rho x + (\rho x)^2},$$\end{document}</tex-math></alternatives></disp-formula></p><p>where <inline-formula><alternatives><mml:math id="inf155"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>ρ</mml:mi><mml:mo>=</mml:mo><mml:mn>2</mml:mn><mml:mi>N</mml:mi><mml:mi>R</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft155">\begin{document}$ \rho=2NR$\end{document}</tex-math></alternatives></inline-formula> is the population recombination rate. We performed the fit by choosing <inline-formula><alternatives><mml:math id="inf156"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>A</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft156">\begin{document}$ A$\end{document}</tex-math></alternatives></inline-formula> such that the above expression matched the value of <inline-formula><alternatives><mml:math id="inf157"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft157">\begin{document}$ \sigma_{d}^{2}$\end{document}</tex-math></alternatives></inline-formula> in the data for neighboring sites (<inline-formula><alternatives><mml:math id="inf158"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft158">\begin{document}$x=1$\end{document}</tex-math></alternatives></inline-formula>). We then fitted the curves by eye by adjusting the value of <inline-formula><alternatives><mml:math id="inf159"><mml:mstyle><mml:mi>ρ</mml:mi></mml:mstyle></mml:math><tex-math id="inft159">\begin{document}$  \rho$\end{document}</tex-math></alternatives></inline-formula>.</p><p>We found that this functional form could fit the data very well for both species up to distances of <inline-formula><alternatives><mml:math id="inf160"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>x</mml:mi><mml:mo>≈</mml:mo><mml:mn>300</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft160">\begin{document}$ x\approx 300$\end{document}</tex-math></alternatives></inline-formula> bp (<xref ref-type="fig" rid="fig2">Figure 2</xref> in main text). For longer distances, the linkage decrease was slightly slower than predicted by <xref ref-type="disp-formula" rid="equ6">Equation 6</xref>. One possible interpretation of this slowdown is that longer distances have a significant overlap with the distribution of lengths of recombined segments <inline-formula><alternatives><mml:math id="inf161"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft161">\begin{document}$ L_{r}$\end{document}</tex-math></alternatives></inline-formula>, beyond which we expect linkage to reach the genomewide level (<xref ref-type="bibr" rid="bib26">Garud et al., 2019</xref>). This suggests that recombined segments as short as 300 bp might play an important role in the recombination process within the population.</p><p>We further validated that the linkage curves have the same functional form by rescaling distances between sites by the recombination rate <inline-formula><alternatives><mml:math id="inf162"><mml:mstyle><mml:mi>ρ</mml:mi></mml:mstyle></mml:math><tex-math id="inft162">\begin{document}$  \rho$\end{document}</tex-math></alternatives></inline-formula> inferred previously. We found a very good collapse of the linkage curves for the two species when plotted against the rescaled distances (<xref ref-type="fig" rid="app4fig3">Appendix 4—figure 3B</xref>). This strongly implies that the dynamics leading to the decay of linkage are the same in both species, with the differences between them being length scale over which sites are effectively linked.</p></sec><sec sec-type="appendix" id="s17"><title>Linkage on intermediate length scales</title><p>Our analysis so far was limited to either distances up to the length of typical genes (∼1 kbp) or across the entire genome. Extending our analysis over distances in between these two extremes is difficult due to several technical challenges. The first is the fact that typical coverages for our SAGs are around 30%. Together with a typical contig size of ∼10 kbp, this means that our sample size quickly decreases with distance. The second challenge is that at longer distances, gene order might vary across genomes, making it difficult to define a genomic distance at the population level.</p></sec><sec sec-type="appendix" id="s18"><title>Linkage between multi-SNP alleles</title><p>We calculated the linkage disequilibrium between multi-SNP features, such as SNP blocks or hybrid alleles, using <xref ref-type="disp-formula" rid="equ2">Equation 2</xref> as in the case of biallelic SNPs. In the case of SNP blocks shown in <xref ref-type="fig" rid="fig7">Figure 7D</xref> in the main text, we calculate the frequencies for the four haplotypes within SAGs that are covered at both loci. The unlinked controls (represented by solid lines in <xref ref-type="fig" rid="fig7">Figure 7D</xref>) were obtained by a random permutation of the alleles at each locus independently, while keeping the SAGs that are covered at each locus fixed. This procedure preserves any correlations in genome coverage between nearby loci and provides the most accurate estimate of <inline-formula><alternatives><mml:math id="inf163"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft163">\begin{document}$r_{AB}^{2}$\end{document}</tex-math></alternatives></inline-formula> for a completely unlinked genome.</p><p>The linkage between hybrid gene alleles was calculated similarly as for the SNP blocks, except for the genotype assignment. At each locus, we labeled the most abundant allele using upper case letters (<inline-formula><alternatives><mml:math id="inf164"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>A</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mo>…</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft164">\begin{document}$A, B, \dots$\end{document}</tex-math></alternatives></inline-formula>) and grouped all of the remaining ones into a single allele labeled by a lower case letter (<inline-formula><alternatives><mml:math id="inf165"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>a</mml:mi><mml:mo>,</mml:mo><mml:mi>b</mml:mi><mml:mo>,</mml:mo><mml:mo>…</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft165">\begin{document}$ a, b,\dots$\end{document}</tex-math></alternatives></inline-formula>). The linkage matrix <inline-formula><alternatives><mml:math id="inf166"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft166">\begin{document}$ r_{AB}^{2}$\end{document}</tex-math></alternatives></inline-formula> and the unlinked control were calculated the same as previously described. The results for <italic>α</italic> were <inline-formula><alternatives><mml:math id="inf167"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo fence="false" stretchy="false">⟩</mml:mo><mml:mo>=</mml:mo><mml:mn>0.04</mml:mn><mml:mo>±</mml:mo><mml:mn>0.15</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft167">\begin{document}$\langle r_{AB}^{2}\rangle=0.04\pm 0.15$\end{document}</tex-math></alternatives></inline-formula> compared to <inline-formula><alternatives><mml:math id="inf168"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo fence="false" stretchy="false">⟩</mml:mo><mml:mo>=</mml:mo><mml:mn>0.02</mml:mn><mml:mo>±</mml:mo><mml:mn>0.11</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft168">\begin{document}$ \langle r_{AB}^{2}\rangle=0.02\pm 0.11$\end{document}</tex-math></alternatives></inline-formula> for the unlinked control. For <italic>β,</italic> the results were <inline-formula><alternatives><mml:math id="inf169"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo fence="false" stretchy="false">⟩</mml:mo><mml:mo>=</mml:mo><mml:mn>0.01</mml:mn><mml:mo>±</mml:mo><mml:mn>0.09</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft169">\begin{document}$ \langle r_{AB}^{2}\rangle=0.01\pm 0.09$\end{document}</tex-math></alternatives></inline-formula> compared to <inline-formula><alternatives><mml:math id="inf170"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo fence="false" stretchy="false">⟩</mml:mo><mml:mo>=</mml:mo><mml:mn>0.009</mml:mn><mml:mo>±</mml:mo><mml:mn>0.08</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft170">\begin{document}$ \langle r_{AB}^{2}\rangle=0.009\pm 0.08$\end{document}</tex-math></alternatives></inline-formula> for the unlinked control. Note that the average linkage disequilibrium was close to the unlinked controls in both species, with <italic>α</italic> having slightly higher linkage. These agree with those from the analysis of SNP blocks shown in the main text.</p></sec><sec sec-type="appendix" id="s19"><title>Determining the main cloud cutoff for <italic>α</italic> and <italic>β</italic></title><fig id="app4fig4" position="float"><label>Appendix 4—figure 4.</label><caption><title>The effect of the main cloud diameter <inline-formula><alternatives><mml:math id="inf171"><mml:mstyle><mml:mi>c</mml:mi></mml:mstyle></mml:math><tex-math id="inft171">\begin{document}$ c$\end{document}</tex-math></alternatives></inline-formula> on the rate of linkage decay.</title><p>The linkage decay within <italic>α</italic> (A) and <italic>β</italic> (B) is plotted for different main cloud cutoffs <inline-formula><alternatives><mml:math id="inf172"><mml:mstyle><mml:mi>c</mml:mi></mml:mstyle></mml:math><tex-math id="inft172">\begin{document}$  c$\end{document}</tex-math></alternatives></inline-formula> (see main text). Note the convergence of the curves for <inline-formula><alternatives><mml:math id="inf173"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>c</mml:mi><mml:mo>≤</mml:mo><mml:mn>0.05</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft173">\begin{document}$ c\leq 0.05$\end{document}</tex-math></alternatives></inline-formula>.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app4-fig4-v1.tif"/></fig><p>For each species, we first selected all of the sequences that belonged to SAGs assigned to that species (see Appendix 2). We then calculated the consensus sequence for this group of sequences, as described above, and removed all sequences with divergences greater than a main cloud cutoff <inline-formula><alternatives><mml:math id="inf174"><mml:mstyle><mml:mi>c</mml:mi></mml:mstyle></mml:math><tex-math id="inft174">\begin{document}$  c$\end{document}</tex-math></alternatives></inline-formula>. This is a simple way to remove sequences that are the result of gene-level hybridization (see Appendix 5 and <xref ref-type="bibr" rid="bib63">Rosen et al., 2015</xref> for a similar procedure). We chose the main cloud cutoff for each species by calculating the linkage curves for different values and choosing the largest value for which the curves did not noticeably change (<xref ref-type="fig" rid="app4fig4">Appendix 4—figure 4</xref>). Based on this criterion, we use <inline-formula><alternatives><mml:math id="inf175"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>c</mml:mi><mml:mo>=</mml:mo><mml:mn>0.05</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft175">\begin{document}$ c=0.05$\end{document}</tex-math></alternatives></inline-formula> for <italic>α</italic> and <inline-formula><alternatives><mml:math id="inf176"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>c</mml:mi><mml:mo>=</mml:mo><mml:mn>0.1</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft176">\begin{document}$ c=0.1$\end{document}</tex-math></alternatives></inline-formula> for <italic>β</italic> throughout.</p></sec></app><app id="appendix-5"><title>Appendix 5</title><sec sec-type="appendix" id="s20"><title>Gene-level hybridization</title><p>This section describes the method we used to quantify hybridization at the gene level. Our method uses a set of simple heuristics to assign labels to the species clusters defined in Appendix A based on the composition of species to which the sequences belonged. We then identified hybridization events by searching for discrepancies between the gene and whole-genome labels as explained below.</p></sec><sec sec-type="appendix" id="s21"><title>Simple hybrid genes</title><p>We first assigned labels to the species-level clusters constructed as described in Appendix 1. Based on the gene triplet results presented in Appendix 2, we expect most sequences to be contained in two main clusters, close to OS-A and OS-B’, respectively, with at least one sequence forming a separate cluster whenever the orthogroup was covered in the <italic>γ</italic> SAG. Based on this expectation, we considered all of the clusters from each orthogroup in decreasing order of their sizes and labeled them as described in the main text.</p><p>We next determined which orthogroups are part of the core genome. We defined a gene as a core gene if it is likely present in all of the genomes in our sample. The average coverage for each SAG in our sample was approximately 30%, so it is not possible to directly determine whether some genes are always present. Instead, we use a statistical measure of the coverage to assign orthogroups to the core genome. Specifically, we used the rank-coverage plot across all orthogroups and SAGs (equivalent to the complementary cumulative distribution) to determine an appropriate cutoff for the core genome. The rank-coverage plot showed three distinct regions. First, there were around a dozen orthogroups that had unusually high abundances, with the number of sequences in some cases being greater than the number of SAGs in our sample. These are likely multiple-copy genes and IS elements and were excluded from further analysis. Then there was a large plateau comprising over 1000 orthogroups with coverages in the range 100−150, followed by a sharp decrease (on a logarithmic scale) in the coverage. We found that setting a coverage threshold for the presence at 20% of the number of SAGs from each species approximately matched the shoulder between the plateau and the sharp decrease, and so we used this as a criterion for assigning core genes.</p><p>The final step in our algorithm is to catalog hybridization events, which we do by simply searching for gene sequences whose labels were different from the whole-genome species assignment. Analysis of these results showed a large number of transfers, mainly from <italic>β</italic> into <italic>α</italic>, which came from contigs that did not contain any genes labeled as the host species. One explanation for the presence of such contigs is that they represent larger genomic segments flanked by repetitive regions (such as IS elements) that are transferred and integrated into the host genome. Long repetitive genomic segments can lead to contig breaks during assembly, which would explain the complete absence of genes belonging to the host cluster. Alternatively, such contigs could be the result of contamination with external DNA. However, the contamination hypothesis does not explain why there seem to be more transfers from <italic>β</italic> into than vice versa. We also did not find any evidence of differences in the number of such transfers between the sample containing only <inline-formula><alternatives><mml:math id="inf177"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft177">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula> SAGs (OS2005, see Appendix 10) and samples containing mixtures of and <italic>β</italic>. While this evidence suggests these transfers are very likely the result of hybridization, we cannot rule out the possibility of contamination. We therefore excluded all hybridization events on contigs that did not contain any genes labeled as the host genome from the analysis. The results of our analysis are summarized in <xref ref-type="fig" rid="fig5">Figure 5A, B</xref> in the main text.</p><fig id="app5fig1" position="float"><label>Appendix 5—figure 1.</label><caption><title>The majority of orthogroups contain hybrid sequences.</title><p>Orthogroups were classified into four mutually exclusive groups depending on the amount of hybridization observed. The majority of mixed-species orthogroups are mosaic hybrids (see main text) and are shown in orange. Orthogroups in which the local sequence clusters matched the whole genome ones were labeled as ‘no hybrids’ and shown in blue, those in which a single cell contained a sequence from a different cluster were labeled ‘singleton hybrids’ and shown in green, and those in which multiple cells contained sequences from different clusters were labeled ‘non-singleton hybrids’ and shown in red.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app5-fig1-v1.tif"/></fig></sec></app><app id="appendix-6"><title>Appendix 6</title><sec sec-type="appendix" id="s22"><title>Linkage block detection and analysis</title><p>In this section, we describe the method we used to discover SNP blocks and the statistical analyses we performed.</p></sec><sec sec-type="appendix" id="s23"><title>Processing alignments for SNP block detection</title><p>In order to identify linkage blocks originating from hybridization, the raw alignments from the pangenome construction were processed as follows. We divided core OGs into distinct species clusters, as explained in Appendices 1 and 5, and removed any sequences from SAGs assigned to a different species than the cluster. This was done to avoid false positive blocks due to the presence of recently transferred whole-gene alleles from different species. For OGs with mixed-species mosaic clusters, all sequences in the cluster were initially included. Alignments were then trimmed and codons that contained a high frequency of gaps were removed. Finally, we defined a main cloud of sequences for <italic>α</italic> and <italic>β</italic> comprising sequences within a divergence diameter <inline-formula><alternatives><mml:math id="inf178"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0.1</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft178">\begin{document}$d_{M}=0.1$\end{document}</tex-math></alternatives></inline-formula> from the consensus for each species and removed all sequences outside it.</p></sec><sec sec-type="appendix" id="s24"><title>SNP block detection method</title><p>We used a linkage-based approach to search for evidence of hybridization within genes. Visual inspection of the alignments in the highly diverse <italic>α</italic> genes and in most <italic>β</italic> genes revealed segments with high SNP density grouped into two haplotypes in strong linkage disequilibrium. We hypothesized that these SNP blocks were the result of intragenic hybridization, and we developed an algorithm to systematically identify them.</p><p>The algorithm can be summarized by the following steps:</p><list list-type="order" id="list2"><list-item><p>Read orthogroup alignment</p></list-item><list-item><p>Pre-process alignment</p><list list-type="alpha-lower" id="list2subList1"><list-item><p>Trim alignment edges and remove columns with high fraction of gap codons</p></list-item><list-item><p>For each species, infer consensus sequence and remove sequences outside a predetermined diameter around the consensus</p></list-item><list-item><p>Replace all SNPs with absolute frequencies <inline-formula><alternatives><mml:math id="inf179"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>n</mml:mi><mml:mo>&lt;</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>4</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft179">\begin{document}$ n \lt n_{c}=4$\end{document}</tex-math></alternatives></inline-formula> with the consensus for their respective columns</p></list-item></list></list-item><list-item><p>For each species <inline-formula><alternatives><mml:math id="inf180"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>s</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft180">\begin{document}$ s$\end{document}</tex-math></alternatives></inline-formula>, subsample sequences from cells assigned to <inline-formula><alternatives><mml:math id="inf181"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>s</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft181">\begin{document}$ s$\end{document}</tex-math></alternatives></inline-formula></p></list-item><list-item><p>Calculate the linkage matrix <inline-formula><alternatives><mml:math id="inf182"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft182">\begin{document}$r^{2}_{ij}$\end{document}</tex-math></alternatives></inline-formula> for all pairs of SNPs</p></list-item><list-item><p>Identify groups of consecutive SNPs with <inline-formula><alternatives><mml:math id="inf183"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft183">\begin{document}$r^{2}_{ij}=1$\end{document}</tex-math></alternatives></inline-formula>, up to a rounding error of <inline-formula><alternatives><mml:math id="inf184"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>ϵ</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>−</mml:mo><mml:mn>5</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft184">\begin{document}$\epsilon=10^{-5}$\end{document}</tex-math></alternatives></inline-formula>, containing at least <inline-formula><alternatives><mml:math id="inf185"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>l</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>5</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft185">\begin{document}$ l_{min}=5$\end{document}</tex-math></alternatives></inline-formula> SNPs</p></list-item></list><p>The inclusion of step 2c accounts for the possibility of more recent low-frequency SNPs emerging after the initial hybridization took place. Note that typical alignments depths are ∼30 for <italic>α</italic> and ∼70 for <italic>β</italic> and are considerably larger than <inline-formula><alternatives><mml:math id="inf186"><mml:mstyle><mml:msub><mml:mi>n</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>c</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft186">\begin{document}$  n_{c}$\end{document}</tex-math></alternatives></inline-formula>.</p><p>We applied the above algorithm to the alignments of all of the core genes and obtained a total of 1000 blocks within <inline-formula><alternatives><mml:math id="inf187"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft187">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula> and 1483 blocks within <italic>β</italic>. Most blocks were short, but those in <inline-formula><alternatives><mml:math id="inf188"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft188">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula> were on average more than twice as long as those in <italic>β</italic> (<inline-formula><alternatives><mml:math id="inf189"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mrow><mml:mo>⟨</mml:mo><mml:mi>L</mml:mi><mml:mo>⟩</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>68</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft189">\begin{document}$ \left\langle L\right\rangle=68$\end{document}</tex-math></alternatives></inline-formula> in <italic>α</italic> vs <inline-formula><alternatives><mml:math id="inf190"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mrow><mml:mo>⟨</mml:mo><mml:mi>L</mml:mi><mml:mo>⟩</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>29</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft190">\begin{document}$ \left\langle L\right\rangle=29$\end{document}</tex-math></alternatives></inline-formula> in <italic>β</italic>; <xref ref-type="fig" rid="app6fig1">Appendix 6—figure 1A</xref>). Similarly, <italic>α</italic> blocks contained more SNPs on average compared to <italic>β</italic>, although here the difference was less pronounced (<inline-formula><alternatives><mml:math id="inf191"><mml:mstyle><mml:mrow><mml:mo>⟨</mml:mo><mml:mi>l</mml:mi><mml:mo>⟩</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>11.3</mml:mn></mml:mstyle></mml:math><tex-math id="inft191">\begin{document}$  \left\langle l\right\rangle=11.3$\end{document}</tex-math></alternatives></inline-formula> in <italic>α</italic> vs <inline-formula><alternatives><mml:math id="inf192"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mrow><mml:mo>⟨</mml:mo><mml:mi>l</mml:mi><mml:mo>⟩</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>7.9</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft192">\begin{document}$\left\langle l\right\rangle=7.9$\end{document}</tex-math></alternatives></inline-formula> in <italic>β</italic>; <xref ref-type="fig" rid="app6fig1">Appendix 6—figure 1B</xref>).</p><fig id="app6fig1" position="float"><label>Appendix 6—figure 1.</label><caption><title>Typical blocks are short and contain a handful of SNPs.</title><p>(<bold>A</bold>) The distribution of lengths of SNP blocks within <inline-formula><alternatives><mml:math id="inf193"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft193">\begin{document}$ \alpha$\end{document}</tex-math></alternatives></inline-formula> (orange) and <italic>β</italic> (blue) genomes, detected using the algorithm described in this section. (<bold>B</bold>) The distribution of the number of SNPs within the same blocks as in (<bold>A</bold>).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app6-fig1-v1.tif"/></fig><p>To identify hybrid haplotypes, we first determined the consensus sequences for the two block haplotypes, together with the other two species within the block segment. We then labeled any haplotypes whose sequence was identical to one of the other two species as a hybrid segment with the corresponding species as the donor. These results are shown in <xref ref-type="table" rid="app6table1">Appendix 6—table 1</xref>.</p><table-wrap id="app6table1" position="float"><label>Appendix 6—table 1.</label><caption><title>Number of SNP blocks within <italic>α</italic> and <italic>β</italic> containing haplotypes that mapped to different donor species in core genome.</title></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" valign="bottom">Host species</th><th align="left" valign="bottom" colspan="4">Block donor species</th><th align="left" valign="bottom">Total blocks</th><th align="left" valign="bottom">Genes with blocks</th><th align="left" valign="bottom">Total gene transfers</th><th align="left" valign="bottom">Majority mosaic genes</th><th align="left" valign="bottom">Core genes</th></tr></thead><tbody><tr><td align="left" valign="bottom"/><td align="left" valign="bottom"><italic>α</italic></td><td align="left" valign="bottom"><italic>β</italic></td><td align="left" valign="bottom"><inline-formula><alternatives><mml:math id="inf194"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft194">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula></td><td align="left" valign="bottom"><inline-formula><alternatives><mml:math id="inf195"><mml:mstyle><mml:mi>X</mml:mi></mml:mstyle></mml:math><tex-math id="inft195">\begin{document}$ X$\end{document}</tex-math></alternatives></inline-formula></td><td align="left" valign="bottom"/><td align="left" valign="bottom"/><td align="left" valign="bottom"/><td align="left" valign="bottom"/><td align="left" valign="bottom"/></tr><tr><td align="left" valign="bottom"><italic>α</italic></td><td align="left" valign="bottom">-</td><td align="left" valign="bottom">291</td><td align="left" valign="bottom">347</td><td align="left" valign="bottom">244</td><td align="left" valign="bottom">1000</td><td align="left" valign="bottom">365</td><td align="left" valign="bottom">194</td><td align="left" valign="bottom">370</td><td align="left" valign="bottom">1448</td></tr><tr><td align="left" valign="bottom"><italic>β</italic></td><td align="left" valign="bottom">310</td><td align="left" valign="bottom">-</td><td align="left" valign="bottom">125</td><td align="left" valign="bottom">941</td><td align="left" valign="bottom">1483</td><td align="left" valign="bottom">669</td><td align="left" valign="bottom">70</td><td align="left" valign="bottom">370</td><td align="left" valign="bottom">1448</td></tr></tbody></table></table-wrap><p>To control for other processes that could potentially produce similar patterns of linkage disequilibrium, we compared the distributions of divergences between haplotypes and block lengths for cases where a hybrid haplotype could be identified directly to cases we could not. No obvious difference in the distributions could be seen between the two cases, consistent with our interpretation that the blocks without matches to other species in our sample are also the result of hybridization.</p><fig id="app6fig2" position="float"><label>Appendix 6—figure 2.</label><caption><title>Examples of blocks and hybrid sequences within ribosomal genes.</title><p>Alignments are represented as described previously with blocks highlighted in purple. (<bold>A</bold>) Alignment of 16S sequences with a <italic>β</italic> cell containing a hybrid segment starting at around position 340 and ending around position 580 in the alignment. Note the shorter block shared by the first two <italic>β</italic> sequences at the end of the alignment (around position 1070). (<bold>B</bold>) Alignment of the SSU ribosomal protein rpsN with <italic>α</italic> cells ordered at the top and <italic>β</italic> cells at the bottom of the alignment. The first <inline-formula><alternatives><mml:math id="inf196"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft196">\begin{document}$ \alpha$\end{document}</tex-math></alternatives></inline-formula> cell was chosen as the reference sequence and is shown in color. Note the large fraction of <inline-formula><alternatives><mml:math id="inf197"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft197">\begin{document}$ \alpha$\end{document}</tex-math></alternatives></inline-formula> cells around 200–300 bp that are similar to the <italic>β</italic> sequences and distinct from the <italic>α</italic> reference. (<bold>C</bold>) Segment of alignment of <italic>β</italic> sequences at the LSU ribosomal protein rplM. The reference sequence was chosen to illustrate short SNP block in the center of the alignment.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app6-fig2-v1.tif"/></fig></sec><sec sec-type="appendix" id="s25"><title>Haplotype divergences</title><p>We further verified that the divergences between block haplotypes were consistent with what we would expect from hybridization. We calculated the fraction of nonsynonymous and synonymous nucleotide substitutions, <inline-formula><alternatives><mml:math id="inf198"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft198">\begin{document}$ p_{N}$\end{document}</tex-math></alternatives></inline-formula> and <inline-formula><alternatives><mml:math id="inf199"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft199">\begin{document}$ p_{S}$\end{document}</tex-math></alternatives></inline-formula>, respectively, between the consensus sequences of each haplotype (see Appendix 7). We then removed blocks with either <inline-formula><alternatives><mml:math id="inf200"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft200">\begin{document}$ p_{N}$\end{document}</tex-math></alternatives></inline-formula> or <inline-formula><alternatives><mml:math id="inf201"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft201">\begin{document}$ p_{S}$\end{document}</tex-math></alternatives></inline-formula> were above a threshold of 0.6. This was done to avoid large errors in estimating the divergence, which we calculated using the Jukes–Cantor correction <inline-formula><alternatives><mml:math id="inf202"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>d</mml:mi><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mn>3</mml:mn><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>4</mml:mn><mml:mo stretchy="false">)</mml:mo><mml:mi>ln</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mn>4</mml:mn><mml:mi>p</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>3</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft202">\begin{document}$ d=-(3/4)\ln(1-4p/3)$\end{document}</tex-math></alternatives></inline-formula> (<xref ref-type="bibr" rid="bib31">Jukes and Cantor, 1969</xref>). The overall number of such blocks was small (46 out of 1442 in <italic>α</italic> and 143 out of 2008 in <italic>β</italic>) so their removal does not affect our conclusions about the typical blocks. We found that the distributions of both the nonsynonymous and synonymous divergences were similar to those previously reported from comparisons of OS-A and OS-B’ (<xref ref-type="bibr" rid="bib64">Rosen et al., 2018</xref>), and consistent with our hybridization hypothesis (<xref ref-type="fig" rid="app6fig3">Appendix 6—figure 3</xref>).</p><fig id="app6fig3" position="float"><label>Appendix 6—figure 3.</label><caption><title>Block haplotypes have high synonymous and non-synonymous divergences, consistent with them being generated through hybridization.</title><p>Panels show histograms of nonsynonymous (blue) and synonymous (orange) divergences between the two haplotypes of SNP blocks from <italic>α</italic> (<bold>A</bold>) and <italic>β</italic> (<bold>B</bold>), respectively. Solid lines show the mean nonsynonymous (blue) and synonymous (orange) divergences between <italic>α</italic> and <italic>β</italic>.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app6-fig3-v1.tif"/></fig></sec></app><app id="appendix-7"><title>Appendix 7</title><sec sec-type="appendix" id="s26"><title>Genetic diversity analysis</title><p>In this section, we present our analysis of the genetic diversity within individual genes in <italic>α</italic> and <italic>β</italic>. In the first subsection, we define the different metrics we used and present the variations in diversity along the genome of both species. In the next four subsections, we compare the diversity of different genes and use the <italic>α</italic> backbone to roughly infer the time scales of the evolutionary process. In the last subsection, we present a scenario for the evolution of the population.</p></sec><sec sec-type="appendix" id="s27"><title>Nucleotide diversity along the core genome</title><p>We quantified the nucleotide diversity across all genes in both <italic>α</italic> and <italic>β</italic> using the following procedure. Alignments were trimmed for excess gaps and sequences were assigned to each species as described in Appendix 1. We then define the nucleotide diversity in the usual way as<disp-formula id="equ7"><label>(7)</label><alternatives><mml:math id="m7"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mi>π</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mi>S</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>S</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mfrac><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>≠</mml:mo><mml:mi>j</mml:mi><mml:mo>∈</mml:mo><mml:mi>I</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mi>π</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t7">\begin{document}$$\displaystyle   \pi = \frac{1}{S(S - 1)} \sum_{i \neq j \in I} \pi_{ij},$$\end{document}</tex-math></alternatives></disp-formula></p><p>where <inline-formula><alternatives><mml:math id="inf203"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>I</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft203">\begin{document}$ I$\end{document}</tex-math></alternatives></inline-formula> is an index for sequences in the alignment, <inline-formula><alternatives><mml:math id="inf204"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>S</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft204">\begin{document}$ S$\end{document}</tex-math></alternatives></inline-formula> is the sample size, equal to the number of elements in <inline-formula><alternatives><mml:math id="inf205"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>I</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft205">\begin{document}$ I$\end{document}</tex-math></alternatives></inline-formula>, and <inline-formula><alternatives><mml:math id="inf206"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>π</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft206">\begin{document}$\pi_{ij}$\end{document}</tex-math></alternatives></inline-formula> is the fraction of nucleotide substitutions between <italic>i</italic> and <italic>j</italic>, excluding gaps. To calculate synonymous (<inline-formula><alternatives><mml:math id="inf207"><mml:mstyle><mml:msub><mml:mi>π</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft207">\begin{document}$  \pi_{S}$\end{document}</tex-math></alternatives></inline-formula>) and non-synonymous diversities (<inline-formula><alternatives><mml:math id="inf208"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>π</mml:mi><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft208">\begin{document}$\pi_{N}$\end{document}</tex-math></alternatives></inline-formula>) we replace <inline-formula><alternatives><mml:math id="inf209"><mml:mstyle><mml:msub><mml:mi>π</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft209">\begin{document}$  \pi_{ij}$\end{document}</tex-math></alternatives></inline-formula> with the fraction of synonymous (<inline-formula><alternatives><mml:math id="inf210"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>π</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft210">\begin{document}$\pi_{ij}^{S}$\end{document}</tex-math></alternatives></inline-formula>) and non-synonymous substitutions (<inline-formula><alternatives><mml:math id="inf211"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>π</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft211">\begin{document}$ \pi_{ij}^{N}$\end{document}</tex-math></alternatives></inline-formula>), respectively. We calculated <inline-formula><alternatives><mml:math id="inf212"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>π</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft212">\begin{document}$\pi_{ij}^{S}$\end{document}</tex-math></alternatives></inline-formula> and <inline-formula><alternatives><mml:math id="inf213"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>π</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft213">\begin{document}$ \pi_{ij}^{N}$\end{document}</tex-math></alternatives></inline-formula> using two different methods: the fraction of fourfold degenerate (4D) and onefold degenerate (1D) sites, respectively, at which <italic>i</italic> and <italic>j</italic> differ and using the Nei–Gojobori method (<xref ref-type="bibr" rid="bib52">Nei and Gojobori, 1986</xref>). We found that both methods gave similar results and used the one that was most convenient for each analysis.</p><p>To calculate the divergence between species, we first determined the proportion of sites that were substituted as follows:<disp-formula id="equ8"><label>(8)</label><alternatives><mml:math id="m8"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>α</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>β</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>α</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>β</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mi>π</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t8">\begin{document}$$\displaystyle  p = \frac{1}{S_{\alpha} S_{\beta}} \sum_{i \in I_{\alpha}, j \in I_{\beta}} \pi_{ij}$$\end{document}</tex-math></alternatives></disp-formula></p><p>where <inline-formula><alternatives><mml:math id="inf214"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>α</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft214">\begin{document}$ I_{\alpha}$\end{document}</tex-math></alternatives></inline-formula> and <inline-formula><alternatives><mml:math id="inf215"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>β</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft215">\begin{document}$ I_{\beta}$\end{document}</tex-math></alternatives></inline-formula> are the indices of sequences from <italic>α</italic> and <italic>β</italic> in the alignment, and <inline-formula><alternatives><mml:math id="inf216"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>α</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft216">\begin{document}$ S_{\alpha}$\end{document}</tex-math></alternatives></inline-formula> and <inline-formula><alternatives><mml:math id="inf217"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>β</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft217">\begin{document}$ S_{\beta}$\end{document}</tex-math></alternatives></inline-formula> are number of sequences from each species, respectively. The fraction of pairwise substitutions <inline-formula><alternatives><mml:math id="inf218"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>π</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft218">\begin{document}$\pi_{ij}$\end{document}</tex-math></alternatives></inline-formula> is the same as above. We then use the Jukes–Cantor correction (<xref ref-type="bibr" rid="bib31">Jukes and Cantor, 1969</xref>) to correct for the effect of multiple substitutions at a single site<disp-formula id="equ9"><label>(9)</label><alternatives><mml:math id="m9"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mi>d</mml:mi><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mfrac><mml:mn>3</mml:mn><mml:mn>4</mml:mn></mml:mfrac><mml:mi>ln</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mfrac><mml:mrow><mml:mn>4</mml:mn><mml:mi>p</mml:mi></mml:mrow><mml:mn>3</mml:mn></mml:mfrac></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t9">\begin{document}$$\displaystyle  d = - \frac{3}{4} \ln\left(1 - \frac{4 p}{3} \right).$$\end{document}</tex-math></alternatives></disp-formula></p><p>The synonymous (<inline-formula><alternatives><mml:math id="inf219"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft219">\begin{document}$d_{S}$\end{document}</tex-math></alternatives></inline-formula>) and non-synonymous divergences (<inline-formula><alternatives><mml:math id="inf220"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft220">\begin{document}$ d_{N}$\end{document}</tex-math></alternatives></inline-formula>) were calculated in a similar way by replacing <inline-formula><alternatives><mml:math id="inf221"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>π</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft221">\begin{document}$\pi_{ij}$\end{document}</tex-math></alternatives></inline-formula> with <inline-formula><alternatives><mml:math id="inf222"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>π</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft222">\begin{document}$\pi_{ij}^{S}$\end{document}</tex-math></alternatives></inline-formula> and <inline-formula><alternatives><mml:math id="inf223"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>π</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft223">\begin{document}$ \pi_{ij}^{N}$\end{document}</tex-math></alternatives></inline-formula> in <xref ref-type="disp-formula" rid="equ8">Equation 8</xref>, respectively. Finally, to calculate the diversity within each species separately, we take the sum in <xref ref-type="disp-formula" rid="equ7">Equation 7</xref> over <inline-formula><alternatives><mml:math id="inf224"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>α</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft224">\begin{document}$ I_{\alpha}$\end{document}</tex-math></alternatives></inline-formula> or <inline-formula><alternatives><mml:math id="inf225"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>β</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft225">\begin{document}$ I_{\beta}$\end{document}</tex-math></alternatives></inline-formula> only.</p></sec><sec sec-type="appendix" id="s28"><title>Diversity heterogeneity along core genome</title><p>There are two plausible explanations for the heterogeneity within <italic>α</italic> found in <xref ref-type="fig" rid="fig3">Figure 3</xref> (main text). The low-diversity genes could be due to local sweeps similar to the ones that formed the divergence troughs shown in <xref ref-type="fig" rid="fig5">Figure 5C</xref> in the main text. Under this scenario, the high-diversity genes would represent the typical diversity within <italic>α</italic> that has accumulated since its common ancestor. Since the high-diversity genes are as diverse as typical <italic>β</italic> genes, this scenario would imply <italic>α</italic> and <italic>β</italic> each had common ancestors at similar times in the past. Alternatively, the low-diversity genes could represent the typical diversity within <italic>α</italic>, with the high-diversity genes being the result of hybridization with other species.</p><p>To distinguish between these two possibilities, we developed a method to separate low diversity from high-diversity genes within <italic>α</italic>. Specifically, we calculated the fraction <inline-formula><alternatives><mml:math id="inf226"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>f</mml:mi><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mspace width="thinmathspace"/><mml:mi>S</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mspace width="thinmathspace"/><mml:mi>S</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:msubsup><mml:mi>L</mml:mi><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mspace width="thinmathspace"/><mml:mi>S</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft226">\begin{document}$ f_{l}^{\,S}=P_{l}^{\,S}/L_{l}^{\,S}$\end{document}</tex-math></alternatives></inline-formula> of 4D sites at locus <italic>l</italic> that were polymorphic within the <italic>α</italic> alignment. Here, <inline-formula><alternatives><mml:math id="inf227"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft227">\begin{document}$ P_{l}^{S}$\end{document}</tex-math></alternatives></inline-formula> is the number of synonymous polymorphisms and <inline-formula><alternatives><mml:math id="inf228"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>L</mml:mi><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft228">\begin{document}$L_{l}^{S}$\end{document}</tex-math></alternatives></inline-formula> the number synonymous sites at that gene. By using 4D sites, we naturally control for differences in gene conservation. If mutation rates across loci do not vary too much, we expect the distribution of <inline-formula><alternatives><mml:math id="inf229"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>f</mml:mi><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mspace width="thinmathspace"/><mml:mi>S</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft229">\begin{document}$f_{l}^{\,S}$\end{document}</tex-math></alternatives></inline-formula> across genes to be given by a Poisson distribution. The mean of this Poisson distribution can be fitted from the fraction of sites that are not polymorphic<disp-formula id="equ10"><label>(10)</label><alternatives><mml:math id="m10"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mi>P</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mi>μ</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mo>−</mml:mo><mml:mi>μ</mml:mi></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mfrac><mml:mrow><mml:munder><mml:mo>∑</mml:mo><mml:mi>l</mml:mi></mml:munder><mml:msubsup><mml:mi>P</mml:mi><mml:mi>l</mml:mi><mml:mi>S</mml:mi></mml:msubsup></mml:mrow><mml:mrow><mml:munder><mml:mo>∑</mml:mo><mml:mi>l</mml:mi></mml:munder><mml:msubsup><mml:mi>L</mml:mi><mml:mi>l</mml:mi><mml:mi>S</mml:mi></mml:msubsup></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t10">\begin{document}$$\displaystyle   P(k=0 | \mu) = e^{-\mu} = 1 - \frac{\sum_l P_l^S}{\sum_l L_l^S},$$\end{document}</tex-math></alternatives></disp-formula></p><p>from which we get the following estimate for the mean:<disp-formula id="equ11"><label>(11)</label><alternatives><mml:math id="m11"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mover><mml:mi>μ</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mi>ln</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mfrac><mml:mrow><mml:munder><mml:mo>∑</mml:mo><mml:mi>l</mml:mi></mml:munder><mml:msubsup><mml:mi>P</mml:mi><mml:mi>l</mml:mi><mml:mi>S</mml:mi></mml:msubsup></mml:mrow><mml:mrow><mml:munder><mml:mo>∑</mml:mo><mml:mi>l</mml:mi></mml:munder><mml:msubsup><mml:mi>L</mml:mi><mml:mi>l</mml:mi><mml:mi>S</mml:mi></mml:msubsup></mml:mrow></mml:mfrac></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t11">\begin{document}$$\displaystyle   \hat{\mu} = - \ln \left[ 1 - \frac{\sum_l P_l^S}{\sum_l L_l^S} \right].$$\end{document}</tex-math></alternatives></disp-formula></p><p>When we compared this prediction to the data for α, we found that the Poisson distribution gave an excellent fit for around half of the core genes (675 out of 1448) with <inline-formula><alternatives><mml:math id="inf230"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>f</mml:mi><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mspace width="thinmathspace"/><mml:mi>S</mml:mi></mml:mrow></mml:msubsup><mml:mo>≲</mml:mo><mml:mn>0.05</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft230">\begin{document}$f_{l}^{\,S}\lesssim 0.05$\end{document}</tex-math></alternatives></inline-formula>. In the remaining core genes (773 out of 1448), <inline-formula><alternatives><mml:math id="inf231"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>f</mml:mi><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mspace width="thinmathspace"/><mml:mi>S</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft231">\begin{document}$ f_{l}^{\,S}$\end{document}</tex-math></alternatives></inline-formula> was much larger than predicted from the Poisson (<xref ref-type="fig" rid="fig3">Figure 3B</xref> in main text). Note that the agreement in the inset of <xref ref-type="fig" rid="fig3">Figure 3B</xref> is based on a single fitting parameter. Based on these results, we chose a threshold of <inline-formula><alternatives><mml:math id="inf232"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>f</mml:mi><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mspace width="thinmathspace"/><mml:mi>S</mml:mi></mml:mrow></mml:msubsup><mml:mo>≤</mml:mo><mml:mn>0.05</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft232">\begin{document}$ f_{l}^{\,S}\leq 0.05$\end{document}</tex-math></alternatives></inline-formula> to define the <inline-formula><alternatives><mml:math id="inf233"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft233">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula> <italic>ancestral backbone</italic>, with all other genes labeled as hybrid.</p><p>To validate our partition, calculate the synonymous diversity <inline-formula><alternatives><mml:math id="inf234"><mml:mstyle><mml:msub><mml:mi>π</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft234">\begin{document}$  \pi_{S}$\end{document}</tex-math></alternatives></inline-formula> within each group. We found that our criterion produced a clear separation in the synonymous diversity, with low-diversity genes having a mean <inline-formula><alternatives><mml:math id="inf235"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>π</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>≈</mml:mo><mml:mn>1.7</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>−</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft235">\begin{document}$ \pi_{S}\approx 1.7\times 10^{-3}$\end{document}</tex-math></alternatives></inline-formula>, compared to <inline-formula><alternatives><mml:math id="inf236"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>π</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>≈</mml:mo><mml:mn>3.4</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>−</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft236">\begin{document}$ \pi_{S}\approx 3.4\times 10^{-2}$\end{document}</tex-math></alternatives></inline-formula> for the high-diversity genes. As a result, we estimate that more than 95% of the genetic diversity within <inline-formula><alternatives><mml:math id="inf237"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft237">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula> is the result of hybridization. This result shows that the molecular clock estimate of the time since the most common ancestor based on <inline-formula><alternatives><mml:math id="inf238"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>M</mml:mi><mml:mi>R</mml:mi><mml:mi>C</mml:mi><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>π</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mn>2</mml:mn><mml:mi>μ</mml:mi><mml:mi>τ</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft238">\begin{document}$T_{MRCA}=\pi_{S}/(2\mu\tau)$\end{document}</tex-math></alternatives></inline-formula>, where <italic>μ</italic> is the mutation rate per division and <inline-formula><alternatives><mml:math id="inf239"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>τ</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft239">\begin{document}$\tau$\end{document}</tex-math></alternatives></inline-formula> the generation time, should be interpreted with caution. In the case of <inline-formula><alternatives><mml:math id="inf240"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft240">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula> the estimate using the average <inline-formula><alternatives><mml:math id="inf241"><mml:mstyle><mml:msub><mml:mi>π</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft241">\begin{document}$  \pi_{S}$\end{document}</tex-math></alternatives></inline-formula> across the whole genome would be around an order of magnitude less than the true value, even without considering how mutation rates might change over such long time scales.</p><p>We performed a similar analysis for <italic>β</italic> but did not find any large peak near <inline-formula><alternatives><mml:math id="inf242"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>f</mml:mi><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mspace width="thinmathspace"/><mml:mi>S</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft242">\begin{document}$ f_{l}^{\,S}=0$\end{document}</tex-math></alternatives></inline-formula> (<xref ref-type="fig" rid="fig3">Figure 3C</xref> in main text). Instead, the distribution of <inline-formula><alternatives><mml:math id="inf243"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>f</mml:mi><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mspace width="thinmathspace"/><mml:mi>S</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft243">\begin{document}$ f_{l}^{\,S}$\end{document}</tex-math></alternatives></inline-formula> was close to unimodal but with significantly fatter tails compared to the Poisson. Given the excellent fit to the Poisson for <italic>α</italic> in the region where SNPs are purely due to mutations, this suggests that other mechanisms play an important role in generating the diversity within <italic>β</italic>. The most parsimonious explanation is that the hybridization process we observed in <italic>α</italic> has covered most of the original <italic>β</italic> genome by this point. While it is not clear what the distribution of <inline-formula><alternatives><mml:math id="inf244"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>f</mml:mi><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mspace width="thinmathspace"/><mml:mi>S</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft244">\begin{document}$ f_{l}^{\,S}$\end{document}</tex-math></alternatives></inline-formula> should be in this case, it is plausible that it need not be Poisson (<xref ref-type="bibr" rid="bib65">Sakoparnig et al., 2021</xref>). Further evidence in favor of this hypothesis is the presence of SNP blocks across a large fraction of <italic>β</italic> core genes, as discussed in the main text and Appendix 6.</p></sec><sec sec-type="appendix" id="s29"><title>Contribution of hybridization to genetic diversity</title><p>The large number of SNP blocks found throughout the genomes of both <italic>α</italic> and <italic>β</italic> shows that hybridization is an important source of genetic diversity for the <italic>Synechococcus</italic> population. However, because of the requirement for perfect linkage within SNP blocks, the total number of SNPs that are the result of hybridization is likely much higher than the one we infer from our algorithm. To obtain quantitative estimates of the total contribution from hybridization to the diversity, we use <italic>α</italic> as a control. As shown previously, only ≈5% of the total diversity in the high-diversity loci from <italic>α</italic> can be attributed to mutations. These loci contained 603,588 sites and 64,462 SNPs, of which 10,391 SNPs were found inside SNP blocks. Thus, only around 17% of the SNPs that are likely the result of hybridization, or hybrid SNPs, are included in the SNP blocks.</p><p>Within the <italic>β</italic> core genome, we have 1,591,476 sites and 146,906 SNPs, of which 14,819 were within SNP blocks. Assuming a similar ratio of hybrid SNPs to SNPs in SNP blocks as in <inline-formula><alternatives><mml:math id="inf245"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft245">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula>, we estimate that around 90,000 or approximately 60% of SNPs in <italic>β</italic> are the result of hybridization. This is consistent with <italic>β</italic> having evolved over longer time compared to <italic>α</italic>. However, our knowledge of how multi-locus SNP patterns change over the course of evolution is limited, so the estimates for <italic>β</italic> should be interpreted with caution. In particular, if larger segments continue to be broken up due to recombination, it is likely that the fraction of hybrid SNPs within blocks would decrease over time for a constant minimum block size <inline-formula><alternatives><mml:math id="inf246"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>l</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft246">\begin{document}$ l_{min}$\end{document}</tex-math></alternatives></inline-formula> (see Appendix 6). Thus, the overall contribution of hybridization to the <italic>β</italic> genetic diversity may be even higher.</p></sec><sec sec-type="appendix" id="s30"><title>Geological constraints on microbial evolution</title><p>Combining genetic diversity analysis with evidence from the geological record of the Yellowstone caldera allows us to make inferences about the evolutionary history of the <italic>Synechococcus</italic> population. If we assume that most of the fixed variants between species are the result of mutation accumulation, then we can use the typical synonymous divergence between species to infer the time since the most recent common ancestor for the whole population. Typical bacterial mutation rates for natural populations are around <inline-formula><alternatives><mml:math id="inf247"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>μ</mml:mi><mml:mo>∼</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>−</mml:mo><mml:mn>9.5</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft247">\begin{document}$ \mu\sim 10^{-9.5}$\end{document}</tex-math></alternatives></inline-formula> per bp per generation (<xref ref-type="bibr" rid="bib12">Chen et al., 2022</xref>). Using this rate as a baseline and assuming generation times of <inline-formula><alternatives><mml:math id="inf248"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>τ</mml:mi><mml:mo>∼</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mn>10</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft248">\begin{document}$\tau\sim 1-10$\end{document}</tex-math></alternatives></inline-formula> days gives an estimate of <inline-formula><alternatives><mml:math id="inf249"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>M</mml:mi><mml:mi>R</mml:mi><mml:mi>C</mml:mi><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>∼</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mn>6.5</mml:mn></mml:mrow></mml:msup><mml:mo>−</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mn>7.5</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft249">\begin{document}$ T_{MRCA}\sim 10^{6.5}-10^{7.5}$\end{document}</tex-math></alternatives></inline-formula> years (<xref ref-type="bibr" rid="bib64">Rosen et al., 2018</xref>).</p><p>For our argument, the lower bound is the more important one since it determines whether we can exclude the single-colonizer hypothesis. A <inline-formula><alternatives><mml:math id="inf250"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>M</mml:mi><mml:mi>R</mml:mi><mml:mi>C</mml:mi><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft250">\begin{document}$ T_{MRCA}$\end{document}</tex-math></alternatives></inline-formula> below 10<sup>6.5</sup> years would imply a shorter division time or higher mutation rate than our estimates. Our lower bound of 1 day for the division time is around the same as the fastest division rate observed in the laboratory. If the population is in steady state, as it appears to be, the division time sets the maximum generation time, which can be attained if the death rate is equally high. If the death rate is lower than this, other factors would limit cell division and the generation times would be longer. Taken together, we can be fairly confident that a generation time of 1 day is a hard lower bound.</p><p>The mutation rate is less certain since we do not have any reliable measurements and experimentally measured mutation rates might not be a good predictor of substitution rates over evolutionary times (<xref ref-type="bibr" rid="bib62">Rocha, 2018</xref>). We can instead use other bacteria to estimate a range of values. In wild-type <italic>E. coli</italic>, mutation rates of <inline-formula><alternatives><mml:math id="inf251"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mo>≈</mml:mo><mml:mn>2</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>−</mml:mo><mml:mn>10</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft251">\begin{document}$ \approx 2\cdot 10^{-10}$\end{document}</tex-math></alternatives></inline-formula> per bp per generation have been measured in laboratory conditions (<xref ref-type="bibr" rid="bib38">Lee et al., 2012</xref>), but mutator strains with rates that are up to 100 times higher are also known (<xref ref-type="bibr" rid="bib71">Sniegowski et al., 1997</xref>). In natural populations, rates as high as <inline-formula><alternatives><mml:math id="inf252"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mn>4</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>−</mml:mo><mml:mn>9</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft252">\begin{document}$ 4\cdot 10^{-9}$\end{document}</tex-math></alternatives></inline-formula> have been inferred using longitudinal sequencing (<xref ref-type="bibr" rid="bib46">Moran et al., 2009</xref>). If we use 10<sup>−85</sup> mutations per bp per generation as an upper bound, we would infer a lower bound of <inline-formula><alternatives><mml:math id="inf253"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>M</mml:mi><mml:mi>R</mml:mi><mml:mi>C</mml:mi><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>∼</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mn>5.5</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft253">\begin{document}$ T_{MRCA}\sim 10^{5.5}$\end{document}</tex-math></alternatives></inline-formula> years, which very narrowly overlaps with the time since the formation of the Yellowstone caldera. Thus, while it is not inconceivable that the three species could have diverged within the caldera, such a scenario would require all the relevant parameters to be at the limit of currently known values. In addition, such a scenario would require additional hypotheses to explain why the strains initially diverged into distinct species, with seemingly little genetic exchange between them (<xref ref-type="bibr" rid="bib64">Rosen et al., 2018</xref>), and then only much later started to hybridize. Taken together, current evidence suggests the most likely scenario is that <italic>α</italic>, <italic>β</italic>, and γ diverged from a common ancestor before the formation of the caldera around 640,000 years ago.</p></sec><sec sec-type="appendix" id="s31"><title>Upper bound on mixing time between springs</title><fig id="app7fig1" position="float"><label>Appendix 7—figure 1.</label><caption><title>Non-hybrid regions of <italic>α</italic> have similar levels of diversity within and between springs.</title><p>The distribution of pairwise synonymous diversity was calculated across non-hybrid genes from the alpha <inline-formula><alternatives><mml:math id="inf254"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft254">\begin{document}$ \alpha$\end{document}</tex-math></alternatives></inline-formula> population for different subgroups of cells. Square symbols show the distributions for pairs of cells from the same spring (purple for Mushroom Spring and cyan for Octopus Spring). The cyano triangles show the distribution for a random subsample of cells from the Octopus Spring of the same size as the Mushroom Spring sample (<inline-formula><alternatives><mml:math id="inf255"><mml:mstyle><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn>35</mml:mn></mml:mstyle></mml:math><tex-math id="inft255">\begin{document}$ n=35$\end{document}</tex-math></alternatives></inline-formula>) for comparison. The red diamonds show the distribution for pairs of cells from different springs. Non-hybrid genes were determined using a 5% cutoff in the fraction of polymorphic synonymous sites (see text).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app7-fig1-v1.tif"/></fig><p>By using the diversity within <inline-formula><alternatives><mml:math id="inf256"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft256">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula> as a proxy for time, we can obtain estimates on the time scales of spatial mixing that influences the diversity within the population. To do this, we calculated the pairwise distances in the low-diversity regions of the <inline-formula><alternatives><mml:math id="inf257"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft257">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula> genome between pairs of cells in each spring separately and pairs of cells from different springs. We found that all three distributions were similar (<xref ref-type="fig" rid="app7fig1">Appendix 7—figure 1</xref>). The mean of the distribution for cells Mushroom Spring was slightly lower than those from the Octopus spring (<inline-formula><alternatives><mml:math id="inf258"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>π</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>8.6</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>−</mml:mo><mml:mn>4</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft258">\begin{document}$ \pi_{S}=8.6\cdot 10^{-4}$\end{document}</tex-math></alternatives></inline-formula> vs <inline-formula><alternatives><mml:math id="inf259"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>π</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1.1</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>−</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft259">\begin{document}$ \pi_{S}=1.1\cdot 10^{-3}$\end{document}</tex-math></alternatives></inline-formula>) and this difference could not be explained by differences in sample sizes between the two springs. However, both values were very close to the mean of cells from different springs (<inline-formula><alternatives><mml:math id="inf260"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>π</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1.0</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>−</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft260">\begin{document}$ \pi_{S}=1.0\cdot 10^{-3}$\end{document}</tex-math></alternatives></inline-formula>). This suggests that the time scale of spatial processes relevant for the long-term evolution of the population, <inline-formula><alternatives><mml:math id="inf261"><mml:mstyle><mml:msub><mml:mi>τ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft261">\begin{document}$  \tau_{m}$\end{document}</tex-math></alternatives></inline-formula> is much shorter time scales than <inline-formula><alternatives><mml:math id="inf262"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>M</mml:mi><mml:mi>R</mml:mi><mml:mi>C</mml:mi><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft262">\begin{document}$ T_{MRCA}$\end{document}</tex-math></alternatives></inline-formula> for <italic>α</italic>. Taking <inline-formula><alternatives><mml:math id="inf263"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>M</mml:mi><mml:mi>R</mml:mi><mml:mi>C</mml:mi><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>∼</mml:mo><mml:mn>3</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft263">\begin{document}$T_{MRCA}\sim 3\cdot 10^{3}$\end{document}</tex-math></alternatives></inline-formula> years as a reference point sets an upper bound of <inline-formula><alternatives><mml:math id="inf264"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>τ</mml:mi><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>≪</mml:mo><mml:mn>3</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft264">\begin{document}$\tau_{m}\ll 3\cdot 10^{3}$\end{document}</tex-math></alternatives></inline-formula> years.</p></sec><sec sec-type="appendix" id="s32"><title>Proposed scenario for <italic>Synechococcus</italic> evolution</title><p>We propose the following scenario that is consistent with our previous discussion. First, we argued that a small number (3–6, but possibly more) of <italic>Synechococcus</italic> populations that had been evolving separately for <inline-formula><alternatives><mml:math id="inf265"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mo>∼</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mn>6</mml:mn></mml:mrow></mml:msup><mml:mo>−</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mn>7</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft265">\begin{document}$ \sim 10^{6}-10^{7}$\end{document}</tex-math></alternatives></inline-formula> years independently colonized the Yellowstone caldera after its formation 640,000 years ago. After colonization, they started to hybridize, leading to a gradual mixing of their genomes (<xref ref-type="fig" rid="fig8">Figure 8</xref>). This can be most clearly seen in the <italic>α</italic> species, where the diversity in core genes that do not show signs of hybridization is more than an order of magnitude less than those that do. Moreover, genes that have undergone hybridization account for the majority of diversity within <italic>α</italic>. Within <italic>β</italic>, we do not observe such heterogeneity, but we find SNP blocks are even more prevalent than in <italic>α</italic> (<xref ref-type="table" rid="app6table1">Appendix 6—table 1</xref>). The simplest explanation for this pattern is that <italic>β</italic> has been undergoing hybridization for longer, and by now, all of its core genome has been mixed with other species. Consistent with this explanation, we find that only a small fraction of SNP blocks within <italic>β</italic> can be traced back to <italic>α</italic> (<xref ref-type="table" rid="app6table1">Appendix 6—table 1</xref>). Most of the <italic>β</italic> SNP blocks cannot be traced to either <italic>α</italic> or <italic>γ</italic> and are likely the result of a combination of hybridization with species that are not currently within the Lower Geyser Basin, have abundances lower than our detection threshold, or have gone extinct.</p></sec></app><app id="appendix-8"><title>Appendix 8</title><sec sec-type="appendix" id="s33"><title>Estimate of recombination parameters</title><p>There are several important parameters that determine the impact of recombination and hybridization on the evolution of the population. First are the rates of recombination and mutation in the population. We denote the population recombination rate by <inline-formula><alternatives><mml:math id="inf266"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>ρ</mml:mi><mml:mo>=</mml:mo><mml:mn>2</mml:mn><mml:mi>T</mml:mi><mml:mi>R</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft266">\begin{document}$ \rho=2TR$\end{document}</tex-math></alternatives></inline-formula> and the population mutation rate by <inline-formula><alternatives><mml:math id="inf267"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>θ</mml:mi><mml:mo>=</mml:mo><mml:mn>2</mml:mn><mml:mi>T</mml:mi><mml:mi>μ</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft267">\begin{document}$ \theta=2T\mu$\end{document}</tex-math></alternatives></inline-formula>, where <italic>T</italic> is the average time since the most common ancestor, <inline-formula><alternatives><mml:math id="inf268"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>R</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft268">\begin{document}$ R$\end{document}</tex-math></alternatives></inline-formula> is the recombination rate per site, and μ is the mutation rate per site. Note that in the panmitic Wright–Fisher model, <italic>T</italic> in units of generation time is equal to the population size <inline-formula><alternatives><mml:math id="inf269"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>N</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft269">\begin{document}$N$\end{document}</tex-math></alternatives></inline-formula>, but this is not generally true (<xref ref-type="bibr" rid="bib50">Neher and Hallatschek, 2013</xref>; <xref ref-type="bibr" rid="bib81">Weissman and Hallatschek, 2014</xref>; <xref ref-type="bibr" rid="bib6">Birzu et al., 2018</xref>; <xref ref-type="bibr" rid="bib7">Birzu et al., 2021</xref>). A second important parameter is typical length of recombined segments, which we denote by <inline-formula><alternatives><mml:math id="inf270"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft270">\begin{document}$L_{r}$\end{document}</tex-math></alternatives></inline-formula>. Finally, there is the typical divergence of recombined segments. In this Appendix, we use the nucleotide distance <inline-formula><alternatives><mml:math id="inf271"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft271">\begin{document}$ p$\end{document}</tex-math></alternatives></inline-formula> or the synonymous distance <inline-formula><alternatives><mml:math id="inf272"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft272">\begin{document}$p_{S}$\end{document}</tex-math></alternatives></inline-formula>, as defined in Appendix 7. We estimated these parameters for the hybridization process, which we argued previously is the dominant source of diversity in the population.</p><p>Before describing the analysis, it is important to note that while some of the simple statistics discussed here may be captured by simple neutral models, the underlying dynamics may be far more complex. Indeed, the analysis in the main text shows extensive evidence of selective sweeps affecting the genetic diversity across a broad range of genomic length scales, contrary to simple neutral theory. Moreover, while our analysis shows that—over time scales implied by our sequencing depth—the <italic>Synechococcus</italic> population is effectively well-mixed within the caldera, the actual population is obviously not. <italic>Synechococcus</italic> cells live in a dense microbial mat spread across thousands of springs separated by distances up to ∼10<sup>2</sup> km (<xref ref-type="bibr" rid="bib77">Ward et al., 1998</xref>). As a result, we expect the long-term evolution of the population to be described by <italic>effective</italic> parameters, which may have little relation to recombination rates and population sizes directly measurable in the field or in the laboratory (<xref ref-type="bibr" rid="bib50">Neher and Hallatschek, 2013</xref>; <xref ref-type="bibr" rid="bib81">Weissman and Hallatschek, 2014</xref>; <xref ref-type="bibr" rid="bib6">Birzu et al., 2018</xref>; <xref ref-type="bibr" rid="bib7">Birzu et al., 2021</xref>). Understanding the relationship between the measurable parameters describing recombination, selection, and spatial dynamics of individual cells and the effective parameters at the population scale is an important and interesting topic for future work.</p><p>Many different methods have been proposed to estimate these or other closely related parameters (<xref ref-type="bibr" rid="bib16">Croucher et al., 2015</xref>; <xref ref-type="bibr" rid="bib20">Didelot and Wilson, 2015</xref>; <xref ref-type="bibr" rid="bib42">Lin and Kussell, 2019</xref>). All of the methods we are aware of are based on models that make various assumptions that may not be valid for any given population, such as ours. In our case, an accurate estimate of these parameters requires a quantitative model of the hybridization process and is beyond the scope of the paper. Here, we instead used the results of our previous analysis to get rough estimates of these parameters and compared them to two other commonly used methods.</p><p>We considered each species separately, starting with <italic>α</italic>. For most evolutionary models, <italic>θ</italic> can be estimated from the nucleotide diversity π (<xref ref-type="bibr" rid="bib50">Neher and Hallatschek, 2013</xref>). As in the main text, we used only synonymous sites to control for differences in the strength of purifying selection or the accumulation of non-synonymous mutations during rapid adaptation. Based on our previous analysis, we estimated the population synonymous mutation rate <inline-formula><alternatives><mml:math id="inf273"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>≈</mml:mo><mml:mn>2</mml:mn><mml:mo>⋅</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>−</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:msup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft273">\begin{document}$ \theta_{S}\approx 2\cdot 10^{-3}$\end{document}</tex-math></alternatives></inline-formula> (Appendix 7). Because of the clear distinction between the ancestral backbone and hybrid genes in <italic>α</italic>, we expect this estimate to be reasonably accurate. A rough estimate of <inline-formula><alternatives><mml:math id="inf274"><mml:mstyle><mml:mi>ρ</mml:mi></mml:mstyle></mml:math><tex-math id="inft274">\begin{document}$  \rho$\end{document}</tex-math></alternatives></inline-formula> can be obtained from the linkage disequilibrium curves (<xref ref-type="fig" rid="fig2">Figure 2</xref> in main text). Our previous analysis showed that <inline-formula><alternatives><mml:math id="inf275"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>ρ</mml:mi><mml:mo>≈</mml:mo><mml:mn>0.03</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft275">\begin{document}$\rho\approx 0.03$\end{document}</tex-math></alternatives></inline-formula> and <inline-formula><alternatives><mml:math id="inf276"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>ρ</mml:mi><mml:mo>≈</mml:mo><mml:mn>0.12</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft276">\begin{document}$ \rho\approx 0.12$\end{document}</tex-math></alternatives></inline-formula> gave good fits for <italic>α</italic> and <italic>β</italic>, respectively. Taking the ratio, we found a ratio between recombination and mutations of <inline-formula><alternatives><mml:math id="inf277"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>ρ</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>≈</mml:mo><mml:mn>15</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft277">\begin{document}$ \rho/\theta_{S}\approx 15$\end{document}</tex-math></alternatives></inline-formula>—much higher than previous estimates.</p><p>Estimating the mutation rate in <italic>β</italic> is more difficult because there are no genes unaffected by hybridization. We instead used the fraction of SNPs found in SNP blocks to estimate the diversity purely due to mutations. In Appendix 7, we estimated that around 40% of SNPs are the result of mutations. Multiplying with the synonymous diversity gave <inline-formula><alternatives><mml:math id="inf278"><mml:mstyle><mml:msub><mml:mi>θ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>≈</mml:mo><mml:mn>0.02</mml:mn></mml:mstyle></mml:math><tex-math id="inft278">\begin{document}$  \theta_{S}\approx 0.02$\end{document}</tex-math></alternatives></inline-formula>. Using this estimate, we found <inline-formula><alternatives><mml:math id="inf279"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>ρ</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>≈</mml:mo><mml:mn>6</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft279">\begin{document}$\rho/\theta_{S}\approx 6$\end{document}</tex-math></alternatives></inline-formula>, which is lower than in <inline-formula><alternatives><mml:math id="inf280"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft280">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula> but still significantly higher than values that have been reported previously.</p><p>The other recombination parameters can also be inferred from our analysis. As we showed previously, the typical divergence of hybrid segments is given by the synonymous distance between species <inline-formula><alternatives><mml:math id="inf281"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>≈</mml:mo><mml:mn>0.4</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft281">\begin{document}$p_{S}\approx 0.4$\end{document}</tex-math></alternatives></inline-formula>. We estimated the average size of recombined segments from the linkage curves. The recombination rate between two sites on the genome increases linearly with the separation <italic>x</italic> for distances shorter <inline-formula><alternatives><mml:math id="inf282"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft282">\begin{document}$ L_{r}$\end{document}</tex-math></alternatives></inline-formula>. In the standard neutral model, this leads to the scaling <inline-formula><alternatives><mml:math id="inf283"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>∼</mml:mo><mml:mn>1</mml:mn><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>x</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft283">\begin{document}$\sigma_{d}^{2}(x)\sim 1/x$\end{document}</tex-math></alternatives></inline-formula> at intermediate distances (see Appendix 4). For <inline-formula><alternatives><mml:math id="inf284"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>x</mml:mi><mml:mo>&gt;</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft284">\begin{document}$ x \gt L_{r}$\end{document}</tex-math></alternatives></inline-formula>, the recombination rate saturates to the genomewide recombination rate <inline-formula><alternatives><mml:math id="inf285"><mml:mstyle><mml:mo>∼</mml:mo><mml:mi>ρ</mml:mi><mml:msub><mml:mi>L</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft285">\begin{document}$  \sim\rho L_{r}$\end{document}</tex-math></alternatives></inline-formula>, which results in deviations of the linkage decrease from the predicted <inline-formula><alternatives><mml:math id="inf286"><mml:mstyle><mml:msubsup><mml:mi>σ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>d</mml:mi></mml:mrow><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>∼</mml:mo><mml:mn>1</mml:mn><mml:mrow class="MJX-TeXAtom-ORD"><mml:mo>/</mml:mo></mml:mrow><mml:mi>x</mml:mi></mml:mstyle></mml:math><tex-math id="inft286">\begin{document}$  \sigma_{d}^{2}(x)\sim 1/x$\end{document}</tex-math></alternatives></inline-formula> scaling. In <italic>α</italic>, we observe a deviation around <inline-formula><alternatives><mml:math id="inf287"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>x</mml:mi><mml:mo>∼</mml:mo><mml:mn>500</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft287">\begin{document}$ x\sim 500$\end{document}</tex-math></alternatives></inline-formula> bp. Note that we verified that this plateau cannot be explained by the smaller finite sample size in <inline-formula><alternatives><mml:math id="inf288"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft288">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula>. A similar argument gives a shortened segment length <inline-formula><alternatives><mml:math id="inf289"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub><mml:mo>∼</mml:mo><mml:mn>300</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft289">\begin{document}$ L_{r}\sim 300$\end{document}</tex-math></alternatives></inline-formula> bp in beta. While we cannot directly test that the plateau is not due to sample size, the small effect of subsampling we observed earlier suggests it is an unlikely explanation (<xref ref-type="fig" rid="app4fig2">Appendix 4—figure 2</xref>). Note that in both species, our estimated genomewide recombination rate <inline-formula><alternatives><mml:math id="inf290"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>ρ</mml:mi><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft290">\begin{document}$\rho L_{r}$\end{document}</tex-math></alternatives></inline-formula> is much greater than one, consistent with the genomewide linkage being close to the unlinked control, as discussed in the main text.</p></sec><sec sec-type="appendix" id="s34"><title>Comparison to other methods</title><p>We compared our analysis to standard methods. ClonalFrameML and other related software are perhaps the most widely used methods to infer bacterial recombination (<xref ref-type="bibr" rid="bib20">Didelot and Wilson, 2015</xref>). Such methods assume that recombination rates are rare enough that they can be described by a Poisson process on an asexual tree, similar to mutations. We refer to the assumption as the <italic>clonal frame hypothesis</italic>. ClonalFrameML uses the inferred phylogenetic tree from pairwise distances to identify discrete recombination events and assign them to branches on the tree. The recombination rate, genetic divergence, and length of recombined segments are then inferred from these events.</p><p>Note that the clonal frame hypothesis is inconsistent with the rapid decrease in linkage we observed (<xref ref-type="fig" rid="fig2">Figure 2</xref> in main text). Nevertheless, it is useful to see how the method performs on our data.</p><p>We used a subset of high-coverage SAGs to create whole-genome alignments for <italic>α</italic> and <italic>β</italic>, which we then analyzed with ClonalFrameML. We first selected SAGs more than 75% complete, which resulted in a dataset of 2 <italic>α</italic> and 12 <italic>β</italic> SAGs (<xref ref-type="fig" rid="app1fig1">Appendix 1—figure 1</xref>). For each species, we chose the genes that mapped to OS-A or OS-B’ and created concatenated alignments of the entire genome in the order of the references. Missing genes or sequences were replaced by gaps. We constructed the phylogenetic tree using FastTree and ran ClonalFrameML on the alignments and trees with default parameters.</p><fig id="app8fig1" position="float"><label>Appendix 8—figure 1.</label><caption><title>ClonalFrameML does not converge to a self-consistent set of recombination events in high-coverage <italic>β</italic> SAGs.</title><p>Whole-genome alignments for 12 high-coverage <italic>β</italic> SAGs were generated as described in the main text. The phylogenetic tree for this subset was inferred using FastTree with default parameters and used as input for ClonalFrameML. The histogram shows the distribution of the length of recombined segments inferred by ClonalFrameML. The solid black line shows the maximum-likelihood exponential distribution used to fit the inferred segments. Note the heavy tail of the inferred distribution which is inconsistent with the exponential fit.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app8-fig1-v1.tif"/></fig><p>For both species, ClonalFrameML inferred a ratio of recombination to mutation rates <inline-formula><alternatives><mml:math id="inf291"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>ρ</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>θ</mml:mi><mml:mo>≈</mml:mo><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft291">\begin{document}$\rho/\theta\approx 1$\end{document}</tex-math></alternatives></inline-formula> (<inline-formula><alternatives><mml:math id="inf292"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>R</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>θ</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft292">\begin{document}$ R/\theta$\end{document}</tex-math></alternatives></inline-formula> in <xref ref-type="bibr" rid="bib20">Didelot and Wilson, 2015</xref>) and a fraction of nucleotide differences for imported segments of <inline-formula><alternatives><mml:math id="inf293"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn>0.07</mml:mn><mml:mo>−</mml:mo><mml:mn>0.09</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft293">\begin{document}$ p=0.07-0.09$\end{document}</tex-math></alternatives></inline-formula> (<inline-formula><alternatives><mml:math id="inf294"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>ν</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft294">\begin{document}$ \nu$\end{document}</tex-math></alternatives></inline-formula> in <xref ref-type="bibr" rid="bib20">Didelot and Wilson, 2015</xref>). Note that both <italic>θ</italic> and <inline-formula><alternatives><mml:math id="inf295"><mml:mstyle><mml:mi>p</mml:mi></mml:mstyle></mml:math><tex-math id="inft295">\begin{document}$  p$\end{document}</tex-math></alternatives></inline-formula> reported by ClonalFrameML refer to nucleotide rather than synonymous differences. The values of <inline-formula><alternatives><mml:math id="inf296"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft296">\begin{document}$ p$\end{document}</tex-math></alternatives></inline-formula> are around half of the distance between species <inline-formula><alternatives><mml:math id="inf297"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi><mml:mo>≈</mml:mo><mml:mn>0.15</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft297">\begin{document}$ p\approx 0.15$\end{document}</tex-math></alternatives></inline-formula> and are inconsistent with our metagenome analysis which showed no genomes present in OS or MS at these divergences. The main difference between the species was in the average length of recombined segments, which was almost 10 times higher in <italic>α</italic> (<inline-formula><alternatives><mml:math id="inf298"><mml:mstyle><mml:msub><mml:mi>L</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>r</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>365</mml:mn></mml:mstyle></mml:math><tex-math id="inft298">\begin{document}$  L_{r}=365$\end{document}</tex-math></alternatives></inline-formula>) compared to <italic>β</italic> (<inline-formula><alternatives><mml:math id="inf299"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>45</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft299">\begin{document}$ L_{r}=45$\end{document}</tex-math></alternatives></inline-formula>).</p><p>A detailed comparison of the results of ClonalFrameML with our analysis is beyond the scope of this paper. Nevertheless, we found several inconsistencies in the assignment of recombined segments by ClonalFrameML. Because of the lack of data in <italic>α</italic>, we focused this analysis on <italic>β</italic>. First, we found that the distribution of recombined segment lengths was inconsistent with the exponential distribution assumed by ClonalFrameML and had a mean that was almost double the inferred <inline-formula><alternatives><mml:math id="inf300"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>δ</mml:mi><mml:mo>=</mml:mo><mml:mn>45</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft300">\begin{document}$ \delta=45$\end{document}</tex-math></alternatives></inline-formula> (<xref ref-type="fig" rid="app8fig1">Appendix 8—figure 1</xref>). Second, manual validation of a small sample of randomly chosen recombined segments revealed identical patterns present in other cells that were not assigned to the recombination event (data not shown). We suspect that these misassignments are due to the inconsistency of the observed segments with the asexual tree.</p><p>The failure of ClonalFrameML to fit the data should not be surprising. As we showed, the low levels of linkage at whole-genome scales in <italic>α</italic> and <italic>β</italic> are inconsistent with the existence of a clonal frame assumed by the model. In addition, manual validation of some of the recombined segments detected revealed spurious segments caused by gaps in coverage due to the incomplete nature of the SAGs. These results caution against the naive application of methods such as ClonalFrameML to SAG datasets in general, but also to other populations for which the clonal frame hypothesis may not hold.</p><fig id="app8fig2" position="float"><label>Appendix 8—figure 2.</label><caption><title>SNP correlation profiles in <italic>α</italic> agree with mcorr fits but show significant discrepancies at short distances in <italic>β</italic>.</title></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app8-fig2-v1.tif"/></fig><p>An alternative method for fitting the clonal frame model was proposed recently by <xref ref-type="bibr" rid="bib41">Lin and Kussell, 2017</xref>; <xref ref-type="bibr" rid="bib42">Lin and Kussell, 2019</xref>. Instead of identifying recombination events directly, they use the correlations between SNPs to infer the recombination parameters statistically. Specifically, they model a local (sample) population that evolves according to a neutral model with recombination. They assume that the population recombines with a larger and more diverse ‘pool’ that evolves according to the same model but with different parameters. Under this model and assuming the recombination to mutation rate ratios are the same in the sample and pool populations, they show that the conditional probability that two sequences differ at a site given that they differ at a second site <italic>l</italic> bp away, <inline-formula><alternatives><mml:math id="inf301"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>P</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>l</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft301">\begin{document}$ P(l)$\end{document}</tex-math></alternatives></inline-formula>, depends only on population mutation rate (<italic>θ</italic> in our notation), the population recombination rate (<inline-formula><alternatives><mml:math id="inf302"><mml:mstyle><mml:mi>ρ</mml:mi></mml:mstyle></mml:math><tex-math id="inft302">\begin{document}$  \rho$\end{document}</tex-math></alternatives></inline-formula>) and the average length of recombined segments (<inline-formula><alternatives><mml:math id="inf303"><mml:mstyle><mml:msub><mml:mi>L</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft303">\begin{document}$  L_{r}$\end{document}</tex-math></alternatives></inline-formula>). By fitting the analytical expression for <inline-formula><alternatives><mml:math id="inf304"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>P</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>l</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft304">\begin{document}$ P(l)$\end{document}</tex-math></alternatives></inline-formula> from the model to the data, all of the model parameters can be inferred.</p><table-wrap id="app8table1" position="float"><label>Appendix 8—table 1.</label><caption><title>Comparison between recombination parameters obtained from our analysis, mcorr (<xref ref-type="bibr" rid="bib42">Lin and Kussell, 2019</xref>), and ClonalFrameML (<xref ref-type="bibr" rid="bib20">Didelot and Wilson, 2015</xref>).</title><p>For each species, the four columns show the estimated ratio of recombination and mutation rates <inline-formula><alternatives><mml:math id="inf305"><mml:mstyle><mml:mi>ρ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mo>/</mml:mo></mml:mrow><mml:mi>θ</mml:mi></mml:mstyle></mml:math><tex-math id="inft305">\begin{document}$ \rho/\theta$\end{document}</tex-math></alternatives></inline-formula>, the average length of recombined segments <inline-formula><alternatives><mml:math id="inf306"><mml:mstyle><mml:msub><mml:mi>L</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft306">\begin{document}$ L_{r}$\end{document}</tex-math></alternatives></inline-formula>, the fraction of nucleotide differences between host and recombined segments, <inline-formula><alternatives><mml:math id="inf307"><mml:mstyle><mml:mi>p</mml:mi></mml:mstyle></mml:math><tex-math id="inft307">\begin{document}$ p$\end{document}</tex-math></alternatives></inline-formula> and the ancestral nucleotide diversity <inline-formula><alternatives><mml:math id="inf308"><mml:mstyle><mml:mi>θ</mml:mi></mml:mstyle></mml:math><tex-math id="inft308">\begin{document}$ \theta$\end{document}</tex-math></alternatives></inline-formula> estimated by the different methods. All quantities were converted to the notation used in the text as follows. The mcorr columns are the best fit values of the parameters <inline-formula><alternatives><mml:math id="inf309"><mml:mstyle><mml:msub><mml:mi>ϕ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mrow class="MJX-TeXAtom-ORD"><mml:mo>/</mml:mo></mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft309">\begin{document}$ \phi_{s}/\theta_{s}$\end{document}</tex-math></alternatives></inline-formula>,<inline-formula><alternatives><mml:math id="inf310"><mml:mstyle><mml:mover><mml:mi>f</mml:mi><mml:mo accent="false">¯</mml:mo></mml:mover></mml:mstyle></mml:math><tex-math id="inft310">\begin{document}$ \overline{f}$\end{document}</tex-math></alternatives></inline-formula>,<inline-formula><alternatives><mml:math id="inf311"><mml:mstyle><mml:msub><mml:mi>d</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft311">\begin{document}$ d_{p}$\end{document}</tex-math></alternatives></inline-formula>, and <inline-formula><alternatives><mml:math id="inf312"><mml:mstyle><mml:msub><mml:mi>θ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft312">\begin{document}$ \theta_{s}$\end{document}</tex-math></alternatives></inline-formula> from <xref ref-type="bibr" rid="bib42">Lin and Kussell, 2019</xref>. The ClonalFrameML columns are the maximum likelihood values of the parameters <inline-formula><alternatives><mml:math id="inf313"><mml:mstyle><mml:mi>R</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mo>/</mml:mo></mml:mrow><mml:mi>θ</mml:mi></mml:mstyle></mml:math><tex-math id="inft313">\begin{document}$ R/\theta$\end{document}</tex-math></alternatives></inline-formula>,<inline-formula><alternatives><mml:math id="inf314"><mml:mstyle><mml:mi>δ</mml:mi></mml:mstyle></mml:math><tex-math id="inft314">\begin{document}$ \delta$\end{document}</tex-math></alternatives></inline-formula>,<inline-formula><alternatives><mml:math id="inf315"><mml:mstyle><mml:mi>ν</mml:mi></mml:mstyle></mml:math><tex-math id="inft315">\begin{document}$ \nu$\end{document}</tex-math></alternatives></inline-formula>, and <inline-formula><alternatives><mml:math id="inf316"><mml:mstyle><mml:mi>θ</mml:mi></mml:mstyle></mml:math><tex-math id="inft316">\begin{document}$ \theta$\end{document}</tex-math></alternatives></inline-formula> from <xref ref-type="bibr" rid="bib20">Didelot and Wilson, 2015</xref>. Note that our analysis and mcorr only used synonymous sites, while ClonalFrameML used all sites. The diversity parameters (<inline-formula><alternatives><mml:math id="inf317"><mml:mstyle><mml:mi>ρ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mo>/</mml:mo></mml:mrow><mml:mi>θ</mml:mi></mml:mstyle></mml:math><tex-math id="inft317">\begin{document}$ \rho/\theta$\end{document}</tex-math></alternatives></inline-formula>, <inline-formula><alternatives><mml:math id="inf318"><mml:mstyle><mml:mi>p</mml:mi></mml:mstyle></mml:math><tex-math id="inft318">\begin{document}$ p$\end{document}</tex-math></alternatives></inline-formula>, and <inline-formula><alternatives><mml:math id="inf319"><mml:mstyle><mml:mi>θ</mml:mi></mml:mstyle></mml:math><tex-math id="inft319">\begin{document}$ \theta$\end{document}</tex-math></alternatives></inline-formula>) from ClonalFrameML that are not directly comparable to the other two analyses are marked by asterisks.</p></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" valign="bottom"/><th align="left" valign="bottom">Species</th><th align="left" valign="bottom"><inline-formula><alternatives><mml:math id="inf320"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>ρ</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>θ</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft320">\begin{document}$ \rho/\theta$\end{document}</tex-math></alternatives></inline-formula></th><th align="left" valign="bottom"><inline-formula><alternatives><mml:math id="inf321"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft321">\begin{document}$ L_{r}$\end{document}</tex-math></alternatives></inline-formula></th><th align="left" valign="bottom"><inline-formula><alternatives><mml:math id="inf322"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft322">\begin{document}$ p$\end{document}</tex-math></alternatives></inline-formula></th><th align="left" valign="bottom"><inline-formula><alternatives><mml:math id="inf323"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>θ</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft323">\begin{document}$ \theta$\end{document}</tex-math></alternatives></inline-formula></th></tr></thead><tbody><tr><td align="left" valign="bottom" rowspan="2">Our analysis</td><td align="left" valign="bottom"><italic>α</italic></td><td align="left" valign="bottom">∼15</td><td align="left" valign="bottom">≳500</td><td align="left" valign="bottom">0.4</td><td align="left" valign="bottom">2 · 10<sup>-3</sup></td></tr><tr><td align="left" valign="bottom"><italic>β</italic></td><td align="left" valign="bottom">∼6</td><td align="left" valign="bottom">≳300</td><td align="left" valign="bottom">0.4</td><td align="left" valign="bottom">~2 · 10<sup>-2</sup></td></tr><tr><td align="left" valign="bottom" rowspan="2">mcorr</td><td align="left" valign="bottom"><italic>α</italic></td><td align="left" valign="bottom">0.38</td><td align="left" valign="bottom">411</td><td align="left" valign="bottom">0.11</td><td align="left" valign="bottom">3 · 10<sup>-3</sup></td></tr><tr><td align="left" valign="bottom"><italic>β</italic></td><td align="left" valign="bottom">0.45</td><td align="left" valign="bottom">573</td><td align="left" valign="bottom">0.06</td><td align="left" valign="bottom">1.5 · 10<sup>-2</sup></td></tr><tr><td align="left" valign="bottom" rowspan="2">ClonalFrameML</td><td align="left" valign="bottom"><italic>α</italic></td><td align="left" valign="bottom">0.88*</td><td align="left" valign="bottom">365</td><td align="left" valign="bottom">0.07*</td><td align="left" valign="bottom">3 · 10<sup>-4*</sup></td></tr><tr><td align="left" valign="bottom"><italic>β</italic></td><td align="left" valign="bottom">1.5*</td><td align="left" valign="bottom">45</td><td align="left" valign="bottom">0.09*</td><td align="left" valign="bottom">3 · 10<sup>-4*</sup></td></tr></tbody></table></table-wrap><p>We generated alignments of the high-coverage <italic>α</italic> and <italic>β</italic> SAGs using Mauve (<xref ref-type="bibr" rid="bib17">Darling et al., 2004</xref>) and followed <xref ref-type="bibr" rid="bib42">Lin and Kussell, 2019</xref> to fit <inline-formula><alternatives><mml:math id="inf324"><mml:mstyle><mml:mi>P</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>l</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mstyle></mml:math><tex-math id="inft324">\begin{document}$  P(l)$\end{document}</tex-math></alternatives></inline-formula>. Note that unlike in ClonalFrameML, we used only synonymous sites for the mcorr analysis, so the divergences cannot be directly compared between the two methods. We found the model fit the data for <inline-formula><alternatives><mml:math id="inf325"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft325">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula> reasonably well up to two distances around 300 bp, with the exception of the first two points. However, the model was not able to capture the slower decay in correlations at longer genomic distances (see also Appendix 4). In <italic>β</italic>, the fit at short distances was considerably poorer (<xref ref-type="fig" rid="app8fig2">Appendix 8—figure 2</xref>). In particular, correlations between nearby SNPs were ∼2× higher in the data compared to the model. The increased correlations at short distances could be due to genetic hitchhiking during gene sweeps or could be a sign of subtle forms of population structure within <italic>β</italic>. Distinguishing between these scenarios is an interesting topic for future work.</p><p>Compared to ClonalFrameML, the recombined fragment lengths inferred by mcorr were larger (especially for <italic>β</italic>) and were reasonably close to our estimate. In addition, the mcorr estimate of the diversity due to mutations (<italic>θ</italic> in our notation) agreed remarkably well with our estimates in both species. Similar to ClonalFrameML, the synonymous divergence of hybrid segments was between the divergence between species and the diversity within species and was inconsistent with our metagenome analysis. Finally, the ratio of recombination and mutation rates was similar to the one inferred from ClonalFrameML and more than an order of magnitude smaller than our estimates. These results are summarized in <xref ref-type="table" rid="app8table1">Appendix 8—table 1</xref>. We leave a more careful analysis of the differences as a topic for future work.</p></sec></app><app id="appendix-9"><title>Appendix 9</title><sec sec-type="appendix" id="s35"><title>Variation in hybridization across samples</title><p>In this section, we describe how we quantified associations between genomic features and populations from different samples. Our primary focus was on differences in hybridization patterns, so we analyzed the variations in hybrid gene and SNP block haplotype frequencies across different samples and locations. Given the small number of samples in our study, we limited the number of statistical tests we performed in order to avoid false positives. For each of the two main species, <italic>α</italic> and <italic>β</italic>, we tested for the effect of sample location and sample composition separately, as described below.</p></sec><sec sec-type="appendix" id="s36"><title>Variation in SNP block haplotype frequencies</title><p>We considered two distinct hypotheses that could lead to associations between block haplotypes and environmental conditions from which the sample was taken. First, we considered if the community composition was associated with specific haplotypes by comparing samples in which a single species was present to samples which contained a mixture of <inline-formula><alternatives><mml:math id="inf326"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft326">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula> and <italic>β</italic>. For <italic>α</italic>, we chose the 48 cells from pure-<italic>α</italic> sample OS2005 as the test group and the 45 <italic>α</italic> cells from MS2004, MS2006, and OS2009 as the control. For <italic>β</italic>, we chose the 44 cells from the pure-<italic>β</italic> sample MS2005 as the test group and the 46 <italic>β</italic> cells from MS2004 and MS2006 as the control. We denote these two tests as ‘<italic>α</italic>-composition’ and ‘<italic>β</italic>-composition’ tests, respectively. Second, we considered the hypothesis that sample location was associated with specific haplotypes. For this test, we divided all cells from each species into two groups labeled MS and OS, based on the location from which the sample was taken. These tests are denoted by ‘<italic>α</italic>-location’ and ‘<italic>β</italic>-location’, respectively.</p><p>We used the following permutation test to find block haplotypes that were significantly associated with each environmental variable. We first removed all blocks in which the minority haplotype was below an arbitrary cutoff frequency, set at 5 sequences. This was done in order to avoid tests which were statistically underpowered. We then calculated the two-sided p-value for the association for each block individually using Fisher’s exact test.</p><table-wrap id="app9table1" position="float"><label>Appendix 9—table 1.</label><caption><title>Result of tests for associations between SNP block haplotypes and two environmental variables related to the samples.</title><p>The rows show the results of the different tests described in the main text. The p-value <inline-formula><alternatives><mml:math id="inf327"><mml:mstyle><mml:mi>p</mml:mi></mml:mstyle></mml:math><tex-math id="inft327">\begin{document}$ p$\end{document}</tex-math></alternatives></inline-formula> for each block was determined using Fisher’s exact test and minimum p-value from the randomized control <inline-formula><alternatives><mml:math id="inf328"><mml:mstyle><mml:msubsup><mml:mi>p</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>n</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:math><tex-math id="inft328">\begin{document}$ p_{rand}^{min}$\end{document}</tex-math></alternatives></inline-formula> was used to correct for false-discovery rates (see main text for details). The first four columns show the total number of blocks in each category. The last column shows the largest value of the <inline-formula><alternatives><mml:math id="inf329"><mml:mstyle><mml:msubsup><mml:mi>p</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>n</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mrow class="MJX-TeXAtom-ORD"><mml:mo>/</mml:mo></mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msup></mml:mstyle></mml:math><tex-math id="inft329">\begin{document}$ p_{rand}^{min}/p^{max}$\end{document}</tex-math></alternatives></inline-formula> (most significant association) for each test.</p></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" valign="bottom">Test</th><th align="left" valign="bottom">Tota blocks</th><th align="left" valign="bottom">Blocks tested</th><th align="left" valign="bottom">Significant (<inline-formula><alternatives><mml:math id="inf330"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>n</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>p</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft330">\begin{document}$ p_{rand}^{min}/p \gt 1$\end{document}</tex-math></alternatives></inline-formula>)</th><th align="left" valign="bottom">Highly significant (<inline-formula><alternatives><mml:math id="inf331"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>n</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>p</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>10</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft331">\begin{document}$ p_{rand}^{min}/p \gt 10$\end{document}</tex-math></alternatives></inline-formula>)</th><th align="left" valign="bottom">Largest <inline-formula><alternatives><mml:math id="inf332"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>n</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>p</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft332">\begin{document}$ p_{rand}^{min}/p$\end{document}</tex-math></alternatives></inline-formula></th></tr></thead><tbody><tr><td align="left" valign="bottom"><italic>α</italic>-Composition</td><td align="left" valign="bottom">1000</td><td align="left" valign="bottom">602</td><td align="left" valign="bottom">13</td><td align="left" valign="bottom">1</td><td align="left" valign="bottom">12.0</td></tr><tr><td align="left" valign="bottom"><italic>α-</italic>Location</td><td align="left" valign="bottom">1000</td><td align="left" valign="bottom">724</td><td align="left" valign="bottom">6</td><td align="left" valign="bottom">1</td><td align="left" valign="bottom">522</td></tr><tr><td align="left" valign="bottom"><italic>β</italic>-Composition</td><td align="left" valign="bottom">1483</td><td align="left" valign="bottom">848</td><td align="left" valign="bottom">0</td><td align="left" valign="bottom">0</td><td align="left" valign="bottom">0.8</td></tr><tr><td align="left" valign="bottom"><italic>β</italic>-Location</td><td align="left" valign="bottom">1483</td><td align="left" valign="bottom">1306</td><td align="left" valign="bottom">15</td><td align="left" valign="bottom">1</td><td align="left" valign="bottom">32.9</td></tr></tbody></table></table-wrap><p>Because the sampling depth for each block is variable due to variations in coverage, standard methods that correct for the false-discovery rate are not well-suited in our case. We use the following procedure to determine significant associations. We randomized the composition of the test and control cell groups for each test, while keeping the total number within each group fixed. We then recalculated the p-values using the same procedure as before and recorded the lowest p-value across all blocks <inline-formula><alternatives><mml:math id="inf333"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>n</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft333">\begin{document}$ p_{rand}^{min}$\end{document}</tex-math></alternatives></inline-formula>. We used the ratio <inline-formula><alternatives><mml:math id="inf334"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>n</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>p</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft334">\begin{document}$ p_{rand}^{min}/p$\end{document}</tex-math></alternatives></inline-formula> between the minimum p-value in the randomized control and the p-value in the test group as a measure of significance of the association. We arbitrarily set a threshold value of <inline-formula><alternatives><mml:math id="inf335"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>n</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>10</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft335">\begin{document}$ p_{rand}^{min}/p_{t}=10$\end{document}</tex-math></alternatives></inline-formula>, above which associations were deemed highly significant.</p><p>The results of these tests are summarized in <xref ref-type="table" rid="app9table1">Appendix 9—table 1</xref>.</p><p>Overall, we found very few blocks that were associated with either the sample composition or location. This is consistent with the results from the main text (<xref ref-type="fig" rid="fig7">Figure 7D</xref>), which showed that the block haplotypes are close to unlinked even on distances comparable to the whole genome. The largest number of associations was with the sample composition in the <inline-formula><alternatives><mml:math id="inf336"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft336">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula> species, consistent with the previously mentioned results, which showed a small but statistically significant increase in linkage within the <italic>α</italic> species compared to the <italic>β</italic>. Nevertheless, the overall fraction of blocks whose haplotypes were strongly associated with the sample composition was ≈1.2% and still small. We therefore concluded that neither the composition of the population within samples nor the location has a large effect on the hybridization patterns revealed by the SNP blocks. A complete table with the results of these tests can be found in the supplementary data tables.</p></sec><sec sec-type="appendix" id="s37"><title>Variation in hybrid gene transfers</title><p>We also examined variations in the rate of transfers of whole-gene alleles across species. The lower overall number of such events compared to the SNP blocks makes statistical tests for associations much more likely to yield false positives in this case. As a result, we limited the analysis to a qualitative comparison of the number of different types of transfers across samples shown in <xref ref-type="fig" rid="app9fig1">Appendix 9—figure 1</xref>. We did not observe any systematic variations with either sample location or sample composition for either species.</p><fig id="app9fig1" position="float"><label>Appendix 9—figure 1.</label><caption><title>Numbers and types of gene transfers between species are similar across samples.</title><p>The number of hybrid gene transfers from each donor found in <italic>α</italic> (<bold>A</bold>) and <italic>β</italic> (<bold>B</bold>) cells across all eight samples in the data. The labels <inline-formula><alternatives><mml:math id="inf337"><mml:mstyle><mml:mi>A</mml:mi></mml:mstyle></mml:math><tex-math id="inft337">\begin{document}$ A$\end{document}</tex-math></alternatives></inline-formula>, <inline-formula><alternatives><mml:math id="inf338"><mml:mstyle><mml:mi>B</mml:mi></mml:mstyle></mml:math><tex-math id="inft338">\begin{document}$ B$\end{document}</tex-math></alternatives></inline-formula>, and <inline-formula><alternatives><mml:math id="inf339"><mml:mstyle><mml:mi>C</mml:mi></mml:mstyle></mml:math><tex-math id="inft339">\begin{document}$ C$\end{document}</tex-math></alternatives></inline-formula>, denote <italic>α</italic>, <italic>β</italic>, and <inline-formula><alternatives><mml:math id="inf340"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft340">\begin{document}$ \gamma$\end{document}</tex-math></alternatives></inline-formula>, respectively, while <inline-formula><alternatives><mml:math id="inf341"><mml:mstyle><mml:mi>X</mml:mi></mml:mstyle></mml:math><tex-math id="inft341">\begin{document}$ X$\end{document}</tex-math></alternatives></inline-formula> denotes other <italic>Synechococcus</italic> clusters.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app9-fig1-v1.tif"/></fig></sec></app><app id="appendix-10"><title>Appendix 10</title><sec sec-type="appendix" id="s38"><title>Data quality control</title><p>Beyond the processing steps outlined in Appendix 1, we also explicitly verified that the hybridization patterns we observe cannot be explained by sequencing and genome assembly artifacts. Specifically, we tested if misassembly of reads from distinct alleles of the same gene could explain the presence of hybrid sequences. We considered two main sources of such reads: cross-contamination from neighboring reaction wells during whole-genome amplification (WGA) and the presence of paralogs horizontally transferred from other species.</p><p>Distinguishing between hybridization and artifacts is hard because both can lead to similar signals. Here, the structure of data provides us natural controls. First, <italic>α</italic> has genes with low diversity and little sign of hybridization and high-diversity genes with extensive hybridization. We can use former to establish a baseline for genome coverage and check for deviations in the later. If the hybridized genes are caused by misassemblies of actual between <italic>α</italic> genes and contamination from <italic>β</italic> or between different alleles of the same gene within <italic>α</italic> cells, we should see an increase in the coverage at these loci. Second, the variability in species composition across samples provides controls for cross-contamination between reaction wells. Specifically, OS2005 contained 48 cells, all classified as <italic>α</italic>, while MS2004, MS2006, and OS2009 together contained 45 <italic>α</italic> cells amplified on plates with mixtures of <italic>α</italic> and <italic>β</italic> cells in similar proportions (<xref ref-type="fig" rid="app10fig1">Appendix 10—figure 1</xref>). We will refer to the former as the <italic>control SAGs sample</italic> and the latter as the <italic>test SAGs sample</italic>. We used these two groups as a measure of the contribution of cross-contamination from neighboring <italic>β</italic> cells to the observed hybridization in <italic>α</italic>.</p><fig id="app10fig1" position="float"><label>Appendix 10—figure 1.</label><caption><title>Species composition is highly variable across samples.</title></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app10-fig1-v1.tif"/></fig><p>We first divided the core <italic>α</italic> OGs into test and control groups as follows. We first divided OGs into low- and high-diversity groups based on the probability that synonymous sites are segregating in the sample using a cutoff at 0.05. From the low-diversity OGs, we chose the subset that were grouped into <italic>α</italic> and <italic>β</italic>, or <italic>α</italic>, <italic>β</italic>, and <inline-formula><alternatives><mml:math id="inf342"><mml:mstyle><mml:mi>γ</mml:mi></mml:mstyle></mml:math><tex-math id="inft342">\begin{document}$  \gamma$\end{document}</tex-math></alternatives></inline-formula> clusters during the pagenome construction (approximately 300 each out of a total of ∼800). These OGs were nearly clonal in the <italic>α</italic> sample and showed little to no evidence of hybridization in our entire data. These OGs will form the <italic>control OG group</italic>. From the high-diversity OGs, we selected those where all sequences were grouped together in a single mixed-species cluster (∼300 out of a total of ∼600). These include the cases with the most extensive hybridization and thus formed the <italic>test OG group</italic>.</p><p>We validated that core gene coverage can be described by a random process in which each gene has a fixed probability <inline-formula><alternatives><mml:math id="inf343"><mml:mstyle><mml:mi>p</mml:mi></mml:mstyle></mml:math><tex-math id="inft343">\begin{document}$  p$\end{document}</tex-math></alternatives></inline-formula> of being present in the assembly. We fitted the baseline probability <inline-formula><alternatives><mml:math id="inf344"><mml:mstyle><mml:mi>p</mml:mi></mml:mstyle></mml:math><tex-math id="inft344">\begin{document}$  p$\end{document}</tex-math></alternatives></inline-formula> using the low-diversity genes from the OS2005 <italic>α</italic> cells. Many of these genes were clonal within the entire <italic>α</italic> sample and showed no evidence of hybridization with the other species in our sample. They thus provide a good baseline for the expected coverage in the absence of contamination. While the coverage among different SAGs was highly variable (<xref ref-type="fig" rid="app10fig2">Appendix 10—figure 2A</xref>), we found that the distribution of coverages of different genes was well fitted by a Gaussian distribution with the mean and variance given by assuming each gene is an independent Bernoulli random variable with success probability <inline-formula><alternatives><mml:math id="inf345"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi><mml:mo>≈</mml:mo><mml:mn>0.29</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft345">\begin{document}$ p\approx 0.29$\end{document}</tex-math></alternatives></inline-formula>. We tested the independence assumption by calculating the covariance between the presence of different genes (<xref ref-type="fig" rid="app10fig2">Appendix 10—figure 2C</xref>). Under our very simple model, any correlations between the coverage at different loci would be purely due to statistical fluctuations caused by finite sample sizes. The distribution of diagonal (<inline-formula><alternatives><mml:math id="inf346"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>a</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft346">\begin{document}$C_{aa}$\end{document}</tex-math></alternatives></inline-formula>) and off-diagonal (<inline-formula><alternatives><mml:math id="inf347"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>a</mml:mi><mml:mi>b</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft347">\begin{document}$C_{ab}$\end{document}</tex-math></alternatives></inline-formula>) components of the covariance matrix can then be calculated exactly given <inline-formula><alternatives><mml:math id="inf348"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft348">\begin{document}$ p$\end{document}</tex-math></alternatives></inline-formula>. We compared the values obtained from the data with these predictions and found a very good agreement (<xref ref-type="fig" rid="app10fig2">Appendix 10—figure 2D</xref>).</p><fig id="app10fig2" position="float"><label>Appendix 10—figure 2.</label><caption><title>Genome coverage across core genes is well-explained by independent presence–absence model.</title><p>(<bold>A</bold>) shows the presence-absence matrix <inline-formula><alternatives><mml:math id="inf349"><mml:mstyle><mml:msub><mml:mi>P</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>i</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:math><tex-math id="inft349">\begin{document}$ P_{ia}$\end{document}</tex-math></alternatives></inline-formula> of low-diversity OGs in the control single-amplified genome (SAG) sample OS2005 (see main text for definitions). Rows and columns were ordered in decreasing order of the sums across the columns and rows, respectively. (<bold>B</bold>) shows the correlation matrix between OG presences defined as <inline-formula><alternatives><mml:math id="inf350"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>a</mml:mi><mml:mi>b</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mi>N</mml:mi><mml:mrow><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:munderover><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:mover><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo accent="false">¯</mml:mo></mml:mover><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>b</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:mover><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo accent="false">¯</mml:mo></mml:mover><mml:mo stretchy="false">)</mml:mo><mml:mo fence="false" stretchy="false">⟩</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft350">\begin{document}$ C_{ab}=N^{-1}\sum_{i=1}^{N}\langle(P_{ia}-\overline{P_{i}})(P_{ib}-\overline{P _{i}})\rangle$\end{document}</tex-math></alternatives></inline-formula>, where <inline-formula><alternatives><mml:math id="inf351"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mover><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo accent="false">¯</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:msup><mml:mi>N</mml:mi><mml:mrow><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>a</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft351">\begin{document}$ \overline{P_{i}}=N^{-1}\sum_{a=1}^{L}P_{ia}$\end{document}</tex-math></alternatives></inline-formula>. Note the use of the mean abundance for each SAG rather than <inline-formula><alternatives><mml:math id="inf352"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mi>N</mml:mi><mml:mi>L</mml:mi><mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mrow><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>a</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft352">\begin{document}$ p=(NL)^{-1}\sum_{i,a}P_{ia}$\end{document}</tex-math></alternatives></inline-formula> to account for the large variability in coverage between SAGs. (<bold>C</bold>) shows the distribution of OG presences <inline-formula><alternatives><mml:math id="inf353"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mover><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mo accent="false">¯</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:msup><mml:mi>N</mml:mi><mml:mrow><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft353">\begin{document}$ \overline{P_{a}}=N^{-1}\sum_{i=1}^{N}P_{ia}$\end{document}</tex-math></alternatives></inline-formula>. The solid orange line shows the Gaussian fit under the assumption that each gene is a Bernoulli random variable with success probability <inline-formula><alternatives><mml:math id="inf354"><mml:mstyle><mml:mi>p</mml:mi></mml:mstyle></mml:math><tex-math id="inft354">\begin{document}$ p$\end{document}</tex-math></alternatives></inline-formula>. (<bold>D</bold>) shows the distribution of the entries in the covariance matrix from (<bold>B</bold>) together with the predictions for the diagonal (orange) and off-diagonal (green) components under the assumption that each gene is independent and present in the final assembly with probability <inline-formula><alternatives><mml:math id="inf355"><mml:mstyle><mml:mi>p</mml:mi></mml:mstyle></mml:math><tex-math id="inft355">\begin{document}$ p$\end{document}</tex-math></alternatives></inline-formula>. Note the value of <inline-formula><alternatives><mml:math id="inf356"><mml:mstyle><mml:mi>p</mml:mi></mml:mstyle></mml:math><tex-math id="inft356">\begin{document}$ p$\end{document}</tex-math></alternatives></inline-formula> was obtained from panel (<bold>C</bold>), and there are no free parameters for the predicted curves.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app10-fig2-v1.tif"/></fig><p>Having validated our gene presence model, we can now use it to perform simple but quite powerful tests for different artifacts. Consider the extreme case where all of the hybrid genes we observe are the result of misassemblies of reads from two distinct alleles, one from <inline-formula><alternatives><mml:math id="inf357"><mml:mstyle><mml:mi>α</mml:mi></mml:mstyle></mml:math><tex-math id="inft357">\begin{document}$  \alpha$\end{document}</tex-math></alternatives></inline-formula> and one from either <italic>β</italic> or <italic>γ</italic>, from the same reaction well. Note that for this argument, it is unimportant whether the alternative allele is due to contamination or genuine horizontal transfer that resulted in two distinct, unmixed copies of the gene. In either case, the probability of observing the gene in our assembly would be <inline-formula><alternatives><mml:math id="inf358"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>o</mml:mi><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mn>2</mml:mn><mml:mo>−</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>≈</mml:mo><mml:mn>0.5</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft358">\begin{document}$ P_{obs}=p(2-p)\approx 0.5$\end{document}</tex-math></alternatives></inline-formula>, which is significantly higher than for a true single-copy gene. We tested for such an increase by comparing the distribution of coverages among <italic>α</italic> cells in the OS2005 sample of high-diversity genes that formed a single mixed cluster across all sequences in our data (see Appendix 1) and low-diversity genes with distinct <italic>α</italic> and <italic>β</italic> or <italic>α</italic>, <italic>β</italic>, and <italic>γ</italic> clusters. We found the two distributions were very similar to each other (<xref ref-type="fig" rid="app10fig3">Appendix 10—figure 3A</xref>), with a small but statistically significant increase in the mean coverage at low-diversity genes with distinct species clusters (<inline-formula><alternatives><mml:math id="inf359"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>n</mml:mi><mml:mi>t</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mo>≈</mml:mo><mml:mn>0.3</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft359">\begin{document}$ p_{control}\approx 0.3$\end{document}</tex-math></alternatives></inline-formula> vs <inline-formula><alternatives><mml:math id="inf360"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>e</mml:mi><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>≈</mml:mo><mml:mn>0.28</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft360">\begin{document}$p_{test}\approx 0.28$\end{document}</tex-math></alternatives></inline-formula>). The difference is in the opposite direction from the one expected from the misassembly hypothesis, but it corresponds to less than an extra copy of a gene on average and is unlikely to have any consequence for our conclusions.</p><p>Note that the misassembly hypothesis above would also predict a specific pattern for the sequences within <italic>α</italic>, with a large fraction <inline-formula><alternatives><mml:math id="inf361"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mn>2</mml:mn><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mn>2</mml:mn><mml:mo>−</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>≈</mml:mo><mml:mn>0.83</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft361">\begin{document}$2(1-p)/(2-p)\approx 0.83$\end{document}</tex-math></alternatives></inline-formula> having either the pure <italic>α</italic> or the pure <italic>β</italic> alleles, and <inline-formula><alternatives><mml:math id="inf362"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>p</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mn>2</mml:mn><mml:mo>−</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>≈</mml:mo><mml:mn>0.17</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft362">\begin{document}$ p/(2-p)\approx 0.17$\end{document}</tex-math></alternatives></inline-formula> containing a mixture. We do not find evidence of such patterns in our data. More importantly, the 0.17 fraction is an upper bound on the maximum frequency of mixtures that can be explained through misassembly, as any lower amounts of contamination would lead to fewer chimeric sequences. Note that both of the above tests take advantage of the fact that the typical genome coverage is low.</p><p>Using a similar method to the one described above, we can also check for contributions from cross-contamination between reaction wells on the formation of chimeric sequences. Here, we compared the coverage distribution of mixed-species orthogroups in the mixed <inline-formula><alternatives><mml:math id="inf363"><mml:mstyle><mml:mi>α</mml:mi><mml:mo>−</mml:mo><mml:mi>β</mml:mi></mml:mstyle></mml:math><tex-math id="inft363">\begin{document}$  \alpha-\beta$\end{document}</tex-math></alternatives></inline-formula> samples described previously with the control group from the all <italic>α</italic> sample OS2005. If cross-contamination with <italic>β</italic> was a significant contributor to the presence of mixed-species orthogroups, one would expect a large difference between the two distributions. We did observe a large systematic difference between the two groups in the overall coverage <inline-formula><alternatives><mml:math id="inf364"><mml:mstyle><mml:mi>p</mml:mi></mml:mstyle></mml:math><tex-math id="inft364">\begin{document}$  p$\end{document}</tex-math></alternatives></inline-formula> across all genes (data not shown), which was likely due to batch effects in the amplification and sequencing. We therefore compared the mean-centered distributions between the two groups and found no difference between them and the fit to the independent presence-absence model from before (<xref ref-type="fig" rid="app10fig3">Appendix 10—figure 3B</xref>).</p><fig id="app10fig3" position="float"><label>Appendix 10—figure 3.</label><caption><title>Variability in core gene presence is inconsistent with observed hybridization being dominated by artifacts.</title><p>(<bold>A</bold>) compares the presence distributions among the control single-amplified genome (SAG) sample of the test OG group (blue) with the control group (orange), as defined in the main text. (<bold>B</bold>) compares the presence distributions of the test OG group in the control (blue) and test (orange) SAG samples. The green line shows the fit from <xref ref-type="fig" rid="app10fig2">Appendix 10—figure 2C</xref>. All distributions were centered at zero to control for batch effects (see main text).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app10-fig3-v1.tif"/></fig><p>Beyond the indirect presence of hybridization given by the presence of mixed-species orthogroups, we also tested for any effect of cross-contamination on the presence of linkage blocks. We applied the same algorithm described in Appendix 6 to the subsample of 48 <italic>α</italic> cells from OS2005 and compared the results with those from random samples of <italic>α</italic> cells from samples with mixtures of <italic>α</italic> and <italic>β</italic> cells. We found that the number of blocks detected in OS2005 was similar to the bootstrapped distribution from mixed <inline-formula><alternatives><mml:math id="inf365"><mml:mstyle><mml:mi>α</mml:mi><mml:mo>−</mml:mo><mml:mi>β</mml:mi></mml:mstyle></mml:math><tex-math id="inft365">\begin{document}$  \alpha-\beta$\end{document}</tex-math></alternatives></inline-formula> samples (<xref ref-type="fig" rid="app10fig4">Appendix 10—figure 4A</xref>). We also found the distribution of block lengths and divergences between block haplotypes to be similar as well (<xref ref-type="fig" rid="app10fig4">Appendix 10—figure 4BC</xref>).</p><fig id="app10fig4" position="float"><label>Appendix 10—figure 4.</label><caption><title>Linkage blocks are robust to large variations in species composition across samples.</title><p>(<bold>A</bold>) Bootstrapped distribution of the number of linkage blocks detected in alignments across fourfold degenerate sites. The distribution was obtained by randomly choosing groups of 48 single-amplified genomes (SAGs) from samples containing mixtures of <italic>α</italic> and <italic>β</italic> SAGs (MS2004, MS2006, OS2006, OS2007, and OS2009). The arrow shows the number of blocks detected using the 48 SAGs from OS2005, which only contained <italic>α</italic> SAGs. Comparison of the distributions of block lengths (<bold>B</bold>) and divergence between the two haplotypes from each block (<bold>C</bold>) is shown in the other two panels. OS2005 (shown in blue) is compared to a randomly chosen sample from panel A (shown in orange).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-90849-app10-fig4-v1.tif"/></fig><p>Based on the evidence presented above, we concluded that cross-contamination between reaction wells and genome assembly artifacts does not contribute significantly to the presence of mixed-species orthogroups or linkage blocks. While we cannot definitively exclude that some sequences we observe are the result of amplification or assembly errors, the evidence above shows that they are rare enough to not have a significant effect on our main conclusions.</p></sec></app></app-group>
    <sec sec-type="data-availability">
      <title>Data Availability</title>
      <p>All SAG assemblies and metagenome samples used in this study can be found on the JGI website (https://genome.jgi.doe.gov/portal/) under the project ID 503441. The analyzed data and code used to produce the figures in the main text are publicly available at https://github.com/gbirzu/yellowstone_cyanobacteria_hybridization (copy archived at Birzu, 2025) and https://doi.org/10.5281/zenodo.17534465.</p>
      <p>The following dataset was generated:</p>
      <p>G Birzu, 2025, Yellowstone Cyanobacteria hybridization, Zenodo, 10.5281/zenodo.17534464</p>
      <p>All SAG assemblies and metagenome samples used in this study can be found on the JGI website (https://genome.jgi.doe.gov/portal/) under the project ID 503441. The analyzed data and code used to produce the figures in the main text are publicly available at https://github.com/gbirzu/yellowstone_cyanobacteria_hybridization (copy archived at Birzu, 2025) and https://doi.org/10.5281/zenodo.17534465.</p>
      <p>The following dataset was generated:</p>
      <p>G Birzu, 2025, Yellowstone Cyanobacteria hybridization, Zenodo, 10.5281/zenodo.17534464</p>
    </sec>
  </back>
</article>
