Abstract
Type IV pili are long, filamentous structures that extend from bacterial cell surfaces, enabling cells to respond to changing environments and facilitating genome plasticity. Thermus thermophilus HB27 produces two different type IV pili, each exhibiting distinct structural and functional properties. Here, we combine cryo-electron tomography, mutagenesis, and AlphaFold predictions to generate hypothetical in situ models of the T. thermophilus type IV pilus assembly machinery. Using single-particle cryo-electron microscopy, we determine structures of both filament types, enabling modelling of their surface glycans. Molecular dynamics simulations further reveal the flexibility of these glycans on extrusion. Integration of the filament structures with our hypothetical model of the assembly machinery offers a framework for further dissecting T4P architecture and biogenesis.