Metabolism is the major output of the circadian clock in many organisms. We developed a computational method to integrate both circadian gene expression and metabolic network. Applying this method to zebrafish circadian transcriptome, we have identified large clusters of metabolic genes containing mostly genes in purine and pyrimidine metabolism in the metabolic network showing similar circadian phases. Our metabolomics analysis found that the level of inosine 5-monophosphate (IMP), an intermediate metabolite in de novo purine synthesis, showed significant circadian oscillation in larval zebrafish. We focused on IMP dehydrogenase (impdh), a rate-limiting enzyme in de novo purine synthesis, with three circadian oscillating gene homologs: impdh1a, impdh1b and impdh2. Functional analysis revealed that impdh2 contributes to the daily rhythm of S phase in the cell cycle while impdh1a contributes to ocular development and pigment synthesis. The three zebrafish homologs of impdh are likely regulated by different circadian transcription factors. We propose that the circadian regulation of de novo purine synthesis that supplies crucial building blocks for DNA replication is an important mechanism conferring circadian rhythmicity on the cell cycle. Our method is widely applicable to study the impact of circadian transcriptome on metabolism in complex organisms. 