Sugar Phosphate Cyclases (SPCs) catalyze the cyclization of sugar phosphates to produce a variety of cyclitol intermediates that serve as the building blocks of many primary metabolites, e.g., aromatic amino acids, and clinically relevant secondary metabolites, e.g., aminocyclitol/ aminoglycoside and ansamycin antibiotics. Feeding experiments with isotopically-labeled cyclitols revealed that cetoniacytone A, a unique C 7 N-aminocyclitol antibiotic isolated from an insect endophytic Actinomyces sp., is derived from 2-epi-5-epi-valiolone, a product of SPC. Using heterologous probes from the 2-epi-5-epi-valiolone synthase class of SPCs, an SPC homolog gene, cetA, was isolated from the cetoniacytone producer. CetA is closely related to BE-orf9 found in the BE-40644 biosynthetic gene cluster from Actinoplanes sp. strain A40644. Recombinant expression of cetA and BE-orf9 and biochemical characterization of the gene products confirmed their function as 2-epi-5-epi-valiolone synthases. Further phylogenetic analysis of SPC sequences revealed a new clade of SPCs that may regulate the biosynthesis of a novel set of secondary metabolites.