{'fraction_non_alphanumeric': 0.03504600753411968, 'fraction_numerical': 0.024609399123077875, 'mean_word_length': 4.791666666666667, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Architecture of a channel-forming O-antigen polysaccharide ABC transporter

O-antigens are cell surface polysaccharides of many Gram-negative pathogens that aid in escaping innate immune responses.1 A widespread O-antigen biosynthesis mechanism involves the synthesis of the lipid-anchored polymer on the inner membrane’s (IM’s) cytosolic face, followed by transport to the periplasmic side where it is ligated to the lipid A core to complete a lipopolysaccharide (LPS) molecule2. The O antigen’s transport to the periplasm is mediated by an ATP-binding cassette (ABC) transporter, called Wzm/Wzt, Extended Data Fig. 1. We present the crystal structure of the Wzm/Wzt homolog from Aquifex aeolicus in an open conformation. The transporter forms a transmembrane (TM) channel sufficiently wide to accommodate a linear polysaccharide. It’s nucleotide binding domain (NBD) and a periplasmic loop form ‘gate helices’ at the cytosolic and periplasmic membrane interfaces, likely serving as substrate entry and exit points. Site-directed mutagenesis of the gates impairs in vivo O antigen secretion in the E. coli prototype. Combined with a closed structure of the isolated NBDs, our structural and functional analyses suggest a processive O antigen translocation mechanism, which stands in contrast to the classical alternating access mechanism of ABC transporters.

To elucidate the O antigen translocation mechanism, we determined the crystal structure of Aquifex aeolicus (Aa) Wzm/Wzt, which is homologous to the prototypical E. coli Wzm/Wzt and S. aureus wall teichoic acid transporters, 11 Extended Data Fig. 2. In a nucleotide-free state, Wzm/Wzt forms a continuous channel across the membrane. The transporter's similarity to the E. coli O9a transporter allowed testing of functional predictions in vivo with an established prototype. Combined with structures of the transporter's isolated NBDs in a closed conformation, our structural and functional analyses suggest substrate entry and exit pathways and a model for O antigen membrane translocation.
To gain structural insights into O antigen translocation, we expressed and purified AaWzm/ Wzt, with Wzm and Wzt forming the TM domain (TMD) and NBD, respectively. For crystallization, the C terminal Wzt-CBD was removed, generating a construct including residues 1 through 235 (WztN). Similar constructs of E. coli O9a and K. pneumoniae O12 Wzt proteins are fully functional in vivo if the CBD is expressed in trans. 8,10 The 3.85 Åresolution Wzm/WztN structure includes residues 2 to 255 of Wzm and 2 to 235 of WztN, Extended Data Table and Extended Data Fig. 3.
In a nucleotide-free state, Wzm/WztN adopts a compact structure containing a Wzm dimer interacting with a WztN dimer in an open conformation, Fig. 1a. The TMDs closely interact over the entire length of their TM regions and surround a central TM channel, formed by TM helices 1, 2 and 5, that is open to the intra-and extracellular sides (see below).
Wzm does not contain any cross-over helices that would interact with WztN of the neighboring half-transporter, unlike previously described bacterial exporters. 12 At its N terminus, Wzm forms an amphipathic interface helix (IF) that runs parallel to the Wzm-WztN interface, followed by six TM helices. The loop connecting TM2 and TM3 couples Wzm with WztN (coupling helix) and the periplasmic connection between TM5 and TM6 forms two reentrant helices, PG1 and PG2. Overall, the Wzm architecture resembles the Type-II ABC exporter topology, to date only observed in human lipid exporters, Fig. 1b and Extended Data Fig. 4a. 13,14 Of note, the Wzm/WztN architecture and thus likely its translocation mechanism differs significantly from PglK, which translocates Und-PP-linked oligosaccharides, Extended Data Fig. 4b. 6 The transporter's NBDs are separated by about 8 Å between the Walker A and Signature motifs, sufficient for nucleotide diffusion, Fig. 1a and 2b. 12 A defining feature of WztN is an extension of the β-strand 1/2 loop (residues 13-32), which forms a short 'gate helix' (residues [18][19][20][21][22][23][24][25][26] that rests near the Wzm-Wzm protomer interface at the putative water-lipid boundary, Fig. 2a. The gate helix packs against a loop connecting Wzm's TM4 and TM5 of the same half transporter. This loop contains a conserved F-X-R/K-D motif, of which Phe164 interacts with Arg20 of the gate helix and Asp167 sits directly at the Wzm-Wzm interface, Fig. 2a. Additional interactions occur with the backbone of the IF-TM1 loop in the opposing Wzm subunit. Because the C terminus of the gate helix is rotated away from the TM region, the helix creates a wedge-shaped path towards the Wzm dimer interface, likely forming a substratebinding pocket, Fig. 2a. At its center, the gate helix contains a conserved positively charged residue (Arg20), which could be implicated in binding the Und-PP diphosphate, Fig. 2a and Extended Data Fig. 2a. Strikingly, a preceding Tyr residue (Tyr14) packs against and stabilizes the gate helix on its membrane distal side, Fig. 2a. Primary sequence alignments of homologous transporters reveal that the gate helix and the Tyr residue are characteristic features of all known O antigen and wall teichoic acid ABC transporters, Extended Data Fig.  2a and b, which accept substrates synthesized as Und-PP-linked intermediates. 11,15 We also determined the structure of the isolated WztN NBD in two different crystal forms at 2.05 and 3.5 Å resolution, Extended Data Table. Despite the absence of a stabilizing nucleotide, both structures represent a WztN dimer in a closed conformation, with only about 4.0 Å between the hydroxyl group of Ser61 (Walker A) and the backbone amide nitrogen of Ser143 (Signature), Fig. 2c and Extended Data Fig. 5. This closed conformation is in agreement with the AMPPNP-stabilized closed state of the maltose transporter's NBDs, 16 and likely reflects the nucleotide-bound conformation of Wzm/Wzt, Fig. 2b and c.
The transporter's TMD is formed by two closely interacting Wzm protomers that contact each other through TM-helices 1 and 5, Fig. 3a. TM5 is capped at the C terminus by a cluster of conserved aromatic residues that pack against the C-terminal end of TM1 of the opposing Wzm protomer. Strikingly, the Wzm protomers enclose a large channel spanning the entire membrane, Fig. 3b. The channel is constricted near the periplasmic exit as well as the Wzm-WztN interface, yet continuously accessible to a 3.5 Å radius probe, thus capable of accommodating a polysaccharide. The structure of AaWzm/Wzt's native substrate is currently unknown but a model of the E. coli O9a polymannose antigen can be accommodated, with 8-10 sugar units spanning the channel, Fig. 3c.
The channel is lined with aromatic residues organized in three layers. First, Tyr18, Trp27, and Trp31 reside at the cytosolic Wzm-Wzm interface where the channel is widest. Second, Tyr39, Phe69, Trp71, Phe72, Phe180, and Trp181 form a central layer halfway across the membrane, and Phe43, Tyr60, Tyr63, and Phe195 surround the periplasmic channel exit, Fig. 3b and d. Protein-carbohydrate interactions are frequently mediated by CH-π stacking interactions between aromatic residues and the sugar rings. 17 Clustering of these residues within the channel strongly suggests a role in O antigen coordination during transport. Indeed, a continuous and mostly conserved 'aromatic path' runs from the putative cytosolic substrate entrance to the periplasmic channel exit, Fig. 3d and Extended Data Fig. 2. Similar paths have been described in cellulose synthase, cellobiohydrolase 1 and maltoporin. 6,[18][19]20 As discussed for the maltoporin channel, hydrophobic interactions with aromatics are often combined with a continuous pattern of H-bond donors and acceptors that contact the polymers' hydroxyl groups and likely minimize translocation energy barriers. 20 In Wzm/ WztN, Tyr39, Ser75, Asn76, Ser79, Arg80, Glu110, and Gln177 may serve this purpose, Fig. 3d.
At the periplasmic channel exit, the PG1 helix is also preceded by a conserved aromatic residue, usually a tyrosine (Tyr187), similar to the gate helix on the cytosolic side, Fig. 3c. It is thus likely that PG1 forms the gate towards the periplasmic membrane leaflet. The functional importance of the gate helices was addressed by introducing point mutations into the E. coli Wzm/Wzt O9a transporter and monitoring O antigen export in vivo. 8,9 Tyr14 and 187 of AaWzm/Wzt correspond to Tyr15 and 192 in E. coli Wzm/Wzt, respectively (Extended data Fig. 2). As shown in Fig. 3e and Extended Data Fig. 6, replacing Wzt-Tyr15 at the cytosolic gate with Trp or Phe supports O antigen export similar to wild type levels, while replacing it with the hydrophobic β-branched residues Val and Ile abolishes export. Among the charged residues, Lys and Arg support some export, requiring longer incubation periods (post-induction) before reaching detectable levels, while the Y15E mutant is inactive. Replacing Tyr15 with Ala only shows a kinetic effect, the exported O antigen levels reach WT levels about 30 min after initiating transport. This is possibly due to a second Tyr directly N terminal to the conserved residue, which could functionally replace Tyr15 E. coli Wzt. We were unable to express a Wzt double Tyr mutant to test this hypothesis. These results are consistent with the cytosolic gate forming the substrate-binding pocket, perhaps through CH-π stacking interactions of the tyrosine with the substrate's first sugar moiety. On the periplasmic side, Wzm-Tyr192 is less critical for export as most of the tested substitutions supported O antigen secretion, Extended Data Fig. 6. It is likely that once initiated, translocation is completed even with a compromised periplasmic gate and/or that other aromatic residues nearby functionally replace Tyr192.
The CBD extending the transporter's NBD (Extended Data Fig. 2c) interacts with the modified terminus of the O antigen substrate. 8,9 Crystal structures of isolated CBDs from K. pneumoniae O12 and E. coli O9a reveal CBD dimers that are stabilized by intermolecular βstrand exchange 9,10 and, accordingly, the AaWzt-CBD also purifies as a dimer, Extended Data Fig. 7. Binding of the O antigen cap likely occurs on the surface of the jelly-roll fold, Fig. 4a, 9,10 but the CBD's precise orientation relative to the NBD remains unknown.
In the absence of the CBD, Wzm/WztN hydrolyzes ATP in a detergent-solubilized state in a tested temperature range from 27 to 65°C, with an apparent K m for ATP of about 350 μM at 27°C, Fig. 4b and Extended Data Fig. 8. Strikingly, the full-length transporter hydrolyzes ATP about 7-times faster than the truncated version, but a similar apparent K m for ATP suggests that the CBD accelerates the rate-liming step of ATP hydrolysis, Extended Data Fig. 8c.
To investigate a direct interaction of Wzm/WztN with the CBD, we measured its hydrolytic activity in the presence of increasing CBD concentrations in detergent-solubilized and liposome-reconstituted states. Wzm/WztN's ATPase activity increases with increasing CBD concentrations and reaches maximum rates at an approximately 3-fold molar excess of CBD over Wzm/WztN, consistent with a direct CBD-NBD interaction, Fig. 4b. Control experiments in which purified CBD was added to the full-length transporter did not increase its hydrolytic activity. Instead, we observed a slight reduction in ATPase activity, perhaps due to non-specific interactions of the isolated and NBD-attached CBDs, Extended Data Fig.  8b.
Compared to detergent-solubilized states, the transporters' hydrolytic activities increase significantly upon reconstitution into liposomes, Extended Data Fig. 8c. Assuming similar concentrations of catalytically active transporters, the apparent catalytic rates in liposomes increase about 3 and 20-fold for full-length and truncated Wzm/Wzt, respectively, relative to detergent-solubilized transporter. These data suggest that the transporter adopts a different, perhaps closed, conformation in a lipid bilayer environment or the presence of the CBD, thereby affecting its hydrolytic activity. These properties could be modulated by the O antigen to facilitate translocation.
In the absence of a translocating substrate in vivo, the transporter's TM channel must be closed to prevent leakage of small solutes across the membrane. Channel closure likely correlates with closing of the transporter's NBDs, perhaps through rigid body movements of the Wzm/Wzt half transporters relative to one another. This model can be generated by superimposing the NBDs of the Wzm/WztN transporter halves with the closed structure of the isolated WztN-NBD dimer, Fig. 2c. In this model, the TM channel is closed because the Wzm subunits pack tightly against each other without any significant backbone clashes, Extended Data Fig. 9. However, significant overlaps occur at the cytosolic substrate-binding site, where the NBD's gate helix contacts the IF-TM1 loop of the opposing Wzm subunit, Fig. 2. This region likely undergoes additional conformational changes during channel closure to facilitate substrate translocation (discussed below). The predicted rigid body movement of the transporter halves is supported by disulfide cross-linking of the Wzm subunits. Cys residues introduced into periplasmic loops predicted to be in close proximity in the closed conformation indeed form disulfide bridges under oxidizing conditions, Extended Data Fig. 9c.
The channel-forming conformation of the ABC transporter is consistent with its biological function. However, in the absence of a polysaccharide, mechanisms must exist that prevent spontaneous transporter opening. It is possible that channel formation is tightly coupled to substrate recognition and insertion, such that the translocating polymer seals the channel, It is unknown which end of the O antigen enters the transporter first. Our structural and functional data argue that the NBD's gate helix functions in substrate binding, most likely by recognizing Und-PP's pyrophosphate group, together with the first sugar unit. Accordingly, some ABC transporters for O antigens 23 and teichoic acids 21 that operate without the fine specificity imposed by CBDs can export glycans with different repeat unit structures. Yet, all substrates contain an acetylated amino sugar as the connector between Und-PP and the repeat-unit glycan 7 . Our data suggest that Wzm/Wzt specifically recognizes this motif, in contrast to PglK, which has been proposed to recognize the Und-moiety, Extended Data Fig. 4b. 6 Substrate binding to the cytosolic entrance likely leads to opening of the transporter and insertion of the lipid head group into the channel through a gate between the Wzm subunits, Fig. 5. Following insertion, the lipid anchor spontaneously reorients to the periplasmic side, possibly facilitated by the proton-motive force across the IM. During this transition, the hydrophobic part of the lipid anchor likely remains in the membrane, similar to the model proposed for PglK. 6 After this passive flipping, the transporter contains the polysaccharide in the channel proper. Export could be achieved in a single cycle or require several steps of ATP hydrolysis, yet these alternatives are currently impossible to distinguish.
We speculate that the cytosolic gate's IF-TM1 loop, Fig. 1 and 2, contacts the polysaccharide during NBD closure. The gate helix, upon ATP binding, likely pushes against the IF-TM1 loop, such that it moves horizontally towards the channel, Fig. 2. The loop contains several polar residues, including Thr21, that could interact with and move the polysaccharide during this transition, similar to the translocation mechanism proposed for cellulose synthase. 22 Conformational changes at the gate could mediate the translocation of ~1-2 sugar units at a time. As such, Wzm/Wzt would combine the functions of a lipid flippase and polysaccharide translocase.
ABC transporters exporting uncapped O antigens (e.g. K. pneumoniae O2a) do not contain C-terminal CBDs. 23 In these systems, polymer export is dependent on simultaneous synthesis, whereas in E. coli O9a, O antigen synthesis and export can be temporally uncoupled. 9,23 Both types of transporter share structural features key to our model (Extended Data Fig. 2). While uncapped O antigens may be synthesized and exported by multi-subunit complexes including the transporter, CBD-containing ABC transporters likely function independently during or after O antigen biosynthesis. In this scenario, the CBD may ensure a sufficient local substrate concentration.

Cloning and protein expression
The wzm and wzt genes were PCR amplified from genomic Aquifex aeolicus VF5 DNA and sequentially cloned into an engineered pETDuet expression vector (Novagen) with a Cterminal histidine tag on Wzt. A second construct containing only residues 1 to 235 of Wzt (WztN) was cloned in a similar manner. The transporters were expressed in E. coli C43 cells in LB medium upon induction with 0.5 mM isopropyl-β-D-thiogalactoside (IPTG) at an optical density at 600 nm of 0.6. Cells were harvested by centrifugation after incubation at 37°C for 4 hrs. The cells were resuspended in RB-1 buffer containing 20 mM Tris HCl pH 7.5, 0.1 M NaCl and 5 mM β-mercaptoethanol (β-ME) and then lysed in a microfluidizer. The crude membranes were collected by centrifugation for 60 min at 200,000 g in a Beckman Ti45 rotor and solubilized for 60 min at 4 °C in RB-2 buffer containing 50 mM sodium phosphate pH 7.2, 0.1 M NaCl, 20 mM imidazole, 5 mM β-ME and 2% polyoxyethylene(8)-dodecyl ether (C12E8). The insoluble material was cleared by centrifugation for 30 min at 200,000 g in a Beckman Ti45 rotor and the membrane extract was batch incubated with Ni-NTA agarose (Qiagen) for 60 min at 4 °C. The resin was packed in a gravity flow chromatography column, washed with 50 ml WB1-buffer (RB-1 buffer containing 20 mM imidazole and 5 mM dodecyl-N,N-dimethylamine-N-oxide, LDAO), 50 ml WB2-buffer (RB-1 buffer containing 40 mM imidazole and 5 mM LDAO), 50 ml WB3-buffer (RB-1 buffer containing a total of 1.5 M NaCl, 20 mM imidazole and 5 mM LDAO) and the transporter was eluted in 50 ml EB-buffer containing 20 mM Tris HCl pH 7.5, 0.1 M NaCl, 300 mM imidazole, 5 mM β-ME and 5 mM LDAO. The eluted protein was purified over an analytical S200 gel filtration column (GE Healthcare) equilibrated in buffer containing 20 mM Tris HCl pH 7.5, 0.1 M NaCl, 0.5 mM tris(2carboxyethyl)phosphine (TCEP) and 5 mM LDAO. The peak fraction was concentrated to 15 mg/mL final concentration in a 50-kDa cut-off centrifugal filter (Amicon) before crystallization. To guide model building, Thr128 in TM3 of Wzm was replaced with a Cys residue for derivatization with ethylmercurithiosialicylic acid. This mutant was generated by QuikChange mutagenesis and purified as described for the wild type transporter. Selenomethionine-derivatized Wzm/Wzt N was prepared as described above with the exception that the cells were grown in the M9 minimal medium supplemented with 60 μg ml −1 L-selenomethionine (Se-Met).
The Wzt CBD (residues 235-394) was expressed from a pET30a vector (Novagen) in E. coli BL21 (DE3) cells (Invitrogen). The E. coli cells were cultured in LB medium at 37 °C and protein expression was induced at an optical density at 600 nm of 0.6 with 0.5 mM IPTG. The cells were harvested by centrifugation after 4 hrs of incubation at 37 °C. Subsequently, the cells were resuspended in RB-1 buffer containing 20 mM sodium phosphate pH 7.5, 0.05 M NaCl and 5 mM β-ME and then lysed in a microfluidizer. The insoluble material was cleared by centrifugation for 30 min at 200,000 g in a Beckman Ti45 rotor. The supernatant was batch incubated with Ni-NTA agarose (Qiagen) for 60 min at 4 °C. The protein was then purified by Ni-NTA affinity chromatography at 4 °C, washed with 50 ml WB1-buffer containing 25 mM Tris HCl pH 8.5, 0.5 M NaCl, 30 mM imidazole and 5 mM β-ME, 50 ml WB2-buffer (WB-1 buffer containing a total of 50 mM imidazole and 50 mM NaCl) and eluted with EB-buffer, consisting of 25 mM Tris HCl pH 8.5, 50 mM NaCl, 300 mM imidazole and 5 mM β-ME. The protein was further purified by gel filtration chromatography (Superdex-200) in 25 mM Tris, pH 8.5, 50 mM NaCl, 5 mM β-ME.

Structure determination
Diffraction data were collected at the Argonne National Laboratory beam lines SER-and GM/CA-CAT as well as the AMX and FMX beam lines at the Brookhaven National Laboratories (NSLS-II). Data was integrated in XDS and reduced in Aimless, as part of the CCP4 program suite. 24 The isolated WztN structure was determined after single anomalous dispersion (SAD) phasing with an ethylmercurithiosialicylic acid-derivatized crystal containing a WztN monomer per ASU in Phenix.autosol with subsequent model building. 25,26 The obtained model was of sufficient quality for molecular replacement using Phaser with the native data set, 27 after which the model was manually completed in Coot 28 and refined in Phenix.refine 25 using TLS parameters. 29 In this crystal form, the protomers of a WztN dimer are related by crystallographic two-fold symmetry. The obtained model was used for molecular replacement of the crystal form containing a WztN dimer per ASU and the obtained model was completed in Coot and refined as described above. In this structure, residues 12 to 33 of chain A are disordered and not included in the final model. The final monomeric and dimeric WztN models contain 99.2/0.4/0.4% and 98.4/1.6/0% in the preferred, allowed and outlier regions of the Ramachandran plot.
The AaWzm/WztN structure was determined by SAD phasing with a ethylmercurithiosialicylic acid-derivatized wild type Wzm/WztN crystal. Phasing was performed in Phenix.autosol without automated model building and based on 5 mercury sites near Cys residues in the transporter's NBDs. The obtained experimental phases to ~9 Å resolution were improved by non-crystallographic symmetry (NCS) averaging and solvent flattening in DM with manually built averaging and solvent masks. 30,31 The improved phases allowed manual docking of the WztN NBDs as well as 3 partial TM helices. The obtained poly-alanine model was used to improve averaging and solvent masks for subsequent rounds of NCS averaging. Following placement of another 2 partial TM helices, the initial model was of sufficient quality for molecular replacement with the native and highest resolution data set. Subsequently, NCS and cross-crystal averaging in DMMulti 31 was used to improve and gradually extend the phases to 3.85 Å resolution using a solvent mask that covered the entire transporter and an averaging mask covering a Wzm/WztN half-transporter. The greatly improved density maps were used to place additional regions as poly-alanine traces, refine the averaging and solvent masks, and iterative rounds of NCS and cross-crystal averaging until the backbone of the entire transporter could be traced and bulky residues were discernible. We confirmed the annotation of TM helices and the assigned registers based on seleno-methionines at positions 147 and 156 in TM helix 4 and 205 in PG2, as well as a mercury-derivatized Cys-residue introduced at position 128 at the C terminal end of TM helix 3. The initial model was built as a poly-alanine model and refined in Phenix.refine with NCS constraints. To generate a model containing all amino acid side chains, the high-resolution structure of the NBD was docked into the Wzm/WztN density and manually refined. The Wzm subunit was manually built starting with aromatic amino acids and methionines, and cycles of NCS refinement in Phenix.refine. Additionally, refinement in Refmac5 with jelly-body refinement greatly improved the model. 32 Towards the end of the refinement, NCS restraints were used instead of constraints. The final Wzm/ WztN model contains residues 2 to 235 of Wzt plus a KLHH sequence corresponding to an engineered HindIII restriction site and C terminal His-tag. Wzm contains residues 2 to 255 (of 256 in total) with a short gap between residues 51 and 55 in chain C and 49 to 55 in chain D. The final model contains 93.5, 6.3, and 0.2% of the residues in favored, allowed and disallowed regions of the Ramachandran plot, respectively. The coordinates and structure factors have been deposited at the Protein-Data-Bank. All figures were generated using Pymol 33 and channel dimensions were analyzed using HOLLOW. 34 Primary sequence alignments were generated in CLUSTALW Omega and displayed in Jalview 35 .

ATPase activity measurements
The ATPase activity was measured using an NADH-consuming coupled method as described. 36 In a first step, the transporter was incubated in reaction buffer containing 10 mM MgCl 2 and the indicated amounts of ATP at 27°C (or otherwise indicated temperatures) for 10 min, after which the samples were snap frozen in liquid nitrogen until all data points had been collected. In a second step, the thawed samples were incubated with NADH-buffer containing 50 mM HEPES pH7.5, 8 u pyruvate kinase, 8 u lactate dehydrogenase, 4 mM phosphoenolpyruvate, 1 mM MgCl 2 and 0.05 mM NADH at 22°C for 5 minutes in the dark. At 22°C, Aquifex Wzm/Wzt does not exhibit any detectable ATPase activity. ADP formation was quantified by following the decrease in NADH fluorescence at 450 nm (excitation at 340 nm) using a FluoroMax 3(Horiba) fluorimeter at 22°C. For ATPase assays in proteoliposomes, purified Wzm/Wzt was reconstituted into 3 mg/mL E. coli total lipid extract at a protein concentration of 0.3 mg/mL. Vesicles were formed upon detergent removal using SM-2 Bio-beads (Bio-rad). For CBD titration experiments, the Wzt-CBD was pre-mixed with transporter for 3 hours at 4°C before adding ATP and MgCl 2 . Decrease in NADH fluorescence was converted to molar concentrations based on measurements of known standards. All experiments were repeated at least three times and data were fit to Michaelis-Menten kinetics to calculate Km and Vmax values using GraphPad Prism 6.
Error bars represent deviations from the means.

Disulfide cross-linking of Wzm/WztN
For disulfide cross-linking experiments, Wzm and WztN were co-expressed from pETDuet and pACYC vectors, respectively, with an N-terminal FLAG tag on Wzm and C-terminal His-tag on WztN. Protein purification was as described above with the exception that the gel filtration buffer contained 1 mM DTT instead of TCEP. Disulfide cross-linking experiments confirming the modeled closed conformation of Wzm/WztN were performed with purified detergent-solubilized transporter. Oxidation was induced with copper-phenanthroline (Co-Phen) or sodium tetrathionate (STT). A Co-Phen stock solution was prepared by combining 0.36 M 1,10-phenanthroline monohydrate (VWR) (in 50% ethanol) with 0.24 M copper sulfate (Sigma) at a 2:1 volume ratio. STT was dissolved in ddH 2 O at 80 mM concentration and N-ethylmaleimide (NEM) to block free cysteines was prepared at 1 M concentration in DMSO. Wild type or Cys-introduced Wzm/WztN at 0.09 mM concentration was incubated with 4 mM Co-Phen or STT and incubated for 40 min at room temperature followed by addition of 25 mM NEM and incubation at 4°C for 30 min. Samples oxidized in the presence of ADP/Mg 2+ were pre-incubated with 2 mM ADP and 2 mM MgCl 2 for 20 min at room temperature. The oxidized protein was resolved by non-reducing SDS-PAGE and protein bands were visualized by Western blotting against an N-terminal FLAG-tag on Wzm.

Size-exclusion multi angle light scattering
Mass measurements on Wzt-CBD were performed on a Dionex UltiMate3000 HPLC system with a UV detection module (ThermoFisher, Waltham, MA), connected to a miniDAWN TREOS static light scattering detector (Wyatt Technology, Santa Barbara, CA) and Optilab T-rEX differential refractometer (Wyatt Technology). A 100 μL sample at 0.1 mM concentration was loaded onto a Superdex 200 HR 10/300 GL column (GE Healthcare) equilibrated in 25 mM Tris, pH 8.5, 50 mM NaCl, 5 mM β-ME at a flow rate of 0.4 mL/min. Data were recorded and processed using ASTRA software (Wyatt Technology).

Growth conditions-Bacterial cultures (Supplementary
DNA methods-Oligonucleotide primers were custom designed and obtained from Sigma Aldrich (Supplementary Table). PfuUltra DNA polymerase (Agilent) was used for PCR reactions, according to manufacturers instructions, and PCR product was treated with DpnI (New England Biolabs). DNA sequencing was performed by the Genomics Facility at the University of Guelph Advanced Analysis Center.
Complementation-E. coli CWG638 transformants containing plasmids containing WT or variant wzt, along with wzm in the native chromosomal organization were used to ensure equal protein expression levels. Cultures were grown overnight in the presence of 0.4% D-glucose. E. coli CWG638 cannot produce its own GDP-mannose, the substrate of glycosyltransferases responsible for O9a O-antigen assembly, due to a deletion of manA and, therefore, O-antigen production relies upon mannose uptake. Accumulation of Und-PP-O9a intermediates in the absence of export results in growth defects that are alleviated by second-site mutations which repress O-antigen synthesis. Growth in glucose represses uptake of any trace amounts of mannose in the medium and prevents harmful O9a synthesis. Overnight cultures were diluted 1/10 in fresh LB supplemented with 0.4% glucose and grown for 4 hours to an A 600nm of ~1.0. Cells were subjected to centrifugation at 5,000 g for 10 min, resuspended in fresh LB containing 0.4% D-mannose to induce O-antigen biosynthesis and grown for 15 min at 37 °C with aeration. After 15 min, 0.1% L-arabinose was added to induce protein expression. Aliquots of culture were taken immediately and after 5, 10, 20, 30 and 60 min and put immediately on ice to suppress further cell growth and O-antigen export. An equivalent of 1 OD cells were harvested by centrifugation at 13,000 g and resuspended in 100 μL of SDS-PAGE loading buffer. Cells were lysed by boiling for 10 minutes. For Western immunoblots, samples were subjected to SDS-PAGE using 12% acrylamide resolving gels in Tris-glycine buffer. 37,38 For LPS analysis, samples were first treated with 500 μg/mL proteinase K for 1 hour at 55 °C prior to SDS-PAGE. LPS was visualized by silver staining. 39 For immunoblot analyses, material resolved by SDS-PAGE was transferred to nitrocellulose membranes (Protran; PerkinElmer Life Sciences). Wzt was detected using anti-Wzt primary antisera, generated in rabbits and cross-reactive material adsorbed against E. coli CWG708 whole cell lysate. Goat-anti-rabbit secondary antibody conjugated to alkaline phosphatase (Cedrar Lane Laboratoreis) was used to facilitate detection with nitroblue tetrazolium (NBT) and 5-bromo-4-chloro-3-indoyl phosphate (BCIP) (Roche Applied Science). Maltosebinding protein was detected using monoclonal anti-MBP mouse primary antisera (New England Biolabs) with secondary alkaline phosphatase-conjugated goat-anti-mouse (Jackson Immuno-Research Laboratories, Inc.) for detection with BCIP and NBT.

Extended Data
Extended Data Figure 1

. ABC transporter-dependent O-antigen biosynthesis
In this pathway, O antigens are completely synthesized on the cytosolic leaflet of the plasma membrane. Undecaprenyl-phosphate (black line and yellow circle) serves as the lipid acceptor and is modified by the addition of an acetylated amino sugar phosphate (frequently N-acetylglucosamine-1-P, white hexagon) as well as 2 or more additional sugar residues (gray hexagons) to generate a biosynthesis primer. The polymerizing enzyme(s) extend the primer with tens to hundreds of O-antigen repeat units (light blue hexagons). In some species, termination of O antigen biosynthesis is achieved by modifying the polymer's nonreducing end (black star). An Multi-angle static light scattering coupled to size-exclusion chromatography was used to determine the molecular weight of the purified Wzt carbohydrate-binding domain (one representative experiment is shown). The molecular weight of a monomeric Wzt-CBD is 20 kDa, including a C-terminal 6x-His-tag and linker region. Inset: Coomassie-stained SDS-PAGE of purified Wzt-CBD.

Extended Data Table
Crystallographic data collection and refinement statistics.

Supplementary Material
Refer to Web version on PubMed Central for supplementary material.