Regions of extremely high sequence identity are recurrent in modular polyketide synthase (PKS) genes. Such sequences are potentially detrimental to the stability of PKS expression plasmids used in the combinatorial biosynthesis of polyketide metabolites. We present two different solutions for circumventing intra-plasmid recombination within the megalomicin PKS genes in Streptomyces coelicolor. In one example, a synthetic gene was used in which the codon usage was reengineered without affecting the primary amino acid sequence. The other approach utilized a heterologous subunit complementation strategy to replace one of the problematic regions. Both methods resulted in PKS complexes capable of 6-deoxyerythronolide B analogue biosynthesis in S. coelicolor CH999, permitting reproducible scale-up to at least 5-l stirred-tank fermentation and a comparison of diketide precursor incorporation efficiencies between the erythromycin and megalomicin PKSs.