# Abstract

Developmental constraints have been postulated to limit the space of feasible phenotypes and thus shape animal evolution. These constraints have been suggested to be the strongest during either early or mid-embryogenesis, which corresponds to the early conservation model or the hourglass model, respectively. Conflicting results have been reported, but in recent studies of animal transcriptomes the hourglass model has been favored. Studies usually report descriptive statistics calculated for all genes over all developmental time points. This introduces dependencies between the sets of compared genes, and may lead to biased results. Here we overcome this problem using an alternative modular analysis. We used the Iterative Signature Algorithm to identify distinct modules of genes co-expressed specifically in consecutive stages of zebrafish development. We then performed a detailed comparison of several gene properties between modules, allowing for a less biased and more powerful analysis. Notably, our analysis corroborated the hourglass pattern only at the regulatory level, with sequences of regulatory regions being most conserved for genes expressed in mid-development, but not at the level of gene sequence, age or expression, in contrast to some previous studies. The early conservation model was supported with gene duplication and birth that were the most rare for genes expressed in early development. Finally, for all gene properties we observed the least conservation for genes expressed in late development or adult, consistent with both models. Overall, with the modular approach, we showed that different levels of molecular evolution follow different patterns of developmental constraints. Thus both models are valid, but with respect to different genomic features.

# Author Summary

During development, vertebrate embryos pass through a "phylotypic" stage, during which their morphology is most similar between different species. This gave rise to the hourglass model, which predicts the highest developmental constraints during mid-embryogenesis. In the last decade a large effort has been made to uncover the relation between developmental constraints and the evolution of genome. Several studies reported gene characteristics that change according to the hourglass model, e.g., sequence conservation, age or expression. Here, we first show that some of the previous conclusions do not hold out under detailed analysis of the data. Then, we discuss the disadvantages of the standard evo-devo approach, i.e., comparing descriptive statistics of all genes across development. Results of such analysis are biased by genes expressed constantly during development (housekeeping genes). To overcome this limitation we use a modularization approach, which reduces the complexity of the data and assures independency between the sets of genes which are compared. We identified distinct sets of genes (modules) with time-specific expression in zebrafish development and analyzed their conservation of sequence, gene expression and regulatory elements, as well as their age, and orthology relationships. Interestingly, we found different patterns of developmental constraints for different genes properties. Only conserved regulatory regions follow an hourglass pattern.

# Introduction

Developmental constraints have been suggested to play an important role in shaping the evolution of embryonic development in animals. Briefly, the concept of developmental constraints assumes that the scope of developmental mechanisms limits the set of phenotypes that may evolve. Thus, morphological similarities between embryos of different species could reflect these underlying constraints . Two main models of embryonic developmental constraints have been put forward. The *early conservation* model predicts that the highest developmental constraints occur at the beginning of embryogenesis. This corresponds to von Baer's third law , postulating that embryos of different species progressively diverge from one another during ontogeny. However, in modern times, the highest morphological similarity between embryos of different species was observed in the *phylotypic stage* (i.e., mid-embryogenesis) . Consequently, Duboule and Raff proposed the so-called *hourglass* model, which has since become widely accepted (see, e.g., ). It predicts the highest developmental constraints during mid-embryogenesis.

At the genomic level, the hourglass model was originally linked to the expression of HOX genes in animals . More recently, the emphasis has shifted to the relation, if any, between developmental constraints and the evolution and function of the genome (reviewed in ). Different studies have reported several characteristics supporting the hourglass model in animals on the genomic level. Hazkani-Covo et al. reported the highest protein sequence similarity between mouse and human for genes expressed in mid-development. In two influential papers, Domazet-Lošo and Tautz reported that the genes expressed in mid-development of zebrafish are older than genes expressed early or late, while Kalinka et al. showed that genes expressed in mid-development of fruit flies have the highest expression conservation. Similarly, Irie and Kuratani reported the highest expression conservation between zebrafish, frog, chicken and mouse, for genes expressed in mid-development. Very recently, the hourglass model was argued to hold also for plants embryogenesis with respect to gene age and sequence conservation . However, some of these results do not hold out under a detailed analyses (see Box 1 and Supplementary Materials). For example, applying a standard log-transformation to microarray signal intensities used in changes the reported pattern such that it no longer supports the hourglass model (figure 1). Moreover, other studies have also found genetic patterns supporting an early conservation model .

In most of the studies of developmental constraints the authors compared descriptive statistics of all genes across all developmental time-points (e.g., median expression , weighted mean age , mean expression correlation ). Such an approach introduces dependencies between the sets of genes which are compared, and consequently can produce results biased by genes expressed at many time-points. For example, housekeeping genes contribute to the average gene expression at all time points, and hence dilute trends. To overcome this essential problem, we have used a *modularization* approach, which we applied to the recently published transcriptome data of zebrafish development . We decomposed the genes into independent sets, i.e., *modules*, that contained genes overexpressed solely in one of seven developmental stages: cleavage/blastula, gastrula, segmentation, pharyngula, larva, juvenile and adult. This decomposition allowed us to compare only sets of genes that have specific functions during embryonic development. For each of the seven modules, we studied five properties of its genes: 1) gene sequence conservation, 2) gene age, 3) gene expression conservation, 4) gene orthology relationships, and 5) regulatory elements conservation.

Here, we show that different levels of molecular evolution follow different patterns of developmental constraints. First, the regulatory elements are most conserved for transcription factors expressed at mid-development, consistent with the hourglass model. Contrary to what has been reported previously , we did not detect the hourglass pattern for gene sequence, age and expression. Second, constraints on gene duplication and on new gene introduction are the strongest in early development, supporting the early conservation model (consistent with ). Finally, all gene properties displayed the least conservation in late development and adult, which is in agreement with both models of developmental constraints.

# Results

## Modules

Our goal was to analyze the developmental constraints acting on different gene properties. To this end we identified and analyzed groups of genes co-expressed during distinct developmental stages. We applied the Iterative Signature Algorithm (ISA) to the zebrafish expression data published by Domazet-Lošo and Tautz , which measured the dynamics of the transcriptome during development with a resolution of 60 time points. The ISA is a modularization algorithm that finds genes with similar expression profiles and groups them into so-called transcription modules. In order to detect modules of genes with specific expression during the zebrafish development, we initialized the ISA with seven idealized expression profiles that corresponded to successive developmental stages (see Supplementary Materials and Supplementary figure S10).

We obtained seven modules, each containing genes overexpressed during one of the following developmental stages: cleavage/blastula, gastrula, segmentation, pharyngula, larva, juvenile and adult (figure ). Overall, the modules covered the entire development. The phylotypic stage in which the hourglass model predicts the highest evolutionary constraint corresponds to the segmentation and pharyngula modules. We will refer to these two modules as phylotypic modules. The cleavage/blastula and gastrula modules will be referred to as early modules, and larva, juvenile and adult modules as late modules.

The adjacent modules partially overlapped in their gene content. In order to allow for unbiased cross-module comparisons, genes belonging to two modules were kept in the one with the highest ISA gene score (see Methods); this concerned $534$ genes in total. The seven modules, i.e., cleavage/blastula, gastrula, pharyngula, segmention, larva, juvenile and adult, contained $444$, $820$, $487$, $414$, $415$, $290$ and $207$ genes, respectively (see Supplementary table S3 for the lists of the genes). Overall, $3077$ different genes were present in these modules, which implies a significant reduction of the number of genes being analyzed in comparison to the original data ($14 293$ genes on the microarray). In particular, the ISA removed the bias related to the genes expressed uniformly across development (like housekeeping genes).

## Functional annotation

We verified the function of genes in modules detected by the ISA by comparing them to relevant known lists of genes. We found that the cleavage/blastula module was significantly enriched in maternal genes identified in (36 genes vs. 19 expected by chance; hypergeometric test, $p = 0.01$), and the gastrula module was highly significantly enriched in post-midblastula transition (post-MBT) genes identified in (78 genes vs. 25 expected by chance; hypergeometric test, $p = 2.8\times10^{-18}$). We confirmed the relevance of the segmentation and pharyngula modules by verifying that they were enriched in HOX genes (24 and 7 genes vs. 1 expected by chance, respectively; hypergeometric test, $p = 5.6\times10^{-16}$ and $2.9\times10^{-4}$, respectively), which is consistent with their role in mid-development . We did not have any gold standard for genes expressed at the late stages of development. However, since the early and phylotypic modules were enriched in genes with relevant functions, we are confident that the same is true for the late modules.

Moreover, GO enrichment analysis confirmed that genes from the modules were enriched in functions relevant to the respective developmental stages. For example, the cleavage/blastula module was enriched in genes involved in protein phosphorylation and dephosphorylation processes, which is consistent with kinase-dependent control of cell cycle and regulation of mid-blastula transition (MBT) in vertebrates . The pharyngula module was enriched in genes associated with cell differentiation, and anatomical structure development. Finally, the adult module was enriched in genes involved in responses to environment, although not significantly (Supplementary table S2).

## Sequence conservation

We checked whether the sequences of genes from different modules evolved under different selective pressure. To this end, we calculated the non-synonymous to synonymous substitution ratios ($d_N/d_S$) for genes in the modules and asked if the ratio was significantly lower for any of them. With the early conservation model, we would expect the lowest $d_N/d_S$ values for genes from early modules. Whereas with the hourglass model, we would expect the lowest $d_N/d_S$ values for genes from the phylotypic modules. In the cleavage/blastula module the median $d_N/d_S$ was not different from the median $d_N/d_S$ for all genes (equal to 0.15). In the other four modules covering embryonic development the median $d_N/d_S$ was lower than the median $d_N/d_S$ for all genes (figure A), and the difference was significant for all but the segmentation module (randomization test, $p < 0.003$ for the gastrula, pharyngula and larva modules). In the juvenile module, the median $d_N/d_S$ was significantly higher than the median $d_N/d_S$ for all genes (randomization test, $p = 0.003$). In the adult module, the median $d_N/d_S$ was also higher than the median $d_N/d_S$ for all genes, but the difference was not significant. When analyzing separately sites under purifying selection or evolving neutrally, we also find weaker purifying selection during post-embryonic stages (see Supplementary Materials and Supplementary figure S11).

These results were consistent with the study by Roux and Robinson-Rechavi , who also reported equally low $d_N/d_S$ values during the entire zebrafish embryogenesis, and a small increase in mid-larva, juvenile and adult. In contrast, Hazkani-Covo et al. reported an hourglass pattern for protein distance between mouse and human genes expressed during development. However, the trend was not significant. In some evidence for early conservation was reported in mouse. Projecting the genes from zebrafish modules to mouse-human orthologs, we found equal conservation across development (Supplementary figure S12). Overall, data analyses support similar evolutionary constraints on sequences of genes expressed during whole embryogenesis of zebrafish, while for mouse more developmental data is needed to be conclusive.

## Gene age

The differences in age of genes expressed during different stages of the development have been suggested to be a good indicator of evolutionary constraints . Thus, we investigated the age of genes belonging to different modules. We dated each gene by its first appearance in the phylogeny and assigned it to one of the five age groups: 1) Fungi/Metazoa, 2) Bilateria, 3) Coelomata+Chordata, 4) Euteleostomi and 5) Clupeocephala+*Danio rerio*. Next, for each module we calculated the age distribution of its genes, i.e., the number of genes belonging to each age group, and compared it with the age distribution of all genes.

For all but the cleavage/blastula module we detected significant age variations which differed across modules (figure B; chi-square goodness of fit test, all $p < 1.3\times10^{-5}$). The oldest genes which belong to the Fungi/Metazoa class were overrepresented in the gastrula module (36.7% of genes in the module vs. 25.7% of all genes). The younger Bilateria genes were overrepresented in the phylotypic modules (45.5% and 52.1% of genes in the segmentation and pharyngula modules, respectively, vs. 34.4% of all genes). The youngest genes were overrepresented in the late modules (e.g., for Eutelostomi genes: 25.7%, 35.1% and 35.6% of such genes in larva, juvenile and adult modules, respectively, vs. 18% of all genes). In contrast, Domazet-Lošo and Tautz reported that genes expressed in early and late development tend to be younger than genes expressed in mid-development, supporting the hourglass model. Yet, that result does not hold for log-transformed gene expression levels (Box 1), and is not recovered with measures of gene age other than the transcriptome age index (see Supplementary Materials and Supplementary figure S6). With the modular approach we observed that the age of expressed genes decreased throughout ontogeny. This pattern suggests that the oldest evolutionary stages tend to express the oldest genes.

## Gene family size

Both gene duplication and gene loss can impact phenotypic evolution . The outcome of these events can be summarized by the resulting gene family size. Consequently, constrained developmental stages should display less changes in gene family size than other stages. To test this hypothesis, for each zebrafish module we calculated the number of its genes that were in 1) one-to-one, 2) one-to-many, 3) many-to-many, and 4) no orthology relation to mouse genes (i.e., no ortholog detectable by the criteria used in Ensembl Compara ).

We compared the observed distributions with the distribution of the ortholog relationships for all genes. We detected significant variations of the ortholog relationship for the cleavage/blastula module and for all three late modules (chi-square goodness of fit test, all $p < 9\times10^{-5}$). Moreover, the pattern of variation itself differed across different modules. The number of one-to-one orthologs decreased throughout development (figure C). It was significantly higher than expected only in the cleavage/blastula module ($54.6\%$ of genes in the module vs. $45.4\%$ of all genes). In contrast, the number of genes with no orthologous relationship increased throughout development (figure C). It was significantly higher than expected only in the juvenile and adult modules (38.2% and 38.4% of genes in the two modules, respectively, vs. 20.4% of all genes), consistent with the excess of "young" genes. A similar pattern was observed for many-to-many orthologs (10.4% and 7.8% of genes in the two modules, respectively, vs. 3.9% of all genes). Finally, the number of one-to-many orthologs was higher than expected only in the larva module (45.6% of genes in the module vs. 30.3% of all genes), and did not differ from expectation in all other modules.

These results were consistent with in which the genes retained in duplicates after the teleost-specific whole genome duplication were reported to have low expression early in the development. Here, we recovered an analogous pattern with the modular approach, showing that the genes expressed early in the development are retained in duplicates less often than genes expressed later. Note that our observation is not limited to whole genome duplication. In addition, we detected the highest number of novel genes amongst genes expressed late in the development.

## Expression conservation

Changes in gene expression are one of the main sources of morphological variation . The developmental constraints on gene expression might differ from those on the gene sequence . Thus, for each module, we compared the mean expression profile of its genes with the mean expression profile of their one-to-one orthologs in mouse. We used two different data sets with expression values of mouse genes during the development. The use of two data sets was necessary, because there does not exist a single experiment covering the entire mouse development. The incompatibility of the two microarrays impaired the statistical strength of the analysis. For this reasons the results reported here should be regarded rather as qualitative than quantitative.

Since homology cannot be defined for individual developmental stages between zebrafish and mouse, we first mapped every time point to its broad metastage defined in Bgee (figure ). Next, we calculated the mean expression level in every metastage. This resulted in six expression values for each gene during the development of mouse and zebrafish: zygote, cleavage, blastula, neurula, organogenesis, and post-embryonic stage. Note that the mouse microarrays did not cover the gastrula stage at all. For each module we calculated the Pearson's correlation between the mean expression of its genes and their mouse orthologs across the six metastages. For the cleavage/blastula module no correlation was detected, probably due to the incompatibility of the two mouse microarrays. Nevertheless, there exists a plausible, biological interpretation of the differences in gene expression between the early stages of zebrafish and mouse development. Zebrafish and mouse form two different embryological structures during blastulation, a blastula and a blastocyst, respectively. The blastocyst is a mammalian innovation that consists of an embryoblast (that develop into structures of the fetus) and a trophoblast (that form the extraembryonic tissue). In contrast, there is no extraembryonic tissue in zebrafish. Overall, the lack of correlation between gene expression for the early stages of mouse and zebrafish development could be explained by these structural differences. For other modules the correlation was positive (figure D), however due to the low number of data points in the analysis, no correlation values were significant (all $p>0.01$).

These results stood in contrast with the report by Irie and Kuratani who showed the highest conservation of gene expression in mid-development. However, a re-analysis of their data suggested that this observation was not significant (see Supplementary Materials and Supplementary figure S9). Also, both their and our studies shared problems related to the use of two data sets from different sources to cover mouse development. This and the lack of a straightforward homology between ontogenies of different species made it difficult to conclude on the conservation of gene expression during vertebrate development.

## Regulatory regions

The *cis*-regulatory hypothesis asserts that most morphological evolution is due to changes in *cis*-regulatory sequences . A reasonable prediction of this hypothesis is slower *cis*-element turnover in morphologically conserved developmental periods. We examined the presence of highly conserved non-coding elements (HCNEs) and of transposon-free regions (TFRs) in the proximity of genes from each module. In the analysis of HCNEs, we counted their number between zebrafish and mouse (detected with $70\%$ identity) in regions of $500$ base pairs upstream from the transcription start site. We found that only genes from the phylotypic modules were significantly enriched in HCNEs (hypergeometric test, $p = 8\times10^{-6}$, and $p = 1.1\times10^{-4}$ for segmentation and phayrngula modules, respectively). We tested the sensitivity of the results by changing the analyzed regions' length to $200$ and $1000$ base pairs upstream from the transcription start site, by looking for HCNEs in introns, and using HCNEs detected with identity of $90\%$. In all cases, we obtained similar results (see Supplementary table S1). In the analysis of TFRs, we counted the number of genes from each module that have been associated with TFRs in zebrafish. Importantly, these TFRs were reported to be conserved between vertebrates as distant as zebrafish and human. We found that only genes from the pharyngula module were significantly enriched in TFRs (hypergeometric test, $p = 5.7\times10^{-7}$).

The highly conserved non-coding elements and transposon-free regions are often associated with developmental regulatory genes, and with transcription factors (TFs) in particular . In order to confirm this association, we calculated the fractions of genes with HCNEs or with TFRs in their proximity. We observed that for both features this fraction was higher for TFs than for all genes. Importantly, we observed that only the phylotypic modules were enriched in TFs (figure E). This partially explained the enrichment in HCNEs and TFRs for genes expressed in mid-development. In addition, HCNEs were more often present in the proximity of TFs from the pharyngula module than in the proximity of TFs in general (figure E; $8.8\%$ of TFs from the pharyngula module had at least one HCNE in their proximity, and only $3.7\%$ of all TFs had at least one HCNEs in their proximity). Also TFRs were more often present in the proximity of TFs from the phylotypic modules than in the proximity of TFs in general (figure E; $31\%$ and $45\%$ of TFs from the segmentation and pharyngula modules, respectively, had TFRs in their proximity, and only $26\%$ of all TFs had TFRs in their proximity). Consequently, the enrichment in HCNEs and TFRs for genes expressed in the phylotypic stage seems to be related to the regulation of developmental processes. Interestingly, only few Hox genes from phylotypic modules were associated with HCNEs (four Hox genes from segmentation module), and with TFRs (six Hox genes from segmentation module, and one Hox gene from pharyngula module).

In addition, we checked for genes that preserved their specific ancestral order in the genome across metazoans (so called conserved ancestral microsyntenic pairs, ) and are known to be involved in the regulation of development. We found that they were slightly overrepresented in the segmentation module, but only at the limit of statistical significance (see Supplementary Materials).

Finally, we checked for core developmental genes in each module (see for the list of genes). These genes are known to be involved in the regulation of development, and to have highly conserved regulatory regions within different taxa, including, nematodes, insects and vertebrates . We detected a significant enrichment in these genes only in the pharyngula module ($20$ core genes; hypergeometric test, $p = 6.9 \times 10^{-19}$), supporting the hourglass model.

# Discussion

Our goal was to study developmental constraints acting on various gene properties in vertebrates. Overall, we analyzed and compared five gene characteristics, namely the conservation of gene sequence, gene expression, and regulatory elements, as well as age and orthology relationships. To this end we identified distinct sets of genes with time-specific expression in zebrafish development, i.e., genes over-expressed in one of the seven consecutive stages: cleavage/blastula, gastrula, segmentation, pharyngula, larva, juvenile and adult. We believe that the change in expression level is a reliable indicator of gene involvement in different stages, although genes might also play a role outside the stages of their highest expression. Moreover, the modules contained genes overexpressed in relation to other stages, regardless of the absolute values of their expression. Thus, lowly expressed genes were also considered by the modularization algorithm, as long as they displayed some variance in expression levels over developmental time.

Several features do not show any significant pattern over embryonic development, often in contradiction to previous reports. There is notably no evidence for change in selective pressure acting on sequences of protein-coding genes (i.e., $d_N/d_S$) over development (in contrast to ). Unfortunately, the available data does not allow a strong conclusion concerning the conservation of expression (in contrast to ), despite the probable importance of this feature in the evolution of development. In this respect, the situation in vertebrates stands in contrast to the relatively clear results in flies , where the evolution of expression has been shown to be most constrained in mid-development.

Gene orthology relations support the early conservation model. We show that early stages are less prone to tolerate both gene duplication (consistent with ) and gene introduction. The deficit in duplication in early development could also be due to a lack of opportunities for neo- or sub-functionalization in the anatomically simpler stages, which is not exclusive with strong purifying selection. The interpretation of transcriptome age is less straightforward. Our observations suggest that the oldest evolutionary stages tend to express of the oldest genes. It is possible that early stages are evolutionarily oldest, and that this is why they are enriched in oldest genes. Consequently, it is the presence of young genes in a module that would mark relaxed developmental constraints during the corresponding stage. However, neither early nor phylotypic modules are enriched in young genes (Euteleostomi and Clupeocephala+*Danio rerio*), which suggests similar developmental constraints in early and mid-ontogeny. In any case, we do not find any support for the hypothesis that the phylotypic stage would be characterized by the oldest transcriptome (in contrast to ).

While the modularization approach does not support several previous hypotheses of genomic traces of the phylotypic period, it allows us to distinguish a strong signal of conservation of gene regulation in mid-development. While this had not yet been reported in genomic studies, it is consistent with early descriptions of the phylotypic stage as characterized by HOX genes body patterning activity . Of note, the patterns that we observe are robust to the removal of Hox genes (data not shown), so they are more general than this original observation. We observed an excess of HCNEs only for genes expressed in the pharyngula module, and an excess of TFRs only for genes expressed in the phylotypic modules. The enrichment in HCNEs and TFRs has been related to developmental regulatory genes, and to transcription factors (TFs) in particular . Indeed, we observed that more TFs were expressed in mid-development than in other stages. Also, we showed that a significant proportion of TFs expressed in mid-development had conserved regulatory regions (i.e., HCNEs and TFRs), in contrast to TFs expressed early or late. Consequently, the enrichment in HCNEs and TFRs for genes expressed in mid-development can be explained by both a higher number of TFs and a higher number of HCNEs and TFRs for these TFs, than for genes expressed earlier or later. Moreover, the pharyngula module was associated with core developmental genes. Overall, these results suggest that mid-developmental processes have extremely high conservation of regulation. This conservation could translate into observed common traits of the phylum expressed at the phenotypic level during mid-development. In addition, core developmental genes are known to be present in different taxa (e.g., nematodes, insects and vertebrates), in each of which they have a conserved regulation that evolved in parallel . This could explain why the phylotypic stage is observed not only in vertebrates , but also in other phyla, e.g., in arthropods .

Finally, for all of the features which we have considered there is at least some trend towards weaker evolutionary constraints in the latest stages: $d_N/d_S$ is higher in post-embryonic stages and there are less sites under purifying selection (Supplementary figure S11); correlation of expression is lowest for maternal, larval and adult genes; young genes and genes with duplications in fishes or other vertebrates are overrepresented in late modules; and genes expressed in juveniles and adults have the less HCNEs and TFRs. Although not all of these trends are significant, no feature shows stronger conservation in late development or adult. Thus, while different aspects of gene evolution show constraints at different times of development, there appears to be a generally faster evolution of all aspects of larval, juvenile and adult genes. Whether this is due to lower constraints (i.e., less purifying selection) or to stronger involvement in adaptation (i.e., more diversifying selection), remains an open question.

In summary, we studied evidence for, or against, any particular pattern of developmental constraints by considering sets of genes with time-specific expression patterns. Comparing such independent sets of genes with a clear function during embryogenesis resulted in cleaner and more fine-grained characterization of evolutionary patterns than previously reported. Notably, we showed that different levels of molecular evolution follow different patterns of developmental constraints. The sequence of regulatory regions is most conserved for genes expressed in mid-development, consistent with the hourglass model. Gene duplication and new gene introduction is most constrained during early development, supporting the early conservation model. Whereas, all gene properties coherently show the least conservation for the latest stages, consistent with both the early conservation and the hourglass models.

# Methods

## Gene expression data

Microarray data of zebrafish development were downloaded from NCBI's Gene Expression Omnibus (GSE24616). This study was performed on the Agilent Zebrafish (V2) Gene Expression Microarray. In total, expression profiles for 60 developmental stages (from unfertilized egg to adults stages) were measured. The last ten stages (55 days - 1 year 6 months) were measured separately for male and female. Two replicates were made per time point, resulting in $(50 + 2 \times 10) \times 2 = 140$ microarrays in total. For each microarray, values of gProccessedSignal were log10 transformed and normalized as follows. Separately for each replicate, we equalized the expression signals between microarrays using the spike-ins reference, to account for different amounts of RNA present throughout development. To this aim, we first quantile normalized the expression signal of all spike-ins from all microarrays. Then, for each spike-in level we took the median value of expression signal before and after quantile normalization. This resulted in $10$ pairs of expression signals (original signal vs. normalized signal). With linear interpolation between these points, we obtained a piecewise linear curve that defined a mapping from original to normalized expression signals, which we used to equalize the expression signals from all microarrays. This was done by projecting each expression signal onto the piecewise linear curve and calculating the corresponding normalized value. Finally, we quantile normalized the data within replicates and computed the mean value for each gene within replicates. Expression values measured separately for males and females were averaged for each time point.

Microarray data of mouse development were downloaded from Array Express (E-MEXP-51 and E-MTAB-368). The E-MEXP-51 study was performed on (C57BL/6$\times$CBA)F1 mice using Affymetrix GeneChip Murine Genome U74Av2. In total, expression profiles for 10 early developmental stages (zygote, early 2-cell, mid 2-cell, late 2-cell, 4 cell, 8 cell, 16 cell, early blastocyst, mid-blastocyst, late blastocyst) were measured. 2-4 replicates were made per time point. The data were normalized using gcRMA package.

The E-MTAB-368 study was performed on C57BL/6 mice using Affymetrix GeneChip Mouse Genome 430 2.0. In total, expression profiles for 8 mid and late developmental stages (E7.5, E8.5, E9.5, E10.5, E12.5, E14.5, E16.5, E18.5) were measured. 2-3 replicates were made per time point. The data were normalized using gcRMA package.

## Mapping probe sets to Ensembl genes

Agilent probe sets were mapped to their corresponding zebrafish genes (Ensembl release 63 ) using BioMart . Probe sets which did not map unambiguously to an Ensembl gene were excluded from the analysis. A total of 19 049 probe sets corresponding to 14 293 zebrafish genes were taken into account in our analysis.

Affymetrix probe sets were mapped to their corresponding mouse genes (Ensembl release 63 ) using BioMart . Probe sets which did not map unambiguously to an Ensembl gene were excluded from the analysis. For genes that were mapped by several probe sets we used the signal averaged across the probe sets. A total of 2883 mouse genes mapped by probe sets present on both mouse microarrays were taken into account in the gene expression analysis.

## Iterative Signature Algorithm (ISA)

The ISA identifies modules by an iterative procedure. A detailed description of the algorithm in the general case is given in (see also <http://www2.unil.ch/cbg/homepage/downloads/ISA_tutorial.pdf>). In this specific study, the algorithm was initialized with seven candidate seeds, each consisting of one artificial expression profile corresponding to one of the zebrafish developmental stages (see Supplementary Materials for details). Next, these seeds were refined through iterations by adding or removing genes and developmental time points until the processes converge to stable sets, which are referred to as (transcription) modules. Each developmental time point and gene received a score indicating their membership (if non-zero) and contribution to a given module. The closest the score for a gene or developmental time point was to one, the stronger the association between the gene/developmental time point and the rest of the module.

The ISA was run twice with the following sets of thresholds: 1) $t_g = 1.8$ and $t_c = 1.2$, and 2) $t_g = 1.8$ and $t_c = 1.4$, for genes and developmental time points, respectively. We obtained the pharyngula module only in the case of $t_c=1.2$, and all other modules with both $t_c=1.2$ and $t_c=1.4$. All the modules contained their corresponding idealized profile. For further analysis, we kept a single module per developmental stage. From the pair of modules, we chose the one in which the idealized profile had a higher gene score. Overall, segmentation, pharyngula and juvenile modules were obtained with $t_c = 1.2$, and cleavage/blastula, gastrula, larva, and adult modules were obtained with $t_c = 1.4$.

## GO enrichment analysis

Gene ontology (GO) association for all genes mapped by zebrafish probe sets were downloaded from Ensembl release 63 , using BioMart . GO enrichment was tested by Fisher's exact test, using the Bioconductor package topGO version 2.2.0. The reference set consisted of all Ensembl genes mapped by probe sets of the microarray used. The "elim" algorithm of topGO was used to eliminate the (tree-like) hierarchical dependency of the GO terms. To correct for multiple testing the Bonferroni correction was applied. For every module GO categories with corrected P-value lower than $0.01$ were reported, if less then ten GO categories were significant we reported the top ten (see Supplementary table S2).

## Gene sequence analysis

Ensembl Perl API release 70 was used to extract all Ensembl Compara gene trees (and alignments) with a Clupeocephala (bony fishes) root. Sequences with too many gaps, or undefined nucleotides, were removed from the tree and alignment by MaxAlign (version 1.1) . Only trees without duplication (one-to-one orthologs) and with at least six leaves were kept. This resulted in 6769 trees.

The site model from codeml (PAML package release 4.6; models M1a and M2a in codeml) was used to predict sites-specific selection in these trees. Finally, 916 trees were removed due to the lack of zebrafish genes, and 81 were removed due to lack of expression data on the zebrafish microarray. This resulted in 5772 trees. For every gene tree we calculated its mean $d_N/d_S$ value ($= p_0\omega_0+p_1\omega_1+p_2\omega_2$).

For every module we calculated the median $d_N/d_S$ ratio of its $k$ genes, where $k$ was the number of genes belonging to one of the 5772 trees. Next, we generated 10 000 sets of $k$ randomly chosen genes. For each set we calculated the median $d_N/d_S$ ratio. Thus, we constructed a sampling distribution of the median $d_N/d_S$ values for a set of $k$ genes. Then we calculated the probability that the median $d_N/d_S$ of the original module was sampled from the constructed distribution. This allowed us to assess if the observed median $d_N/d_S$ ratio was significantly different from the expected median value. To correct for multiple testing we applied the Bonferroni correction. We used $0.01$ as a significance level.

## Gene age analysis

To study the age of genes belonging to different modules we dated the genes by their first appearance in the phylogeny. This consisted of retrieving the age of the oldest node of their Gene tree in Ensembl release 63 . Genes' age was described with one of the following categories: Fungi/Metazoa, Bilateria, Coelomata, Chordata, Eutelostomi, Clupeocephala, and *Danio rerio*. To fit the chi-square test requirements (more than 5 elements in a group) we merged the genes into five age categories: Fungi/Metazoa, Bilateria, Coelomata + Chordata, Eutelostomi, Clupeocephala + *Danio rerio*. Next, for every module we calculated the age distribution of its genes. We performed chi-square goodness of fit test to compare the observed and expected distributions of age classes in the modules. The expected distribution was estimated by classifying all zebrafish genes into one of the five age categories. To correct for multiple testing we applied the Bonferroni correction. We used $0.01$ as a significance level.

## Zebrafish-Mouse orthologous genes

Homology information of zebrafish and mouse genes was retrieved from Ensembl release 63 , using BioMart . A total of 17 482 pairs of zebrafish-mouse orthologous genes had expression information in the zebrafish microarray data (14 293 zebrafish genes and 11 322 mouse genes). Among them there were 6441 one-to-one orthologous pairs, 5048 one-to-many orthologous pairs, and 2993 many-to-many orthologous pairs. 2901 zebrafish genes showed no orthology relationship with mouse genome. From further analysis we excluded 99 "apparent-one-to-one" gene pairs. For every module we calculated the number of genes that were in one-to-one, one-to-many, many-to-many and no orthology relation to mouse genes. Next, we performed chi-square goodness of fit test to compare the observed and expected distributions of orthology classes in the modules. The expected distribution was estimated by classifying all zebrafish genes into one of the four orthology categories. To correct for multiple testing we applied the Bonferroni correction. We used $0.01$ as a significance level.

## Gene expression conservation

To study expression conservation between zebrafish genes assigned to the modules and their mouse one-to-one orthologs, we used gene expression data for 2883 orthologous gene pairs (the limiting factor being the mapping to both mouse microarrays). For genes that were mapped by several probe sets we averaged their signal across the probe sets for both species. In order to compare gene expression between two species, we first calculated the mean expression for zebrafish genes present in the modules and their one-to-one mouse orthologs. Due to the incompatibility of two mouse microarray data used it was difficult to provide a meaningful comparison of expression for the two species. To calculate the correlation between expression profiles between zebrafish and mouse we reduced their expression profiles to six metastages: zygote, cleavage, blastula, neurula, organogenesis, and post-embryonic stage (see for detailed definition of metastage). For every module and every metastage we calculated the mean expression level for zebrafish genes and their mouse one-to-one orthologs, and next we calculated the Pearson's correlation coefficient between them.

## Highly conserved non-coding elements

Location data for highly conserved non-coding elements (HCNE) between zebrafish and mouse (70% of identity) was retrieved from Ancora (*http://ancora.genereg.net/downloads/danRer7/vs_mouse*). The file *HCNE_danRer7_mm9_70pc_50col.bed.gz* was downloaded and used in the analysis. For each of the 14 293 Ensembl genes considered in our analysis, we calculated the number of HCNE in regions of $500$ base pairs upstream from the transcription start site. Next, for every module we performed a hypergeometric test to assess if they were significantly enriched in genes with HCNE. To correct for multiple testing we applied the Bonferroni correction. We used $0.01$ as a significance level. In additional analyses, we calculated the number of HCNE in regions of $200$ and $1000$ base pairs upstream from the transcription start site, as well as in introns. Also, we repeated the analysis with HCNEs of $90\%$ identity (see Supplementary Materials).

## Transposon-free regions

Location data for transposon-free regions (TFRs) in zebrafish was retrieved from (<http://www.biomedcentral.com/content/supplementary/1471-2164-8-470-S1.txt>). First, each TFR was associated with Ensembl ID of its closest transcript from genome assembly Zv6. Then for each Ensembl transcript ID we retrieved an Ensembl gene ID from genome assembly Zv7. For every module we performed a hypergeometric test to asses if they were significantly enriched in genes with TFRs in their proximity. To correct for multiple testing we applied the Bonferroni correction. We used $0.01$ as a significance level.

## Transcription factors

The set of transcription factors was defined based on GO category annotation: GO: 0006355, regulation of transcription, DNA-dependent. Among 14 293 Ensembl genes, 957 were annotated as transcription factors. For every module we performed a hypergeometric test to asses if they were significantly enriched in TFs. Next, we performed a hypergeometric test to asses if the TFs present in the modules were enriched in HCNEs and TFRs. To correct for multiple testing we applied the Bonferroni correction. We used $0.01$ as a significance level.

# Acknowledgments

We thank Tim Hohm, Anna Kostikova, Zoltan Kutalik, Eyal Privman, and Pavan Ramdya and three anonymous reviewers for useful comments on the manuscript. We thank Gregory Barsh for helpful comments pre-review. We thank Julien Roux and all members of MRR and SB labs for helpful discussion. We thank Walid Gharib for help with $d_N/d_S$ computations. The computations were performed at the Vital-IT Center (<http://www.vital-it.ch>) for high-performance computing of the SIB Swiss Institute of Bioinformatics.

# Figure Legends

**Figure 1: Transcriptome age index (TAI) using raw and log-transformed expression signal intensities.** A higher TAI value implies that evolutionary younger genes are preferentially expressed at the corresponding time-point. The pink shaded area indicates the phylotypic stage. Colors of the curves reflect the main developmental periods and correspond to the colors used in .

# Supplementary Figure Legends

**Figure S1. Total distribution of signal intensity from all $140$ microarrays .**
**Figure S2. TAI hourglass pattern in zebrafish development is driven by the subset of most highly expressed genes.** Removing the 20% of top expressed genes at every developmental stage changes the overall pattern. Resulting TAI pattern has very low values and does not follow the hourglass shape any more (grey line).
**Figure S3. Sensitivity to outliers.** (A) Raw expression signal of probe A_15_P161596 across zebrafish development. (B) TAI calculated on non-transformed data across zebrafish development without this probe (red) and the effect of this probe on TAI pattern (grey). (C) TAI calculated on log10-transformed data across zebrafish development without this probe (red) and the effect of this probe on TAI pattern (grey). Expression data from .
**Figure S4. TAI calculated using expression intensities of genes, instead of probes, across zebrafish development.** For each gene we averaged the signal intensity from all corresponding probes. After this process 16 188 probes' intensities values were reduced to 12 892 genes' intensities values, which were used to weight the phylogenetic ranks of genes (if two different phylostrata were assigned to the same gene, the older one was chosen). (A) non-transformed data was used. (B) log10-transformed data was used. Expression data from .
**Figure S5. TAI calculated using genes recoded as present-absent across zebrafish development.** At a given stage of development, if the log10-intensity value of a gene is above one, its expression is set to 1, otherwise it is set to 0. Other notations as in figure 1 (in main text). Expression data from .
**Figure S6. Alternative measures of transcriptome age.** (A) Mean age of genes expressed across zebrafish development; age estimated with the TimeTree database (<a href="www.timetree.org" class="uri">www.timetree.org</a>). A gene is considered expressed at a given stage of development if its log10-intensity is above one. (B) Difference between median expression profiles of old genes and young genes across zebrafish development. Here, the genes that have emerged before the evolution of Metazoa are considered old and the genes that have emerged since the ancestor of Euteleostomi are considered young. The difference between the two groups is always positive, reflecting that old genes tend to be more expressed than young genes . The results are robust to the choice of cutoffs used to define old and young genes (data not shown). Red dashed line - female data, blue dashed line - male data. Other notations as in figure 1 (main text). Expression data from .
**Figure S7. TAI and TDI hourglass patterns in *Arabidopsis* development are driven by a very small subset of the most highly expressed genes.** Removing only the 1% of top expressed genes at each developmental stage changes the overall pattern. Resulting TAI and TDI patterns do not follow the hourglass shape any more (grey line).
**Figure S8. TAI and TDI calculated using raw (green line) and log-transformed (grey line) expression signal intensities.** Data from .
**Figure S9. Correlation between expression levels of genes across developmental time points of mouse, chicken and zebrafish**. Field A denotes the early stages, field B denotes the phylotypic stages, and field C denotes the late stages of development. Expression data from .
**Figure S10. Artificial expression profiles used to initialize the ISA:** pre-MBT, post-MBT, "middle", pharyngula, larva, "late", adult. These profiles resulted in modules containing genes expressed specifically in: cleavage/blastula, gastrula, segmentation, pharyngula, larva, juvenile, and adult, respectively.
**Figure S11. Measures of purifying selection for gene trees of bony fishes.** (A) Average dN/dS for sites under purifying selection ($\omega_0$). (B) Proportion of sites under purifying selection ($p_0$).
**Figure S12. $d_N/d_S$ ratio for human-mouse one-to-one orthologs.** The orthologs were obtained by projecting the genes expressed in the zebrafish modules to their one-to-one orthologs in mouse and human.

# Supplementary Table Legends

**Table S1. P-values from HCNE enrichment analyses.**
**Table S2. The list of modules and their enriched GO categories (biological process).**
**Table S3. The list of genes belonging to each module.**