1. Hughes, T. P. et al. Global warming and recurrent mass bleaching of corals. Nature 543, 373–377 (2017).

2. Bourne, D. G., Morrow, K. M. & Webster, N. S. Insights into the coral microbiome: underpinning the health and resilience of reef ecosystems. Annu. Rev. Microbiol. 70, 317–340 (2016).

3. Torda, G. et al. Rapid adaptive responses to climate change in corals. Nat. Clim. Change 7, 627–636 (2017).

4. Fabricius, K. E. et al. Losers and winners in coral reefs acclimatized to elevated carbon dioxide concentrations. Nat. Clim. Change 1, 165–169 (2011).

5. Voolstra, C. R. et al. Comparative analysis of the genomes of Stylophora pistillata and Acropora digitifera provides evidence for extensive differences between species of corals. Sci. Rep. 7, 17583 (2017).

6. Shinzato, C. et al. Using the Acropora digitifera genome to understand coral responses to environmental change. Nature 476, 320–323 (2011).

7. LaJeunesse, T. C. et al. Systematic revision of Symbiodiniaceae highlights the antiquity and diversity of coral endosymbionts. Curr. Biol. 28, 2570–2580 (2018).

8. LaJeunesse, T. C. et al. High diversity and host specificity observed among symbiotic dinoflagellates in reef coral communities from Hawaii. Coral Reefs 23, 596–603 (2004).

9. Fitt, W. K. et al. Response of two species of Indo-Pacific corals, Porites cylindrica and Stylophora pistillata, to short-term thermal stress: the host does matter in determining the tolerance of corals to bleaching. J. Exp. Mar. Bio. Ecol. 373, 102–110 (2009).

10. Aranda, M. et al. Genomes of coral dinoflagellate symbionts highlight evolutionary adaptations conducive to a symbiotic lifestyle. Sci. Rep. 6, 39734 (2016).

11. Krueger, T. & Gates, R. D. Cultivating endosymbionts—host environmental mimics support the survival of Symbiodinium C15 ex hospite. J. Exp. Mar. Bio. Ecol. 413, 169–176 (2012).

12. Glasl, B., Herndl, G. J. & Frade, P. R. The microbiome of coral surface mucus has a key role in mediating holobiont health and survival upon disturbance. ISME J. 10, 2280–2292 (2016).

13. Pootakham, W. et al. High resolution profiling of coral-associated bacterial communities using full-length 16S rRNA sequence data from PacBio SMRT sequencing system. Sci. Rep. 7, 2774 (2017).

14. Li, J. et al. Bacterial dynamics within the mucus, tissue and skeleton of the coral Porites lutea during different seasons. Sci. Rep. 4, 7320 (2014).

15. Wegley, L., Edwards, R., Rodriguez‐Brito, B., Liu, H. & Rohwer, F. Metagenomic analysis of the microbial community associated with the coral Porites astreoides. Environ. Microbiol. 9, 2707–2719 (2007).

16. Podell, S. et al. Pangenomic comparison of globally distributed Poribacteria associated with sponge hosts and marine particles. ISME J. 13, 468–481 (2019).

17. Nguyen, M. T. H. D., Liu, M. & Thomas, T. Ankyrin‐repeat proteins from sponge symbionts modulate amoebal phagocytosis. Mol. Ecol. 23, 1635–1645 (2014).

18. Al-Khodor, S., Price, C. T., Kalia, A. & Kwaik, Y. A. Functional diversity of ankyrin repeats in microbial proteins. Trends Microbiol. 18, 132–139 (2010).

19. Jernigan, K. K. & Bordenstein, S. R. Ankyrin domains across the Tree of Life. PeerJ 2, e264 (2014).

20. Xu, C. & Min, J. Structure and function of WD40 domain proteins. Protein Cell 2, 202–214 (2011).

21. Hallam, S. J. et al. Genomic analysis of the uncultivated marine crenarchaeote Cenarchaeum symbiosum. Proc. Natl Acad. Sci. USA 103, 18296–18301 (2006).

22. Kamke, J. et al. The candidate phylum Poribacteria by single-cell genomics: new insights into phylogeny, cell-compartmentation, eukaryote-like repeat proteins, and other genomic features. PLoS ONE 9, e87353 (2014).

23. Yano, K. et al. CERBERUS, a novel U‐box protein containing WD‐40 repeats, is required for formation of the infection thread and nodule development in the legume–Rhizobium symbiosis. Plant J. 60, 168–180 (2009).

24. Tully, B. J., Graham, E. D. & Heidelberg, J. F. The reconstruction of 2,631 draft metagenome-assembled genomes from the global oceans. Sci. Data 5, 170203 (2018).

25. Falkowski, P. G., Dubinsky, Z., Muscatine, L. & Porter, J. W. Light and the bioenergetics of a symbiotic coral. Bioscience 34, 705–709 (1984).

26. Grottoli, A. G., Rodrigues, L. J. & Palardy, J. E. Heterotrophic plasticity and resilience in bleached corals. Nature 440, 1186–1189 (2006).

27. Palardy, J. E., Rodrigues, L. J. & Grottoli, A. G. The importance of zooplankton to the daily metabolic carbon requirements of healthy and bleached corals at two depths. J. Exp. Mar. Bio. Ecol. 367, 180–188 (2008).

28. Falkowski, P. G., Dubinsky, Z., Muscatine, L. & McCloskey, L. Population control in symbiotic corals: ammonium ions and organic materials maintain the density of zooxanthellae. Bioscience 43, 606–611 (1993).

29. Walker, C. B. et al. Nitrosopumilus maritimus genome reveals unique mechanisms for nitrification and autotrophy in globally distributed marine crenarchaea. Proc. Natl Acad. Sci. USA 107, 8818–8823 (2010).

30. Garren, M. & Azam, F. Corals shed bacteria as a potential mechanism of resilience to organic matter enrichment. ISME J. 6, 1159–1165 (2012).

31. Koren, O. & Rosenberg, E. Bacteria associated with mucus and tissues of the coral Oculina patagonica in summer and winter. Appl. Environ. Microbiol. 72, 5254–5259 (2006).

32. Croft, M. T., Lawrence, A. D., Raux-Deery, E., Warren, M. J. & Smith, A. G. Algae acquire vitamin B 12 through a symbiotic relationship with bacteria. Nature 438, 90–93 (2005).

33. Salem, H. et al. Vitamin supplementation by gut symbionts ensures metabolic homeostasis in an insect host. Proc. R. Soc. B 281, 20141838 (2014).

34. Shinzato, C., Inoue, M. & Kusakabe, M. A snapshot of a coral “holobiont”: a transcriptome assembly of the scleractinian coral, Porites, captures a wide variety of genes from both the host and symbiotic zooxanthellae. PLoS ONE 9, e85182 (2014).

35. Pogoreutz, C. et al. Sugar enrichment provides evidence for a role of nitrogen fixation in coral bleaching. Glob. Change Biol. 23, 3838–3848 (2017).

36. Pogoreutz, C. et al. Nitrogen fixation aligns with nifH abundance and expression in two coral trophic functional groups. Front. Microbiol. 8, 1187 (2017).

37. Rädecker, N., Pogoreutz, C., Voolstra, C. R., Wiedenmann, J. & Wild, C. Nitrogen cycling in corals: the key to understanding holobiont functioning? Trends Microbiol. 23, 490–497 (2015).

38. Cardini, U., Bednarz, V. N., Foster, R. A. & Wild, C. Benthic N 2 fixation in coral reefs and the potential effects of human-induced environmental change. Ecol. Evol. 4, 1706–1727 (2014).

39. Crandall, J. B. & Teece, M. A. Urea is a dynamic pool of bioavailable nitrogen in coral reefs. Coral Reefs 31, 207–214 (2012).

40. Grover, R., Maguer, J. F., Allemand, D. & Ferrier-Pagès, C. Urea uptake by the scleractinian coral Stylophora pistillata. J. Exp. Mar. Bio. Ecol. 332, 216–225 (2006).

41. Loya, Y. et al. Coral bleaching: the winners and the losers. Ecol. Lett. 4, 122–131 (2001).

42. Kopp, C. et al. Highly dynamic cellular-level response of symbiotic coral to a sudden increase in environmental nitrogen. mBio 4, e00052-13 (2013).

43. Wegley, L. et al. Coral-associated Archaea. Mar. Ecol. Prog. Ser. 273, 89–96 (2004).

44. Siboni, N., Ben‐Dov, E., Sivan, A. & Kushmaro, A. Global distribution and diversity of coral‐associated Archaea and their possible role in the coral holobiont nitrogen cycle. Environ. Microbiol. 10, 2979–2990 (2008).

45. Siboni, N., Ben-Dov, E., Sivan, A. & Kushmaro, A. Geographic specific coral-associated ammonia-oxidizing archaea in the northern Gulf of Eilat (Red Sea). Microb. Ecol. 64, 18–24 (2012).

46. Kellogg, C. A. Tropical Archaea: diversity associated with the surface microlayer of corals. Mar. Ecol. Prog. Ser. 273, 81–88 (2004).

47. Koch, H. et al. Expanded metabolic versatility of ubiquitous nitrite-oxidizing bacteria from the genus Nitrospira. Proc. Natl Acad. Sci. USA 112, 11371–11376 (2015).

48. Rosenberg, E., DeLong, E. F., Lory, S., Stackebrandt, E. & Thompson, F. The Prokaryotes: Prokaryotic Communities and Ecophysiology (Springer, 2012).

49. Krapp, A. et al. Nitrate transport and signalling in Arabidopsis. J. Exp. Bot. 65, 789–798 (2014).

50. Raina, J. B. et al. Subcellular tracking reveals the location of dimethylsulfoniopropionate in microalgae and visualises its uptake by marine bacteria. eLife 6, e23008 (2017).

51. Raina, J.-B. et al. DMSP biosynthesis by an animal and its role in coral thermal stress response. Nature 502, 677–680 (2013).

52. Curson, A. R. J., Todd, J. D., Sullivan, M. J. & Johnston, A. W. B. Catabolism of dimethylsulphoniopropionate: microorganisms, enzymes and genes. Nat. Rev. Microbiol. 9, 849–859 (2011).

53. Alcolombri, U., Lei, L., Meltzer, D., Vardi, A. & Tawfik, D. S. Assigning the algal source of dimethylsulfide using a selective lyase inhibitor. ACS Chem. Biol. 12, 41–46 (2017).

54. Sunda, W., Kieber, D. J., Kiene, R. P. & Huntsman, S. An antioxidant function for DMSP and DMS in marine algae. Nature 418, 317–320 (2002).

55. Schuller-Levis, G. B. & Park, E. Taurine: new implications for an old amino acid. FEMS Microbiol. Lett. 226, 195–202 (2003).

56. Levin, R. A. et al. Engineering strategies to decode and enhance the genomes of coral symbionts. Front. Microbiol. 8, 1220 (2017).

57. Peixoto, R. S., Rosado, P. M., de Assis Leite, D. C., Rosado, A. S. & Bourne, D. G. Beneficial microorganisms for corals (BMC): proposed mechanisms for coral health and resilience. Front. Microbiol. 8, 1–16 (2017).

58. Rosado, P. M. et al. Marine probiotics: increasing coral resistance to bleaching through microbiome manipulation. ISME J. 13, 921–936 (2019).

59. Kwong, W. K., del Campo, J., Mathur, V., Vermeij, M. J. A. & Keeling, P. J. A widespread coral-infecting apicomplexan with chlorophyll biosynthesis genes. Nature 568, 103–107 (2019).

60. Engelbrektson, A. et al. Experimental factors affecting PCR-based estimates of microbial species richness and evenness. ISME J. 4, 642–647 (2010).

61. Li, H. & Durbin, R. Fast and accurate short read alignment with Burrows-Wheeler transform. Bioinformatics 25, 1754–1760 (2009).

62. Wu, Y.-W., Simmons, B. A. & Singer, S. W. MaxBin 2.0: an automated binning algorithm to recover genomes from multiple metagenomic datasets. Bioinformatics 32, 605–607 (2016).

63. Kang, D. D., Froula, J., Egan, R. & Wang, Z. MetaBAT, an efficient tool for accurately reconstructing single genomes from complex microbial communities. PeerJ 3, e1165 (2015).

64. Parks, D. H., Imelfort, M., Skennerton, C. T., Hugenholtz, P. & Tyson, G. W. CheckM: assessing the quality of microbial genomes recovered from isolates, single cells, and metagenomes. Genome Res. 25, 1043–1055 (2015).

65. Evans, P. N. et al. Methane metabolism in the archaeal phylum Bathyarchaeota revealed by genome-centric metagenomics. Science 350, 434–438 (2015).

66. McDonald, D. et al. An improved Greengenes taxonomy with explicit ranks for ecological and evolutionary analyses of bacteria and archaea. ISME J. 6, 610–618 (2012).

67. Ludwig, W. et al. ARB: a software environment for sequence data. Nucleic Acids Res. 32, 1363–1371 (2004).

68. Boratyn, G. M. et al. BLAST: a more efficient report with usability improvements. Nucleic Acids Res. 41, 29–33 (2013).

69. Olm, M. R., Brown, C. T., Brooks, B. & Banfield, J. F. DRep: a tool for fast and accurate genomic comparisons that enables improved genome recovery from metagenomes through de-replication. ISME J. 11, 2864–2868 (2017).

70. Boyd, J. A., Woodcroft, B. J. & Tyson, G. W. GraftM: a tool for scalable, phylogenetically informed classification of genes within metagenomes. Nucleic Acids Res. 46, e59 (2018).

71. Price, M. N., Dehal, P. S. & Arkin, A. P. FastTree 2—approximately maximum-likelihood trees for large alignments. PLoS ONE 5, e9490 (2010).

72. Howard, E. C., Sun, S., Biers, E. J. & Moran, M. A. Abundant and diverse bacteria involved in DMSP degradation in marine surface waters. Environ. Microbiol. 10, 2397–2410 (2008).

73. Howard, E. C. et al. Bacterial taxa that limis sulphur flux from the ocean. Science 314, 649–652 (2006).

74. Todd, J. D., Curson, A. R. J., Dupont, C. L., Nicholson, P. & Johnston, A. W. B. The dddP gene, encoding a novel enzyme that converts dimethylsulfoniopropionate into dimethyl sulfide, is widespread in ocean metagenomes and marine bacteria and also occurs in some Ascomycete fungi. Environ. Microbiol. 11, 1376–1385 (2009).

75. Xie, J. B. et al. Comparative genomic analysis of N 2 -fixing and non-N 2 -fixing Paenibacillus spp.: organization, evolution and expression of the nitrogen fixation genes. PLoS Genet. 10, e1004231 (2014).

76. Gaby, J. C. & Buckley, D. H. A comprehensive aligned nifH gene database: a multipurpose tool for studies of nitrogen-fixing bacteria. Database 2014, bau001 (2014).

77. Mehta, M. P., Butterfield, D. A. & Baross, J. A. Phylogenetic diversity of nitrogenase (nifH) genes in deep-sea and hydrothermal vent environments of the Juan de Fuca Ridge. Appl. Environ. Microbiol. 69, 960–970 (2003).

78. EDDY, S. R. A new generation of homology search tools based on probabilistic inference. Genome Inform. 23, 205–211 (2009).

79. Kolde, R. pheatmap: pretty heatmaps. R package version 61 (2012).

80. R Core Team R: A Language and Environment for Statistical Computing (R Foundation for Statistical Computing, 2013).

81. McMillan, J., Yellowlees, D., Heyward, A., Harrison, P. & Miller, D. J. Preparation of high molecular weight DNA from hermatypic corals and its use for DNA hybridization and cloning. Mar. Biol. 98, 271–276 (1988).

82. Huang, S. et al. HaploMerger: reconstructing allelic relationships for polymorphic diploid genome assemblies. Genome Res. 22, 1581–1588 (2012).

83. Luo, R. et al. SOAPdenovo2: an empirically improved memory-efficient short-read de novo assembler. Gigascience 1, 18 (2012).

84. Haas, B. J. et al. De novo transcript sequence reconstruction from RNA-seq using the Trinity platform for reference generation and analysis. Nat. Protoc. 8, 1494–1512 (2013).

85. Li, W. & Godzik, A. Cd-hit: A fast program for clustering and comparing large sets of protein or nucleotide sequences. Bioinformatics 22, 1658–1659 (2006).

86. Boeckmann, B. et al. The SWISS-PROT protein knowledgebase and its supplement TrEMBL in 2003. Nucleic Acids Res. 31, 365–370 (2003).

87. Remmert, M., Biegert, A., Hauser, A. & Söding, J. HHblits: lightning-fast iterative protein sequence searching by HMM-HMM alignment. Nat. Methods 9, 173–175 (2012).

88. Stanke, M. et al. AUGUSTUS: ab initio prediction of alternative transcripts. Nucleic Acids Res. 34, 435–439 (2006).

89. Korf, I. Gene finding in novel genomes. BMC Bioinform. 5, 59 (2004).

90. Borodovsky, M. & Lomsadze, A. Eukaryotic gene prediction using GeneMark.hmm-E and GeneMark-ES. Curr. Protoc. Bioinform. 4, 1–11 (2011).

91. Majoros, W. H., Pertea, M. & Salzberg, S. L. TigrScan and GlimmerHMM: two open source ab initio eukaryotic gene-finders. Bioinformatics 20, 2878–2879 (2004).

92. Haas, B. J. et al. Automated eukaryotic gene structure annotation using EVidenceModeler and the Program to Assemble Spliced Alignments. Genome Biol. 9, R7 (2008).

93. O’Brien, K. P., Remm, M. & Sonnhammer, E. L. L. Inparanoid: a comprehensive database of eukaryotic orthologs. Nucleic Acids Res. 33, 476–480 (2005).

94. Liu, H. et al. Symbiodinium genomes reveal adaptive evolution of functions related to coral-dinoflagellate symbiosis. Commun. Biol. 1, 95 (2018).

95. Bolger, A. M., Lohse, M. & Usadel, B. Trimmomatic: a flexible trimmer for Illumina sequence data. Bioinformatics 30, 2114–2120 (2014).

96. Langmead, B. & Salzberg, S. L. Fast gapped-read alignment with Bowtie 2. Nat. Methods 9, 357–359 (2012).

97. Lin, S. et al. The Symbiodinium kawagutii genome illuminates dinoflagellate gene expression and coral symbiosis. Science 350, 691–694 (2015).

98. Bankevich, A. et al. SPAdes: a new genome assembly algorithm and its applications to single-cell sequencing. J. Comput. Biol. 19, 455–477 (2012).

99. Xue, W. et al. L_RNA_scaffolder: scaffolding genomes with transcripts. BMC Genom. 14, 604 (2013).

100. Haas, B. J. et al. Improving the Arabidopsis genome annotation using maximal transcript alignment assemblies. Nucleic Acids Res. 31, 5654–5666 (2003).

101. Holt, C. & Yandell, M. MAKER2: an annotation pipeline and genome-database management tool for second-generation genome projects. BMC Bioinform. 12, 491 (2011).

102. Parra, G., Bradnam, K. & Korf, I. CEGMA: a pipeline to accurately annotate core genes in eukaryotic genomes. Bioinformatics 23, 1061–1067 (2007).

103. Baumgarten, S. et al. The genome of Aiptasia, a sea anemone model for coral symbiosis. Proc. Natl Acad. Sci. USA 112, 11893–11898 (2015).

104. Putnam, N. H. et al. Sea anemone genome reveals ancestral eumetazoan gene repertoire and genomic organization. Science 317, 86–94 (2007).