Bacterial flagella grow through an injection-diffusion mechanism

The bacterial flagellum is a self-assembling nanomachine. The external flagellar filament, several times longer than a bacterial cell body, is made of a few tens of thousands subunits of a single protein: flagellin. A fundamental problem concerns the molecular mechanism of how the flagellum grows outside the cell, where no discernible energy source is available. Here, we monitored the dynamic assembly of individual flagella using in situ labelling and real-time immunostaining of elongating flagellar filaments. We report that the rate of flagellum growth, initially ∼1,700 amino acids per second, decreases with length and that the previously proposed chain mechanism does not contribute to the filament elongation dynamics. Inhibition of the proton motive force-dependent export apparatus revealed a major contribution of substrate injection in driving filament elongation. The combination of experimental and mathematical evidence demonstrates that a simple, injection-diffusion mechanism controls bacterial flagella growth outside the cell. DOI: http://dx.doi.org/10.7554/eLife.23136.001


Introduction
Many bacteria move by rotation of a helical organelle, the flagellum. The external flagellar filament is several times longer than a bacterial cell body and is made out of up to 20,000 flagellin subunits (Berg and Anderson, 1973;Chevance and Hughes, 2008;Macnab, 2003;Silverman and Simon, 1974) (Figure 1a). A type III export apparatus located at the base of the flagellum utilizes the proton motive force (pmf) as the primary energy source to translocate axial components of the flagellum across the inner membrane (Minamino and Namba, 2008;Paul et al., 2008;Minamino et al., 2011;Erhardt et al., 2014). Exported substrates travel through a narrow 2 nm channel within the structure and self-assemble at the tip of the growing flagellum. It has been a mystery how bacteria manage to self-assemble several tens of thousands protein subunits outside the cell, where no discernible energy source is available. Previous reports in the literature concerning the mechanism of flagellum growth have been conflicting (Iino, 1974;Aizawa and Kubori, 1998;Turner et al., 2012;Evans et al., 2013). An exponential decay of filament elongation with length was observed using electron microscopic measurements, which was proposed to be a result of decreased translocation efficiency (Iino, 1974;Tanner et al., 2011). A recent study used dual-colour fluorescent labelling of flagellar filaments to distinguish basal from apical filament growth and found that the rate of polymerization was independent of filament length (Turner et al., 2012;Stern and Berg, 2013). A model based on the pulling force of a filament-spanning chain of flagellin subunits was proposed to explain the apparent length-independent growth (Evans et al., 2013).

Results and discussion
Enhanced flagellin export in the absence of assembled filament In order to test whether filament length itself affects the export rate of flagellin subunits during filament formation, we constructed a flagella-assembly mutant deleted for the first hook-filament junction protein (DflgK). This resulted in direct secretion of flagellin monomers into the culture media without transport through the elongated filament. The total amount of extracellular flagellin was analysed in the wild-type and the DflgK mutant by de-polymerizing flagellar filaments into flagellin monomers using heat treatment at 65˚C. The amount of extracellular flagellin was approximately 1.6-fold higher in the DflgK mutant compared to wild-type cells. Consistently, cytoplasmic flagellin was substantially more abundant in the wild-type than in the DflgK mutant ( Figure 1b). Measurements of flagellin leakage during filament formation revealed that only a small fraction of the total flagellin is leaked in monomeric form by wild-type cells during filament formation (Figure 1-figure supplement 1), demonstrating that the majority of exported flagellin subunits are incorporated into the growing filament under our experimental conditions. These results indicate that the presence of an assembled filament decreases the rate of flagellin transport, which is consistent with the decreased rates of FlgE and FliK export in a long hook mutant (Koroyasu et al., 1998;Erhardt et al., 2011). A similar filament length-dependent effect on flagellin transport was also observed in a mutant of the flagellin-specific cytoplasmic chaperone FliS (Figure 1b). FliS promotes docking and subsequent unfolding of flagellin at the export apparatus (Kinoshita et al., 2013;Furukawa et al., 2016), suggesting that the flagellin injection rate at the export apparatus substantially contributes to the flagellum growth dynamics. eLife digest Most bacteria are able to move in a directed manner towards nutrients or other locations of interest. Many move by rotating long tail-like filaments called flagella that stick out from the cell. The flagellum is a remarkably complex nanomachine. It is several times longer than the main body of the bacterial cell body and its external filament is made of thousands of building blocks of a single protein called flagellin. This protein is made inside the cell and a structure at the base of the flagellum known as a type III secretion system uses chemical energy to pump it out of the cell so that it can be incorporated into the growing flagellum. The exported building blocks travel through a narrow channel within the flagellum and self-assemble at the tip.
It has been a mystery for several decades how bacteria manage to assemble the building blocks of flagella outside of the cell, where no discernible energy source is available. Renault et al. used mathematical modeling, biochemical and microscopy techniques to observe how the flagella of a bacterium called Salmonella enterica assemble in real time. The experiments demonstrate that simple biophysical principles regulate the assembly of the flagellum. The building blocks are pumped into the channel of the flagellum by the type III secretion system and then diffuse to the tip of the filament. Accordingly, the longer the flagellum gets, the slower it grows. This molecular mechanism also explains why the growth of bacterial flagella will eventually stop even without any other control mechanisms in place.
Further work will be needed to understand how the type III secretion system harnesses chemical energy to drive the movement of flagellin out of the cell into the growing flagellum. A molecular understanding of these processes will aid the design of new antibiotics targeted against type III secretion systems.  (Iino, 1974;Turner et al., 2012;Evans et al., 2013). OM=outer membrane, IM=inner membrane. (b) Top: Electron micrograph images of mutants deficient in the hook-filament junction protein FlgK or the flagellin-specific chaperone FliS. Bottom: Immunoblotting of cellular and Coomassie-staining of secreted flagellin (FliC) in DflgK and DfliS mutant strains (relative secreted flagellin levels report mean ± s.d., n = 3). (c) Representative images of a population-based flagellin immunostaining time-course. Time in minutes after induction of flagellin synthesis is indicated. (d) Continuous in situ flagellin immunostaining reveals elongation kinetics of individual filaments in real time. Exemplary movie frames are shown and elapsed time in minutes after start of imaging is indicated. (e) Quantification of the population immunostaining. Measured filaments per group: t 15' (n = 187), t 30' (n = 206), t 45' (n = 480), t 60' (n = 648), t 90' (n = 700), t 120' (n = 827), t 180' (n = 302), t 240' (n = 172). The box plot reports the median (in red), the 25th and 75th quartiles and the 1.5 interquartile range. (f) Quantification of the continuous in situ flagellin immunostaining. The dark line represents the global, averaged fit of 8 individual filaments. Raw data shown as coloured dots excluding measurement incidents as explained in Figure 1-figure supplement 2. The initial velocity (Vi) was measured on the initial, linear part of the growth curve. Scale bars 2 mm. DOI: 10.7554/eLife.23136.003 The following figure supplements are available for figure 1: The elongation rate of bacterial flagella inversely correlates with filament length We next measured the growth kinetics of flagellar filaments to determine the relation between growth rate and filament length. We engineered a Salmonella strain where the production of flagellar basal bodies (using the flhDC flagellar master regulatory operon under control of a anhydrotetracycline inducible promoter) is uncoupled from the expression of chromosomally-encoded flagellin (using the flagellin gene fliC under control of an arabinose inducible promoter). This well-established setup allowed for synchronization of flagella production (Erhardt et al., 2011;Karlinsey et al., 2000) by first assembling basal bodies before initiating filament synthesis. The flagella of the synchronized culture were immunostained after increasing growth times (Figure 1c). The initial filament growth rate was~83 nm. min À1 , which decreased over time (Figure 1e). In a complementary approach, we monitored, in real-time, the dynamic assembly of individual filaments by employing a continuous in situ immunostaining approach (Berk et al., 2012) to visualize growing flagella ( Figure 1d, Video 1). A Salmonella strain harbouring a functional, hemagglutinin-epitope tagged flagellin variant under its physiological promoter was grown in a microfluidic device in the presence of labelled, primary antibodies. We observed an initial filament growth rate of~100 nm. min À1 , which decreased over time similar as for the population-wide approach described above (Figure 1f In a previous study, Turner et al. (2012) measured the growth kinetics of individual filaments in Escherichia coli by site-specific labelling of flagellin subunits containing an exposed cysteine residue using sulfhydryl-specific (maleimide) fluorochromes and reported a length independent growth rate of~13 nm. min À1 . We optimized this method to exchange dyes multiple (three to six) times in situ during normal culture growth with minimal perturbation of bacterial growth ( The labelling of successive fragments of the flagellum with maleimide fluorochromes in situ allows observation of the filament growth dynamics at the end of the experiment. Triple labelling (exchange of dyes three times) demonstrated that the extension length of the filament (apical fragment) is inversely proportional to its initial length (basal fragment), until the growth rate for long filaments decreases to a point where it becomes minimal ( Figure 2). Using this setup, the dynamic range of basal fragment lengths was increased by performing the experiment with varying growth durations (15 to 180 min).
Next, multiple labelling (exchange of dyes six times) of flagellar filaments allowed us to compute various basal/apical couples and increased the dynamic range of the growth rate data for individual flagella. The multiple labelling of flagellar filaments confirmed the length-dependent elongation mechanism with an elongation speed decreasing gradually from~100 nm. min À1 to~20 nm. min À1 (Figure 3, Figure 3-figure supplement 1). Alternative combination of the fragments allowed us to determine the filament elongation kinetics for various growth durations and in fine to derive a growth curve (Figure 3cd). Our method further allowed us to exclude stalled or broken filaments and study the filament elongation dynamics under normal cultivation conditions for a wide range of fragment lengths. We note that we only observed a minor fraction of flagella that broke or stopped growing during the experiment (Figure 3e). Video 1. Real-time flagellum growth observed using in situ continuous flow immunostaining. The animation represents the raw data of the filament length measurements of five representative flagella as a function of time. The inset depicts a 400Â time-lapse movie of the corresponding microcolony grown in a CellASIC microfluidic device in the presence of 10 nM anti-HA fluorochrome-coupled primary antibodies. Elapsed time is depicted in min'sec''. Coloured circles highlight the onset of filament assembly of the respective length measurement data. Arrows denote growth or measurement incidents (e.g. filament flipped out of focus or broke off). Scale bar 1 mm. DOI: 10.7554/eLife.23136.006 An injection-diffusion mechanism explains the growth dynamics of flagellar filaments The solid curves in Figure 2 and Figure 3 represent the best fit of the data to a growth curve for which the growth rate is a function of the length L of the form a bþL , where the parameter a has units of a diffusion coefficient, and b has units of length. Derivation of this formula is based on an injection-diffusion model where flagellin monomers, which are at least partially a-helical inside the channel (Shibata et al., 2007), are pushed by a pmf-driven export apparatus into the channel and move diffusively in one dimension through the length of the flagellum (Stern and Berg, 2013;Keener, 2006). An analytical expression for the flagellum length dependent growth rate is based on a continuum injection-diffusion model for the growth of flagellar filaments. Monomers (each of length l) in the growing filament are assumed to move diffusively. Because the filaments are long narrow tubes, monomers are partially unfolded and diffusion is constrained to be strictly one-dimensional, i.e. no passing allowed. In the corresponding continuum as the density of monomers per unit length at position x and time t. Then u satisfies the diffusion equation Here, D is the diffusion coefficient of the monomers. We assume that all end-to-end collisions between monomers are ballistic, with no end-to-end binding. For this, Fickian diffusion is the appropriate description of diffusion, even at high densities. We assume that at the growing end X ¼ L, monomers are quickly removed by folding/polymerization so that effectively u À L; t Á ¼ 0. The details of the mechanism by which monomers are secreted at the basal end X ¼ 0 is not known, but it is known to be related to the pmf (Paul et al., 2008). We assume that the rate of secretion (number of monomers per unit time) into an empty filament is K on , but if it is not empty, then the rate of secretion is decreased because of the no-passing restriction. Consequently, the flux J 0 (number of monomers per unit time at the basal end) is taken to be Finally, the rate of growth of the filament is given by where b is the length increment of the filament due to polymerization of a single monomer.
Since the filament growth rate is small compared to the average velocity of monomers, it is reasonable to take the monomer diffusion to be in quasisteady state, i.e. u xx ¼ 0. Thus, the monomer density in the filament is a linearly decreasing function and u x is the constant Àu À 0 Á L . It follows that the filament growth rate is where a ¼ bD l , with units of diffusion, and b ¼ D konl , with units of length. This is readily solved to find the filament length as a function of time We can estimate the diffusion coefficient using a ¼ bD l , so that From all the datasets presented above, we determined a » 0.2 mm 2 Á min À1 . Using b = 0.47 nm (a flagellar filament of 1 mm length is composed of approximately 2130 flagellin subunits [Yonekura et al., 2003]), l = 74 nm (assuming an extended, a-helical flagellin molecule) this leads to an estimate of D » 5.25 Â 10 À13 m 2 Á s À1 . Stern and Berg (Stern and Berg, 2013) estimated D » 5.78 Â 10 À11 m 2 Á s À1 for freely moving a-helical flagellin in water. The actual diffusion coefficient for movement in the narrow 2 nm channel would be substantially smaller, however. Stern and Berg (Stern and Berg, 2013) (their Figure 2) used a 480 times smaller diffusion coefficient (D » 1.25 Â 10 À13 m 2 Á s À1 ) for numerical simulations that resulted in a declining growth curve, which closely resembled the filament growth kinetics presented above.
Our triple and multiple labelling experiments demonstrated that the growth of a new part of the filament (apical fragment) shows a strong inverse dependence on its initial length (basal fragment) for short filaments, while the growth rate for long filaments decreases to a point where this dependence becomes minimal ( Figure 2, Figure 3, Figure 3-figure supplement 1). We note that several differences in the experimental setup of Turner et al. (2012) from ours might have affected the injection rate and frequency of filament breakage. As described in detail in Appendix 1, the possibility of broken/stalled filaments and possible perturbations of the injection rate reconcile our data with the reported filament growth data of Turner et al. (2012) and explains why we observed a length-dependent decrease in growth rate. In support, we simulated in Figure 3-figure supplement 2 the effects of filament breaking/stalling events and heterogeneous injection rates. The simulated broken/stalled filaments accumulate on the x-axis, which results in a quasi-linear fit of the complete filament growth rate data, similar to the linear filament growth observed by Turner et al. (2012).
We further note that a length-dependent decrease in filament growth rate would explain why flagellar filaments do not growth indefinitely. However, flagellar filaments broken by mechanical shearing forces can re-grow (Turner et al., 2012;Rosu and Hughes, 2006;Vogler et al., 1991). The injection-diffusion model predicts that the elongation rate of re-growing filaments would increase compared to unbroken filaments. We performed multiple labelling in situ to determine the growth rate of individual filaments that had been broken using mechanical shearing forces. Consistent with the injection-diffusion mechanism, the elongation rate of re-growing, previously broken filaments was substantially faster than the elongation rate of unbroken filaments and was dependent on the length of the basal filament segment, which remained attached to the bacterial cell surface (Figure 4).  (FlgD, FlgE, FlgG and FliK) can bind to the C-terminal cytoplasmic domain of FlhB, which is a component of the pmf-driven transmembrane export gate complex. Further, sitespecific cysteine-cysteine crosslinking showed that the N-and C-terminal regions of hook (FlgE) and flagellin (FliC) can interact to form head-to-tail dimers. They hypothesized that formation of intersubunit chains resulting from those interactions could enable their transport at a length-independent speed, as the folding of the exported molecules at the filament tip would provide a continuous pulling force. While the N-and C-terminal interactions of flagellar substrates might play an important role during substrate docking and in the final fold of assembled hook and filament subunits, the proposed inter-subunit chain mechanism for flagellin transport and filament assembly raises several issues that are incompatible with the known biophysical properties of flagellum assembly (Yonekura et al., 2003;Samatey et al., 2001). A flagellum-spanning chain requires interactions of the N-and C-terminal a-helical domains of flagellin, but the 2 nm wide filament channel (Yonekura et al., 2003) is too narrow to accommodate the secretion of much more than one folded a-helix (Figure 5a). The chain mechanism hypothesizes that folding of a flagellin subunit at the tip of the flagellum can pull a chain of succeeding subunits, but the N-and C-termini of successive flagellin molecules are anti-parallel and far apart in the polymerized filament structure (~17 Å on average) (Yonekura et al., 2003;Samatey et al., 2001) (Figure 5b). Further, the chain mechanism is not compatible with simultaneous secretion of non-chaining substrates (Figure 5d). Flagellar substrates such as FlgM or excess hook-associated proteins (FlgK, FlgL, FliD) are constantly exported during flagellum growth (Komoriya et al., 1999) and do not interact with flagellin (Furukawa et al., 2002). Also, premature termination of translation is occurring frequently (~1. 10 À4 to~5. 10 À4 events per codon) (Sin et al., 2016). Thus, a high proportion of 5-20% newly synthesized flagellin might be truncated for the C-terminal domain needed for head-to-tail chain formation. We estimate that secretion of as little as one non-chaining substrate every 10,000 full-length flagellin molecules would prevent filament elongation if a chain mechanism drives flagellum growth (Figure 5d-g).

Inter-subunit chain formation does not contribute to flagella growth dynamics
To test the requirement of subunit chain formation for flagellum growth in more detail, we generated flagellin mutants truncated for the N-and C-termini that render head-to-tail linkage impossible ( Figure 5c). All flagellin truncation mutants were secreted, but were deficient in flagellum assembly due to deletions in the D0 and D1 domains needed for filament polymerization and FliS chaperone binding (Yonekura et al., 2003) (Figure 5-figure supplement 1a, Figure 5-figure supplement  3). We expressed those non-chaining, but secreted flagellin mutants in trans to disrupt formation of a chain of wild-type flagellin molecules (Figure 5d). Competitive secretion of the flagellin truncation mutants did not affect endogenous flagellin transport during filament formation (Figure 5c). Filament extension kinetics were determined using multiple labelling of individual flagellar filaments  Mathematical modelling of the chain model-dependent filament elongation dynamics predicted a linear growth up to a very long flagellum (>0.1 mm), which is in clear contradiction with the experimental observations (Appendix 2).

Inhibition of the pmf-dependent protein export prevents filament elongation
Our high-resolution filament growth rate data and the previous observations by Stern and Berg (2013) suggested that two major components drive flagellin export: pmf-dependent injection of subunits by the type III export apparatus at the base of the flagellum and diffusion of subunits along the length of the flagellum. We used carbonyl cyanide m-chlorophenyl hydrazone (CCCP) to disrupt the pmf, which is required for substrate translocation via the export apparatus into the central channel of the growing flagellar structure (Minamino and Namba, 2008;Paul et al., 2008). The injection-diffusion model predicts that a decrease in the injection rate K on results in slow, quasi-linear growth for sufficiently small K on . As expected, CCCP treatment resulted in impaired filament extension in a dose-dependent manner, which recovered upon removal of the uncoupler (Figure 6a, Figure 6-figure supplement 1). We hypothesized that in presence of high concentration of CCCP, the injection of substrate would be strongly reduced and result in low-speed growth. As shown in Figure 6c, the filament elongation rate for the highest CCCP concentration (~18 nm. min À1 ) was virtually independent of the length of the filament as predicted by the model. Interestingly, some filaments were unaffected by the CCCP treatment, likely due to the action of multidrug transporters (Lomovskaya and Lewis, 1992), and displayed kinetics similar to the untreated population (Figure 6-figure supplement 1d), highlighting the major contribution of the pmf in energizing export.

Conclusion
The bacterial flagellum is a remarkably complex nanomachine. Here, we present the first real-time visualization and experimentally supported biophysical model of the dynamic self-assembly process of this large, widely conserved nanomachine. We propose that bacterial flagella grow through an injection-diffusion mechanism (Figure 6d), which provides a simple explanation why the flagellar filament does not grow infinitely in the absence of any other length-control mechanism. It appears likely that similar biophysical principles are conserved for effector protein secretion in the evolutionary related, virulence-associated injectisome with important implications for the rational design of novel anti-infectives targeted against type III secretion systems.

Figure 5 continued
probability of existence of chains longer than the number on the x-axis. The grey curve indicates the chain length in mm, which reflects that filaments cannot grow longer than a few hundred nanometres with a chain-based mechanism. (g) Simulation of filament growth dependent on inter-subunit chains or the injection-diffusion model in presence of random proportion of competing substrate. The injection-diffusion model fit represents the mean of the multi-labelling data set of Figure 3 with parameters k on » 27.25 s À1 and D » 5.46 Â 10 À13 m 2 Á s À1 . Dashed white line: median length of the filament for chain-model dependent growth. Grey box: expression range of chain-disrupting mutant flagellins used in panel e and

Bacteria, plasmids and media
Salmonella enterica serovar Typhimurium strains and plasmids used in this study are listed in Table 1. Lysogeny broth (LB) contained 10 g of Bacto-Tryptone (Difco), 5 g of yeast extract, 5 g of NaCl and 0.2 ml of 5N NaOH per litre. Soft agar plates used for motility assays contained 10 g of Bacto-Tryptone, 5 g of NaCl, 3.5 g of Bacto-Agar (Difco) and 0.2 ml of 5N NaOH per liter. Tryptone broth (TB) contained 10 g of Bacto-Tryptone and 5 g of NaCl. Ampicillin was added to the medium at a final concentration of 100 mg/ml, L-arabinose at a final concentration of 0.2% and anhydrotetracyline at a final concentration of 100 ng/ml if required.

DNA manipulations
DNA manipulations were carried out as described before . Site-directed mutagenesis was carried out using QuickChange site-directed mutagenesis method as described by Agilent Technologies, Santa Clara, CA, USA. DNA sequencing reactions were carried out using BigDye v3.1 as described in the manufacturer's instructions (Applied Biosystems, Foster City, CA, USA), and then the reaction mixtures were analysed by a 3130 Genetic Analyzer (Applied Biosystems).

Motility assays in soft agar
To check motility of the Salmonella SJW1103 (wild-type) and TM113 (DfliC) cells carrying a pBAD24based plasmid encoding wild-type or FliC deletion variants, motility assays were performed in soft agar plates. Single colonies of the cells were inoculated into soft agar plates containing ampicillin and 0.2% arabinose. Plates were then incubated at 30˚C for the required period of time. Their motility was observed as a ring of migrating cells emanating from the point of inoculation.

Flagellin transport assay
Salmonella cells were grown with shaking in 5 ml of LB at 30˚C until the cell density had reached an OD 600nm of approximately 1.0-1.2. To see the effect of the flagellar filament on flagellin transport during filament assembly, the cultures were heated at 65˚C for 5 min to depolymerize the filaments into flagellin monomers and were centrifuged to obtain cell pellets and culture supernatants, which contains the cytoplasmic flagellin subunits and flagellins transported by the flagellar type III export apparatus, respectively. To test the effect of flagellin subunit linkage on the flagellar growth rate (compare Figure 5c), strain MM1103CPOP carrying a pBAD24-based plasmid encoding FliC(D310-495), FliC(D29-32/D310-495), FliC(D450-495) or FliC(D29-32/D450-495) was grown with shaking in 5 ml of LB containing ampicillin at 30˚C until the cell density had reached an OD 600 of approximately 0.6-0.8. To induce the expression of chromosomally encoded wild-type FliC (from a tetracyclineinducible promoter in the native fliC locus) and its deletion variant (from an arabinose-inducible promoter encoded on pBAD24), we added tetracycline and L-arabinose at the final concentrations of 15 mg/ml and 0.2%, respectively, and the incubation was continued for another hour. The cultures were directly heated at 65˚C for 5 min, followed by centrifugation to obtain cell pellets and culture supernatants. Cell pellets were resuspended in the SDS-loading buffer, normalized to a cell density to give a constant amount of cells. Proteins in the culture supernatants were precipitated by 10% trichloroacetic acid, suspended in the Tris/SDS loading buffer and heated at 95˚C for 3 min. After SDS-PAGE, both CBB-staining and immunoblotting with polyclonal anti-FliC antibodies were carried out as described before (Minamino and Macnab, 1999). Detection was performed with an ECL plus immunoblotting detection kit (GE Healthcare, Tampa, FL, USA). At least six independent experiments were performed.

Flagellin leakage measurements during filament assembly
Salmonella cells were grown with gentle shaking in 5 ml of LB at 30˚C until the cell density had reached an OD 600 of approximately 1.0. After centrifugation, the cell pellets and the culture supernatants were collected separately. The culture supernatants were ultracentrifuged at 85,000 Â g for 1 hr at 4˚C and the pellets and the supernatants, which contain flagellar filaments detached from the cell bodies during shaking culture and flagellin monomers leaked out the culture media during filament formation, respectively, were collected separately. The cell pellets were suspended in 5 ml PBS and then were heated at 65˚C for 5 min, followed by centrifugation to obtain the cell pellets and supernatants, which contained the cytoplasmic flagellin molecules and depolymerized flagellin monomers, respectively. The cell pellets and the pellet fractions after ultracentrifugation were resuspended in the SDS-loading buffer, normalized to the cell density to give a constant amount of cells. Proteins in the supernatants were precipitated by 10% trichloroacetic acid, suspended in Tris/SDS loading buffer and heated at 95˚C for 3 min. After SDS-PAGE, both CBB-stating and immunoblotting with polyclonal anti-FliC antibodies were carried out. At least six independent experiments were performed.

Electron microscopy observation of negatively stained Salmonella cells
Salmonella cells were exponentially grown with gentle shaking in 5 ml LB at 30˚C. 5 ml of the cell culture were applied to carbon-coated copper grids and negatively stained with 0.5% (W/V) phosphotungstic acid. Micrographs were recorded at a magnification of 1200Â with a JEM-1010 transmission electron microscope (JEOL, Tokyo, Japan) operating at 100 kV.

Microscopy of flagellar filaments
For immunolabelling of flagellar filaments, polyclonal anti-FliC and anti-rabbit IgG antibodies conjugated with Alexa Fluor 488 and 594 (Invitrogen, Carlsbad, CA, USA) were used as described (Erhardt et al., 2011;Minamino et al., 2014). For in situ labelling of flagellar filaments of the FliC T237C cysteine replacement mutant, an overnight culture was diluted 1:100 into 10 ml fresh TB in a 125 ml flask and grown at 30˚C for 2 hr until OD 600nm of 0.6. Production of the flagellar master regulatory operon flhDC was induced by addition of 100 ng/ml anhydrotetracycline (AnTc) for 30 min. Afterwards, the culture was centrifuged for 3 min at 2500 Â g, resuspended in 10 ml fresh TB and grown at 30˚C for 30 min. An aliquot was transferred to a 2 ml Eppendorf tube and grown with shaking at 30˚C for 30 min in the presence of 10-25 mM Alexa or DyLight-coupled maleimide dye (ThermoFisher, Tampa, FL, USA). After the incubation, the dye was removed by centrifugation for 2 min at 2500 Â g. The culture was resuspended in 1 mL fresh TB and incubated for additional 30 min in the presence of 10-25 mM Alexa or DyLight-coupled maleimide dye at 30˚C. Dye removal and incubation with DyLight-coupled maleimide dye was repeated to label up to six flagellar filament fragments. After the final labelling period, the bacteria were resuspended in PBS and an aliquot was applied to a custom-made flow cell (Wozniak et al., 2010) with the modification of using Polysine microscope slides (ThermoFisher). Non-adhering cells were flushed by addition of PBS and bacteria were fixed by addition of 2% formaldehyde, 0.2% glutaraldehyde in PBS for 5 min, followed by a washing step with PBS. Fluoroshield mounting medium (Sigma-Aldrich, St. Louis, MO, USA) was added and the cells were observed by fluorescent microscopy using a Zeiss (Oberkochen, Germany) Axio Observer microscope at 100Â magnification. Fluorescence images were analysed using ImageJ software version 1.48 (National Institutes of Health).
Continuous flow in situ immunostaining of 3Â hemagglutinin epitope tagged FliC filaments was performed as described by Berk et al. (2012) with the following adaptions. Strain EM4076 expressing mCherry from pZS*12-mCherry (mCherry under control of P lac [Lutz and Bujard, 1997]) was grown to mid-log phase in M9-glucose minimal medium supplemented with 0.2% casamino acids and 0.1% bovine serum albumin (BSA) and induced for 30 min with 100 ng/ml AnTc. Bacteria were diluted 10-fold, and applied to a continuous flow CellASIC microfluidic plate (B04A; Merk Millipore, Billerica, MA, USA). Approximately 10 nM anti-HA Alexa Fluor488 fluorochrome-coupled primary antibodies (Thermo Fisher A-21287, final concentration 1 mg/ml) were added to the flow medium, which was identical to the above mentioned growth medium without addition of AnTc. Cells were imaged at 30˚C with a temperature-controlled Olympus total internal reflection fluorescence microscope equipped with a water-cooled Hamamatsu (Hamamatsu City, Japan) ImageEM C9100-13 with a pixel size of 160 mm using a NA1.4 100Â objective and an additional 1.6Â tubular lens at a highlyinclined above-critical angle. To image anti-HA Alexa Fluor488 decorated flagellin and mCherry, a 488 nm diode laser set to 0.25 mW and a 561 nm solid-state laser set to 0.85 mW were used. Images were taken every 10 s with exposure times of 15 msec for 488 nm and 8 msec for 561 nm at low camera gain settings.

Data reporting
No statistical methods were used to predetermine sample size. The experiments were not randomized and the investigators were not blinded to allocation during experiments and outcome assessment.

Statistical analysis
Biochemistry experiments were performed at least three times and representative experiments are reported in the figures. Where indicated, mean values and standard deviations were obtained from at least three independent biological replicates. All microscopy experiments were performed at least twice and the figures present individual data points of a representative experiment. Box plots report the median (in red), the 25th and 75th quartiles and the 1.5 interquartile range. Error bars of bar graphs represent the 95% confidence interval of mean estimation.

Fitting experimental data by the growth model
To compare the model with data, we need to find a best fit for the parameters a and b using the growth function (Equation 4). Accordingly, note that if F 1 is the amount of filament growth in time DT following an initial growth of length F 0 , then Z F0þF1 which reduces to the equation This could be solved for F 0 as a function of F 1 and then fitted by standard regression to find parameters a and b. However, to do so would ignore the important fact that there is measurement error in both of the measurements F 0 and F 1 . Consequently, a different method of fitting this curve is needed.
The method used here is to seek numbers W 0 and W 1 , which are approximations to F 0 and F 1 and satisfy the relationship This can be done by minimizing the function where l is a fixed constant. In this way, both F 0 and F 1 are treated as noisy data values which need to be fitted. However, for this analysis, we found it better to introduce the change of variables L ¼ b U 1ÀU ¼ gðUÞ, U ¼ L Lþb and then to find numbers U 0 and U 1 , a ¼ aDT b 2 and b so that is minimized, where f À The minimization of E is equivalent to finding the solution of the system of 2N + 2 nonlinear algebraic equations q qa : This system of equations is readily solved with an iterative solution method such as Newton's Method, details of which are not described here.
Once U 0 and U 1 are known, so also are W 0 ¼ b U0 1ÀU0 and W 1 ¼ b U1 1ÀU1 À W 0 . From this we can estimate the time at which the F 0 phase of growth ended to be and the time at which the F 1 growth phase ended is t 1 ¼ t 0 þ DT. This information enables us to plot the growth curve and plot the F 0 and F 1 measurements at the appropriate times.

Simulation of filament growth in presence of competing substrates
Substrates arriving at the export gate were randomly chosen with a probability p = r / (1+r) to be a competing substrate (i.e., non-chaining or not incorporated in the filament), where r is the ratio of competing molecules relative to flagellin. The following rules were used: 1. 1)Unaltered growth (i.e. without competing substrate) followed the kinetics determined experimentally: LðtÞ ¼ Àb þ ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi ffi b 2 þ 2at p with a = 0.208 and b = 0.271. Note that this observed L(t) dependence does not preclude the chain formation model, which may also lead to the same form of growth kinetics, but only for growth without any chain breakage. However, the general conclusion is independent of the specific growth form, e.g., a linear growth kinetics lead to the same conclusion. 2. 2)Competition for injection was considered to induce, per competing substrate, a delay, with a time scale that is taken to be the same as the injection time t on ¼ k À1 on ffi 38 ms. 3. 3)For the chain model, chain breakage due to competing substrates induced either an arrest of elongation in the strict chain model (see Figure 5) or a delay in growth in the chain recovery model (see Figure 5-figure supplement 1 ) with a delay time given by (t b À t a ), where: i. (i)t b is the time required for the basal chain to diffuse to the tip defined as t b ¼ hL 2 a D0 with D 0 the diffusion coefficient of a flagellin monomer, L a the length to diffuse to reach the tip, and n the number of subunits in the chain. ii. t a is the time required for the apical chain to fold according to the kinetic of unaltered growth.
In Figure 5 panel g and Figure 5-figure supplement 1 panel d, we simulated filament growth over 250 min for 20,000 filaments and assumed a mechanism based on the chain model (strict in blue, with recovery in yellow) or the injection-diffusion model (in red), in the presence of a random proportion of competing substrates (r) between 10 À9 and 1,000. The simulation of chain modeldependent filament growth is illustrated in Figure 5-figure supplement 2.
The range of competing substrates compatible with a chain-driven elongation is very low (<10 À4 -10 À5 ), while the injection-diffusion model allows for robust filament growth over a much broader range of competing substrate (up to about a 10-fold excess of competing substrates).
Complementary to the simulation, the median length of the filament under chain model-dependent growth and in presence of competing substrates can be calculated as follows: The probability of sequentially forming a chain of exact length n is P n ¼ p n ð1 À pÞ.
The expected number of molecules in the chain is: Thus, the median length of a filament grown from a continuous chain is kb, where b = 0.47 nm and k can be determined by: The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.
In the following, we describe differences in the experimental setup of Turner et al. (2012) from ours, which readily explain the apparent differences in growth for short filaments and thus reconcile our results with the previous work.
First, the filament labelling protocol used by Turner et al. (2012) included multiple, longterm centrifugation steps to remove excess dye and wash the samples. We found the maleimide labelling of the exposed cysteine residue to be very specific and a single centrifugation step was sufficient to remove residual maleimide dye prior to the next labelling step. Thus, our samples were exposed to only 3-6 short-term, low speed centrifugation steps for a total duration of 6-12 min (for the triple and multi-colour labelling, respectively). In comparison, the samples of Turner et al. (2012) were exposed to three long-term, repeated centrifugation and resuspension washes for a total duration of 187 min. Flagellar filaments can easily break due to the shearing forces of centrifugation or repeated pipetting. It thus appears possible that the frequent centrifugation steps increased the frequency of broken filaments during the experiment of Turner et al. (2012), which possibly contributed to the fraction of first-fragment-only (= broken or stalled) filaments observed in Figure 3 of Turner et al. (2012). While we do not know how to exactly convert the experimental conditions of Turner et al. (2012) quantitatively into our model, we performed a simulation of increasing fractions of broken filaments using our multi-color data set. As shown in Figure 3-figure supplement 2, the broken/stalled filaments accumulate on the x-axis and below the fit curve and thus result in a quasi-linear fit of the complete filament growth data set.
Further, the filament labelling protocol of Turner et al. (2012) included a long-term incubation step overnight at 7˚C in contrast to the in situ labelling in our experimental setup, where we added the maleimide dyes during normal culture growth to minimize perturbations. It appears possible that long-term incubation of samples at low temperatures might have negatively affected the injection rate of flagellin subunits into the growing filament e.g. by alterations in protein translation efficiency or changes in the available proton motive force. Supporting this possibility, we also observed quasi-linear growth of the filament if the injection rate and not flagellin transport was rate-limiting (Figure 3-figure supplement 2, Figure 6).
Finally, the growth rate data of Turner et al. (2012) contain only few measurements of short filaments for which we observed faster growth (the majority of measured filaments were 4-6 mm long), while our filament growth data report filaments ranging from 0.2-10 mm. In summary, the extended range of filament lengths, the possibility of broken/stalled filaments and possible perturbations of the injection rate reconcile our data with the reported filament growth data of Turner et al. (2012) and explains why we observed a clear lengthdependent decrease in growth rate.