Corrigendum: Integrative genomic mining for enzyme function to enable engineering of a non-natural biosynthetic pathway

Nature Communications 6: Article number: 10005 (2015); Published: 24 November 2015; Updated: 7 June 2016 In the original version of this Article the chemical structures of 2-ketoisovaleric acid and isobutanal in Fig. 3a were incorrect. The correct version of Fig. 3 appears below. Figure 3

A central goal of the bioeconomy is to reduce our dependence on petroleum through next-generation biomanufacturing 1 . The USDA projects the industrial production of bio-based specialty chemicals to reach B$340 billion USD by 2025, replacing half of our needs for these products from petroleum 2 . To accomplish this ambitious goal, non-natural biochemical pathways are needed. An example of one such a pathway is the 'synthetic recursive þ 1' carbon elongation pathway that has been developed to produce a variety of alcohol products in Escherichia coli 3,4 . The primary product from the current pathway is 1-butanol, with longer-chain alcohols (for example, pentanol, hexanol, heptanol and octanol) being either minor products of the pathway or not produced at all 3,4 . Yet, there is significant interest in producing longer-chain alcohols, given their use as specialty chemicals 5 , as well as their greater energy density when used as liquid fuels or fuel additives. To produce longer-chain alcohols through the synthetic recursive þ 1 carbon elongation pathway, we demonstrate that modulating the specificity of a single enzyme in the pathway could redirect metabolic flux towards longer-chain alcohols.
In the current synthetic recursive þ 1 pathway, the enzymes LeuA, LeuB, LeuC and LeuD (collectively known as LeuABCD) are recruited to recursively elongate 2-ketobutyrate into longchain 2-ketoacids 3,4 . These 2-ketoacids are then converted to aldehydes by ketoisovalerate decarboxylase 6 (KIVD) and subsequently to alcohols by alcohol dehydrogenase 3 (ADH; Fig. 1). In this engineered pathway, the primary determinant for the final product chain length is the number of cycles through LeuABCD 7 .
Previous efforts to engineer the product specificity of this pathway have focused on broadening the specificity of LeuA and KIVD 3 . When the specificity of LeuA is broadened, additional cycles through the pathway are carried out, resulting in a mixture of C 2 -C 6 linear and branched alcohols 3 . When the specificity of both LeuA and KIVD are broadened, C 2 -C 8 products are produced with major products being butanol and pentanol 4 . To enhance longer-chain alcohol production, we focused on discovering a ketoacid decarboxylase specific for long-chain ketoacids. By replacing KIVD with an enzyme specific for longchain ketoacids, the short-chain substrates were able to re-enter the þ 1 iteration cycle until their conversion to long-chain ketoacids, which are then decarboxylated and reduced into longer chain alcohols.
We employed two computationally directed approaches to discover a decarboxylase with the desired functional profile. The first is a new approach to mine the rapidly growing sequence databases. The majority of these proteins derived from the genomic sequencing of organisms (that is, genomic enzyme orthologues: GEOs) have not been experimentally characterized. Therefore, neither function nor specificity is known. Previous efforts to mine GEOs for function have relied on random sampling or sequence-based bioinformatics over an entire enzyme family [8][9][10] . These methods require a large number of genes to be produced and experimentally characterized. To enable a more efficient sampling method, we developed a novel computational pipeline that integrates molecular modelling and bioinformatics to forward predict GEOs' ability on carrying out the function of interest. Using this integrative genomic mining approach we identify a set of ketoacid decarboxylases diverse in sequence, but capable of utilizing 2-ketooctanoate (C8) as a substrate. In addition, we demonstrate that the median activity of GEOs selected using the integrative genomic mining approach is 75-fold greater than a set of naively selected proteins from the enzyme family. The second approach focuses on reprogramming the substrate specificity of KIVD by using computational enzyme design methods. Using the Rosetta Molecular Modeling Suite to direct the generation and screening of over 400 mutants results in the discovery of a mutant with 4600-fold increase in specificity for C8 (ref. 11). Finally, the most specific and active enzyme from each approach is incorporated into the synthetic recursive þ 1 pathway to evaluate their ability to modulate in vivo alcohol production. Both enzymes result in a complete switch of the alcohol production profile towards longer chain alcohols, demonstrating the ability to rationally control biosynthetic product specificity for chemicals not commonly found in Nature.

Results
Integrative genomic mining for enzyme function. KIVD belongs to the TPP enzyme family that is composed of more than 17,000 sequences 12 . To identify GEOs with the desired function within this vast sequence space, we combined bioinformatics 13 and molecular modelling 14 with functional constraints to guide our exploration (Fig. 2). First, ketoacid decarboxylase GEOs were identified based on sequence similarity to the KIVD used in the current synthetic recursive þ 1 pathway. At the time the search was performed, 2,082 sequences were found in the nonredundant sequence database as significant matches. To broadly search KIVD sequence space, redundant sequences were filtered out with a sequence identity cutoff of 90% (ref. 15). Sequences derived from eukaryotic organisms were removed to increase the likelihood of producing soluble proteins in E. coli where the synthetic recursive þ 1 pathway has been implemented.
We assumed that all potential scaffolds with the desired function should be structurally homologous to KIVD, and further refined our sequence set accordingly. Since crystal structures for most of these predicted proteins are not available for analysis, we produced homology models to obtain a predicted ternary structure. Using Rosetta Comparative Modeling, one hundred models were generated for each of the 239 GEOs 14 . The lowestenergy model was selected as the representative for each GEO and evaluated for structural similarity to KIVD. We used the TMalign algorithm 16 to overlay the models with the native KIVD crystal structure, and only those with a TMalign score of 40.5 were kept. These bioinformatics and structural filters result in 239 GEOs as candidates for the targeted function (Supplementary Table 1). The pairwise identity of every sequence to each other was calculated and the mode of these values lies near 20% (Fig. 2). Thus, the selected set of 239 GEOs represents a diverse sampling of sequence space for this fold family.
To further enrich the set for GEOs likely to function on C8, we docked a modelled reaction intermediate of the C8 substrate within the predicted active site (Fig. 2). The lowest-energy model for each GEO was used as a template for docking a modelled C8 intermediate with functional constraints, which ensured a productive geometric orientation between the predicted catalytic residues in the protein and intermediate. The C8 reaction intermediate used for docking is based on the synthetic thiamine pyrophosphate (TPP) analogue from a crystal structure of KIVD (PDB ID: 2VBG), which mimics the initial nucleophilic attack by the thiazolium 17 . Docking calculations were carried out using Rosetta Design in which both the identity and conformation of non-catalytic residues within the active site were allowed to change, and the backbone was allowed to move during minimization. Although the C8 intermediate may be docked without the introduction of mutations, the design was enabled during the simulations to allow for the possibility of introducing conservative mutations that significantly reduce interface energy. After docking and design simulations, the calculated interface energy was used to evaluate each GEO's ability to accommodate C8.
A phylogenetic tree based on sequence similarity was built for the 239 GEOs in which the lowest protein-ligand interface energy from the Rosetta Design simulation for each GEO are depicted (Fig. 2). The bar height above each GEO leaf is proportional to the lowest interface energy from all 239 GEOs, the higher the bar the lower the energy. On the basis of the calculated energies it is immediately apparent that a cluster of GEOs distant in sequence to KIVD (B15% sequence identity) is predicted to be capable of utilizing C8. The enzyme with the lowest energy, GEO 175, is a predicted protein in the genome database with no known function. The enzyme with the closest amino-acid sequence identity to GEO 175 (B50% sequence identity) for which significant biophysical characterization has been performed is benzoylformate decarboxylase from bacteria Pseudomonas putida (ppBFD) 18 . A structural analysis of the active site of ppBFD and GEO 175 reveals that the active sites are only 50% identical in sequence ( Supplementary Fig. 1), and the activity of ppBFD on C8 has not been previously studied.
From the design simulations, 10 GEOs were chosen for experimental characterization based on the predicted proteinligand interface energy as well as sequence diversity ( Fig. 2 and Supplementary Table 1). Before ordering these GEOs, each mutation introduced through the Rosetta Design simulations was manually analysed. Mutations introduced during the design simulations were reverted if they were not found to significantly enhance the calculated Rosetta interface energy. Synthetic genes encoding each enzyme was obtained, expressed in E. coli and purified for in vitro kinetic characterization using a panel of 2-ketoacid substrates of different chain lengths including C8, C5, C3 and the natural substrate for KIVD, ketoisovaleric acid (Fig. 3). Out of the 10 selected GEOs, 6 (GEO 41, 74, 110, 175, 179 and 195) express and are able to be purified in a soluble form using our standardized method. Of these six, three exhibit detectable activities on at least one of the four ketoacids used for kinetic characterization. Bioinformatics filters were used to identify a set of amino-acid sequences from genomic databases that are predicted to be KIVD homologues and likely to be decarboxylases. Once identified, homology models were built to obtain a predicted ternary structure of each GEO. Ligand docking and design simulations were subsequently run in the presence of our target ligand (for example, C8) to evaluate the potential protein-ligand interface energy. A phylogenetic tree for the 239 GEOs is depicted with a bar chart above each sequence. The bar height indicates the predicted protein-ligand interface energy; the higher the bar the lower the energy. Bar height is scaled linearly relative to the lowest protein-ligand interface energy. Ten GEOs (brown) were selected for experimental characterization. The pairwise sequence identity of all 239 GEOs to each other has a mode of 20%, indicating the high level of sequence diversity within this set of sequences. ARTICLE Among the active GEOs, the enzyme with the highest efficiency on C8 is the computationally top ranked GEO 175, with a k cat /K M of 17,000 M À 1 s À 1 (Table 1 and Fig. 4). This is only twofold lower than the efficiency of native KIVD on C8. However, GEO 175's catalytic efficiency on C8 is 33,000-fold higher than that on C3 and 354-fold higher than that on C5. When assayed under the same conditions, native KIVD's catalytic efficiency on C8 is 762-fold higher than that on C3 and 3.4-fold higher than that on C5. This corresponds to over a 100-fold improvement in specificity (C8 versus C5) relative to the native KIVD.
To evaluate whether the integrative genomic mining approach enriches the mining for C8 activity, an additional set of previously characterized ketoacid decarboxylases diverse in sequence were experimentally characterized in an equivalent manner. Five enzymes were selected (PDB: 1OVM, 2VBI, 3FZN, 1ZPD and 1OZF) and all were found to have detectable activity on at least one of the four ketoacids used for GEO characterization. The median C8 activity from the GEOs selected using the integrative genomic mining approach is 75-fold higher than the naively picked decarboxylases (Table 1 and Fig. 4). This indicates that the integrative genomic mining approach is effective in identifying functional enzymes that perform the desired reaction on C8.
The amino-acid sequence for GEO 175 is not predicted to require any mutations to be capable of utilizing the C8 substrate, and therefore represents the native enzyme from Streptomyces sp. C. Comparing the active-site pocket of GEO 175 with native KIVD (16.8% identity to each other) reveals significant shape differences (Fig. 5). On the basis of molecular modelling, GEO 175 is predicted to have an extended active site that is significantly more open to solvent relative to native KIVD. This results in the predicted binding mode for C8 to be extended in GEO 175 as opposed to a 'wrapped' conformation in KIVD. In GEO175, the third through fifth carbons of the C8 ketoacid ligand are predicted to occupy a solvent-exposed, open pocket with limited molecular interactions. However, the sixth through eighth carbons are predicted to interact with a narrow and hydrophobic pocket. Contrary to GEO 175, KIVD has an enclosed hydrophobic binding pocket and is predicted to make molecular interactions throughout the ketoacid alkyl chain (Figs 5 and 6).
On the basis of these observations we engineered a mutant of GEO 175 containing two amino-acid changes (L376T and T240S) predicted to remove the direct molecular interactions with seventh and eighth carbons of the ketoacid alkyl chain, while maintaining overall protein stability. On kinetic characterization, we found that the mutant protein's catalytic efficiency on C8 is 15-fold lower than GEO 175, but the decrease in efficiency for C5, C3 and isoC5 assayed under the same conditions is 2-fold or less (Table 1 and Fig. 6). The ability to rationally modulate activity Table 1 | Enzyme kinetic constants of native, designed and discovered ketoacid decarboxylases. based on structure supports the accuracy of the GEO 175 molecular model and the hypothesis that the specificity of GEO 175 can be attributed to a combination of hydrophobic interactions with the sixth through eighth carbons of the alkyl chain, while lacking interactions with the third through fifth carbons (Fig. 6).
Computationally directed KIVD-active-site redesign. In our second approach to improve the specificity of KIVD, we used Rosetta Design methods to explore the potential active-site sequence space that would accommodate 2-ketooctanoate as a substrate 11 . Design simulations were carried out with the same reaction intermediate and functional constraints utilized in the genomic mining pipeline. Ten residues in the active site were targeted for mutagenesis. At each site, one of eleven relatively hydrophobic amino acids (Val, Leu, Ile, Met, Phe, His, Gly, Ala, Thr, Tyr and Trp) was systematically introduced, and the remaining nine sites were allowed to be redesigned. The identities of amino acids at all other residues were kept constant (Fig. 7). The sequence profile from the 50 lowestenergy designs was used to guide the construction of a small library of roughly 400 KIVD mutants from the original combinatorial space of over 10 11 possible active-site mutations.
Since KIVD can already efficiently utilize C8 as a substrate, enzyme specificity is of primary importance. Therefore, each mutant was screened against a panel of 2-ketoacid substrates to assess the specificity and activity of each mutant ( Supplementary  Fig. 2). This assay was performed using a high-throughput pHdependent colorimetric assay of enzyme activity in crude cell extracts. Mutations that increased specificity for C8 were then combined to produce combinatorial mutants and screened for specificity with the colorimetric assays. The mutant that exhibits the highest specificity and activity is G402V/M538L/F542V (KIVD_VLV). Kinetic constant characterization on purified enzymes shows that the engineered enzyme KIVD_VLV has a 600-fold improvement in specificity between C8 and C5, in terms of catalytic efficiency, relative to the native KIVD (Table 1).
In vivo testing of longer-chain alcohol production. The measured specificity and activity for each enzyme was used to select two candidates for further characterization of their ability to modulate alcohol production in vivo. The two enzymes with the highest activity and specificity (Fig. 4), KIVD_VLV and GEO 175, were tested for their ability to reprogramme the synthetic recursive þ 1 pathway to produce longer-alcohol products in vivo. The alcohol-producing biochemical pathway was adapted from a previous study used to synthesize alcohols of various a b c d    log C5 þ log C8 log C3 where the log-scaled catalytic efficiencies for C8 relative to C5 and C3 are compared. The three active GEOs and the naively selected set of decarboxylases are represented in gold (circles) and green (diamonds), respectively. Native KIVD and KIVD_VLV are depicted in black (square) and blue (triangle), respectively. 1OZF is not included in this figure since activity on C8 is below our limit of detection. The genomic mining method and computational active-site redesign approach both produced enzymes with enhanced specificity relative to native KIVD.  3,4 . Starting from glucose, the aforementioned þ 1 pathway, involving LeuABCD, recursively elongates 2-ketoacids, starting with 2-ketobutyrate, into long-chained 2-ketoacids. These 2-ketoacids are then converted to aldehydes by ketoacid decarboxylases (native KIVD, KIVD_VLV and GEO 175) and subsequently to alcohols by an ADH. The carbon flux through this alcohol-synthesizing biochemical pathway is enhanced by overexpressing thrABC, ilvA, LeuABCD and ADH6 on inducible plasmids transformed into E. coli 3 . The effects of overexpression were, furthermore, supported and maintained by knocking out the threonine exporter enzyme RhtA and the primary DNA recombination degradation enzyme RecA. The enzyme AdhE was also knocked out, which helps raise longer-chain alcohol production by eliminating a competing pathway where acetyl-CoA is directly converted to ethanol 19 .
Consistent with previous reports, the primary products (82% of total alcohol production) with native KIVD are short alcohols (C 2 -C 4 ; Fig. 8 and Supplementary Table 2). The KIVD_VLV triple mutant completely switches the product profile of this pathway to predominantly longer-chain (ZC 5 ) alcohols at 728 mg l À 1 . Hexanol (C 6 ) is the major alcohol detected at a titre of 341 mg l À 1 (47%), with titres of 269 mg l À 1 (37%) heptanol (C 7 ), and 118 mg l À 1 pentanol (16%) also observed. GEO 175 also switches the product profile of the pathway so that longer-chain alcohols are the primary products and produced at a level of 522 mg l À 1 . For GEO175, the product profile is further shifted, resulting in heptanol (C 7 ) as the major product at a titre of 274 mg l À 1 (50%), with hexanol production at 160 mg l À 1 (29%) and 88 mg l À 1 pentanol (16%). Similar to the results for KIVD_VLV, no ethanol or propanol production is observed, and only 19 mg l À 1 butanol is produced. In addition, 10 mg l À 1 of octanol was also observed, a product not observed when either native KIVD or KIVD_VLV were tested under equivalent conditions. The in vivo butanol and octanol titres for GEO175 compared with KIVD_VLV are consistent with the in vitro enzyme kinetics in which GEO175 has a significantly higher activity on C8, but lower specificity relative to C5, than KIVD_VLV. Total longer-chain alcohol titres for both GEO 175 and KIVD_VLV are increased significantly in comparison with native KIVD, with a 410-fold increase in heptanol production in both cases, and a 495% yield of longerchain alcohols.
Replacing KIVD with GEO 175 or KIVD_VLV results in a significant increase in longer-chain alcohol production; however, the overall alcohol production drops B10-fold from the 4.0 g l À 1 obtained with KIVD. We hypothesized that a potential reason for this could be due to the toxicity of longer-chain alcohols. To explore the potential of toxicity being a limiting factor in alcohol production, E. coli growth was monitored over a 7-h incubation with 10-1,000 mg l À 1 C 5 -C 8 alcohols supplemented at the beginning of growth (Fig. 9). Longer-chain alcohols are observed to be toxic as the supplemented concentration of C 6 -C 8 alcohols reaches 250 mg l À 1 . The final optical density (OD) of E. coli cultures drops from 1.9 to B1.6 for C 6 and C 7 alcohols, and 1.0 for C 8 . At 500 mg l À 1 the OD drops to 1.0 and 0.1 for C 6 and C 7 alcohols, respectively. No significant growth is observed for C 8 . At 1,000 mg l À 1 no significant growth is observed for heptanol, and only an OD of 0.2 is achieved in the presence of hexanol. However, growth up to an OD of 1.5 is observed for pentanol. Significant toxicity in the range of 250-1,000 mg l À 1 for longerchain alcohols is consistent with the level of longer-chain alcohol titre, roughly 500 mg l À 1 , produced in the engineered E. coli strains. This result indicates that to achieve higher total alcohol titre with this pathway, a strain of E. coli with high tolerance towards longer-chain alcohols is likely necessary 20 Figure 7 | Screening process for identifying an engineered KIVD with altered substrate specificity. The design process started with identifying activesite residues of KIVD (depicted in red). These amino acids were allowed to either remain native or sample any of 11 relatively hydrophobic amino acids. A total of 10,000 design simulations were run and the amino acids identified in the 50 lowest-energy designs were used to guide construction of a small library of roughly 400 KIVD mutants from the original combinatorial space of 10 11 possible active-site mutations. Overall, 1,200 clonal isolates were screened for activity and specificity. The KIVD_VLV mutant was selected and subsequently purified for in vitro kinetic constant characterization.   similar issues with product toxicity have been addressed through the design of continuous extraction methods and could be applied to the system here to increase levels of longer-chain alcohols titres 22 .

Discussion
In this study we introduce an integrative genomic mining approach to enable the discovery of enzymes for a targeted function from sequence databases. The function of interest here was an enzyme with high activity for the decarboxylation of longchain ketoacids to modulate the carbon flux of a synthetic pathway and increase titres of longer alcohols. The integrative genomic mining approach led to the discovery of a previously uncharacterized protein that we demonstrate has the targeted functional properties, and only required experimental characterization of 10 new proteins. In parallel, a more traditional computationally directed library-screening approach was utilized to reengineer the activity of a well-established enzyme. This required two successive rounds of screening over 400 mutants against a panel of substrates to identify an enzyme with the desired functional properties. When evaluated for their ability to modulate the carbon flux in vivo, both are able to completely shift the product profile towards longer-chain alcohols. However, the genomic mining approach provides a viable alternative to often expensive and laborious enzyme-engineering efforts that require screening libraries of mutants. This new approach for mining protein databases for enzymes of novel function stands to become an increasingly powerful approach as the methods for protein modelling improve and the size of genomic databases grow. The enzyme GEO 175 represents the product of a general and rapid approach for obtaining enzymes with a desired function from the rapidly growing sequence databases. By combining bioinformatics and molecular modelling, this approach enables the identification of proteins likely to carry out a targeted function regardless of their native or putatively annotated activity. This overcomes issues with misannotation of protein function 23 or biased assumptions based on the closest characterized protein in the amino-acid sequence. The enzyme identified in this study, GEO175, is a clear illustration of this as it is roughly 15% identical to KIVD and its closest characterized sequence homologue (ppBFD, roughly 50% sequence identity) has a significantly different functional profile.
While GEO175 and KIVD_VLV both increased longer-chain alcohol titre 410-fold, we identified that toxicity needs to be addressed to further increase total longer alcohol titre. The titre of longer-chain alcohols produced is on the order of 0.5 g l À 1 , which we then demonstrate is highly toxic for the cell lines used in this study. For industrial applications, bio-alcohol production often requires titres on the order of over tens of grams per litre (ref. 24). To avoid the need of a continuous extraction fermentation system, future efforts for increasing longer-chain alcohol production should focus on engineering or finding E. coli strains that are tolerant to this level of product formation. Efforts to integrate pumps and reengineer the cell wall to be resistant to alcohols could potentially mitigate toxicity effects and concurrently enable higher titres of longer alcohols to be produced through this pathway 20,21 .
In addition to toxicity we observed that KIVD_VLV exhibits substrate inhibition kinetics above 2 mM (0.3 g l À 1 ) of C8. This could be another potential cause of total alcohol titre loss observed in vivo. Redesigning KIVD_VLV to alleviate inhibition would be important for alcohol production at an industrially relevant level with this variant. However, the commensurate specificity and sixfold greater catalytic efficiency possessed by GEO_175 (relative to KIVD_VLV) make it a prime candidate for future industrial strain development for longer-chain alcohol production.
In summary, a new genomic mining approach and computationally directed library design efforts were both successfully implemented to obtain enzymes that enabled specific production of longer-chain alcohols in vivo. These results demonstrate the modularity of the synthetic þ 1 recursive pathway and provided a clear path forward to engineer the industrial-level production of longer alcohols. Finally, the integrative genomic mining approach introduced here is highly general, and with the rapid growth of sequence databases it has the potential to revolutionize the development and discovery of enzyme catalysts.

Methods
Integrative genomic mining. To obtain the GEO sequences, the native KIVD sequence was input for a homologous sequence search using HMMER3's* online server 13 . The resulting sequences were filtered using the CD-HIT* online server with a 90% identity cutoff 15,25 (Supplementary Figs 7 and 8). A homology model of each sequence was made using Rosetta Comparative Modeling 14 . At this point, the intermediate was placed into the active site, and 1,000 simulations were run to relax the intermediate according to the constraints. For each model, the lowest 100 in overall protein energy models were selected and then from that subset the lowest protein-ligand interface was chosen as the energy for the GEO.
An intermediate of the C8 product-yielding reaction was modelled using Spartan* (ref. 26). This intermediate is modelled based on the synthetic TPP analogue from a crystal structure of KIVD (PDB ID: 2VBG), which mimics the initial nucleophilic attack by the thiazolium. The six-carbon alkyl chain and the acid were added to the structure of the TPP analogue within Spartan. Different conformations of the alkyl chain were included in the modelling and a conformational library was made using OpenEye Omega* (ref. 27). For the enzyme design of KIVD, this intermediate was placed into the active site using distance and angle constraints. Rosetta Enzyme Design was run with default settings, an example of which is provided in the Rosetta Molecular Modeling Suite demos.
From the design simulations for each GEO, the lowest protein-ligand interface Rosetta energy was used to select a tractable number of GEOs for experimental characterization. During these simulations, any amino acids with a C a within 8 Å of the active site could be mutated to any of the 20 amino acids. Ten GEOs of significant interest were chosen with the following criteria: five GEOs were chosen because they had the lowest predicted energies; the second five were chosen with the purpose of maximizing sequence space diversity. The 234 GEOs (less the five lowest in energy) were filtered with a sequence identity cutoff of 40%, and the five sequences from this filtered list with the lowest energy were picked as the second five GEOs in our final list. Each model was evaluated in the Foldit interface, and mutations made during the design simulations were reverted to the native amino acid if not predicted to improve the interface energy by more than two Rosetta energy units.
Phylogenetic tree of GEOs was generated with the Geneious software* using a Muscle sequence alignment 28 *. The resulting tree was visualized using iTOL online tool in the circular tree mode and rooted at native KIVD 29,30 .
Synthetic genes coding for each GEO were synthesized as a DNA String by Life Technologies or the Joint Genome Institute. Genes were codon-optimized for E. coli, and the DNA as well as amino-acid sequence provided in Supplementary  Tables 3 and 4. The string was cloned into the pET-29b( þ ) plasmid vector using the Gibson assembly between the NdeI and XhoI restriction sites that added a C-terminal 6x-His tag in-frame to the gene. KIVD active-site redesign. In the design simulations, 10 residues in the proposed active-site pocket were allowed to either remain native or sample any of 11 relatively hydrophobic amino acids (Val, Leu, Ile, Met, Phe, His, Gly, Ala, Thr, Tyr and Trp). The identities of amino acids at all other positions were kept constant. Residues within 12 Å of the ligand were allowed to undergo conformational sampling during simulation. A total of 10,000 design simulations were run, from which the 50 designs lowest in ligand-protein interface energy, and non-redundant in terms of sequence, were selected to represent the potential sequence space predicted to accommodate the C8 substrate. The profile was used to construct a small library of B400 KIVD mutants. Each amino acid in the library was sampled as a single mutation, with the exception of residues that were within five residues from one another. These were sampled in a combinatorial manner as both single and double mutants to evaluate synergistic effects, given their proximity to one another. A complete list of oligos and the amino acids allowed for each site are provided in the Supplementary Tables 5 and 6.
Construction and selection of KIVD libraries. All E. coli strains and plasmids used are listed in Supplementary Table 7. Partially degenerate oligonucleotides (Supplementary Table 6) were ordered from Integrated DNA Technologies (San Diego, CA) and were used to generate libraries of kivd mutants (with N-terminal histidine tags) using PCR. Library DNA was purified, inserted into the PCRamplified pQE9 vector by isothermal Gibson assembly 31 and transformed into XL1-Blue cells. Individual ampicillin-resistant colonies were picked and grown in 96-well blocks at 37°C overnight. The number of colonies picked was three times the theoretical library size to ensure B95% probability of all possible mutation combinations occurring. Glycerol was added to 25% (w/v) and libraries were stored at À 80°C until enzyme activity and specificity were assayed. KIVD mutant libraries were screened using a pH-monitored enzyme assay (method explained below) to measure the rate of H þ consumption resulting from the decarboxylation of 2-ketoacids.
The library derived from the pH-coupled assay was further screened using a second enzyme kinetics assay. This assay involved a second enzyme, ADH from S. Cerevisiae (ADH6), which is a key enzyme in the alcohol production pathway in reducing the aldehyde produced by KIVD into an alcohol. ADH couples oxidation of NADPH to NADP þ to the reduction of aldehyde into an alcohol. Stoichiometrically, conversion of 1 M of 2-ketoacid to n-alcohol depletes exactly 1 M of NADPH. Therefore, activity of KIVD could be measured directly by measuring depletion of NADPH through ultraviolet spectrophotometry.
Overnight cultures of XL1B with pQE9 containing KIVD mutations were grown at 37°C in a 96-well block. Cultures were diluted 1:100 and then grown for 3 h at 37°C to OD 600 of 0.6. Cultures were induced with 0.1 mM IPTG (GoldBio) for 3 h at 37°C. Cultures were then centrifuged, and pellets were lysed with BugBuster (Novagen, Madison, WI). Cell lysate (5 ml) from each culture and a buffer mix (175 ml) containing coenzyme 1.5 mM TPP (Sigma), 0.2 mM NADPH (Fisher Scientific, Waltham, MA), 0.045 U ADH6, 100 mM NaPO 4 , 100 mM NaCl and 10 mM MgCl 2 , pH of 7, were added together into a 96-well plate. In all, 20 ml of 100 mM substrate was added to dilute to make a final concentration of 10 mM. The substrates tested were IsoC5, C4, C5, C6, C8 and H 2 O (Supplementary Fig. 2). Absorbances were measured with a plate reader (TEK Powerwave XS, BioTek) at 340 nm at 30°C for 15 min. The protein concentration in each sample was determined with a BCA assay (Thermo Scientific, Waltham, MA) and used to normalize slope values. Candidate KIVD mutants were chosen for greater activity on long-chained 2-ketoacids and decreased activity on shorter 2-ketoacids. This was determined from graphing absorbance versus time for each substrate and qualitatively comparing slope values versus wild type ( Supplementary Fig. 2).
Site-directed mutagenesis. Oligonucleotides (Supplementary Table 6) encoding specific kivd mutations were ordered from Integrated DNA Technologies (Coralville, Iowa) and were used to mutate kivd in pZE_LeuA*BCDKA6 and pQE_hiskivd_wt using PCR. Amplified DNA fragments were purified, inserted into either the PCR-amplified pZE vector containing leuA*BCD and adh6 or the pQE vector by isothermal Gibson assembly, and transformed into XL1-Blue cells. Plasmid DNA was purified (Qiagen, Hilden, Germany) from overnight cultures of antibiotic-resistant colonies and the plasmid sequences were verified (Laragen, Culver City, CA).
Chromosomal gene knockout. Genes were removed from the ATCC 98082 DrhtA strain genome using P1 transduction from the Keio collection as previously described 32 . The aldehyde-ADH gene (adhE) was knocked out to eliminate ethanol production from acetyl-coA. In all strains, recA was knocked out to prevent recombination between the genome and plasmids, thereby stabilizing the transformants. Primers used to target recA for knockout (Supplementary Table 6) were designed based on the Keio collection (Genobase, http://ecoli.aist-nara.ac.jp/) and ordered from Integrated DNA Technologies.
Fermentation procedure and analysis. For n-alcohol production, strains of ST128 were transformed with pZS_thrO, pZAlac_ilvA BS leuA and pZE_-LeuA*BCDK*A6 containing various kivd mutations. Fermentation conditions were adapted from those in previous lines of works 3,4 , with the following changes: 20 ml of medium was used, with 100 mg ml À 1 ampicillin, 50 mg ml À 1 kanamycin and 100 mg ml À 1 spectinomycin added. Cells were grown to an optical density at 600 nm of B0.6, followed by induction with 0.1 mM IPTG. After fermentation, cells were centrifuged for 15 min at 4,000g and 4°C. The supernatant was split into two fractions for analysis, 5 ml for short-chain alcohols (ethanol, 1-propanol and 1-butanol) and 15 ml for longer-chain alcohols (1-pentanol, 1-hexanol, 1-heptanol and 1-octanol). Longer-chain alcohols were extracted from the 15-ml fraction by 3 ml n-hexane before analysis. GC-FID analysis was performed as previously described 4 .
The k cat and K M values of selective KIVD mutants were measured for the substrates C 3 , isoC 5 and C 8 . All substrates were dissolved in MilliQ H 2 O and pH was adjusted to 7.5 as necessary. Activity was measured at 0.005-10 mM substrates. The assay was performed in a 96-well half-area plate. Each reaction contains a final concentration of 0.5 mM NADH, 1 mM dithiothreitol, 0.1 mM TPP, 1 mM MgSO4, reaction buffer (100 mM Hepes, 100 mM NaCl, 10% glycerol, pH 7.5) and ADH (Sigma-Aldrich, A7011, 10 U ml À 1 for C 3 , C 5 and C 8 reactions, 500 U ml À 1 for isoC 5 reactions). A wide range of ketoacid decarboxylase concentrations, 4.5 nM-15 mM, was used according to the activity of each enzyme towards different substrates to perform steady-state kinetics measurement over a period of an hour. Absorbance readings were taken every 1 min at OD 340 at 21°C for 60 min using the Synergy H1. Kinetic parameters (k cat and K M ) were determined by fitting initial velocity versus substrate concentration data to the Michaelis-Menten equation.
Alcohol toxicity. Alcohol tolerance of the in vivo alcohol production strain was evaluated by supplementing the fermentation media with specified quantities of longer-chain alcohols, and measuring growth over 7 h. Both the E. coli strain (ATCC 98082 pZS_thrO, pZAlac_ilvA_LeuA and pZE12LeuA*BCDKA6_KIVD_wt) and fermentation media (1X M9 metals þ 1X trace metal mix þ 0.5% yeast extract þ 2% glucose þ antibiotics) and conditions are the same as described above (Fermentation procedure and analysis). Cells were grown in media without IPTG induction to a starting OD 600 B0.02 and then supplemented with either 1-petanol, 1-hexanol, 1-heptanol or 1-octanol at specified concentrations of 10, 50, 250, 500 or 1,000 mg l À 1 . OD 600 readings were taken hourly up to 7 h. Figure 9 shows the final OD 600 recorded at 7 h.