<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>The structure and physical properties of a packaged bacteriophage particle</title></titleStmt>
			<publicationStmt>
				<publisher>Springer Nature</publisher>
				<date>03/28/2024</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10508977</idno>
					<idno type="doi">10.1038/s41586-024-07150-4</idno>
					<title level='j'>Nature</title>
<idno>0028-0836</idno>
<biblScope unit="volume">627</biblScope>
<biblScope unit="issue">8005</biblScope>					

					<author>Kush Coshic</author><author>Christopher Maffeo</author><author>David Winogradoff</author><author>Aleksei Aksimentiev</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>The structure and physical properties of a packaged bacteriophage particle Kush Coshic 1 , Christopher Maffeo 2,3 , David Winogradoff 3 &amp; Aleksei Aksimentiev 1,2,3 &#9993; A string of nucleotides confined within a protein capsid contains all the instructions necessary to make a functional virus particle, a virion. Although the structure of the protein capsid is known for many virus species <ref type="bibr">1,</ref><ref type="bibr">2</ref> , the three-dimensional organization of viral genomes has mostly eluded experimental probes <ref type="bibr">3,</ref><ref type="bibr">4</ref> . Here we report all-atom structural models of an HK97 virion <ref type="bibr">5</ref> , including its entire 39,732 base pair genome, obtained through multiresolution simulations. Mimicking the action of a packaging motor <ref type="bibr">6</ref> , the genome was gradually loaded into the capsid. The structure of the packaged capsid was then refined through simulations of increasing resolution, which produced a 26 million atom model of the complete virion, including water and ions confined within the capsid. DNA packaging occurs through a loop extrusion mechanism <ref type="bibr">7</ref> that produces globally different configurations of the packaged genome and gives each viral particle individual traits. Multiple microsecond-long all-atom simulations characterized the effect of the packaged genome on capsid structure, internal pressure, electrostatics and diffusion of water, ions and DNA, and revealed the structural imprints of the capsid onto the genome. Our approach can be generalized to obtain complete all-atom structural models of other virus species, thereby potentially revealing new drug targets at the genome-capsid interface.</p><p>The essence of each virus, its genome, is protected from the outside world by a protein enclosure, a capsid. Once conditions are met for viral invasion, the genome is released from the capsid into a target cell. Advances in X-ray crystallography and cryogenic electron microscopy (cryo-EM) have provided a wealth of structural information about viral proteins, including fully atomistic structures of assembled capsids for many virus species <ref type="bibr">1,</ref><ref type="bibr">2</ref> . Much less is known about the global organization of viral genomes inside fully packaged viral capsids <ref type="bibr">1,</ref><ref type="bibr">2,</ref><ref type="bibr">8</ref> .</p><p>Genome packaging has been extensively studied in several viral systems <ref type="bibr">6,</ref><ref type="bibr">9</ref> and has led to characterization of the structural <ref type="bibr">8,</ref><ref type="bibr">10,</ref><ref type="bibr">11</ref> and mechanical <ref type="bibr">12,</ref><ref type="bibr">13</ref> aspects of the packaging process. Viral capsids can self-assemble around their genomes, such as in most RNA viruses <ref type="bibr">3,</ref><ref type="bibr">14</ref> . Alternatively, the genome is packaged into a pre-formed, immature capsid, such as in bacteriophages, including HK97 (ref. 5), which is the focus of this work. Encapsulation of genomes through self-assembly usually requires specific genome-capsid contacts, which has enabled some experiments to resolve as much as 80% of the backbone structure of the genome <ref type="bibr">3,</ref><ref type="bibr">4</ref> . Precise structural organization of the genome is less understood in pressurized viruses. Small-angle X-ray scattering (SAXS) has enabled the determination of the average inter-DNA distance in packaged viruses <ref type="bibr">15,</ref><ref type="bibr">16</ref> . Meanwhile, cryo-EM microscopy has shown that DNA forms coaxial shells of increasing disorder towards the interior of the capsid <ref type="bibr">9,</ref><ref type="bibr">17,</ref><ref type="bibr">18</ref> . Experimentally resolving the genome structure of an individual virion with single-nucleotide resolution is currently not possible.</p><p>Modelling the structural organization of nucleic acids inside viral particles is challenging because of the complexity of the ion atmosphere <ref type="bibr">19,</ref><ref type="bibr">20</ref> , scarce experimental data on the energetics of such systems <ref type="bibr">21,</ref><ref type="bibr">22</ref> , the size (50-100 nm diameter) of typical virions and an astronomical number of possible nucleic acid conformations that satisfy lax experimental constraints. Coarse-grained (CG) models <ref type="bibr">23</ref> , which trade precision for performance, have enabled computer simulations of entire virions, including SARS-CoV-2 (ref. 24) and HIV <ref type="bibr">25</ref> . Packaging of DNA in bacteriophage systems has been investigated using several CG models <ref type="bibr">[26]</ref><ref type="bibr">[27]</ref><ref type="bibr">[28]</ref><ref type="bibr">[29]</ref><ref type="bibr">[30]</ref> , which, under specific assumptions regarding DNA-capsid <ref type="bibr">28,</ref><ref type="bibr">29</ref> or DNA-DNA <ref type="bibr">30</ref> interactions, could produce coaxial spooling of the genomes. Despite offering an accurate description of DNA mechanics <ref type="bibr">31,</ref><ref type="bibr">32</ref> , DNA-DNA and DNA-protein interactions <ref type="bibr">33</ref> , all-atom molecular dynamics (MD) simulations of the genome packaging process have not yet been possible. Consequently, previous all-atom MD studies of viral systems <ref type="bibr">34</ref> have analysed the behaviour of protein capsids <ref type="bibr">35,</ref><ref type="bibr">36</ref> or outer envelopes <ref type="bibr">37,</ref><ref type="bibr">38</ref> , leaving the structure and dynamics of the nucleic acids confined within the capsids largely unexplored, with the exception of a proof-of-principle study <ref type="bibr">39</ref> .</p><p>Here we report complete all-atom structural models of a bacteriophage HK97 virion obtained through a multiresolution simulation approach. Using a coarser-resolution model, we package the entire 39,732 base pair (bp) genome of HK97 into an atomically accurate representation of its 65 nm diameter capsid <ref type="bibr">9,</ref><ref type="bibr">15,</ref><ref type="bibr">17</ref> . By gradually increasing the resolution of the computational model, we arrive at a fully atomistic, explicit solvent representation of the HK97 virion, which we then simulate using the all-atom MD method. Analysis of our multiresolution simulations provides a wealth of information not easily accessible by other means.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Article</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>In situ properties of an empty capsid</head><p>As a baseline reference for our computational models of fully packaged virions, we determined the in situ structure and physical properties of an empty, fully mature HK97 capsid (Fig. <ref type="figure">1a</ref>). The initial all-atom model of the capsid was constructed starting from its crystal structure (Protein Data Bank (PDB) identifier: 2FT1) <ref type="bibr">40</ref> . The titratable residues at the inner surface of the capsid were protonated <ref type="bibr">41</ref> , which made the capsid electrically neutral. After solvation with 0.2 mol kg -1 NaCl and 0.005 mol kg <ref type="bibr">-1</ref> MgCl 2 electrolyte, minimization and restrained equilibration, the capsid was simulated for 0.7 &#956;s without restraints (Methods).</p><p>The overall structure of the capsid was observed to attain an equilibrium configuration after approximately 0.5 &#956;s. After initial increase, the volume enclosed by the capsid (Fig. <ref type="figure">1b</ref>, top), and the average location of the vertices of the capsid (Fig. <ref type="figure">1b</ref>, middle), returned to their crystal structure values, whereas the faces of the capsid moved inwards by 2 &#197; (Fig. <ref type="figure">1b,</ref><ref type="figure">bottom</ref>). The radial distance to individual gp5 proteins deviated from its crystal structure value, but remained within around 1 &#197; of the latter (Fig. <ref type="figure">1c</ref>). In contrast to a previous simulation of the HIV capsid <ref type="bibr">35</ref> , the root mean square deviation (RMSD) of resolved residues in the HK97 capsid converged below 3.5 &#197; within the initial 0.3 &#956;s (Extended Data Fig. <ref type="figure">1a,</ref><ref type="figure">b</ref>). Among the seven protein locations constituting an asymmetric subunit (Fig. <ref type="figure">1c</ref>), proteins forming the vertex (location 7) showed the greatest deviation from the crystal structure and the least amount of fluctuation (Extended Data Fig. <ref type="figure">1c-f</ref>).</p><p>During equilibration, the capsid was seen to undergo rippling fluctuations; that is, alternating outward and inward radial movements of the capsid subunits (Supplementary Video 1). The amplitude of such fluctuations depended on the location within the repeating structural unit of the capsid (Fig. <ref type="figure">1d</ref>), with the centre of mass (CoM) of proteins at the faces and edges fluctuating significantly more than those at the vertices (Fig. <ref type="figure">1e</ref>). Figure <ref type="figure">1f</ref> illustrates the rippling motion by plotting the radial displacements of a pair of neighbouring faces, such that the inward motion of one face is anticorrelated with an outward motion of the other. On a larger scale, the rippling motion was not coherent, and its period varied from one pair of faces to the other. Simultaneously, the capsid underwent global fluctuations that involved expansion and contraction of the capsid as a whole, and resembled the act of 'breathing'. Principal component analysis revealed the top three modes of the collective motion that describe asymmetric deformation of the capsid featuring opposite direction motion of its nearby regions (Extended Data Fig. <ref type="figure">1g</ref>-h and Supplementary Video 2). These modes were similar to the behaviour previously reported from simulations of other empty viral capsids <ref type="bibr">36,</ref><ref type="bibr">42</ref> .</p><p>Over the course of the equilibration simulation, water molecules were observed to pass into and out of the capsid (Fig. <ref type="figure">1g-i</ref>), with the rate of water exchange increasing to over 600 molecules per ns in equilibrium (Fig. <ref type="figure">1j</ref>). This equilibrium exchange rate is higher than that reported for a poliovirus <ref type="bibr">43</ref> (around 10 ns -1 ), but smaller than the exchange rate through a hepatitis B capsid <ref type="bibr">36</ref> (about 10 3 ns -1 ) or an HIV capsid <ref type="bibr">35</ref> (about 10 4 ns -1 ). The water exchange was not uniform along the capsid surface (Fig. <ref type="figure">1k</ref>), with the majority of the water transport occurring at the faces and edges of the capsid and not at the vertices, despite each of the latter having a pore (Fig. <ref type="figure">1h</ref>). Sodium and chloride ions also permeated through the capsid, reaching an equilibrium exchange state after 0.4 &#956;s (Extended Data Fig. <ref type="figure">2a</ref>). At equilibrium, chloride ions crossed the capsid 15 times more frequently than sodium ions. At the timescale of our simulation, no crossing events were observed for magnesium ions, which were localized near the junction of the asymmetric subunits. It remains unclear whether the treatment of magnesium ions as permanent hexahydrate complexes-bulkier than bare magnesium but less prone to forming contacts that are irreversible on the MD timescaleis responsible for this observation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Genome packaging and virion individuality</head><p>Using our multiresolution model of DNA, parametrized to reproduce experimentally measured DNA elasticity and osmotic pressure in condensed DNA arrays, we simulated packaging of the 39,732 bp genome into an implicit, grid-based representation of the fully mature HK97 capsid, bypassing the maturation process and the associated capsid expansion (see Methods for details). Starting with a well-equilibrated DNA conformation (Fig. <ref type="figure">2a</ref>), DNA packaging was produced by applying a local force to the DNA beads located within the portal of the capsid (Supplementary Video 3). Sixteen packaging simulations were performed at 4 bp per 2 bead resolution (1 bead representing the helix and 1 bead representing the orientation of the major groove; implicit solvent) and a packaging force of 55 pN (referred to as 'slow'; Extended Data Fig. <ref type="figure">3</ref> and Supplementary Video 4). In eight of the simulations, a local torque was applied in the portal to rotate the DNA right-handed by 14&#176; per 1 turn of the packaged DNA <ref type="bibr">44</ref> . After packaging, each system was equilibrated for approximately 200 &#956;s, which produced 16 distinct configurations of a fully packaged virion. Four additional packaging simulations were performed at 4 bp per 2 bead resolution and a higher packaging force of 280 pN (referred to as 'fast'), and for 2 of these, a local torque was applied to rotate the DNA by around 360&#176; for each turn of the packaged DNA. Note that the genome packaging speed in the slow packaging simulations approaches the speed of unassisted genome ejection from the capsid (Fig. <ref type="figure">2a</ref> and Supplementary Video 5), with the ratio of genome packaging-to-genome ejection speeds congruent with the experiment <ref type="bibr">45</ref> .</p><p>During the simulations, the fraction of packaged genome steadily increased (Fig. <ref type="figure">2a</ref>) and exhibited small fluctuations, which were caused by the differences in the DNA configuration outside the capsid. The pressure inside the capsid monotonically increased, reaching approximately 10 bar for a fully packaged configuration (Fig. <ref type="figure">2b</ref>). The bend energy per packaged base pair decreased slightly as packaging progressed (Fig. <ref type="figure">2b</ref>). This result is apparently at odds with the spooling model of DNA packaging <ref type="bibr">26,</ref><ref type="bibr">28</ref> , whereby early packaged DNA forms gently curved concentric rings at the edges of the capsid. In a previous simulation of DNA spool relaxation <ref type="bibr">46</ref> , large-scale rearrangement of the inner DNA spools were observed to reduce the bending stress. In our simulations of DNA packaging, a markedly different mechanism for reducing global stress was seen to emerge. Close inspection of the packaging simulations revealed a repeating loop extrusion process that begins with a highly curved bulge forming near the portal (Fig. <ref type="figure">2c</ref>). The incoming DNA then pushes the bulge away from the portal to form a hairpin-like switchback loop that propagates along an established local helical axis until sufficient stress builds that a new bulge forms at the portal and the process is repeated (Supplementary Video 6). The average length of the loop gradually increased from 50 to 150 bp as the genome filled the capsid (Fig. <ref type="figure">2d</ref>). By the end of the simulations, about three quarters of the genome formed such loops (Fig. <ref type="figure">2d</ref>).</p><p>The switchback-loop organization of the DNA genome was partially caused by the significant local liquid crystalline (nematic) order, which developed early during the packaging process (Fig. <ref type="figure">2e</ref>). In a fully packaged particle, the nematic order was the highest in the outermost parts of the genome (Extended Data Fig. <ref type="figure">3b</ref>), which could be a consequence of the capsid geometry preventing the helices from adopting sharply radial orientations at the boundary. Alternatively, it is possible that the non-uniform nematic order is indicative of a slow relaxation process <ref type="bibr">47</ref> that prevents full equilibration of the nematic order throughout the system. By interpolating both the nematic axis and the nematic order to a regular grid and using theoretical values for the elastic constants <ref type="bibr">48</ref> , we numerically computed the local Frank-Oseen energy that quantifies the cost of introducing distortions into a nematic field (Fig. <ref type="figure">2e</ref>). Dominated by the splay term, this energy monotonically increased during packaging. As most of the packaged genomes visually appeared to exhibit significant order about the axis of the packaging portal, we expected to find a high value for the toroidal order parameter <ref type="bibr">27</ref> , a metric that is 0.5 for a random coil and 1.0 for a perfectly spooled polymer. The toroidal order reached around 0.6 at the end of the packaging simulation (Fig. <ref type="figure">2f</ref>). This low value can be attributed to microscopic deviation of the DNA path out of the plane defined by the toroidal axis. The initially high value of the toroidal order can be attributed to our choice to compute the toroidal axis from the DNA path, adopting the axis that maximizes the toroidal order rather than the portal axis. A detailed analysis of the fully equilibrated slow packaged configurations showed little dependence of the global genome metrics on the presence of a twist during the packaging process (Extended Data Fig. <ref type="figure">3b</ref>).</p><p>Although the packaging simulations started from similar initial configurations of the genome, and although many statistical measures exhibited low variance across packaged capsids (Fig. <ref type="figure">2b</ref>-f and Extended Data Fig. <ref type="figure">3b</ref>), the heterogeneity of the packaged structures was visually striking (Supplementary Video 4 and Extended Data Fig. <ref type="figure">3a</ref>). For example, a sharp interface was observed in the outmost packaged DNA between early-packaged and late-packaged DNA, and the contour of Article this interface varied, being roughly planar in some capsids (Fig. <ref type="figure">2a</ref>) and baseball seam shaped in others (Fig. <ref type="figure">2g</ref>). Furthermore, the planar interfaces formed at various angles relative to the packaging axis. Independent characterization of the four packaged genome quadrants produced highly similar results. On average, the most notable difference was a few per cent increase of the local nematic order for the last quadrant to be packaged. To visualize the differences among the capsids, the nematic director field was treated like a velocity field through which streamlines could be drawn (Fig. <ref type="figure">2h</ref>). The streamlines showed that the genome of each capsid possesses a distinct liquid crystal order <ref type="bibr">49</ref> , despite having similar global properties, including pressure, energy and average nematic order parameter. Thus, the packaging process gives mature virions individual traits encoded by the topology of the packaged genome.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Properties of a packaged capsid</head><p>We built our initial all-atom models of fully packaged virions by first converting the equilibrated CG models of packaged DNA to higher resolution CG models (2 bp per 2 beads and then to 1 bp per 2 beads), equilibrating each model for 400 &#956;s. Six systems that differed by the configuration of the packaged DNA were then converted to an all-atom representation that had the sequence of HK97 genome and merged with a pre-equilibrated volume of electrolyte with the ion composition of a tight DNA bundle <ref type="bibr">50</ref> . Solvent molecules that clashed sterically with the genome were removed. The resulting systems were equilibrated in the presence of a grid-based potential that reproduced the confinement of the protein capsid while allowing free exchange of water and ions. After the ion atmosphere reached equilibrium, the grid potential was replaced by the all-atom structure of the capsid. The resulting systems underwent multiple steps of restrained equilibrations and were eventually simulated in the absence of any restraints (Methods and Supplementary Tables <ref type="table">1</ref><ref type="table">2</ref><ref type="table">3</ref><ref type="table">4</ref><ref type="table">5</ref><ref type="table">6</ref><ref type="table">7</ref><ref type="table">8</ref><ref type="table">9</ref>). Four models containing DNA packaged at a high packaging force with and without twist (2 models each) were each simulated for 0.31 to 0.87 &#956;s, depending on the system. Two models containing DNA packaged at a low packaging force with and without twist were each simulated for about 1 &#956;s. Supplementary Video 7 illustrates one such equilibration trajectory, and Fig. <ref type="figure">3a</ref> shows its final equilibrated state.</p><p>Free equilibration simulations of the fully packaged virions revealed a balloon-like expansion of the virion volume manifested by an outward motion of the faces of the capsids and a near constant separation of the vertices of the capsids (Fig. <ref type="figure">3b</ref> and Supplementary Video 1). In all simulations of the packaged capsids, the 6 proteins forming the faces of the capsid moved by 3-5 &#197; outwards, whereas the proteins at the vertices moved less than 1 &#197; (Fig. <ref type="figure">3c</ref> and Extended Data Fig. <ref type="figure">4a</ref>). The rippling motion of the packaged capsids was decreased (Supplementary Video 1) and the average CoM fluctuation of the proteins was reduced by half (Fig. <ref type="figure">3d</ref>). The 5% expansion of the capsid volume matched the 4% increase of the volume occupied by the genome. Thus, the self-repulsion of the DNA genome stretches the capsid while simultaneously reducing the amplitude of its local fluctuations. Inset depicts a switchback loop with a highly curved centre and two arms that remain within 6 nm. The three genome configurations depict the formation of two switchback loops (in cyan and green). The first switchback loop (cyan) is extruded by the packaging motor until growth of the loop stalls and the nascently packaged DNA buckles, forming a second loop (green). The DNA is coloured by the instantaneous bend energy from 0 kcal mol -1 (red) to 1.5 kcal mol -1 (blue). d, Quantification of switchback loops during packaging, including the absolute number of loops detected, the average loop length (note that loops may overlap) and the amount of the packaged DNA in at least one switchback loop. e, Global order in the packaged genome. The local nematic order (6 nm neighbourhood), and the Frank-Oseen nematic energy calculated from the nematic director field. f, Toroidal order of the packaged genome. g, Example of a packaged genome featuring a baseball seam interface between early-packaged (blue) and late-packaged (red) DNA. h, Streamlines of the nematic director field of select capsids reveal a distinct pattern for each genome. Each streamline is coloured by the local nematic order with white corresponding to zero order, and blue corresponding to the maximum order observed in the system.</p><p>The RMSD of individual residues from their initial coordinates provided a detailed map of the microscopic deformations (Fig. <ref type="figure">3e</ref>). Higher than average displacements were observed for residues at the boundaries of neighbouring capsid proteins and at the vertices, which correlated with the locations where solvent exchange occurs. Conversely, lower than average displacements were seen for residues buried under the protein surface. Per residue comparison of the empty and packaged structures (Fig. <ref type="figure">3f</ref>) revealed modest differences, which suggested that large (&gt;7 &#197; RMSD) deviations from the crystal structure coordinates (Fig. <ref type="figure">3e</ref>) are not caused by the pressure from the packaged DNA. By contrast, larger deviations of certain residues, such as of Arg130, Arg131 and the adjacent residues, can be attributed to their specific interactions with the packaged genome. Similar structural deformations of the capsid proteins were observed in other simulations of the packaged particles (Extended Data Fig. <ref type="figure">4</ref>).</p><p>The presence of DNA makes the ion composition inside the capsid different from the outside. The negative charge of the DNA phosphate groups was compensated approximately in equal amounts by the increased concentrations of Na + and Mg 2+ cations, whereas Cl -ions are depleted <ref type="bibr">50</ref> (Fig. <ref type="figure">3g</ref>). The charge of the DNA also polarized the capsid, increasing the charge of its inward facing surface from 81 &#177; 10 to 305 &#177; 10 proton charges. As with the empty capsid, solvent exchange </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Article</head><p>occurred primarily through the small gaps at the protein interfaces, although the equilibrium rate of water exchange was reduced by a factor of two (Fig. <ref type="figure">3h</ref>). This reduction was caused by a 30% (by volume) contraction of water-filled cavities (Extended Data Fig. <ref type="figure">5a</ref>) and reduced water diffusivity (Fig. <ref type="figure">4j</ref>), which also accounted for the slight dependence of the rate on the packaged model. The rate of water exchange across the capsid was more than 100 times higher than the rate of net water flux into the capsid during equilibration, which increased solvation of the genome by 0.6%. The DNA reduced the rate of Cl -exchange by more than fivefold, whereas the rate of Na + exchange increased by a factor of two (Extended Data Fig. <ref type="figure">2a</ref>), which qualitatively matched the changes in the respective ion concentrations.</p><p>The average maps of the electrostatic potential (Fig. <ref type="figure">3i</ref> and Extended Data Fig. <ref type="figure">2d-f</ref>) revealed substantial changes in the interior of the packaged capsid. Initially, the average potential of the interior of the capsid was approximately -350 mV relative to that of the outside volume (Fig. <ref type="figure">3j</ref> and Supplementary Video 8). The internal potential reached 0 mV after 500 ns of equilibration but continued to increase, saturating at 25 &#177; 2 mV. A similar change in the electrostatic potential was observed during a microsecond-long equilibration of another model of the packaged capsid (Fig. <ref type="figure">3j</ref>). By contrast, the interior electrostatic potential of an empty capsid equilibrated to zero, which we confirmed by repeating empty capsid equilibration using different initial ion concentrations (Fig. <ref type="figure">3j</ref>). The gradual increase in the interior electrostatic potential is produced by the influx of ions neutralizing the electrical charge of the DNA (Extended Data Fig. <ref type="figure">2d</ref>), whereas the overall positive value of the equilibrated potential is caused by the inner core of the DNA (Extended Data Fig. <ref type="figure">2h</ref>). Overall, a packaged capsid particle has an electrically neutral core surrounded by a polarized protein shell (Extended Data Fig. <ref type="figure">2e-h</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Properties of packaged DNA</head><p>Multiparticle cryo-EM reconstructions of DNA bacteriophages, including HK97 (ref. 17), showed distinct coaxial layers of DNA density (Fig. <ref type="figure">4a</ref>). To determine whether individual genome configurations obtained from our DNA packaging simulations are consistent with such averaged cryo-EM density, we averaged the DNA density sampled by individual MD runs over the icosahedral symmetries of the capsid and the MD trajectory. The resulting average density (Fig. <ref type="figure">4b</ref>) showed multiple distinct coaxial layers that diminished in intensity towards the centre of the capsid. The plots of the averaged experimental and simulated DNA densities across the capsid (Fig. <ref type="figure">4c</ref>) revealed five (along faces) and seven (along vertices) peaks. The average simulated DNA-DNA spacing was 25.3 &#177; 0.2 &#197; along faces and 26.1 &#177; 1.4 &#197; along vertices, whereas the average inter-axial distance computed directly <ref type="bibr">51</ref> from the 3D genome configuration was 25.3 &#177; 0.5 &#197;. Similar layering of averaged densities was observed for other equilibrated all-atom models (Extended Data Fig. <ref type="figure">7a</ref>).</p><p>Despite the emergence of coaxial layers in the average DNA density, the instantaneous genome configurations produced by our packaging simulations (Fig. <ref type="figure">2</ref> and Extended Data Fig. <ref type="figure">3</ref>) did not conform to a perfect coaxial inverse-spool, as seen in previous modelling studies of the T7 system 28 or the &#949;15 system <ref type="bibr">29</ref> . To demonstrate how coaxial spooling emerges from multiparticle averaging, we applied our averaging procedure to our CG equilibration trajectories of the packaged particles. As we increased the number of symmetries used for averaging (Fig. <ref type="figure">4d</ref>), an increasing number of layers became visible. By averaging over the 16 independent packaged configurations, 7 coaxial layers were clearly identified, similar to that seen in an experimental reconstruction <ref type="bibr">17</ref> . Diffuse spool-like arrangement of DNA near the capsid was also visible in some single-particle transmission electron microscopy (TEM)-like images of the simulated DNA configurations (Extended Data Fig. <ref type="figure">6</ref>), which stems from projection averaging inherent to the TEM method. Thus, the presence of layers in the averaged structures may not be specifically interpreted as an indication of the inverse-spool-like arrangement of the packaged DNA, which echoes conjectures from previous studies <ref type="bibr">27,</ref><ref type="bibr">49,</ref><ref type="bibr">51,</ref><ref type="bibr">52</ref> .</p><p>The global organization of the genome was further assessed by calculating SAXS profiles separately for the capsid and the DNA parts of the packaged particle. Similar to the experimental SAXS profile of an empty HK97 capsid <ref type="bibr">15</ref> , the calculated profiles of the packaged capsid featured multiple peaks at longer wavelengths reflecting the icosahedral symmetry (Fig. <ref type="figure">4e</ref>). Over the 1 &#956;s simulation, the SAXS profiles of the genome converged to a shape characterized by the DNA diffraction peak at 0.248 &#197; -1 (Fig. <ref type="figure">4e</ref>, right), a result also seen in all equilibrated packaged structures, in agreement with the 0.238-0.264 &#197; -1 range reported in previous studies <ref type="bibr">53,</ref><ref type="bibr">54</ref> .</p><p>The overall structure of the genome appeared less ordered towards the capsid centre, which we characterized by computing the angle between the local helical axis of the DNA and its radial vector from the centre of the capsid. The resulting distributions (Fig. <ref type="figure">4f</ref> and Extended Data Fig. <ref type="figure">7e</ref>) showed that DNA helices are almost always perpendicular to their radial vectors near the capsid but lose that orientation halfway towards the capsid centre. At the base-pair level, 3 out of 12 bp characteristics showed a progressive change with distance from the capsid centre (Fig. <ref type="figure">4g</ref> and Extended Data Fig. <ref type="figure">8</ref>). In proximity to the capsid, DNA base pairs had stagger similar to that of regular B-DNA, whereas the opening and stretch parameters deviated appreciably from the B-DNA values. Moving towards the interior, the absolute value of stagger increased as the stretch parameter returned to its B-DNA value. The fraction of base pairs that deviated appreciably from their Watson-Crick configurations (Fig. <ref type="figure">4h</ref> and Extended Data Fig. <ref type="figure">7b,</ref><ref type="figure">c</ref>) reached a maximum at the outermost layer of the DNA, a result consistent with a picture in which the stress on the genome increases with the distance from the capsid centre. These broken base pairs could be broadly categorized as mis-stacked, frayed and over-bent (Extended Data Fig. <ref type="figure">7d</ref>). Mis-stacking accounted for around 50% of the population, and the proportion of over-bent configurations was higher in the capsid interior.</p><p>To characterize the local mobility of the genome inside the packaged capsid, we computed local diffusion constants of each 10 bp fragment of the packaged DNA (Fig. <ref type="figure">4i</ref>, right). The distribution showed two populations, which, by plotting the radial dependence of the diffusion constant (Fig. <ref type="figure">4i</ref>, left), we associated with DNA fragments being away from and in proximity to the protein capsid.</p><p>Local displacements of the DNA were analysed both in the reference frame of the capsid and the local helical frame (Extended Data Fig. <ref type="figure">5b</ref>). Radial and longitudinal mobility of the DNA were similar relative to the capsid; however, when viewed in the local helical frame, the DNA was more mobile in the direction transverse to its local helical axis in comparison to that along the axis, opposite to the situation in straight DNA bundles <ref type="bibr">50</ref> . The computed diffusion coefficients were similar to those (3 &#956;m 2 s -1 ) experimentally measured using a fluorescently labelled DNA packaged into a T4 capsid <ref type="bibr">55</ref> . The presence of packaged DNA reduced the local diffusivity of water by 2.75 times (Fig. <ref type="figure">4j</ref>). Notably, a similar reduction was observed for Cl -ions (Extended Data Fig. <ref type="figure">5c</ref>), whereas diffusion of Na + and Mg 2+ was reduced by factors of four and eight, respectively, which qualitatively resembles ion localization effects predicted to occur in dense DNA systems <ref type="bibr">20</ref> .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Protein-DNA interactions</head><p>In a packaged particle, self-repulsion of the packaged DNA compels it to expand radially outwards. This expansion is confined by the protein capsid, of which the icosahedral symmetry may imprint distinct structural features onto the outer layer of the packaged genome. In search of such structural features, we visualized the outermost layer of the packaged DNA, categorizing its parts according to their proximity to the faces, edges and vertices of the capsid (Fig. <ref type="figure">5a</ref>).</p><p>Using a line that connected neighbouring vertices to define the orientation of each edge, we found that the outer DNA helices are most likely to cross the capsid edges under a 45&#176; angle (Fig. <ref type="figure">5b</ref>, top), rarely aligning with the edge or crossing normal to it. The icosahedral confinement of the capsid produces occasional defects <ref type="bibr">49</ref> in the outer layering of the genome (Fig. <ref type="figure">5b</ref>, bottom, and Extended Data Fig. <ref type="figure">9</ref>), which manifest as unoccupied spaces between neighbouring DNA helices. In its entirety, the shape of the packaged DNA deviated significantly from a sphere (Fig. <ref type="figure">5c</ref> and Supplementary Video 9). The DNA closer to the capsid vertices bulged outwards, protruding directly into the vertices. Defining a coordinate system based on the five proteins that make up each vertex, we observed a slight preference in the orientation of the protruding loop (Fig. <ref type="figure">5d</ref>). The base pairs of these loops were often distorted or broken, with several instances of non-Watson-Crick base pairs forming sustained contacts with the protein capsid.</p><p>The plot of averaged DNA density (Fig. <ref type="figure">4c</ref>) showed that the distance between the outer DNA layer and the capsid was slightly smaller than the average DNA-DNA distance near the faces of the capsid but was 2 &#197; larger near the vertices of the capsid. The plots of the radial water density near the capsid faces and vertices (Fig. <ref type="figure">5e</ref>) indicated the presence of water between the capsid and the outermost layer of the genome. The water density exhibited well-defined undulations along the radial coordinate, anticorrelating with the DNA density. The water density inside the capsid was approximately 70% of the bulk water density, congruent with the high density of the packaged DNA. The protein capsid formed long-lasting contacts with the DNA (Fig. <ref type="figure">5f</ref>), most prominently with Arg131 and Arg142 (Fig. <ref type="figure">5g</ref>) at the inner surface of the capsid.</p><p>To determine the pressure inside the packaged capsids, we measured the forces required to maintain the expanded configuration of the packaged particle in the absence of the DNA (Fig. <ref type="figure">5h</ref> and Supplementary Video 10; see Methods for details). Figure <ref type="figure">5i</ref> illustrates the results of one such restrained simulation. Although the instantaneous pressure exhibited large fluctuations, its average gradually converged to a steady-state value. Moreover, the magnitude of the pressure fluctuation depended on the spring constant of the restraints, whereas the average value did not. To verify convergence of the pressure data, we repeated the pressure determination simulations using, as a restraint target, a configuration taken from the same trajectory 50 ns before the configuration used for the original pressure determination simulation (Fig. <ref type="figure">5j</ref>). Repeating the two sets of pressure calculation for another three models of the packaged particle provided eight estimates of the internal pressure (Fig. <ref type="figure">5k</ref>). Within the resolution of our method of pressure determination, we did not find a systematic dependence of the internal pressure on the presence of twist during the packaging process. Averaging over the 8 steady-state values resulted in the internal pressure of the HK97 capsid at 21 &#177; 2.0 bar, which is within the range of experimental values, 20-60 bar, as measured for other bacteriophages <ref type="bibr">6,</ref><ref type="bibr">56,</ref><ref type="bibr">57</ref> .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Conclusions</head><p>We presented a computational approach to obtain complete all-atom models of fully packaged virions enabled by a multiresolution ) representation of DNA and proteins. Our computational reconstruction of a bacteriophage virion led to several unexpected results. First, our model predicted that genome packaging occurs through a loop extrusion mechanism, which, by form, resembles the loop extrusion process implicated in large-scale genome organization <ref type="bibr">7</ref> . This raises the question of whether loop extrusion could be a general mechanism for shaping DNA in dense environments. Furthermore, the 3D structures of the packaged genomes varied substantially from one particle to another because of distinct topological defects that emerge midway through the packaging process. It remains to be seen whether such differences in the genome structure could account for the heterogeneity of the genome ejection process <ref type="bibr">45,</ref><ref type="bibr">58</ref> or, more broadly, affect the infectivity of individual virions.</p><p>Multiple all-atom simulations of fully packaged particles provided a wealth of information not easily accessible by other means. We found that the packaged DNA gently pushes away the faces of the capsid, reducing their fluctuations and the rate of water and ion transport across and within the capsid. Electrostatic analysis of the all-atom MD trajectories showed that the packaged particles have a neutral inner core surrounded by a polarized protein shell. The physical properties of the packaged particles were insensitive to the presence of the twist during the packaging process.</p><p>As with any structure prediction method, our multiresolution approach has limitations that present opportunities for future development. The action of the packaging motor can be represented more accurately when new experiments uncover additional mechanistic detail. The packaging simulations themselves can be performed even slower, in stages that reproduce the natural maturation process of a virus and using more detailed representation of DNA-capsid interactions. The all-atom simulation methodology can be improved to account for changes in the local electrostatic environment produced by titratable residues and for slow binding kinetics of divalent ions. Finally, packaging DNA with less force into a flexible capsid with explicit ions, a more detailed description of friction and longer all-atom equilibration will further increase the realism of our methodology.</p><p>Our multiresolution simulation strategy opens the door to obtaining atomically precise, complete 3D structural models of multiple viral species, potentially at different stages of viral infection. When applied on an exascale supercomputer, our method will be able resolve the 3D structures of large, pressurized viruses, including that of the herpes simplex virus. The multiresolution approach can be extended to other types of viruses when combined with the information on the secondary structure of their genomes and their local affinity to the protein capsids. The all-atom structural models of fully packaged virions offer a possibility of finding reproducible structural features at the genome-capsid interface or within the genome configuration. Indeed, we already saw such features in the outer layer of the HK97 genome, imprinted by the icosahedral confinement of the capsid. The exploration of such features as drug targets may offer physical means to treat viral infections, resistant against mutations in the viral genome sequence.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Online content</head><p>Any methods, additional references, Nature Portfolio reporting summaries, source data, extended data, supplementary information, acknowledgements, peer review information; details of author contributions and competing interests; and statements of data and code availability are available at <ref type="url">https://doi.org/10.1038/s41586-024-07150-4</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Methods</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>All-atom MD simulations</head><p>All atomistic MD simulations were performed using a memory optimized version of NAMD2.13b <ref type="bibr">60</ref> , the CHARMM36 parameter set <ref type="bibr">61</ref> for protein and DNA, the TIP3P model for water <ref type="bibr">62</ref> and a custom hexahydrate model for magnesium ions <ref type="bibr">63</ref> used along with the CUFIX corrections to ion-DNA interactions <ref type="bibr">63</ref> . A full set of CUFIX corrections <ref type="bibr">64</ref> was used where specified. The use of permanent magnesium hexahydrate complexes to represent Mg 2+ ions prevented direct binding of Mg 2+ to DNA, in line with previous findings <ref type="bibr">65</ref> . Multiple time stepping <ref type="bibr">66</ref> was used, whereby local interactions were computed every 2 fs whereas long-range interactions were computed every 6 fs. All short-range nonbonded interactions were cut-off starting at 0.8 nm and completely cut-off by 1.0 nm. Long-range electrostatic interactions were evaluated using the particle-mesh Ewald method <ref type="bibr">67</ref> computed over a 0.21-nm-spaced grid with an interpolation order of eight. SETTLE <ref type="bibr">68</ref> and RATTLE <ref type="bibr">69</ref> algorithms were applied to constrain covalent bonds to hydrogen in water and in non-water molecules, respectively. The temperature was maintained at 300 K using a Langevin thermostat with a damping constant of 0.5 ps -1 unless specified otherwise. Constant pressure (NPT ensemble) simulations used a Nos&#233;-Hoover Langevin piston <ref type="bibr">70</ref> with a period and decay of 1,400 and 700 fs, respectively. Implicit representation of the capsid was realized using the Grid-Steered MD 71 feature of NAMD. Energy minimization was carried out using the conjugate gradients method <ref type="bibr">72</ref> . Atomic coordinates were recorded every 9.6 ps unless specified otherwise. Visualization and analysis were performed using VMD <ref type="bibr">73</ref> and MDanalysis <ref type="bibr">74</ref> , respectively. Unless specified otherwise, custom scripts for Tcl interpreter of VMD were used in analysis of trajectories. Supplementary Table <ref type="table">1</ref> provides a summary of the all-atom MD runs performed.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Tiling electrolyte volume for solvation.</head><p>A cubic volume of electrolyte about 3 nm on one side was first simulated for 30 ns in the NPT ensemble. The last frame of the trajectory was used to build a much larger volume of the electrolyte by copying and shifting the electrolyte coordinates by a predetermined number of unit cell vectors. Because Mg 2+ is modelled as a hexahydrate complex, water molecules of the hexahydrates were wrapped across the periodic boundaries of the unit cell before tiling. A typical solvation process included merging the tiled electrolyte volume with the protein or DNA structure followed by removal of water and ions that overlapped with protein or DNA. Having a slight excess of ions in the tiled volume was instrumental to obtaining a target ion density after solvation.</p><p>Vacuum simulations. Vacuum simulations were performed to resolve steric clashes between atoms. Unless stated otherwise, such simulations were performed using a dielectric constant of 200, the long-range electrostatic calculations (PME) switched off and a Langevin thermostat with a damping coefficient of 50 ps -1 . To ensure the structural integrity of the molecules of interest, non-hydrogen atoms of the molecules were subject to a network of harmonic restraints and/or, in the case of DNA, external bonds enforcing base pairing (see respective sections for the specific values of the parameters). Under such restraints, the overall RMSD of the molecule was about 0.5 &#197;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>All-atom simulations of empty HK97 capsid</head><p>An initial all-atom model of the HK97 capsid was constructed from the structure of the asymmetric subunit <ref type="bibr">40</ref> obtained by X-ray crystallography and cryo-EM (PDB identifier: 2FT1). First, the amino terminus of each of the seven proteins in the asymmetric subunit was extended to include residues that were not resolved in the structure using a model of the immature asymmetric subunit (PDB identifier: 1OHG) <ref type="bibr">75</ref> . Note that the N-terminal disordered tails of the capsid proteins (up to residue 103) are cleaved during the maturation process and were, accordingly, omitted from the model. The final protein model included residues 103-383 for all capsid proteins. With crystallographically resolved atoms held fixed, steric clashes were resolved by 1,200 steps of minimization. Subsequently, a model of the complete HK97 capsid was generated by tiling the asymmetric subunit about the symmetry axes of the capsid. The titratable residues located on the inner surface of the capsid, that is, Asp136, Glu149, Asp173, Glu269, His283, Asp290, Glu292, Asp330 and Glu348, were protonated <ref type="bibr">41</ref> , which reduced the electrical charge of the protein capsid to zero. Finally, Lys169 and Asn356 residues of adjacent proteins were crosslinked using a custom patch (Supplementary Information). Parameters for the atoms affected by the crosslinking were obtained using the CGenFF server <ref type="bibr">76</ref> .</p><p>The capsid was merged with a 64 &#215; 64 &#215; 64 nm 3 tiled volume of solvent with an excess concentration of ions. Water within 1.24 &#197; and ions within 2.25 &#197; of non-hydrogen atoms of the capsid were removed from the system. Ions were then removed from inside and outside the capsid until the Na + , Mg 2+ and Cl -concentrations were, respectively, approximately 0.21, 0.005 and 0.3 mol kg -1 inside and approximately 0.22, 0.028 and 0.24 mol kg -1 outside the capsid. At the end of the solvation procedure, the system was electrically neutral and contained 27,484,866 atoms. Following 9,600 steps of energy minimization, the solvated system was equilibrated in multiple stages (Supplementary Table <ref type="table">2</ref>) of NPT simulations at 300 K. With non-hydrogen atoms of the capsid subject to position restraints (k = 0.1 kcal mol -1 &#197; -2 ), a gradual lowering of the Langevin damping coefficient from 50 ps -1 (for 0.5 ns) to 10 ps -1 (for 2.2 ns) and finally to 0.5 ps -1 (for 18.8 ns) allowed water and ions to equilibrate, bringing the volume of the system to equilibrium in about 10 ns. Next, position restraints on the protein were gradually decreased in stages. First, the system was equilibrated for another 17.14 ns with the position restraints applied to all non-hydrogen atoms of the capsid (k = 0.01 kcal mol -1 &#197; -2 ). Then the restraints were lowered (k = 0.005 kcal mol -1 &#197; -2 ) and simulated for 14.27 ns, after which, only the C&#945; atoms of the protein were restrained (k = 0.005 kcal mol -1 &#197; -2 ) for 12.01 ns. As a final step, the position restraints were further lowered (k = 0.001 kcal mol -1 &#197; -2 ) for 4.7 ns, after which, the system was run without any position restraints. The last 600 ns of the simulation was performed using CUFIX corrections applied to acetate-ion and amine-carboxyl interactions. A replica simulation of the empty capsid was built and equilibrated following the same procedures, differing by the initial concentration of ions, 0.2 mol kg -1 Na + , 0.005 mol kg -1 Mg 2+ and 0.21 mol kg -1 Cl -, both inside and outside the capsid. The equilibration schedule is further detailed in Supplementary Tables <ref type="table">2</ref> and<ref type="table">3</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Multiresolution simulations of DNA packaging</head><p>DNA packaging simulations were performed using a previously described multiresolution model of DNA, mrDNA <ref type="bibr">77</ref> . The mrDNA model was developed to reproduce experimentally determined properties of DNA such as its persistence length and twist persistence length, as well as the pressure in a DNA array. Packaging simulations were performed using an in-house-developed, GPU-accelerated code, atomic resolution Brownian dynamics (ARBD) <ref type="bibr">78</ref> . All simulations used a Brownian dynamics integrator with simulation-dependent time step, a temperature of 291 K and a nonbonded cut-off value of 4.1 nm or 5 nm for the fast or slow packaging simulations, respectively. Although the smoothening of the free-energy landscape makes processes occur much faster in a CG simulation than in an equivalent all-atom simulation <ref type="bibr">79</ref> , the durations of our CG simulations are reported throughout the article simply as the product of the time step and the number of elapsed steps.</p><p>Grid-based representation of the capsid enclosure and the packaging motor. For our DNA packaging simulations, the protein capsid containing an embedded packaging motor was represented using a 3D grid-based potential. Before generating such a potential, a small patch of atoms was cut out from the all-atom structure of the capsid (PDB identifier: 2FT1) <ref type="bibr">40</ref> at one of the icosahedral vertices of the capsid. An all-atom model of an HK97-family portal protein (PDB identifier: 3KDR) was manually docked into the vertex opening. A 2.06 &#197;-resolution steric potential representing the capsid and the embedded portal was generated from the all-atom model using the volmap tool of VMD <ref type="bibr">73</ref> , with each non-hydrogen atom replaced by a spherical Gaussian density of width equal to the nominal atomic radius multiplied by a scaling factor of 2. To model the action of the packaging motor, a linear potential ramp was added to the cylindrical region (15 &#197; in radius and 63.7 &#197; in length) inside the portal, as illustrated by the inset in Fig. <ref type="figure">2a</ref>. To avoid entrapment of DNA beads within local wells of the capsid potential, a spherical Gaussian kernel of 1 &#197; width was linearly convolved with the density of the capsid, blurring the density and ensuring that the derived potential acting on DNA beads is smooth and continuous. This density was multiplied by a scaling factor of 0.5 kcal mol -1 to obtain the implicit potential for the CG packaging simulations. To the best of our knowledge, there is no experimental evidence suggesting that specific residues of the HK97 capsid have a crucial role during the packaging process. Experiments performed using a similar virus, phage-&#955;, found that packaged DNA forms random contacts with the capsid <ref type="bibr">52</ref> , which suggests that representing the capsid as a steric, chemically inert barrier is a reasonable approximation. Initial configurations of DNA genomes. Before packaging, initial configurations of the 39,732 bp HK97 genome were prepared as follows. The DNA was initially arranged in the shape of a cylindrical 3D spiral that did not contain knots. For fast packaging simulations, the spiral was 108 nm in length and 85 nm in diameter, and the DNA was equilibrated for 5 &#956;s (100 fs time step) in the absence of the capsid potential at 4 bp per 1 bead resolution. The resulting configuration was placed with one end 28 nm away from the capsid portal having the portal and spiral axes coinciding. The terminal DNA bead nearest to the capsid was then pulled into the portal by a harmonic potential, (k = 0.1 kcal mol -1 &#197; -2 ) during a simulation lasting approximately 0.5 &#956;s. For slow packaging simulations, the DNA genome was initially placed in the shape of a spiral filling a 254-nm-long annular cylinder with 50 nm and 100 nm inner and outer radii, respectively. Four replicate simulations were then performed at 10 bp per bead resolution to relax the configuration, each lasting 2.5 ms (250 fs time step). Each DNA configuration was then geometrically transformed to orient the DNA fragment near one of its ends along the portal axis and place that end 11.5 nm away from the portal entrance. Those configurations were then used to construct a 4 bp per 2 bead model using the mrDNA protocol <ref type="bibr">77</ref> . The conformations of the newly added orientation beads were relaxed during a 40 ns simulation (40 fs time step), whereas the DNA contour beads were each harmonically restrained to their initial coordinates (k = 10 kcal mol -1 &#197; -2 ). The DNA end nearest to the portal was then brought to the portal entrance during another 40 ns simulation using a harmonic restraint potential (k = 1 kcal mol -1 &#197; -2 ), one such configuration is shown in the inset in Fig. <ref type="figure">2a</ref>. Four additional 4 bp per 2 bead relaxation simulations were performed starting from the mirror-image configurations of the states obtained at the end of the four 10 bp per bead relaxation simulations, which provided a total of eight initial conditions for the slow DNA packaging simulations.</p><p>DNA packaging simulations. The genome packaging simulations were performed at either 4 bp per 2 bead resolution with 2 magnitudes of the packaging force, 280 pN (fast) or 55 pN (slow). In some simulations, additional torque was applied to the beads located within the portal region to rotate the DNA right-handed with respect to the axis directed from the portal to the capsid centre by either -359&#176; (fast with twist) or 14&#176; (slow with twist) per turn of the packaged DNA.</p><p>The simulations of DNA packaging with twist were performed using a custom build of ARBD that placed a harmonic potential on the angle formed by the vector connecting each DNA bead in the portal region and its orientation bead, projected into the plane defined by the portal axis, and a reference vector. The reference vector was given by a rotation of a vector within a plane normal to the portal axis by an angle &#952; 0 that depended on the identity of the DNA bead and on whether the genome was packaged fast or slow. For fast packaging simulations, the spring constant was 500 kcal mol -1 radian -2 and the rest angle was specified (in degrees) as &#952; 0 = (i bp /10.4) - (d/34) &#215; 14, where i bp is the index of the base pair corresponding to the DNA bead, and d is the position of the bead projected along the portal axis, given in &#197;. For slow packaging simulations, the spring constant was 10 kcal mol -1 radian -2 and the rest angle was specified (in degrees) as &#952; 0 = i bp (360/10.4 + 14/10.0). The first term accounts for the natural twist of the DNA, whereas the second term effectively rotates the DNA by 14&#176; every 10 bp (one turn of a DNA duplex). The 14&#176;-per-turn rotation of DNA was previously reported for the &#981;29 portal <ref type="bibr">44</ref> .</p><p>The fast packaging simulations were performed using a 100 fs time step and lasted around 100 &#956;s, whereas the slow packaging simulations were performed with a smaller 40 fs time step and lasted about 1.1 ms. Completion of the slow packaging simulations required about 3 months of continuous runs using the GPU nodes of the TACC Frontera. After completion of the packaging simulations, the systems were equilibrated for another 200 &#956;s, at the same resolution as packaging, that is, 4 bp per 2 beads. This additional equilibration was essential for the fast packaging simulations with high levels of twist, as it allowed the superhelical twist accumulated from the packaging step to equilibrate. In total, 16 slow packaging simulations were performed, 8 each with and without twist; and 4 fast packaging simulations, 2 each with and without twist.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>All-atom model of packaged HK97</head><p>All-atom model of the genome. After packaging and equilibration of select capsids, the multiresolution protocol <ref type="bibr">77</ref> was used to map the coordinates of the DNA to a higher resolution, 2 beads per 1 bp, model. The higher-resolution model was equilibrated for 400 &#956;s (slow) or 1 &#956;s (fast), using a smaller time step of 20 fs. The fast model was simulated for another 1 &#956;s at 1 bead per 1 bp resolution. Coordinates from the last part of the final CG trajectory were averaged for mapping to an atomistic model as specified in the mrDNA protocol <ref type="bibr">77</ref> . First, the trajectory was aligned to minimize the RMSD with respect to the final configuration.</p><p>Stepping backwards through the trajectory, we selected a continuous fragment of the trajectory with individual DNA configurations and an RMSD with respect to the final configuration lower than a 1 &#197; threshold. The coordinates from that point onwards were averaged, and splines were fit through these to facilitate mapping to an all-atom structure of the DNA. The nucleotide sequence of the resulting all-atom DNA model matched the experimentally determined sequence of the 39,732 bp HK97 genome <ref type="bibr">80</ref> . For accurate mapping of atomic coordinates and to prevent any ring piercing clashes from the mapping procedure, the sugar base of the DNA backbone was shrunk in size by a scaling factor of 0.25.</p><p>Implicit capsid potential for all-atom simulations. For atomistic simulations, an implicit representation of the capsid was designed to confine DNA while permitting the exchange of water and ions. To obtain the optimal grid potential using the volmap tool of VMD, with the '-weight mass' option turned on, the resolution of the grid and the width of the Gaussians approximating atomic densities were tuned. The resulting grid-based model of the capsid was tested in a vacuum simulation in which an all-atom model of a two-turn DNA fragment was subject to a 20 pN force pressing the DNA duplex onto a small patch of the capsid grid (Extended Data Fig. <ref type="figure">10</ref>). The specific value of the force was chosen to match that produced by the internal pressure of 20 bar inside a bacteriophage virus. For reference, an identical simulation was performed using a fully atomistic representation of both the DNA and the capsid. The parameters of the grid representations of the capsid were varied until a match with all-atom representation was reached with respect to the equilibrium DNA-capsid distance.</p><p>See the caption of Extended Data Fig. <ref type="figure">10</ref> for more detail. The resulting grid-based density of the capsid had a resolution of 1.4 &#197;, and the atomic densities were approximated using Gaussians of the nominal atomic radii. For subsequent grid-steered MD simulations, the grid-based density was converted to a grid-based potential using a scaling factor of 50 kcal mol -1 &#197; -1 . The instantaneous grid-based forces were computed using a cubic polynomial interpolation in the three dimensions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Initial relaxation of the genome.</head><p>A short 2,500-step minimization with backbone atoms fixed was performed in vacuum to bring each DNA nucleotide to its nominal size. Subsequently, another minimization of 4,500 steps in vacuum was performed without having any atoms fixed, but under an elastic network of restraints applied to DNA, as previously described <ref type="bibr">81</ref> . At the same time, the grid-forces functionality of NAMD <ref type="bibr">71</ref> was used to apply external forces from the implicit representation of the capsid to non-hydrogen atoms of the DNA, which prevented the DNA from expanding beyond the boundaries of the capsid. Using the extrabonds feature of NAMD, additional harmonic forces (k = 10 kcal mol -1 &#197; -2 ) were applied to pairs of atoms that formed Watson-Crick hydrogen bonds between all base pairs of the genome. The DNA was simulated in vacuum for 21 ns in the NVT ensemble, producing an initial all-atom configuration of the 39,732 bp genome consisting of 2,523,065 atoms. In total, six such all-atom structures were constructed, three each for packaging with and without twist.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Solvation of the genome.</head><p>To solvate the genome, we prepared a 64 &#215; 64 &#215; 64 nm 3 tiled volume of solvent containing 1 mol kg -1 NaCl and 1.2 mol kg -1 Mg 2+ hexahydrate; the solvent carried a net positive charge. This ion composition was chosen to exceed the equilibrium concentration of ions in a tight DNA bundle of approximately the same average DNA-DNA spacing <ref type="bibr">50</ref> . After addition of the solvent, water and ions overlapping with the atoms of DNA were removed, setting the target concentration for individual ion species by tuning the cut-off distance for the ion removal. For the slow model of packaged DNA, the desired ion composition of 0.75 mol kg -1 Na + and 0.5 mol kg -1 Mg 2+ (ref. 50) was obtained by removing water molecules with oxygen atoms within 2.3 &#197; of any non-hydrogen DNA atom, Na + ions within 3.7 &#197; from the DNA, magnesium hexahydrate complexes with Mg 2+ atoms within 6.855 &#197; of DNA and Cl -ions within 20 &#197; of the DNA, which ensured that no Cl -ions were initially present inside the volume occupied by packaged DNA. For other DNA models, the above cut-off parameters were slightly adjusted (by less than 5%) to obtain the desired ion concentrations. The ions located outside the volume occupied by the genome were randomly removed such that the final concentrations of ionic species outside the capsid were 0.2 mol kg -1 Na + , 0.005 mol kg -1 Mg 2+ and 0.21 mol kg -1 Cl -. The regions interior of and exterior to the capsid were identified using the 'measure volinterior' functionality of VMD <ref type="bibr">82</ref> . The resulting solvated systems contained about 26 million atoms.</p><p>Equilibration of the solvated genome. The solvated genome structure was equilibrated in a series of simulations described in detail for all systems in Supplementary Tables <ref type="table">4</ref><ref type="table">5</ref><ref type="table">6</ref><ref type="table">7</ref><ref type="table">8</ref><ref type="table">9</ref>. Below, we illustrate the procedure using the slow model as an example. After 2,500 steps of energy minimization, the system was simulated in an NPT ensemble for 1.64 ns with all non-hydrogen atoms of the DNA harmonically restrained (k = 0.1 kcal mol -1 &#197; -2 ) to their initial coordinates and coupling each non-hydrogen atom to the Langevin thermostat with a damping coefficient of 50 ps -1 . During this and subsequent simulations, a grid-based potential derived from the atomic structure of the capsid was applied on all non-hydrogen atoms of the DNA to confine it within the inner volume of the capsid, whereas water and ions were allowed to move in and out of the volume occupied by the packaged DNA. Doing so greatly reduced the possibility of having an out-of-equilibrium Mg 2+ configuration within the genome that could be caused by the low permeability of the protein capsid to Mg 2+ . After a brief 0.25 ns simulation with the Langevin damping coefficient decreased to 10 ps -1 , and another 8.37 ns with the damping coefficient decreased to 0.5 ps -1 , the system was simulated for 3.8 ns with the spring constant of the position restraints lowered to 0.01 kcal mol -1 &#197; -2 . The position restraints were then removed and the system was simulated for 29.13 ns in the NVT ensemble under the action of the confining potential. At all stages of the solvent equilibration procedure, the integrity of all Watson-Crick base pairs of the DNA was enforced by means of external harmonic potentials (k = 50 kcal mol -1 &#197; -2 ).</p><p>Addition of the atomistic protein capsid. To replace the implicit representation of the capsid with a corresponding all-atom model, ions residing within the volume to be occupied by the capsid were removed during a 2 ns NVT simulation. During this simulation, all non-hydrogen atoms of the DNA were harmonically restrained (k = 0.1 kcal mol -1 &#197; -2 ) to their coordinates from the end of the previous implicit capsid run, and a grid-based potential was applied only to ions to expel them from the volume to be occupied by the capsid. The ion-expelling grid-based potential was constructed by first creating a 2 &#197; resolution atomic density of the protein capsid, using the volmap tool in VMD with a scaling factor of 2, and then rescaling the grid cell size to 1.97 &#197;. This led to the density corresponding to the protein shrinking radially inwards by about 4.5 &#197;. The resulting density grid was scaled by a factor of 100 kcal mol -1 Da -1 to produce an external potential. A very small number of ions that, despite the expelling potential, remained in the volume to be occupied by the explicit capsid were manually moved to the region outside the capsid. At the end of this ion-expelling procedure, the volume to be occupied by the capsid was devoid of ions, which necessitated only the removal of water molecules in that area before the addition of the atomistic capsid, which was done as described below.</p><p>Next, the atomic structure of the genome was extracted from the last frame of the simulation described in the previous section and merged with the all-atom model of the capsid. A small number of DNAprotein clashes was resolved in a 1 ns vacuum simulation in which all non-hydrogen atoms of the DNA located within 15 &#197; of the protein were harmonically restrained (k = 0.1 kcal mol -1 &#197; -2 ) to their initial coordinates, whereas the coordinates of all other non-hydrogen atoms of the DNA were constrained to their initial positions using the fix atoms protocol of NAMD. At the same time, the protein capsid was subject to an elastic network of restraints (k = 20 kcal mol -1 &#197; -2 ) applied to all atom pairs located within 6 &#197; of each other. This vacuum equilibration simulation was performed using a Langevin damping coefficient of 500 ps -1 applied to all non-hydrogen atoms. The simulation successfully removed all DNA-protein clashes, perturbing coordinates of the protein atoms by less than 0.7 &#197;, with the average protein RMSD with respect to the crystal structure coordinates being just 0.2 &#197;. The resulting DNA-protein system was merged with the solvent configuration obtained at the end of the ion-expelling simulation. Water molecules located within a 2.5 &#197; of non-hydrogen atoms of the protein capsid were removed. Steric clashes between the protein and the ions were identified, and the ion coordinates were adjusted to remove such clashes, making sure the ion concentration inside and outside the capsid was not disturbed. A small number of persistent clashes with Mg 2+ hexahydrates were removed by shrinking the size of the hexahydrates by 0.75 followed by a 2,500-step minimization. A similar procedure was performed to build initial models of all packaged particles. Details are described in Supplementary Tables <ref type="figure">4</ref><ref type="figure">5</ref><ref type="figure">6</ref><ref type="figure">7</ref><ref type="figure">8</ref><ref type="figure">9</ref>.</p><p>Equilibration of the complete all-atom models. The DNA-proteinsolvent systems were next equilibrated in the NPT ensemble as detailed in Supplementary Tables <ref type="table">4</ref><ref type="table">5</ref><ref type="table">6</ref><ref type="table">7</ref><ref type="table">8</ref><ref type="table">9</ref>. Below, we illustrate the equilibration process using the slow model of packaged DNA as an example. The initial equilibration was carried out with position restraints (k = 0.1 kcal mol -1 &#197; -2 ) applied to all non-hydrogen atoms of the protein and DNA, extra bonds applied to preserve the DNA base pairing (k = 10 kcal mol -1 &#197; -2 ) and coupling all non-hydrogen atoms of the system to a Langevin thermostat with a damping coefficient of 50 ps -1 for the initial 3.17 ns, 10 ps -1 for the next 0.4 ns and 0.5 ps -1 for the remaining 21.75 ns. Following that, the position restraints on the DNA were removed and the system was simulated for 14.88 ns while keeping the restraints enforcing the DNA base pairing and the position restraints on the capsid. Then, the position restraints on the non-hydrogen atoms of the protein were lowered to 0.01 kcal mol -1 &#197; -2 for 13.53 ns and then to 0.001 kcal mol -1 &#197; -2 for another 12.69 ns. Next, position restraints (k = 0.001 kcal mol -1 &#197; -2 ) were applied only to the backbone atoms of the protein for 8.19 ns and then only to the C&#945; atoms of the protein (k = 0.001 kcal mol -1 &#197; -2 ) for 8.57 ns. The spring constants of the latter restraints were then lowered to 0.0001 kcal mol -1 &#197; -2 for the next 11.8 ns along while the spring constant of the DNA base pairing restraints was reduced to 1 kcal mol -1 &#197; -2 . For the next 22.72 ns, the system was simulated without any position restraints applied to the protein, whereas the strength of the DNA base pairing restraints was reduced to 0.1 kcal mol -1 &#197; -2 . Following that, the system was simulated without applying any restraints to either protein or DNA for 886.27 ns. These steps are described in Supplementary Table <ref type="table">4</ref>.</p><p>Other all-atom models of packaged capsid were constructed and equilibrated using similar procedures (see Supplementary Tables <ref type="table">5</ref><ref type="table">6</ref><ref type="table">7</ref><ref type="table">8</ref><ref type="table">9</ref>for details). Some of the fast models were equilibrated without applying the NBFIX corrections to acetate-cation and amine-carboxyl interactions <ref type="bibr">83</ref> , whereas the NBFIX corrections for the interactions involving DNA phosphates <ref type="bibr">63</ref> were present in all simulations. The application of these additional NBFIX corrections slightly increased the gaps between protein interfaces and slightly increased the rate of water transport through the capsid (Fig. <ref type="figure">3h</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Common procedures for structure analysis</head><p>Unless specified otherwise, the 'measure fit' command of VMD was used for alignment of structures before RMSD calculations, using coordinates of atoms resolved in the crystal structure. Analyses that required local alignment of smaller subunits, for example, per residue RMSD calculations (Fig. <ref type="figure">3e</ref>), were performed by first aligning all 12 pentameric subunits (one is shown in Fig. <ref type="figure">1h</ref>) to a chosen reference pentamer using VMD measure fit functionality. After the alignment, the RMSDs of individual residues were computed with respect to the crystallographic coordinates. The RMSDs were then averaged individually for each of the seven protein locations in the asymmetric subunit Fig. <ref type="figure">3e</ref>, with each type appearing five times in a pentameric subunit.</p><p>Capsid deformation calculations (Figs. 1b and Fig. <ref type="figure">3b</ref>) were performed on a supercomputer using a Python-based framework, whereby the calculations for every capsid symmetry transformation were distributed over multiple nodes and the computations per transformation were multi-threaded across multiple CPU cores on the respective node. MDAnalysis <ref type="bibr">74</ref> was used to first load the trajectories one frame at a time, whereafter a global alignment of the capsid was performed using the Newton-Raphson quaternion and an adjoint matrix method <ref type="bibr">84</ref> . This workflow was validated against the results of the VMD measure fit command. The atomic density profiles were then computed by averaging over 4 &#215; 4 nm 2 centred sections connecting the ten pairs of opposite faces or seven pairs of opposite vertices.</p><p>To characterize steady-state RMSF of the capsid proteins (Figs. 1e and Fig. <ref type="figure">3d</ref>), the average CoM coordinates of each of the 420 capsid proteins were calculated over the last 50 ns of the MD trajectory. For each protein, the RMSF was then measured over that time interval relative to the average CoM coordinates, sampling instantaneous configurations every 48 ps. The CoM coordinates of a protein were calculated using the coordinates of all C&#945; atoms resolved in the crystal structure. The RMSF values were then averaged over 60 protein copies for each protein location within the asymmetric subunit. Before displacement calculation (Fig. <ref type="figure">3f</ref>), protein coordinates were averaged over the last 40 ns of the corresponding MD trajectories (slow and empty), sampled every 48 ps. The displacement was computed as per-residue RMSD of the two average structures.</p><p>Radial plots of average ion concentration (Figs. 1l and Fig. <ref type="figure">3g</ref>) or DNA density (Fig. <ref type="figure">4c</ref>) were obtained by averaging ten 4 &#215; 4 nm 2 centred sections connecting the ten pairs of the twenty opposite faces of the capsid (face symmetry axis) or six pairs of the twelve opposite vertices of the capsid (vertex symmetry axis) and over the last 48 ns of the respective MD trajectory.</p><p>All SAXS profiles were calculated using Crysol <ref type="bibr">85</ref> . Base-pair-level characterization of the packaged genome structures was carried out using Curves+ (ref. 86) and the standard reference frame for the description of nucleic acid geometry <ref type="bibr">87</ref> .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Cryo-EM-like and TEM-like images of the simulated structures</head><p>The last 500 ns of the slow all-atom MD trajectory was sampled every 50 ns, rotating the genome and the protein capsid according to each of the 60 icosahedral symmetries. The volmap plugin of VMD was used to produce a volumetric grid of the DNA and protein atomic density with a resolution of 2.5 &#197;, averaging over both simulation frames and the symmetry axes. The volmap plugin was similarly used to produce 2.5 &#197; resolution maps of the CG DNA mass density of each CG capsid genome, averaging over the equilibration portion of each trajectory with a stride of 40 ns. Maps were produced with and without averaging over the symmetry axes of the system. The 2D images in Fig. <ref type="figure">4a,</ref><ref type="figure">b</ref> were produced by averaging a 6-nm-thick slab of the density passing through the centre of the capsid, then linearly mapping the density from white to black (4-7 Da &#197; -3 ). For CG images, the repulsive regions of the capsid potential are depicted using a semi-transparent blue overlay.</p><p>Individual TEM-like images (Extended Data Fig. <ref type="figure">6b</ref>) were obtained for CG trajectories from the maps without symmetry, averaging by selecting a normal vector, finding the coordinate of each 3D voxel in the plane corresponding to the normal vector and binning the voxels by those normal coordinates with 2.5 &#197; resolution and summing the density in each bin. The images were then produced from the projected density by linearly mapping the summed mass density between 200 and 1,600 Da &#197; -3 , from white to black.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Calculation of diffusion constants</head><p>The local diffusion of the DNA genome (Fig. <ref type="figure">4i</ref>) was characterized using the following distance histogram fitting procedure <ref type="bibr">88</ref> . First, the CoM of each 10 bp DNA fragment was recorded for the last 288 ns of the equilibration trajectory, sampled every &#916;t = 0.48 ns. Next, displacement of each fragment over that time interval was computed, producing a distribution of instantaneous displacements. The latter was fit by the probability distribution describing diffusion:</p><p>where a particle starting from the origin finds itself in the element of volume defined by r and r + dr after time &#916;t with the probability p(r, &#916;t). The fit yielded an estimate for the diffusion coefficient, D. To evaluate local diffusion of DNA fragments along specific axes (Extended Data Fig. <ref type="figure">5b</ref>), the 3D displacements were projected along the respective axes before constructing the corresponding displacement histograms.</p><p>The local diffusion constants of water and ions (Fig. <ref type="figure">4j</ref> and Extended Data Fig. <ref type="figure">5c</ref>) were computed using the Einstein's relation. For water diffusion, coordinates of the water oxygen atoms were recorded over the last 0.96 ns of the equilibration trajectory, sampled every 9.6 ps. The mean squared displacement values were computed over half the total number of non-overlapping time lags. Each diffusion coefficient was calculated as the slope of a linear fit to the mean squared displacement versus time lag dependence, using the first 0.24 ns of the dependence for the fit. To obtain a radial distance dependence, the average radial coordinate was computed over the first 0.24 ns of each water trajectory.</p><p>A radial bin size of about 13.5 &#197; was large enough to obtain a radial dependence and short enough to get good resolution and statistics. To characterize ion diffusion, ion coordinates were collected over the last 48 ns of the equilibration trajectory, sampled every 9.6 ps. The radial averaging was done using a bin size of 10.4 &#197;. All other procedures were the same as for the water diffusion calculations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Volumetric analysis</head><p>The measure volinterior <ref type="bibr">82</ref> functionality of VMD was used to classify all regions of the system as interior, exterior or boundary with respect to the protein capsid. A closed (pore free) quicksurf representation of the protein capsid was generated using VMD by setting the radius scaling to 2.8, the isovalue to 0.5 and the grid spacing to 1.5. The raytracing algorithm used 32 rays for every coordinate frame. The boundary voxels were then eliminated by using the skeletonize algorithm <ref type="bibr">89</ref> of the scikit-image Python package, ensuring that all parts of the system were classified as interior or exterior.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Electrostatic model of a packaged particle</head><p>The model (Extended Data Fig. <ref type="figure">2g</ref>) assumed that all charge inside the capsid is distributed at the inner surface of 29.5 nm radius sphere, which is enclosed by a 2.5 nm thick spherical shell of dielectric medium representing the protein. Outside the dielectric medium, a Debye-H&#971;ckel description of the electrostatics was adopted with a Debye length of 6.39 &#197;. In addition to the measured charge inside the capsid, an additional charge q extra was placed on the inner surface of the dielectric, with a compensating charge placed on the outer surface. Under this model the potential decays rapidly outside the capsid and the potential inside is uniform. Hence, the potential difference between inside and outside is taken as the potential inside.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Internal pressure calculations</head><p>Starting from a chosen frame of an all-atom equilibration simulation of a fully packaged capsid, we created a corresponding all-atom model of an empty capsid by removing the DNA and resolvating the capsid interior with bulk-like solvent (0.2 mol kg -1 NaCl and 0.005 mol kg -1 MgCl 2 ) using the tiling method. After resolvation, small differences in the protein coordinates (order of a few angstroms) resulted in initial differences in the water density inside and outside the capsid, thereby leading to different values of the pressure at the beginning of these simulations. Following 6,000 steps of minimization, the system was equilibrated restraining all non-hydrogen atoms of the capsid to the coordinates taken from the packaged capsid equilibration (Supplementary Video 10). For each frame of the restrained equilibration, the pressure was calculated by first determining the harmonic force applied on each atom of the capsid from the atom's displacement relative to its restrained coordinate (Fig. <ref type="figure">5h</ref>). The radial projection of the force on each atom was then divided by the area of a sphere with radius equal to the radial coordinate of the atom. These values were then summed up over all restrained atoms of the capsid to give an instantaneous pressure. The instantaneous pressure values were averaged over the restrained equilibration trajectory. Similar equilibrium pressure values were obtained when only C&#945; atoms of the capsid were restrained. For each model of the packaged genome, the pressure calculation simulations were performed using two instantaneous configurations taken at the end and 50 ns before the end of the respective equilibration trajectory (Fig. <ref type="figure">5j,</ref><ref type="figure">k</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Reporting summary</head><p>Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.   f, Electrostatic dipole moment of an asymmetric subunit projected along the radial axis. At each frame, the moment was averaged over all sixty copies of the asymmetric subunit. For reference, the blue line shows the average dipole moment of the residues resolved in the X-ray structure. g, Theoretical model used to estimate the electrostatic potential across the capsid (see Methods). h, Average potential difference between solvent occupied regions inside and outside the capsid as computed using PMEpot (circles) and from a fit using the theoretical model (dashed lines). In contrast to analysis shown in Fig. <ref type="figure">3i</ref>, j, the PMEpot averaging was restricted to the solvent region within the capsid. That was done by blurring the mass density of DNA nucleobases via convolution with a 1 nm wide gaussian kernel and then selecting regions where the blurred density was less than 0.05 Da &#197; -3 . The fit was performed by minimizing the MSD between predicted and measured data points, yielding the following values for the parameters of the model: q extra, empty = 248.4 e, q extra, slow = 404.9 e, and &#949; pro = 6.53. a, Sixteen genome configurations obtained by independent coarse-grained packaging simulations performed under the same 55 pN packaging force in the absence of twist (left) and with a 14 o -per-10-bp twist imposed by the packaging protocol (right). Each genome configuration has a unique interface between the early-(blue) and late-packaged (red) DNA domains. b, Statistical properties of the packaged DNA configurations. Each plot depicts the distributions of a locally-defined metric for beads assigned in five different radial ranges, each with a 5 nm width, except the innermost group, which includes all beads within 7.5 nm of the capsid center. The distributions are semi-transparent and are provided for each packaged capsid. The mean of each distribution is shown as a solid horizontal line segment. The first three columns of plots characterize the angle between the local tangent at each bead and the spherical basis vectors at the bead's location. The last three columns depict local curvature, toroidal order <ref type="bibr">27,</ref><ref type="bibr">51</ref> and nematic order. The fast packaged capsids exhibit significant differences according to several of the metrics. For example, the fast packaged DNA located within 7.5 nm of the capsid center points away from the portal by 5 o on average, whereas the slow packaged DNA points towards and away from the portal with roughly equal likelihood. Compared to the slow packaged genomes, the fast packaged DNA has a slightly higher average curvature, lower nematic order, and, especially when twist was not imposed, greater toroidal order. Extended Data Fig. <ref type="figure">5</ref> | Supplementary analysis of the all-atom MD trajectories. a, Location of water passages (blue molecular surface) within the capsid visualized as an isosurface (5.26 molecules nm -3 ) of water density, averaged over the 60 icosahedron subunits, for the empty (left) and packaged (right) capsids. The analysis was performed using the last 2 ns of the each MD trajectory. The data in the left image are the same as in Fig. <ref type="figure">1i</ref>. The ratio of the volume occupied by water (slow to empty) is 0.68. Less prominent differences in the water passages are observed inside the region confined by the yellow semi-transparent curve. Prominent differences are observed outside that region, where adjacent asymmetric subunits meet. Thus, expansion of the capsid caused by the packaged DNA leads to reduction of the gaps between the adjacent protein subunits. b, Diffusivity of DNA helices plotted as a function of their radial distance from the capsid's center. Error bars reflect standard deviation across all points within each radial bin. Data shown in the upper panels were obtained in the reference frame of the capsid whereas those in the lower panels were obtained in the local helical reference frame. The insets schematically illustrate the motion characterized by the corresponding diffusion coefficients. c, Radial distribution of ion diffusivity (left axis). Symbols correspond to the simulation models: empty circles for "empty", yellow diamonds for "slow with twist" and green squares for "slow", respectively. The radially averaged protein density (right axis) is shown for the packaged (filled distribution) and empty (dashed line) simulation trajectory. and the angle formed by the N1-H1-N3 or N1-H3-N3 atoms is greater than 115 degrees. c, Fraction of base pairs broken within three internal radial bins, analyzed every 0.96 ns of the "slow" (solid lines) and "slow with twist" (dotted lines) trajectories. d, Fraction of broken basepairs characterized according to their conformation (frayed, mis-stacked and over bent), analyzed over the last 50 ns of the "slow" trajectory. Exterior (Ext.) refers to DNA base pairs that have at least one non-hydrogen atom within 20 &#8491; of the protein non-hydrogen atom, and interior (Int.) refers to all other base pairs. Error bars reflect standard deviation across all points within each radial bin. e, Violin plots of the angle between the local axis of a 10 bp DNA fragment and a radial vector as a function of the radial distance to the capsid center. The CoM of each 10 bp fragment was recorded for the last 288 ns of the equilibration trajectory, sampled every 0.48 ns. As expected, helices tend to align transverse to the radial vector, as one moves from the capsid center to the outermost layer (blue). A relatively higher bimodality is observed when packaging is performed at higher force in the bins next to the outermost layer, i.e. the two bins shown in green. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Slow</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Novel plant genotypes</head><p>Describe the methods by which all novel plant genotypes were produced. This includes those generated by transgenic approaches, gene editing, chemical/radiation-based mutagenesis and hybridization. For transgenic lines, describe the transformation method, the number of independent lines analyzed and the generation upon which experiments were performed. For gene-edited lines, describe the editor used, the endogenous sequence targeted for editing, the targeting guide RNA sequence (if applicable) and how the editor was applied.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Seed stocks</head><p>Report on the source of all seed stocks or other plant material used. If applicable, state the seed stock centre and catalogue number. If plant specimens were collected from the field, describe the collection location, date and sampling procedures.</p></div></body>
		</text>
</TEI>
