Diverse ketosynthase (KS) genes were retrieved from the microbial community associated with the Great Barrier Reef sponge Pseudoceratina clavata. Bacterial isolation and metagenomic approaches were employed. Phylogenetic analysis of 16S rRNA of culturable sponge-associated bacterial communities comprised eight groups over four phyla. Ten KS domains were amplified from four genera of isolates and phylogenetics demonstrated that these KS domains were located in three clusters (actinobacterial, cyanobacterial and trans-AT type). Metagenomic DNA of the sponge microbial community was extracted to explore community KS genes by two approaches: direct amplification of KS domains and construction of fosmid libraries for KS domain screening. Five KS domains were retrieved from polymerase chain reaction (PCR) amplification using sponge metagenome DNA as template and five fosmid clones containing KS domains found using multiplex PCR screening. Analysis of selected polyketide synthase (PKS) from one fosmid showed that the PKS consists of two modules. Open reading frames located up- and downstream of the PKS displayed similarity with membrane synthesis-related proteins such as cardiolipin synthase. Metagenome approaches did not detect KS domains found in sponge isolates. All KS domains from both metagenome approaches formed a single cluster with KS domains originating from metagenomes derived from other sponge species from other geographical regions.