원시데이터 수집 시스템
선정목록으로

A Bayesian approach to extracting free-energy profiles from cryo-electron microscopy experiments

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. Julian Giraldo-Barreto — Biophysics of Tropical Diseases Max Planck Tandem Group, University of Antioquia UdeA, Calle 70 No. 52-21, Medellín, Colombia|||Magnetism and Simulation Group, University of Antioquia UdeA, Calle 70 No. 52-21, Medellín, Colombia
  2. Sebastian Ortiz — Biophysics of Tropical Diseases Max Planck Tandem Group, University of Antioquia UdeA, Calle 70 No. 52-21, Medellín, Colombia
  3. Erik H. Thiede — Center for Computational Mathematics, Flatiron Institute, New York City, USA
  4. Karen Palacio‐Rodríguez — Institut de Minéralogie, de Physique des Matériaux et de Cosmochimie, Sorbonne Université, Paris, France
  5. Bob Carpenter — Center for Computational Mathematics, Flatiron Institute, New York City, USA
  6. Alex H. Barnett — Center for Computational Mathematics, Flatiron Institute, New York City, USA
  7. Pilar Cossio — Biophysics of Tropical Diseases Max Planck Tandem Group, University of Antioquia UdeA, Calle 70 No. 52-21, Medellín, Colombia. pilar.cossio@biophys.mpg.de|||Department of Theoretical Biophysics, Max Planck Institute of Biophysics, 60438, Frankfurt am Main, Germany. pilar.cossio@biophys.mpg.de|||Department of Theoretical Biophysics, Max Planck Institute of Biophysics, 60438, Frankfurt am Main, Germany
DOI
10.1038/s41598-021-92621-1
저널
Scientific Reports
발행년도
2021
발행기관
Nature Portfolio
피인용수
55
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-021-92621-1
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W3173626897

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract Cryo-electron microscopy (cryo-EM) extracts single-particle density projections of individual biomolecules. Although cryo-EM is widely used for 3D reconstruction, due to its single-particle nature it has the potential to provide information about a biomolecule’s conformational variability and underlying free-energy landscape. However, treating cryo-EM as a single-molecule technique is challenging because of the low signal-to-noise ratio (SNR) in individual particles. In this work, we propose the cryo-BIFE method (cryo-EM Bayesian Inference of Free-Energy profiles), which uses a path collective variable to extract free-energy profiles and their uncertainties from cryo-EM images. We test the framework on several synthetic systems where the imaging parameters and conditions were controlled. We found that for realistic cryo-EM environments and relevant biomolecular systems, it is possible to recover the underlying free energy, with the pose accuracy and SNR as crucial determinants. We then use the method to study the conformational transitions of a calcium-activated channel with real cryo-EM particles. Interestingly, we recover not only the most probable conformation (used to generate a high-resolution reconstruction of the calcium-bound state) but also a metastable state that corresponds to the calcium-unbound conformation. As expected for turnover transitions within the same sample, the activation barriers are on the order of $$k_BT$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:msub> <mml:mi>k</mml:mi> <mml:mi>B</mml:mi> </mml:msub> <mml:mi>T</mml:mi> </mml:mrow> </mml:math> . We expect our tool for extracting free-energy profiles from cryo-EM images to enable more complete characterization of the thermodynamic ensemble of biomolecules.

본문 85,180자

본문 펼치기
## OPEN # A Bayesian approach to extracting free‑energy profiles from cryo‑electron microscopy experiments Julian Giraldo‑Barreto <sup>1,2,6</sup> , Sebastian Ortiz <sup>1,6</sup> , Erik H. Thiede <sup>3</sup> , Karen Palacio‑Rodriguez <sup>4</sup> , Bob Carpenter <sup>3</sup> , Alex H. Barnett <sup>3</sup> & Pilar Cossio <sup>1,5</sup> <sup>*</sup> Cryo-electron microscopy (cryo-EM) extracts single-particle density projections of individual biomolecules. Although cryo-EM is widely used for 3D reconstruction, due to its single-particle nature it has the potential to provide information about a biomolecule’s conformational variability and underlying free-energy landscape. However, treating cryo-EM as a single-molecule technique is challenging because of the low signal-to-noise ratio (SNR) in individual particles. In this work, we propose the cryo-BIFE method (cryo-EM Bayesian Inference of Free-Energy profiles), which uses a path collective variable to extract free-energy profiles and their uncertainties from cryo-EM images. We test the framework on several synthetic systems where the imaging parameters and conditions were controlled. We found that for realistic cryo-EM environments and relevant biomolecular systems, it is possible to recover the underlying free energy, with the pose accuracy and SNR as crucial determinants. We then use the method to study the conformational transitions of a calciumactivated channel with real cryo-EM particles. Interestingly, we recover not only the most probable conformation (used to generate a high-resolution reconstruction of the calcium-bound state) but also a metastable state that corresponds to the calcium-unbound conformation. As expected for turnover transitions within the same sample, the activation barriers are on the order of _kBT_ . We expect our tool for extracting free-energy profiles from cryo-EM images to enable more complete characterization of the thermodynamic ensemble of biomolecules. In cryo-electron microscopy (cryo-EM) experiments a biomolecular sample is immersified in vitrified ice. The sample is then irratiated with a low electron dose to take images that correspond to 2D projections of its electron density. Due to advances in electron detection ­cameras <sup>1</sup> and improvements in reconstruction ­algorithms <sup>2</sup>, cryoEM now enables density maps to be resolved with near atomic ­resolution <sup>3</sup>, with the highest reported resolution close to 1.22 Å <sup>4,5</sup> . Therefore, cryo-EM now plays a principal role in structural biology for understanding biological systems of a wide range of sizes (from a few kDa to hundreds of MDa) <sup>6</sup> . The main difference—and advantage—of cryo-EM with respect to X-ray crystallography is that the vitreous ice solution can contain molecules in diverse configurational states. The ultra-fast vitrification ­process <sup>7</sup> traps the biomolecules in configurations representative of their temperature before flash-cooling, and the conformational ensemble follows Boltzmann’s distribution. The absence of a single rigid crystalline structure is a great advantage in the study of a biomolecule’s thermodynamic ­ensemble <sup>6,8,9</sup> . In principle, one can characterize relevant biophysical properties, such as the free-energy landscape, activation barriers, transition states, and transition paths between conformations. This can provide essential clues to biomolecular ­function <sup>9</sup> . Several methods have been developed to extract 3D density maps of heterogeneous biomolecules using cryo-EM. These methods can be divided into two types: discrete-state or continuous-state methods. Discrete methods start from a discrete set of reference maps and classify the cryo-EM images according to the map 1Biophysics of Tropical Diseases Max Planck Tandem Group, University of Antioquia UdeA, Calle 70 No. 52‑21, Medellín, Colombia. <sup>2</sup> Magnetism and Simulation Group, University of Antioquia UdeA, Calle 70 No. 52‑21, Medellín, Colombia. <sup>3</sup> Center for Computational Mathematics, Flatiron Institute, New York City, USA. <sup>4</sup> Institut de Minéralogie, de Physique des Matériaux et de Cosmochimie, Sorbonne Université, Paris, France. <sup>5</sup> Department of Theoretical Biophysics, Max Planck Institute of Biophysics, 60438 Frankfurt am Main, Germany. <sup>*</sup> email: pilar.cossio@biophys.mpg.de they most resemble. The classified subsets are then optimized iteratively during ­refinement <sup>10–12</sup> . However, these approaches may be biased towards the initial maps used as templates, and the number of discrete classes must be ­predetermined <sup>13</sup> . To overcome some of these limitations, continuous-state methods that use principal component analysis (PCA) <sup>14,15</sup>, normal mode ­analysis <sup>16</sup> or the covariance ­matrix <sup>17–19</sup> have been developed. Combining statistical analysis with optimization algorithms can result in more efficient methods to reconstruct 3D density ­maps <sup>8,20,21</sup> . However, it is not trivial to determine if the system’s conformational changes are best modeled by a discrete or continuous set of ­states <sup>13</sup> . The first studies in which free energies were extracted directly from cryo-EM experiments used particleclassification tools. These studies focused on the prototypical Brownian machine, the ribosome. Fischer et al. <sup>22</sup> characterized the free-energy landscape of the slow back-translocation process using the number of classified particles for each sub-state ( ni, i.e., the occupancy or population of state _i_ ). The free energy difference with respect to a reference state ( �G ; with population no ) is extracted using the Boltzmann factor, ni/no = exp(−β�G), where β = 1/(kBT), kB is Boltzmann’s constant, and _T_ is the temperature. Interestingly, the authors found a relatively flat energy landscape projected along the 30S head versus body rotation at ambient temperature. A similar analysis was also applied to study a pretranslocational mRNA–tRNA sample as a function of the inter-subunit rotation ­angle <sup>23</sup> . However, these studies are limited by their use of a small number of 3D classes or reliance on time information from the back-translocation ­process <sup>22</sup> . An alternative methodology, also initially used to study the ribosome, was developed by Dashti et al. <sup>24</sup> to extract free energies using the raw cryo-EM particles with diffusion maps. The method selects the images belonging to the same projection direction, then projects the multidimensional free-energy landscape onto a low-dimensional manifold. This method has the advantage that it uses only the raw images without requiring prior 3D classes. Seitz and ­Frank <sup>25</sup> use this method together with the POLARIS approach for finding the least action path from 2D energy surfaces. Dashti et al. <sup>26</sup> also extracted the free-energy surfaces of the ryanodine receptor type 1 (RyR1) associated with the bound–unbound states (with the ATP, caffeine, and Ca <sup>2+</sup> ligands) using a master equation approach to find the probability of a transition between the two free-energy landscapes. Recently, deep learning methods have provided similar strategies to extract free-energy ­surfaces <sup>27,28</sup> . We note that replicating these methods might be cumbersome, and the bank of images required is very large. Moreover, the low-dimensional space upon which the particles are projected can be difficult to interpret. For these reasons, some recent studies have returned to particle-classification schemes for extracting free energies using an increased number of 3D conformations in the classification. Haselbach et al. <sup>29</sup> studied the dynamics of the Human Spliceosomal B <sup>act</sup> Complex by performing PCA on the reconstructed 3D volumes. The population of each sub-state along the first two PCA eigenvectors was used to extract the free-energy landscape using the Boltzmann factor. A different study assessed the motion of unbound glutamate ­dehydrogenase <sup>30</sup> through a hybrid approach that combined PCA over a molecular dynamics (MD) trajectory (to define the low-dimensional space) with the populations of four cryo-EM maps. The weights of the MD conformations and the relative occupancy of the particles were combined to produce a hybrid free-energy landscape. These methods have the advantage of mapping the free energy onto an easy-to-interpret low-dimensional space. However, PCA assumes that the motions can be modeled in a linear regime, which might not be the case for large conformational changes. Moreover, for highly flexible molecules, generating 3D maps may be challenging. Free-energy profiling by means of reaction coordinates or collective variables (CV) has been widely used to understand biomolecular processes. CVs reduce the dimensionality of the system by projecting the molecular coordinates onto a low-dimensional, continuous variable (note that PCA is a particular method for constructing CVs). CVs provide a simple and continuous low-dimensional projection of the free-energy landscape of complex multidimensional systems. A good CV should be able to discriminate between key regions of the underlying multidimensional free energy, such as metastable states and transition states. By constructing a free energy profile over the CV and examining features such as barrier heights, practitioners can gain insight into how a reaction takes place and how relevant conformational changes occur. Free energies are commonly extracted by evaluating the CV for each conformation, taking a histogram of the values, and relating the population of each bin to the free energy using the Boltzmann factor. However, approaches based on Bayesian methods also ­exist <sup>31</sup> . CVs have also been used with enhanced sampling techniques, such as umbrella ­sampling <sup>32</sup> or ­metadynamics <sup>33</sup>, which bias the simulation along the CVs to more efficiently explore the conformational space for extracting the free-energy landscape. Along these lines, several ­methods <sup>34,35</sup> have been proposed to extract free energies from MD simulations with CVs that use 3D maps instead of directly using the individual particles. Inspired by the use of CVs in the MD ­community <sup>36</sup>, we propose the cryo-BIFE method (cryo-EM Bayesian Inference of Free-Energy profiles), a Bayesian formalism for extracting free-energy profiles and their uncertainties from an ensemble of cryo-EM images. We apply the method to several datasets representing a diverse set of biomolecular systems, using controlled parameters and comparing with known underlying free-energy profiles. We show that under several realistic cryo-EM conditions it is possible to recover the free-energy profile using our methodology. We then apply it with real cryo-EM data to study the transition between the calcium bound/ unbound states of a membrane channel. We expect that free-energy profiles from cryo-EM particles will bring new information about the metastable states, barriers, and transition states to help practitioners obtain a more complete thermodynamic characterization of the biomolecular system. Theory A path collective variable. Consider a biomolecule of _N_ atoms. Inspired by Ref. <sup>36</sup>, we will define a collective variable by projecting every possible molecular configuration onto a path in the biomolecule’s configuration space. We will use x ∈ R <sup>3N</sup> to denote a particular configuration (conformation). We define the CV in a manner that allows for the extraction of a 1D free-energy profile. Figure 1. Schematic representation of the path collective variable and Bayesian formalism for cryo-BIFE. The main goal of our methodology is to determine the posterior probability distribution of free-energy profiles _G_ ( _s_ ) over a given configuration space path _X_ ( _s_ ), given a set of noisy cryo-EM particle (projection) images w = {wi} from i = 1, . . ., I . The green graphs on the right show independent samples drawn from this posterior, and the blue curve their mean. The black curve represents the true free-energy profile. Variation between sampled free energy surfaces arises from a detailed Bayesian model of imaging noise. The path 0 ≤ s ≤ 1 is discretized using _M_ nodes. Let a predetermined smooth 1D path _X_ in configuration space be parameterized by 0 ≤ s ≤ 1, so that x = X(s) is a particular configuration chosen to be on the path. This path should span the relevant conformational changes of the system, and thermal motion should be relatively small in all directions transverse to the path. In Fig. 1, we show a schematic representation of the path _X_ (white curve) that connects the relevant metastable states (basins) in the conformational space. At each configuration x = X(s) one sets up transverse coordinates z ∈ R <sup>3N−1</sup>, so that any configuration _x_ in a tubular neighborhood of the path may be written uniquely via a map x = X (s, z), where X(s) = X (s, 0) . This means that inverse functions _S_ ( _x_ ) and _Z_ ( _x_ ) exist such that X (S(x), Z(x)) = x for all _x_ in this neighborhood. Our CV is defined by _S_ ( _x_ ), i.e. the parameter value _s_ of the unique point on the path nearest to a given thermally-accessible configuration _x_ . For all points _X_ ( _s_ ) on the path, S(X(s)) = s extracts their CV parameter. In practice, one must discretize integrals (e.g., for the Bayesian analysis presented below) over the parameter 0 ≤ s ≤ 1 . For this we use a simple _M_ -node equispaced rule, M <u>1</u> f (s)ds ≈ f (sm), (1) �0 1 M m=1 <u>1</u> f (s)ds ≈ 0 M 1 M m=1 m=1 f (sm), which applies to smooth functions _f_, the parameter nodes being sm := (m − 1)/(M − 1) . This defines a discrete set of 3D conformations (which we refer to as nodes) xm := X(sm), that take the system from a starting conformation x1 to a final one xM . Note that _M_ is a numerical convergence parameter (the results are expected to converge as M →∞ ), and should be chosen large enough so that conformational changes are small between adjacent nodes. Ideally, the parameterization of the path should also have roughly uniform “speed” |X <sup>′</sup> (s)|, so that discrete conformations xm are approximately evenly spaced in R <sup>3N</sup>, although satisfying this condition may be challenging in many applications. If the path is well chosen, then the assumption that the cryo-EM images come from conformations near the path is justified by the Laplace approximation in the low-temperature limit, as in path-based algorithms for MD ­simulations <sup>36,37</sup> . The CV defined in Ref. <sup>36</sup> compares 3D conformations (e.g. from an MD trajectory) to the set of nodes belonging to the path _X_ . Inspired by this, we develop the cryo-BIFE method, a Bayesian formalism to infer the free-energy profile along the predetermined path, given an ensemble of raw cryo-EM images from the same biomolecule. The free‑energy profile along the path. Here, we consider the biomolecule at thermal equilibrium. From Boltzmann statistics, the probability density at configuration x ∈ R <sup>3N</sup> is given by ρ(x) = <sup><u>1</u></sup> e <sup>−βH(x)</sup>, (2) Z0 e <sup>−βH(x)</sup>, where _H_ ( _x_ ) is the system’s Hamiltonian (potential energy of conformation _x_ ), and Z0 = where _H_ ( _x_ ) is the system’s Hamiltonian (potential energy of conformation _x_ ), and Z0 = e <sup>−βH(x)</sup> dx is the full partition function. We now project this down to the CV. One may choose the map X (s, z) so that, at each point <u>�</u> on the path, ∂ <sup><u>∂</u></sup> z <sup><u>x</u></sup> j <sup>for the transverse coordinates zj, j = 1, . . ., 3N</sup> <sup>−</sup> <sup>1, are mutually orthonormal, and orthogonal</sup> ∂ <sup><u>∂</u></sup> z <sup><u>x</u></sup> j <sup>for the transverse coordinates zj, j = 1, . . ., 3N</sup> <sup>−</sup> <sup>1, are mutually orthonormal, and orthogonal</sup> to the path tangent vector X <sup>′</sup> (s) . Then, near to the path, the Jacobian of the map is the “speed” |X <sup>′</sup> (s)| (note that |z| <sup>2</sup> then matches the squared-distance variable preferred in Ref. <sup>36</sup> ). A change of variables gives the marginalized probability density as δ(S(x) − s)ρ(x)dx = <sup><u>1</u></sup> Z0 e <sup>−βH(X</sup> <sup>(s,z))</sup> dz, 0 ≤ s ≤ 1, ρ(s) = δ(S(x) − s)ρ(x)dx = <sup><u>1</u></sup> |X <sup>′</sup> (s)| e <sup>−βH(X</sup> <sup>(s,z))</sup> dz, 0 ≤ s ≤ 1, (3) Z0 |X <sup>′</sup> (s)| where δ is the 1D Dirac delta distribution, and in the last step we used Eq. (2) and theJacobian. Since only conformations near to the path are assumed relevant, for simplicity the Jacobian here was approximated as constant with respect to _z_ . Note that the final integral in Eq. (3) is a partition function restricted to the “slice” transverse to _X_ at _s_ . It is then standard to interpret this ρ(s) as the equilibrium density due to an effective 1D free-energy profile (or potential of mean force) _G_ ( _s_ ) defined by ρG(s) = <sup><u>1</u></sup> e <sup>−βG(s)</sup>, 0 ≤ s ≤ 1, (4) Z1 e <sup>−βG(s)</sup>, 0 ≤ s ≤ 1, a 1D analog of Eq. (2) with Z1 = 0 <sup>e−βG(s)ds . Our goal is to infer the function</sup> <sup>_G_</sup> <sup>from a large set of 2D cryo-</sup> EM images in a statistically rigorous fashion, up to an additive offset. Note that, by Eq. (4), this is equivalent to - 1 inferring the population density ρG. cryo‑BIFE: a Bayesian approach for extracting the free‑energy profile using cryo‑EM images. In general, the underlying free energy for a system is unknown. However, in cryo-EM, we have access to a collection of (noisy) raw images w := {wi} <sup>I</sup> i=1 <sup>. The model for each image wi is a noisy unknown pro-</sup> access to a collection of (noisy) raw images w := {wi} <sup>I</sup> i=1 <sup>. The model for each image wi is a noisy unknown pro-</sup> jection of the biomolecule with an unknown configuration _x_ taken to be independently distributed following Eq. (2). In the CV approach sketched above we restrict this to the 1D configuration path x = X(s), where _s_ is a Boltzmann-distributed random variable as in Eq. (4). For simplicity of notation, we use the symbol _G_ to represent the profile, i.e., function _G_ ( _s_ ) over 0 ≤ s ≤ 1, keeping in mind that in all numerical computations it will be represented by its vector of values at the nodes, {G(sm)} <sup>M</sup> m=1 <sup>(see the Methods). In the Bayesian approach, uncertainty about</sup> <sup>_G_</sup> <sup>is encoded by a</sup> <sup>_posterior_</sup> <sup>density</sup> {G(sm)} <sup>M</sup> m=1 <sup>(see the Methods). In the Bayesian approach, uncertainty about</sup> <sup>_G_</sup> <sup>is encoded by a</sup> <sup>_posterior_</sup> <sup>density</sup> over the space of functions. Then, by Bayes’ rule, p(G|w) = <sup><u>p(w|G)p(G)</u></sup>, (5) p(w) where p(G|w) is the desired posterior density over free-energy profiles induced by the observed data. p(w|G) is the sampling density (or _likelihood_ ) of the set of all observed images _w_, assuming a specific free-energy profile function _G_ . The term p(G) encodes any prior knowledge about the free-energy profile. In this work, we will impose only a weak-smoothness prior, whose functional form is given in the Methods section. The normalizing constant _p_ ( _w_ ), also known as the evidence, will be ignored since it is not needed for inference of _G_ . Note that in Eq. (5), and many subsequent formulae, each term is of course conditioned on the path _X_, and thus one could write _p_ ( _G_ | _w_, _X_ ), etc. However, since _X_ is fixed, for notational simplicity we leave this dependence implied. We assume that the cryo-EM images are conditionally independent given _G,_ i p(w|G) = p(wi|G), (6) p(wi|G), i where p(wi|G) is the sampling density (likelihood) of the single image wi given _G_ . Our imaging model, encoded by p(wi|G), may be interpreted as having two steps: first we draw _s_ randomly according to ρG in Eq. (4), then we draw a noisy image of the 3D molecular configuration x = X(s) according to the full random set of imaging parameters (orientation, translation, noise, etc). Because _s_ is an unobserved (a.k.a. latent) variable, the likelihood of an image can be computed by _marginalizing_ over _s_, <u>1</u> p(wi|X(s))p(s|G) ds ≈ M m p(wi|G) = p(wi|X(s))p(s|G) ds ≈ p(wi|xm)p(sm|G), (7) M p(wi|xm)p(sm|G), m where the second step applies the quadrature, Eq. (1), and our assumption that images come from conformations near the path. The second factor in this sum is, under the Boltzmann assumption, the normalized equilibrium density (4) evaluated at the _m_ th parameter node, p(sm|G) = ρG(sm) = <sup><u>1</u></sup> e <sup>−βG(sm)</sup> . (8) Z1 e <sup>−βG(sm)</sup> . The first factor p(wi|xm) in the sum (7) is interpreted as the likelihood function of image wi conditioned on a known conformation xm . The cryo-EM imaging process is quite well understood, and considerable work has gone into evaluating such ­likelihoods <sup>10,11,38</sup> . Here, we will use the BioEM formalism from Ref. <sup>39</sup>, which uses a set of numerical marginalizations over all imaging parameters, analogous to (but much larger in scale than) the above one over _s_ . See the Methods, and Refs. <sup>39,40</sup>, for details about the BioEM calculations. We note that the present method is not limited to the use of BioEM: any other likelihood formalism (e.g., those used for 3D ­reconstruction <sup>10</sup> ) could be inserted. Plugging Eqs. (6)–(8) into Bayes’s rule, p(G|w) ∝ p(G)p(w|G), and dropping irrelevant normalization factors, the posterior becomes . i m �� p(wi|xm) <sup><u>e−βG(sm)</u></sup> p(G|w) ∝ p(G) p(wi|xm) <sup><u>e−βG(sm)</u></sup> . (9) . Z1 i m Given a set of particles, the cryo-BIFE algorithm consists of three main steps: (1) define a path _X_ and discretize it with _M_ nodes xm = X(sm), (2) pre-calculate the BioEM likelihoods p(wi|xm) for all nodes m = 1, . . ., M, for every image wi, then (3) use a Markov chain Monte Carlo (MCMC) method to _sample_ from the posterior, Eq. <u>(9), and from these samples—each a possible profile</u> _G_ ( _s_ )— estimate the expected value of the free-energy profile, G(s), and also its uncertainty. Steps (2) and (3) are described in the Methods. Step (1), defining the path, is challenging because it depends on the particular system of interest. In practice, we select a set of conformations xm that go from one relevant state of the system to another, as is done with the CV from Ref. <sup>36</sup> . In future work, we hope to adapt algorithms from the molecular-simulation community, such as the String ­method <sup>37,41</sup> and Nudged Elastic ­Band <sup>42</sup>, to let us determine optimal path-CVs directly from the cryo-EM data. In the following, we validate and test cryo-BIFE over a diverse set of systems, from a conformational change along one dimension, using synthetic images, to a membrane channel’s calcium bound/unbound transition, using real cryo-EM data. Results To understand the effects of the physical parameters (e.g., those involved in the image formation process) for recovering free-energy profiles with cryo-BIFE, we designed several control systems where the projections are generated synthetically following the ideas of Ref. <sup>43</sup> . The first system consists of conformations of the Hsp90 chaperone representing a low-dimensional (1D–2D) conformational space. The analysis is then extended to more realistic ensembles from MD simulations. Lastly, we apply cryo-BIFE to experimental cryo-EM data. To this end, we chose raw images of TMEM16F, a membrane channel and lipid ­scramblase <sup>44</sup> available at the EMPIAR ­databank <sup>45</sup> . Free‑energy profile recovery over controlled datasets. _Hsp90 chaperone._ Hsp90 (a heat shock protein) is a chaperone involved in the folding process of several kinases, transcription factors, and steroid hormone ­receptors <sup>46</sup> . This protein consists of two chains (A and B, containing 677 residues each) forming a V-like shape. Although Hsp90 is flexible, in the presence of certain ligands (e.g., ATP) its conformational space can be reduced to a few degrees of freedom that go from an open to a closed state of the chains. Following the ideas described in Ref. <sup>43</sup>, we reduced the open-closed dynamics of the Hsp90 into a one (1D) and two (2D) dimensional phase space where both chains are rotated in mutual, normal directions and perpendicular to the axis of symmetry (see the Methods). _Free‑energy profile recovery for a 1D conformational change._ In Fig. 2A, we show a 1D conformational change of Hsp90, where chain B is fixed and chain A is rotated from the closed state to the open state (denoted by CMA). We define the path using twenty conformations, equally spaced by 1 <sup>◦</sup> in the rotation angle. The underlying synthetic free-energy profile (i.e. ground truth) along the path is shown as a black line in Fig. 2C. We generated around 13,300 synthetic images from the predetermined population of the twenty conformations (given by the Boltzmann factor of the ground truth free energy). The synthetic images have a uniform random signal-tonoise-ratio (SNR) log10([0.001, 0.1]), defocus [0.5,3] µ m and orientation angles (see the Methods). Examples of the synthetic particles are shown in Fig. 2B. To apply cryo-BIFE, we first precalculated the BioEM probabilities for the nodes along the path and all synthetic images for two BioEM rounds of orientation estimation (see the Methods). The MCMC sampling strategy described in the Methods was applied to extract the expected G(s) <u>and the credible interval at 5% and</u> 95% of the empirical quantile at each node. Figure 2C, shows the results of G(s) using all particles for the first and second BioEM rounds of orientation estimation. Note that the second round was more accurate than the first. This was also reflected in the recovery of the free-energy profile G(s), where the second round had a much better performance. This suggests that the pose accuracy of the particles is crucial for extracting an adequate free-energy estimate. The results from BioEM round 2 show that cryo-BIFE was able to recover the free-energy profile for a wide range of SNRs and defocus. Interestingly, the credible intervals widen for higher free-energy values, i.e., near the barrier, where there are fewer particles and the error is expected to be larger. Extracting the credible intervals is the main advantage of using the full posterior in comparison to a _maximum a posteriori_ estimation (see Supplementary Fig. 1). The performance of the method for different cryo-EM conditions was then studied. In Fig. 3A, the particle set was divided in two: high SNRs from [0.01, 0.1] and low SNRs from [0.001, 0.01], each with an equal number of particles ( ∼ 6600 each). The expected free energy calculated from cryo-BIFE is shown for the high and low SNRs sets (light blue and green, respectively) for the second BioEM orientation round. The expected free energy was also compared to G(s) using the entire set (blue line). We observed a poor recovery for the low SNR set [0.001, 0.01] and large errors, whereas the high SNR set behaved well. Interestingly, the free-energy estimate for the entire particle set (SNR [0.001, 0.1]) was slightly worse than for the high SNR set but much better than the low SNR set. The reason for this is that the Bayesian posterior (Eq. (9)) naturally weighs the contribution of each particle and particles with high SNR contribute much more weight to the posterior. If particles with even higher SNR are added (see Supplementary Fig. 2), the free-energy profile recovery is better, and for example, artifacts like the shoulder around s = 0.55 vanish. Figure 2. 1D analysis of Hsp90. ( A ) Movement of Hsp90 along the single degree of freedom (CMA). The rotation of chain A relative to a fixed chain B. ( B ) Examples of the synthetic images with varying SNR between [0.001, 0.1]. ( C ) Free-energy profiles along the path for the entire set of images recovered from cryo-BIFE. The ground truth free-energy profile is shown in black. The expected free energy profile using cryo-BIFE is shown for BioEM orientation rounds 1 and 2 in orange and blue, respectively. The R-hat test for the MCMC stationarity yielded 1.000 and 1.001 for BioEM round 1 and 2, respectively. The bars show the credible interval at 5% and 95% of the empirical quantile at each node. A cubic spline is used to fit the expected free-energy profile, providing a smooth profile. Figure 3. Free-energy profile recovery for different cryo-EM conditions. ( A ) Particles grouped by SNR from [0.01,0.1] (cyan) and from [0.001, 0.01] (green). Each subset contained around 6600 particles. ( B ) Particles grouped by defocus. Sets with small defocus [0.5, 1.5] µ m (orange) and large defocus [2, 3] µ m (red). Each subset contained around 5300 particles. ( C ) Particle subsets with a different number of particles: 3300 (pink) and 6600 (purple). For reference, the ground truth and expected free-energy profiles using all particles are shown in black and blue, respectively. The R-hat test for the MCMC yielded values < 1.01 for all cases. The bars show the credible interval at 5% and 95% of the empirical quantile at each node. The results are for the second BioEM round of orientation estimate. In Fig. 3B, the effects of the defocus by grouping the particles with small defocus [0.5, 1.5] µm (orange line) and large defocus [2, 3] µ m (red line) were analyzed. The results for the large defocus were slightly better, but these have large errors around the barrier. The number of particles needed to recover the free-energy profile was also studied. In Fig. 3C, the results are shown for sets with 3300 (pink line) and 6600 (purple line) particles. In agreement with previous results for 3D map ­validation <sup>47</sup>, just a small set of particles ( ≥ 3000 ) randomly picked from the entire set is able to reproduce the underlying statistics. Contrary to 3D refinement, where large numbers of particles are required, our results indicate that conformational variability can be captured from a small set of particles. Cryo-BIFE has several advantages over standard particle-classification methods for calculating the populations (or equivalently the free-energy profile). These classification methods treat each particle equally, whereas cryo-BIFE weighs them differently (e.g., depending on their SNR). Moreover, most methods assign each particle to a single node along the path and calculate a histogram over all particles to extract the populations. In Supplementary Fig. 3, this analysis (using the BioEM likelihood) was compared to the cryo-BIFE results for the 1D Hsp90 data with a wide range of SNR [0.001, 0.1]. These results show that cryo-BIFE outperforms standard Figure 4. 2D analysis of Hsp90. ( A ) Two degrees of freedom of Hsp90 along the CMA and CMB rotation directions (see the Methods). ( B ) Ground truth free-energy surface along CMA and CMB directions. Black (CV1), orange (CV2) and green (CV3) dashed lines show three paths used for the cryo-BIFE analysis. ( C ) The free-energy profiles along these three path CVs, extracted with cryo-BIFE using synthetic particle images (dashed lines), are compared to the ground truth projected profiles (solid lines). The R-hat test for the MCMC yielded values < 1.003 for all cases. The bars show the credible interval at 5% and 95% of the empirical quantile at each node. The results are for the second BioEM round of orientation estimate. classification because individual particle-contributions are weighted by the posterior and are not assigned to a single node. _2D conformational change of Hsp90._ As described in Ref. <sup>43</sup>, Hsp90 is also characterized by a second degree of freedom; the rotation of chain B relative to the 1D rotation of chain A (see Fig. 4A, and the Methods). A synthetic 2D underlying free-energy surface was generated, shown in Fig. 4B, with an energy barrier of around 2 kBT . Given the imagining conditions in cryo-EM experiments, free-energy barriers around this range are expected. We generated 6800 synthetic particles, using the population given by the Boltzmann factor of ground truth free energy, with SNR [0.01, 0.1], defocus [0.5, 3] µ m and random orientations in SO(3) (see the Methods). To study the effects of the path-CV, we defined three paths. The black dashed line (CV1) in Fig. 4B shows a good path-CV that passes along the relevant basins and the transition state of the system. In contrast, the orange and green dashed lines in Fig. 4B (CV2 and CV3, respectively) are able to discriminate between the states (i.e., good order parameters) but are not ideal reaction coordinates because they underestimate the barrier. In Fig. 4C, we compare the expected free-energy profile extracted with cryo-BIFE to the ground truth (given by Eq. (4)) along each path. Relatively good agreement between the underlying profile and the extracted free energy using the cryo-EM images along the three paths was observed. However, using only CV1, the metastable states of the system, the transition state, and true barrier height were recovered. Conversely, using non-ideal CVs, e.g., CV2 and CV3, the barrier can be underestimated. In extreme cases, the identification of the metastable states could also be lost. We note that these are artifacts caused by choosing a poor projection direction, and are not the result of using 2D images. This highlights the importance of choosing an adequate path-CV. _Cryo‑BIFE over conformational ensembles._ MD simulations of the VGVAPG hexapeptide have been extensively used to test methods, such as Girsanov ­reweighting <sup>48</sup> . In the Supplementary Information, we present a video showing an example of the hexapeptide MD simulations performed for this work (see the Methods). The peptide has opposite charges at its extremes and exhibits a conformational change between an open state and a closed state. Here, we will compare the free energy extracted from the 3D ensemble to one estimated by cryo-BIFE using 2D particles with the same path (Fig. 5A). The path was created by selecting ten conformations from the MD with equally spaced end-to-end distances between successive nodes (see the Methods). To calculate the free energy from the 3D conformations, we used the path-CV proposed by Branduardi et al. <sup>36</sup> with the RMSD as a metric. This path-CV was evaluated for each MD conformation, then a histogram was taken and the free energy was calculated via Boltzmann’s factor and the population of each histogram bin. For cryo-BIFE, we used a set of 5688 synthetic images generated from the MD ensemble. The synthetic images had uniformly distributed random SNR, defocus and orientations (see the Methods). Cryo-BIFE was applied to extract the expected G(s) along the same path used for the 3D conformations. In Fig. 5B, the free-energy profiles from cryo-BIFE and the Figure 5. Free-energy profiles from 2D images (cryo-BIFE) or 3D conformations of the VGVAPG hexapeptide. ( A ) The conformational ensemble of the VGVAPG hexapeptide from MD simulations is used to generate synthetic images. The nodes belonging to the path (bottom) are selected with equally spaced end-to-end distances between successive nodes (see the Methods). The path-CV <sup>36</sup> method compares 3D conformations to the path nodes, whereas cryo-BIFE compares 2D particle images to the same nodes. ( B ) Free-energy profile calculated over the 3D ensemble using the path-CV with RMSD metric [Eq. (8) in Ref. <sup>36</sup> ] with � = 50 Å <sup>–2</sup> (black), and the expected free energy G(s) extracted using cryo-BIFE with synthetic cryo-EM particles (pink line). The R-hat test for the MCMC yielded values < 1.01 for all cases. The bars show the credible interval at 5% and 95% of the empirical quantile at each node. See the Methods for details about the path and set of images for each system. path-CV <sup>36</sup> were compared. The difference is that cryo-BIFE extracts the FE profile from 2D cryo-EM images, whereas the path-CV uses 3D conformations (Fig. 5A). To investigate whether cryo-BIFE is able to resolve the free-energy profile of membrane proteins with nanodisk belts (as in the cryo-EM experiment), and small conformational changes ( < 4 Å), we attempted to recover a free-energy profile from synthetic images of the semiSWEET transporter generated from MD configurations. Our results are given in the Supplementary Text and Supplementary Figs. 4 and 5. In conjunction with our results on the VGVAPG hexapeptide, they demonstrate that cryo-BIFE is able to recover the free-energy profile from 2D cryo-EM projections for a realistic ensemble. Real cryo‑EM data: TMEM16F ion channel. TMEM16F is a membrane channel and lipid scramblase that is activated by calcium binding. In Ref. <sup>44</sup>, cryo-EM experiments using different Ca <sup>+2</sup> conditions and membrane/detergent compositions were performed to resolve TMEM16F’s Ca <sup>+2</sup> bound and unbound states. The cryo-EM particles under different conditions are available at the ­EMPIAR <sup>45</sup> . In this work, we focus on the EMPIAR dataset with around 1.2 million particles that was used to generate the Ca <sup>+2</sup> -bound state in digitonin (EMPIAR code 10278). Since around 13% of these particles are used to generate the final reconstruction (all other particles are classified out), we wanted to investigate (1) if there could be a small population of the Ca <sup>+2</sup> -unbound state in this set, and (2) if a free-energy profile from the Ca <sup>+2</sup> -bound to the Ca <sup>+2</sup> -unbound states can be extracted. Starting from the PDB structures (Fig. 6A), steered MD simulations were used, which included a lipid membrane and explicit solvent (see the Methods), to generate a path connecting both states. The Cα-RMSD of the nodes for both states is shown in Fig. 6B. We randomly selected around 15,000 particles from the entire set, not only those used for the final reconstruction. In Fig. 6C, the free energy along the path using the same cryo-BIFE setup as for the previous systems is shown. It was observed that both the Ca <sup>+2</sup> -bound and the Ca <sup>+2</sup> -unbound states correspond to metastable basins of the system. Because the cryo-EM data set was prepared with Ca <sup>+2</sup>, it is expected that the Ca <sup>+2</sup> -bound state corresponds to the lowest free-energy minimum. However, it is interesting that not all the particles belong to this state, and that the Ca <sup>+2</sup> -unbound state also has metastability. The highest barrier is around 2.2 kBT, consistent with what is expected for turnover conditions in cryo-EM samples. These results show that it is possible to extract a free-energy profile from real cryo-EM particles that agrees with the biophysical setup and expectations of the system. Discussion In this work, we have developed cryo-BIFE, a methodology for extracting free-energy profiles from cryo-EM experiments using a Bayesian approach with a path collective variable. The method was tested and validated over diverse systems covering a range of complexities. Using controlled parameters, we found that the particle orientation accuracy and the SNR are important for adequately recovering the free-energy profile. This work is a proof of principle, demonstrating that under reasonable cryo-EM conditions it is possible to extract free-energy profiles using individual cryo-EM particles. Figure 6. Real cryo-EM data for studying the TMEM16F Ca <sup>+2</sup> —bound/unbound transition with cryo-BIFE. ( A ) Ca <sup>+2</sup> -bound to the Ca <sup>+2</sup> -unbound states of TMEM16F (with PDB codes 6p46 and 6p47, respectively). ( B ) Cα RMSD of the nodes along the path to the Ca <sup>+2</sup> -bound and Ca <sup>+2</sup> -unbound states (purple and green, respectively). ( C ) Free-energy profile extracted along the path CV from real cryo-EM particles from the dataset used to generate the Ca <sup>+2</sup> -bound reconstruction in ­digitonin <sup>44</sup> (EMPIAR code 10278). The R-hat test for the MCMC yielded 1.001. The bars show the credible interval at 5% and 95% of the empirical quantile at each node. Arrows point to the free-energy basins corresponding to the Ca <sup>+2</sup> -bound/unbound states. Primary focus has been given to extracting the _expectation_ of the free-energy profile _G_ ( _s_ ). However, this method produces (in the form of independent MCMC draws) the full posterior for such profiles, which contains much more information than just an average. In particular it quantifies the degree of certainty with which _G_ ( _s_ ) can be extracted given the noise in particle images. Credible intervals can be placed on any function of _G_, such as downstream predictions (reaction rates, etc), simply by evaluating them for all _G_ values in a set of MCMC samples. The cryo-BIFE analysis should be performed on a raw, unbiased cryoEM-particle set. For cryo-BIFE, particles can be picked, polished, and motion corrected. However, 3D-classification methods, which group particles with respect to conformational states, should not be performed before cryo-BIFE because these artificially modify the distribution of conformations. In other words, free-energy profiles extracted from classified-subsets of particles will be biased, and these will not represent the true thermodynamic ensemble. Here, we have focused on developing, understanding and validating cryo-BIFE for a predetermined path. We have shown that under realistic cryo-EM-imaging conditions the extracted profile coincides with the free-energy profile of the true conformational ensemble along that path. A demanding aspect is how to generate a conformational path for experimental cases. If the metastable states of the system have been resolved using standard cryo-EM 3D classification or from X-ray crystallography, then one could create a path by simply interpolating the maps (or structures) or by using steered MD (as done for the TMEM16F system). If metastable states are not available, then, one could generate conformational paths by directly analyzing the variability of the 2D images, for example, using the covariance matrix or spatialvariational autoencoder (VAE) <sup>49</sup> . A major challenge remains in determining if the path-CV is optimal. From a thermodynamic perspective, an optimal CV should separate the metastable states of the system, identify the transition states, and activation barriers, corresponding to those of the multidimensional landscape. The lowest free-energy path in the multidimensional space can be considered as an adequate CV. For simulations, several methods have been developed to measure the quality of a CV using transition state ­theory <sup>50</sup> or committor ­analysis <sup>51</sup>, and algorithms exist to find optimal path-CVs <sup>37,41,42</sup> that can be shown to converge stably <sup>52</sup> . Recently, additional developments have standardized CV ­design <sup>53,54</sup> . Nonetheless, a method to determine the optimal path-CV using cryo-EM images is still to be developed. Moreover, for some systems, a single degree of freedom may be insufficient and extending the CV to multiple dimensions would be advantageous. It is important to note that the temperature plays a crucial role in extracting free energies. In principle, the flash-cooling ­process <sup>7</sup> is done rapidly enough that the cryo-EM sample is trapped in the ensemble just before freezing. Consequently, the extracted free-energy profile should be a representation of the system at that temperature. However, freezing takes on the order of µs <sup>55</sup> to complete, so all relaxation processes faster than this timescale are lost. Since vitrification is not instantaneous, cooling might depopulate the barrier and cause the estimated barrier to be artificially large. Other experimental considerations, such as icesheet buckling during vitrification, can cause further perturbations to the observed structural ensemble. It remains to be fully assessed how much the freezing process affects the extracted free ­energy <sup>56</sup> . On the other hand, to obtain high-resolution reconstructions, it is common to set the system at temperatures below the ambient one for over stabilizing a single state. We hope that these methods to extract free energies will motivate the field to measure more at ambient temperature, and moreover, use all particles (i.e., without having to discard large percentages). In summary, extracting free energies from cryo-EM experiments opens the field to the assessment of conformational dynamics from a biophysical perspective. By measuring the populations along relevant degrees of freedom, the results go beyond the discussion of discrete versus continuous, and the biophysical mechanisms are truly revealed. Additional clues to biomolecular function are unraveled by the information of the metastable states (e.g., the size and shape of the free energy basins), of the activation barriers and of the location of the transition states of the system, as is common in single-molecule experiments. Methods BioEM analysis. The likelihoods p(wi|xm) in Eq. (9) were calculated using the BioEM ­algorithm <sup>39</sup>, as follows. Given an image wi and a 3D conformation (from a density map or atomic model) xm, BioEM computes the probability density p(wi|xm) that wi is a projection of xm . This probability was calculated by integrating the likelihood function L(wi|�, xm) (see the Supplementary Text), weighted by prior probabilities p(�), over all relevant physical parameters � for image formation (rotation angles, displacements, CTF parameters, noise variance, normalization factor and ­offset <sup>39,40</sup> ), L(wi|�, xm)p(�)d�. p(wi|xm) ∝ L(wi|�, xm)p(�)d�. (10) The integrals over the noise variance, offset and normalization were performed analytically, and all others were computed numerically, as described in Ref. <sup>40</sup> . The prior densities of the orientation angles and the displacements were taken to be uniform over the integration interval. The prior for the CTF defocus parameter was a Gaussian distribution whose center and width depended on the BioEM rounds described below. The normalization constant in Eq. (10) requires some care, since for Bayes’ rule, hence Eq. (9), to be correct, the likelihood p(wi|xm) must be normalized over the space of 2D images wi . It suffices that that the normalization factor is merely independent of configuration xm. The BioEM orientational integral was divided into two stages referred to as Round 1 and Round 2, respectively. In BioEM round 1, p(wi|xm) was calculated by integrating over a uniform orientation grid of 36864 quaternions, which was constructed following the method described in Ref. <sup>57</sup> . The BioEM integration ranges and number of grid points for round 1 are presented in the Supplementary Text for each system. In BioEM round 2, a finer quaternion grid of 125 points was created around the ten best orientations (i.e., with the highest probability) selected from BioEM round 1. In total, a 1250 quaternion grid were used for the second BioEM orientation round. For this round, the Gaussian prior for the defocus was centered at the synthetic/experimental value of each particle and its scale was 0.3 µ m. This procedure is similar to that described in Refs. <sup>47,58</sup> ; however, here we calculated BioEM rounds 1 and 2 independently for each node of the path. We used the BioEM code from Ref. <sup>40</sup> with CPU and GPU acceleration. For one node along with the path and 10000 particles of 128 × 128 size, BioEM round 1 takes ∼ 6 h on 24 CPU cores + 2 GPUs, and BioEM round 2 takes ∼ 3 h on 24 CPU cores. Recalling Eq. (9), one needs to evaluate Eq. (10) for every image-node pair, i.e., _MI_ distinct evaluations. Then, to estimate the free-energy profile, we used the MCMC algorithm described below to draw samples from its posterior, Eq. (9). Markov chain Monte Carlo. We used a Markov chain Monte Carlo (MCMC) method to draw a correlated sample of the free-energy profile _G_ ( _s_ ) from the posterior defined in Eq. (9). Such a set of samples captures the full posterior in a much more practical fashion than trying to represent it as a function in the high-dimensional space R <sup>M</sup> . We found that a standard random-walk Metropolis algorithm, sampling the unknown vector of values {G(sm)} <sup>M</sup> m=1 <sup>at the discrete quadrature nodes, was adequate for our needs. Initial values G0(sm) were chosen inde-</sup> pendently and uniformly at random in [−2, 2], for each m = 1, . . ., M . Then, each MCMC step i = 1, 2, . . ., NMC comprised the following sub-steps. Markov chain Monte Carlo. We used a Markov chain Monte Carlo (MCMC) method to draw a correlated sample of the free-energy profile _G_ ( _s_ ) from the posterior defined in Eq. (9). Such a set of samples captures the full posterior in a much more practical fashion than trying to represent it as a function in the high-dimensional space R <sup>M</sup> . We found that a standard random-walk Metropolis algorithm, sampling the unknown vector of values {G(sm)} <sup>M</sup> m=1 <sup>at the discrete quadrature nodes, was adequate for our needs. Initial values G0(sm) were chosen inde-</sup> - We randomly selected a node m ∈[1, M] with uniform probability. - We randomly displaced the free-energy profile at the selected node G <sup>i</sup> (sm) = G <sup>i−1</sup> (sm) + δg where δg was uniformly randomly chosen in [−0.5, 0.5]kBT. m <sup>Gi(sm) = 0 . Note that the particular choice of shift here is</sup> irrelevant. - We shifted the free-energy profile so that <sup>�</sup> - We evaluated the posterior in Eq. (9) using the samples G <sup>i</sup> (sm) of this free energy, and the pre-calculated values of log(p(wi|xm)) (described above by Eq. (10)) for all images and all nodes m = 1, . . ., M . For the prior in Eq. (9), we used p(G) = m=1 <sup>(G(sm+1) −</sup> <sup>G(sm))2, which is a</sup> standard normal prior on the discrete differences, marginalized over the precision parameter �. - From this, the log-acceptance probability of the proposal was computed (here we omit �e <sup>−�G</sup> d� = 1/G <sup>2</sup>, where G = <sup>�M−1</sup> _s_ for notational simplicity, so that _G_ may be thought of as a vector in R <sup>M</sup> ): A(G <sup>i</sup>, G <sup>i−1</sup> ) := log p(G <sup>i</sup> |w) - log p(G <sup>i−1</sup> |w), (11) ∈[�p(0, 1G <sup>i</sup> |w] ) . Then, if � - log �G, log�p((Gu) <sup>i−</sup> ≤ <sup>1</sup> |wA)( - We chose a uniform random number u ∈[0, 1] . Then, if log(u) ≤ A(G <sup>i</sup>, G <sup>i−1</sup> ), the move was accepted, otherwise it was rejected (in which case G <sup>i</sup> = G <sup>i−1</sup> ). This procedure was iterated well beyond the time by which the distribution over samples has reached stationarity. For the systems analyzed in this work, we ran R = 8 independent MCMC chains each with a total of NMC = 200,000 steps. The expected value of the free energy at each node was calculated using all samples i = 1, . . ., R NMC, that is, <u>1</u> G(sm) = G <sup>i</sup> (sm). (12) R NMC i i G <sup>i</sup> (sm). i Finally, since it is assumed that the nodes adequately discretize a continuous path, to recover a continuous function G(s), we fitted a cubic spline through the values {G(sm)} <sup>M</sup> m=1 <sup>with knots being the nodes sm . Because only</sup> tion G(s), we fitted a cubic spline through the values {G(sm)} <sup>M</sup> m=1 <sup>with knots being the nodes sm . Because only</sup> free-energy differences are relevant, we shifted G such that its minimum was zero. The credible interval for each node was calculated at 5% and 95% of the resulting empirical distribution. We performed the R-hat ­diagnostic <sup>59</sup>, which compares the inter-chain variance to the variance within each chain to monitor convergence of the MCMC using the arviz ­package <sup>60</sup> . R-hat values ≤ 1.1 indicate convergence of the sampling. The MCMC code was written in Python3.5. It was optimized with the Numba compiler, taking approximately 2 h on 24 CPU cores for _I_ = 13,000 particles, M = 20 nodes, and R = 8 replicas each with NMC = 200,000 MCMC iterations. Synthetic particles. We used a modification of the BioEM ­program <sup>40</sup> to generate the synthetic cryo-EM particles following similar ideas to those described in Ref. <sup>43</sup> . Each image was created by coarse-graining the molecular configuration (e.g. one taken from an MD simulation) on the residue level. Each residue was represented as a sphere with a corresponding radius and number of ­electrons <sup>39</sup> . The contrast transfer function (CTF) was modeled on top of the ideal image given a defocus, amplitude and B-factor (for details see the SI of Ref. <sup>39</sup> ). For the synthetic particles, the amplitude was 0.1 and the B-factor was 1 Å. Gaussian noise was added on top of the CTF convoluted image. The standard deviation of the noise was determined (as in Ref. <sup>43</sup> ) using the SNR and variance of the image without noise (calculated within a circle of radius 40 pixels centered at the box center). All synthetic images were 128 × 128 pixels, however, the pixel size varied for each system. Benchmark systems. _Hsp90 system._ The Hsp90 chaperone is a flexible protein involved in several biological processes related to protein ­folding <sup>46</sup> . When bound to certain ligands, its conformational landscape can be approximated by two relative motions of its chains (A and B) <sup>43</sup> . The Hsp90 dynamics was reduced to a 2D dimensional phase space, where both chains are rotated in mutual normal directions and perpendicular to the axis of symmetry. In this work, we first assessed conformations from just one degree of freedom (1D analysis), and then we assessed images from conformations belonging to the 2D conformational space (2D analysis). To generate the conformations for the first degree of freedom (1D case), we started from the closed state (PDB ID ­2cg9 <sup>61</sup> ), removed the ATP ligand and residues 1–11 to avoid overlapping crashes. Chain B was fixed and chain A was rotated at 1 <sup>◦</sup> steps around the center of mass of residues LEU674–ASN677, up to 20 <sup>◦</sup> from the starting position, generating 20 conformations along this degree of freedom (denominated CMA ­motion <sup>43</sup> ). These 20 conformations were used to define the path for the 1D analysis (Fig. 2A). Along this reaction coordinate, we proposed a synthetic free energy (which determines the population occupancy) given by exp(−βGtrue(s)) = exp(−(19s − 6) <sup>2</sup> /8) + exp(−(19s − 15) <sup>2</sup> /18)/3 for 0 ≤ s ≤ 1 . This ground truth-free energy is shown as a black solid line in Fig. 2C. Using this synthetic population for the conformations along the path, we generated 13,333 synthetic images of pixel size 2.2 Åwith uniformly distributed random orientations in SO(3), SNR in log10[0.001, 0.1] and defocus in [0.5, 3] µm. For the 2D conformational landscape, we add a new rotation. Starting from each rotated chain A from the 1D case, residues ILE12-LEU442 of chain B were rotated in 2 <sup>◦</sup> steps around the center of mass of residues LEU442-LEU443, in the normal direction to the plane generated by the 1D movement of chain A and the axis of symmetry. This normal motion mode was referred to as ­CMB <sup>43</sup> . In total, 400 conformations were generated corresponding to 20 × 20 rotations. We proposed a 2D synthetic free energy given by exp(−βGtrue(u, v)) = exp(−(u−6) <sup>2</sup> /18−(v−6) <sup>2</sup> /10)+exp(−(u−15) <sup>2</sup> /18−(v−15) <sup>2</sup> /10) where _u_ is the CMA motion and _v_ the CMB motion. This density is characterized by two minima localized at models (6, 6) and (15, 15) separated by a barrier of around 2 kBT . We generated 6800 synthetic images of pixel size 2.2 Åwith uniformly distributed random orientations in SO(3), SNR in log10[0.01, 0.1] and defocus in [0.5, 3] µ m. For this case, we defined three paths: CV1 is a good reaction coordinate that passes through the minima and transition state following the function u = v (black dashed line Fig. 4B), CV2 has model u = 10 fixed and _v_ varying (orange dashed line Fig. 4B) and CV3 has _u_ varying and model v = 10 fixed (green dashed line Fig. 4B). _3D ensemble of the hexapeptide VGVAPG._ We used the conformational ensemble of the hexapeptide VGVAPG from a long all-atom MD simulation in explicit solvent. ­GROMACS <sup>62</sup> was used to perform a 230 ns MD simulation. The initial conformation was extracted from the crystal structure of the Ca6 site mutant of Pro-SA-subtilisin <sup>63</sup> with PBD code 3VHQ (residues 171–176) <sup>48</sup> . The peptide was solvated with a cubic water box, centered at the geometric center of the complex with at least 2.0 nm between any two periodic images. The AMBER99SBILDN <sup>64</sup> force field and TIP3P water model were ­used <sup>65</sup> . Minimization was done with the steepest descent algorithm and stopped when the maximum force was ≤ 1000 kJ/mol nm. Periodic boundary conditions were used. We performed a 100 ps equilibration in an NVT ensemble using the velocity rescaling ­thermostat <sup>66</sup> followed by a 100 ps equilibration in an NPT ensemble using Parrinello-Rahman ­barostat <sup>67</sup> . The MD production run was performed without restraints, with a time step of 2 fs in an NPT ensemble at 300.15 K and 1 atm. We extracted MD snapshots (or frames) every 40 ps, obtaining 5688 conformations (shown in Supplementary video 1). We selected ten conformations to create the path such that the nodes covered the relevant conformational changes of the system. To do so, we use the end-to-end distance of the peptide, i.e., the distance between the nitrogen atom of the N-terminus, and the carboxyl carbon of the C-terminus <sup>48</sup> . The path was created by selecting ten conformations from the MD with equally spaced end-to-end distances between successive nodes of 1.8Å. The path is shown at the bottom of Fig. 5A, and it was used both with the path-CV <sup>36</sup> and cryo-BIFE. The path-CV was calculated using the RMSD between all the MD frames and the ten nodes belonging to the path with parameter - = 50 Å <sup>–2</sup> [using Eq. (8) of Ref. <sup>36</sup> ]. To calculate the free-energy profile, we computed the value of each CV for all MD conformations, summarized with a histogram (with a number of bins equal to the number of nodes along the path), and then estimated the free energy using the Boltzmann factor and the histogram bin populations. From each MD conformation, we generated a synthetic image with pixel size of 0.3 Å and with uniformly distributed random orientations in SO(3), SNR in log10[0.01, 0.1] and defocus in [0.1, 1.0] µ m. Using the 5688 synthetic images and the same ten nodes of the path, we performed the cryo-BIFE analysis. TMEM16F: experimental cryo‑EM data. _Cryo‑EM particles._ The cryo-EM particles of the TMEM16F membrane channel used to generate the calcium bound ­state <sup>44</sup> from the EMPIAR ­dataset <sup>45</sup> with code EMPIAR-10278 were used. See Ref. <sup>44</sup>, for information about the experimental conditions. The images were recorded with a pixel size of 1.059 Å box size of 256 × 256 pixels, with defocus values within the interval [0.5, 2.7] µm . For this work, we randomly selected 15,000 images from this Ca <sup>+2</sup> -bound (Digitonin_Ca) set. Note that these images represent the entire set and not only those used for the final reconstruction. Since only 13% of the particles from the EMPIAR-10278 set are used to create the Ca <sup>+2</sup> -bound ­reconstruction <sup>44</sup>, our hypothesis is that not all imaged particles belong to this state. Our aim was to extract a free-energy profile from the Ca <sup>+2</sup> -bound to the Ca <sup>+2</sup> -unbound states using only the cryo-EM particles from the Ca <sup>+2</sup> -added set. _Steered MD for creating the TMEM16F path._ To generate the path, we used steered MD simulations from the Ca <sup>+2</sup> -bound to the Ca <sup>+2</sup> -unbound state. The simulations were performed as follows. We started from the Ca <sup>+2</sup> -bound structure (PDB ID 6p46). Since the structure has atoms missing, we added these using the Swiss model ­webserver <sup>68</sup> . We note that because some residues have to accommodate to fit the missing residues the full atom structure was not identical to the PDB. Starting from the full atom model of 6p46, we added the membrane using CHARMM-GUI <sup>69</sup>, in a 3:1:1 ratio of 1-palmitoyl-2-oleoyl-sn-glycero-3-phosphocholine (POPC), 1-palmitoyl-2-oleoylsn-glycero-3-phosphoethanolamine (POPE), and 1-palmitoyl-2-oleoyl-sn-glycero-3-phosphol-serine (POPS), respectively. A box size of 16.8076 × 16.8076 × 17.2012 nm was used with periodic boundary conditions and 122923 TIP3P water molecules were inserted. We used the GROMACS ­program <sup>62</sup> with the CHARMM36M force ­field <sup>70</sup> . The temperature was controlled in the simulation with the Berendsen thermostat at 300 K, whereas the pressure was controlled with the Berendsen barostat at 1.0 ­atm <sup>71</sup> . The energy was then minimized using the steepest descent algorithm and stopped when the maximum force was ≤ 1000 kJ/mol nm. We used the leapfrog algorithm to propagate the equations of motion. The long-range electrostatic interactions are calculated using a PME scheme with a 1.2 nm cutoff. We performed two consecutive equilibrations, of 125 ps each, in an NVT ensemble with a time step of 1 fs. Then, we performed two equilibrations in an NPT ensemble, where the first was of 125 ps and time step of 1 fs, and the last was of 1.5 ns, with a time step of 2 fs. For the equilibration in the NPT ensemble, the pressure coupling was of semi-isotropic type. The backbone atoms of the protein were restrained throughout the equilibration runs. After the MD equilibration, we performed steered MD ­simulations <sup>72</sup> using the GROMACS ­program <sup>62</sup> patched with the PLUMED 2.5 ­library <sup>73</sup> . The first target structure for the steered MD was the Ca <sup>+2</sup> -unbound state (PDB ID 6p47). We used the RMSD of the Cα atoms to steer the dynamics between the initial structure and the target structure. The steering harmonic potential had an initial force constant of 5000 and ending at 260,000 kJ/mol/ nm <sup>2</sup> . We noticed that a threshold of 0.2 Å in RMSD to the Ca <sup>+2</sup> -unbound reference was reached very quickly, in less than 1 ns (Supplementary Fig. 6). A second steered MD simulation was needed to go from the initial system (all-atom system) to the 6p46 PDB structure. This steered MD used the same parameters mentioned before. We also ran two short (1 ns) unbiased MD simulations starting from each state (i.e., closest conformation to PDB 6p47 and 6p46). These trajectories allowed us to build a path from the Ca <sup>+2</sup> -bound to the Ca <sup>+2</sup> -unbound states. We used the Cα-RMSD to the Ca <sup>+2</sup> -bound state to select 19 nodes, where successive nodes are as equidistant as possible (see Fig. 6B). To mimic the detergent in the cryo-EM images, we included a membrane nanodisk surrounding each node. It was taken from the lipids from the MD simulations, centered at the center of mass of the protein and of 50 Åradius. The nanodisk was modeled in a coarse-grained manner, similarly to the SemiSWEET transporter (see Supplementary Text and Supplementary Fig. 4). Data availability [The BioEM code is available at https://​github.​com/​bio-​phys/​BioEM. For the MCMC Python code please contact](https://github.com/bio-phys/BioEM) the corresponding author. Received: 4 February 2021; Accepted: 1 June 2021 References 1. McMullan, G., Faruqi, A. R. & Henderson, R. Direct electron detectors. _Methods Enzymol._ 587 [, 1–17. https://​doi.​org/​10.​1016/​bs.​](https://doi.org/10.1016/bs.mie.2016.05.056) [mie.​2016.​05.​056 (2016).](https://doi.org/10.1016/bs.mie.2016.05.056) 2. Cossio, P. & Hummer, G. Likelihood-based structural analysis of electron microscopy images. _Curr. Opin. Struct. Biol._ 49, 162–168 (2018). 3. Cheng, Y., Grigorieff, N., Penczek, P. A. & Walz, T. A primer to single-particle cryo-electron microscopy. _Cell_ [https://​doi.​org/​10.​](https://doi.org/10.1016/j.cell.2015.03.050) [1016/j.​cell.​2015.​03.​050 (2015).](https://doi.org/10.1016/j.cell.2015.03.050) 4. Yip, K. M., Fischer, N., Paknia, E., Chari, A. & Stark, H. Breaking the next Cryo-EM resolution barrier Atomic resolution deter mination of proteins!. _bioRxiv._ [https://​doi.​org/​10.​1101/​2020.​05.​21.​106740 (2020).](https://doi.org/10.1101/2020.05.21.106740) 5. Nakane, T. _et al._ Single-particle cryo-EM at atomic resolution. _Nature_ 587 [, 152–156. https://​doi.​org/​10.​1038/​s41586-​020-​2829-0](https://doi.org/10.1038/s41586-020-2829-0) (2020). 6. Murata, K. & Wolf, M. Cryo-electron microscopy for structural analysis of dynamic biological macromolecules. _Biochimica et_ _Biophysica Acta (BBA) General Subjects_ [https://​doi.​org/​10.​1016/j.​bbagen.​2017.​07.​020 (2018).](https://doi.org/10.1016/j.bbagen.2017.07.020) 7. Dubochet, J. _et al._ Cryo-electron microscopy of vitrified specimens. _Q. Rev. Biophys._ 21 [, 129–228. https://​doi.​org/​10.​1017/​S0033​](https://doi.org/10.1017/S0033583500004297) [58350​00042​97 (1988).](https://doi.org/10.1017/S0033583500004297) 8. Lederman, R. R., Andén, J. & Singer, A. Hyper-molecules: On the representation and recovery of dynamical structures for applica tions in flexible macro-molecules in cryo-EM. _Inverse Probl._ 36, 044005 (2020). 9. Frank, J. & Ourmazd, A. Continuous changes in structure mapped by manifold embedding of single-particle data in cryo-EM. _Methods_ 100 [, 61–67. https://​doi.​org/​10.​1016/j.​ymeth.​2016.​02.​007 (2016).](https://doi.org/10.1016/j.ymeth.2016.02.007) 10. Scheres, S. H. RELION: Implementation of a Bayesian approach to cryo-EM structure determination. _J. Struct. Biol._ 180, 519–530. [https://​doi.​org/​10.​1016/j.​jsb.​2012.​09.​006 (2012).](https://doi.org/10.1016/j.jsb.2012.09.006) 11. Grigorieff, N. Frealign: An exploratory tool for single-particle Cryo-EM. _Methods Enzymol._ 579 [, 191–226. https://​doi.​org/​10.​1016/​](https://doi.org/10.1016/bs.mie.2016.04.013) [bs.​mie.​2016.​04.​013 (2016).](https://doi.org/10.1016/bs.mie.2016.04.013) 12. Punjani, A., Rubinstein, J. L., Fleet, D. J. & Brubaker, M. A. cryoSPARC: Algorithms for rapid unsupervised cryo-EM structure determination. _Nat. Methods_ 14 [, 290–296. https://​doi.​org/​10.​1038/​nmeth.​4169 (2017).](https://doi.org/10.1038/nmeth.4169) 13. Jonic, S. Computational methods for analyzing conformational variability of macromolecular complexes from cryo-electron microscopy images. _Curr. Opin. Struct. Biol._ [https://​doi.​org/​10.​1016/j.​sbi.​2016.​12.​011 (2017).](https://doi.org/10.1016/j.sbi.2016.12.011) 14. Penczek, P. A., Kimmel, M. & Spahn, C. M. Identifying Conformational states of macromolecules by eigen-analysis of resampled cryo-EM images. _Structure._ 19 [, 1582–1590. https://​doi.​org/​10.​1016/j.​str.​2011.​10.​003 (2011).](https://doi.org/10.1016/j.str.2011.10.003) 15. Tagare, H. D., Kucukelbir, A., Sigworth, F. J., Wang, H. & Rao, M. Directly reconstructing principal components of heterogeneous particles from cryo-EM images. _J. Struct. Biol._ 191 [, 245–262. https://​doi.​org/​10.​1016/j.​jsb.​2015.​05.​007 (2015).](https://doi.org/10.1016/j.jsb.2015.05.007) 16. Jin, Q. _et al._ Iterative elastic 3D-to-2D alignment method using normal modes for studying structural dynamics of large macro molecular complexes. _Structure._ 22 [, 496–506. https://​doi.​org/​10.​1016/j.​str.​2014.​01.​004 (2014).](https://doi.org/10.1016/j.str.2014.01.004) 17. Liao, H. Y., Hashem, Y. & Frank, J. Efficient estimation of three-dimensional covariance and its application in the analysis of heterogeneous samples in cryo-electron microscopy. _Structure._ 23 [, 1129–1137. https://​doi.​org/​10.​1016/j.​str.​2015.​04.​004 (2015).](https://doi.org/10.1016/j.str.2015.04.004) 18. Katsevich, E., Katsevich, A. & Singer, A. Covariance matrix estimation for the Cryo-EM heterogeneity problem. _SIAM J. Imaging_ _Sci._ 8 [, 126–185. https://​doi.​org/​10.​1137/​13093​5434 (2015).](https://doi.org/10.1137/130935434) 19. Andén, J. & Singer, A. Structural variability from noisy tomographic projections. _SIAM J. Imaging Sci._ 11 [, 1441–1492. https://​doi.​](https://doi.org/10.1137/17M1153509) [org/​10.​1137/​17M11​53509 (2018).](https://doi.org/10.1137/17M1153509) 20. Punjani, A. & Fleet, D. J. 3D variability analysis: Directly resolving continuous flexibility and discrete heterogeneity from single particle cryo-EM images. _bioRxiv_ [https://​doi.​org/​10.​1101/​2020.​04.​08.​032466 (2020).](https://doi.org/10.1101/2020.04.08.032466) 21. Zhong, E. D., Bepler, T., Berger, B. & Davis, J. H. CryoDRGN: Reconstruction of heterogeneous cryo-EM structures using neural networks. _Nat. Methods_ 18 [, 176–185. https://​doi.​org/​10.​1038/​s41592-​020-​01049-4 (2021).](https://doi.org/10.1038/s41592-020-01049-4) 22. Fischer, N., Konevega, A. L., Wintermeyer, W., Rodnina, M. V. & Stark, H. Ribosome dynamics and tRNA movement by time resolved electron cryomicroscopy. _Nature_ 466 [, 329–333. https://​doi.​org/​10.​1038/​natur​e09206 (2010).](https://doi.org/10.1038/nature09206) 23. Agirrezabala, X. _et al._ Structural characterization of mRNA-tRNA translocation intermediates. _Proc. Natl. Acad. Sci._ 109, 6094– [6099. https://​doi.​org/​10.​1073/​pnas.​12012​88109 (2012).](https://doi.org/10.1073/pnas.1201288109) 24. Dashti, A. _et al._ Trajectories of the ribosome as a Brownian nanomachine. _Proc. Natl. Acad. Sci. USA._ 111 [, 17492–17497. https://​](https://doi.org/10.1073/pnas.1419276111) [doi.​org/​10.​1073/​pnas.​14192​76111 (2014).](https://doi.org/10.1073/pnas.1419276111) 25. Seitz, E. & Frank, J. POLARIS: Path of least action analysis on energy landscapes. _J. Chem. Inf. Model._ 60 [, 2581–2590. https://​doi.​](https://doi.org/10.1021/acs.jcim.9b01108) [org/​10.​1021/​acs.​jcim.​9b011​08 (2020).](https://doi.org/10.1021/acs.jcim.9b01108) 26. Dashti, A. _et al._ Retrieving functional pathways of biomolecules from single-particle snapshots. _Nat. Commun._ 11 [, 4734. https://​](https://doi.org/10.1038/s41467-020-18403-x) [doi.​org/​10.​1038/​s41467-​020-​18403-x (2020).](https://doi.org/10.1038/s41467-020-18403-x) 27. Wu, Z. _et al._ Deep manifold learning reveals hidden dynamics of proteasome autoregulation. _bioRxiv._ [https://​doi.​org/​10.​1101/​](https://doi.org/10.1101/2020.12.22.423932) [2020.​12.​22.​423932 (2020).](https://doi.org/10.1101/2020.12.22.423932) [28. Chen, M. & Ludtke, S. Deep learning based mixed-dimensional GMM for characterizing variability in cryoem. arXiv:​2101.​10356](http://arxiv.org/abs/2101.10356) (2021). 29. Haselbach, D. _et al._ Structure and conformational dynamics of the human spliceosomal bact complex. _Cell_ 172, 454-464.e11. [https://​doi.​org/​10.​1016/j.​cell.​2018.​01.​010 (2018).](https://doi.org/10.1016/j.cell.2018.01.010) 30. Oide, M., Kato, T., Oroguchi, T. & Nakasako, M. Energy landscape of domain motion in glutamate dehydrogenase deduced from cryo-electron microscopy. _FEBS J._ 287 [, 15224. https://​doi.​org/​10.​1111/​febs.​15224 (2020).](https://doi.org/10.1111/febs.15224) 31. Stecher, T., Bernstein, N. & Csányi, G. Free energy surface reconstruction from umbrella samples using Gaussian process regres sion. _J. Chem. Theory Comput._ 10 [, 4079–4097. https://​doi.​org/​10.​1021/​ct500​438v (2014).](https://doi.org/10.1021/ct500438v) 32. Torrie, G. & Valleau, J. Nonphysical sampling distributions in Monte Carlo free-energy estimation: Umbrella sampling. _J. Comput._ _Phys._ 23 [, 187–199. https://​doi.​org/​10.​1016/​0021-​9991(77)​90121-8 (1977).](https://doi.org/10.1016/0021-9991%0x2877%0x2990121-8) 33. Laio, A. & Parrinello, M. Escaping free-energy minima. _Proc. Natl. Acad. Sci._ 99 [, 12562–12566. https://​doi.​org/​10.​1073/​pnas.​20242​](https://doi.org/10.1073/pnas.202427399) [7399 (2002).](https://doi.org/10.1073/pnas.202427399) 34. Bonomi, M., Pellarin, R. & Vendruscolo, M. Simultaneous determination of protein structure and dynamics using cryo-electron microscopy. _Biophys. J._ 114 [, 1604–1613. https://​doi.​org/​10.​1016/j.​bpj.​2018.​02.​028 (2018).](https://doi.org/10.1016/j.bpj.2018.02.028) 35. Vant, J. W. _et al._ Data-guided Multi-Map variables for ensemble refinement of molecular movies. _J. Chem. Phys._ 153, 214102. [https://​doi.​org/​10.​1063/5.​00224​33 (2020).](https://doi.org/10.1063/5.0022433) 36. Branduardi, D., Gervasio, F. L. & Parrinello, M. From A to B in free energy space. _J. Chem. Phys._ 126 [, 054103. https://​doi.​org/​10.​](https://doi.org/10.1063/1.2432340) [1063/1.​24323​40 (2007).](https://doi.org/10.1063/1.2432340) 37. Maragliano, L., Fischer, A., Vanden-Eijnden, E. & Ciccotti, G. String method in collective variables: Minimum free energy paths and isocommittor surfaces. _J. Chem. Phys._ 125, 024106 (2006). 38. Scheres, S. H. W., Núñez-Ramírez, R., Sorzano, C. O. S., Carazo, J. M. & Marabini, R. Image processing for electron microscopy single-particle analysis using XMIPP. _Nat. Protoc._ 3 [, 977–990. https://​doi.​org/​10.​1038/​nprot.​2008.​62 (2008).](https://doi.org/10.1038/nprot.2008.62) 39. Cossio, P. & Hummer, G. Bayesian analysis of individual electron microscopy images: Towards structures of dynamic and hetero geneous biomolecular assemblies. _J. Struct. Biol._ 184 [, 427–437. https://​doi.​org/​10.​1016/j.​jsb.​2013.​10.​006 (2013).](https://doi.org/10.1016/j.jsb.2013.10.006) 40. Cossio, P. _et al._ BioEM: GPU-accelerated computing of Bayesian inference of electron microscopy images. _Comput. Phys. Commun._ 210, 163–171 (2017). 41. Pan, A. C., Sezer, D. & Roux, B. Finding transition pathways using the string method with swarms of trajectories. _J. Phys. Chem._ _B_ 112, 3432–3440 (2008). 42. Jónsson, H., Mills, G. & Jacobsen, K. W. Nudged elastic band method for finding minimum energy paths of transitions. in _Classical_ _and Quantum Dynamics in Condensed Phase Simulations_ [, 385–404. https://​www.​world​scien​tific.​com/​doi/​abs/​10.​1142/​97898​12839​](https://www.worldscientific.com/doi/abs/10.1142/9789812839664_0016) [664_​0016 (World Scientific, 1998).](https://www.worldscientific.com/doi/abs/10.1142/9789812839664_0016) 43. Seitz, E., Acosta-Reyes, F., Schwander, P. & Frank, J. Simulation of cryo-EM ensembles from atomic models of molecules exhibiting continuous conformations. _BioRxiv_ [https://​doi.​org/​10.​1101/​864116 (2019).](https://doi.org/10.1101/864116) 44. Feng, S. _et al._ Cryo-EM studies of TMEM16F calcium-activated ion channel suggest features important for lipid scrambling. _Cell_ _Rep._ 28 [, 567-579.e4. https://​doi.​org/​10.​1016/j.​celrep.​2019.​06.​023 (2019).](https://doi.org/10.1016/j.celrep.2019.06.023) 45. Iudin, A., Korir, P. K., Salavert-Torres, J., Kleywegt, G. J. & Patwardhan, A. EMPIAR: A public archive for raw electron microscopy image data. _Nat. Methods_ 13 [, 387–388. https://​doi.​org/​10.​1038/​nmeth.​3806 (2016).](https://doi.org/10.1038/nmeth.3806) 46. Schopf, F. H., Biebl, M. M. & Buchner, J. The HSP90 chaperone machinery. _Nat. Rev. Mol. Cell Biol._ 18 [, 345–360. https://​doi.​org/​](https://doi.org/10.1038/nrm.2017.20) [10.​1038/​nrm.​2017.​20 (2017).](https://doi.org/10.1038/nrm.2017.20) 47. Ortiz, S. _et al._ Validation tests for cryo-em maps using an independent particle set. _J. Struct. Biol. X_ 4, 100032 (2020). 48. Donati, L. & Keller, B. G. Girsanov reweighting for metadynamics simulations. _J. Chem. Phys._ 149 [, 072335. https://​doi.​org/​10.​](https://doi.org/10.1063/1.5027728) [1063/1.​50277​28 (2018).](https://doi.org/10.1063/1.5027728) 49. Bepler, T., Zhong, E., Kelley, K., Brignole, E. & Berger, B. Explicitly disentangling image content from translation and rotation with [spatial-VAE. In: Advances in Neural Information Processing Systems. https://​proce​edings.​neuri​ps.​cc/​paper/​2019/​file/​5a38a​1eb24​](https://proceedings.neurips.cc/paper/2019/file/5a38a1eb24d99699159da10e71c45577-Paper.pdf) [d9969​9159d​a10e7​1c455​77-​Paper.​pdf (2019).](https://proceedings.neurips.cc/paper/2019/file/5a38a1eb24d99699159da10e71c45577-Paper.pdf) 50. Hummer, G. From transition paths to transition states and rate coefficients. _J. Chem. Phys._ 120 [, 516–523. https://​doi.​org/​10.​1063/1.​](https://doi.org/10.1063/1.1630572) [16305​72 (2004).](https://doi.org/10.1063/1.1630572) 51. Chodera, J. D. & Pande, V. S. Splitting probabilities as a test of reaction coordinate choice in single-molecule experiments. _Phys._ _Rev. Lett._ 107 [, 098102. https://​doi.​org/​10.​1103/​PhysR​evLett.​107.​098102 (2011) (](https://doi.org/10.1103/PhysRevLett.107.098102) 1105.0710 ). 52. Van Koten, B. & Luskin, M. Stability and convergence of the string method for computing minimum energy paths. _Multiscale_ _Model. Simul._ 17 [, 873–898. https://​doi.​org/​10.​1137/​18M12​01032 (2019).](https://doi.org/10.1137/18M1201032) 53. Sultan, M. M. & Pande, V. S. Automated design of collective variables using supervised machine learning. _J. Chem. Phys._ 149, [094106. https://​doi.​org/​10.​1063/1.​50299​72 (2018).](https://doi.org/10.1063/1.5029972) 54. Rogal, J., Schneider, E. & Tuckerman, M. E. Neural-network-based path collective variables for enhanced sampling of phase transformations. _Phys. Rev. Lett._ 123 [, 245701. https://​doi.​org/​10.​1103/​PhysR​evLett.​123.​245701 (2019).](https://doi.org/10.1103/PhysRevLett.123.245701) 55. Cabra, V. & Samsó, M. Do’s and don’ts of cryo-electron microscopy: A primer on sample preparation and high quality data col lection for macromolecular 3D reconstruction. _J. Vis. Exp._ [https://​doi.​org/​10.​3791/​52311 (2015).](https://doi.org/10.3791/52311) 56. Arsiccio, A., McCarty, J., Pisano, R. & Shea, J.-E. Heightened cold-denaturation of proteins at the ice–water interface. _J. Am. Chem._ _Soc._ 142 [, 5722–5730. https://​doi.​org/​10.​1021/​jacs.​9b134​54 (2020).](https://doi.org/10.1021/jacs.9b13454) 57. Yershova, A., Jain, S., LaValle, S. M. & Mitchell, J. C. Generating uniform incremental grids on SO(3) using the Hopf fibration. _Int._ _J. Robot. Res._ 29 [, 801–812. https://​doi.​org/​10.​1177/​02783​64909​352700 (2010).](https://doi.org/10.1177/0278364909352700) 58. Cossio, P. _et al._ Bayesian inference of rotor ring stoichiometry from electron microscopy images of archaeal ATP synthase. _Micros‑_ _copy_ 67 [, 266–273. https://​doi.​org/​10.​1093/​jmicro/​dfy033 (2018).](https://doi.org/10.1093/jmicro/dfy033) 59. Vehtari, A., Gelman, A., Simpson, D., Carpenter, B. & Bürkner, P.-C. Rank-normalization, folding, and localization: An improved bR for assessing convergence of mcmc. _Bayesian Anal._ [https://​doi.​org/​10.​1214/​20-​BA1221 (2021).](https://doi.org/10.1214/20-BA1221) 60. Kumar, R., Carroll, C., Hartikainen, A. & Martin, O. A. ArviZ a unified library for exploratory analysis of Bayesian models in Python. _J. Open Source Softw._ [https://​doi.​org/​10.​21105/​joss.​01143 (2019).](https://doi.org/10.21105/joss.01143) 61. Ali, M. M. U. _et al._ Crystal structure of an Hsp90–nucleotide–p23/Sba1 closed chaperone complex. _Nature_ 440 [, 1013–1017. https://​](https://doi.org/10.1038/nature04716) [doi.​org/​10.​1038/​natur​e04716 (2006).](https://doi.org/10.1038/nature04716) 62. Abraham, M. J. _et al._ GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers. _SoftwareX_ 1–2 [, 19–25. https://​doi.​org/​10.​1016/j.​softx.​2015.​06.​001 (2015).](https://doi.org/10.1016/j.softx.2015.06.001) 63. Uehara, R. _et al._ Requirement of ­Ca <sup>2+</sup> ions for the hyperthermostability of Tk-subtilisin from Thermococcus kodakarensis. _Bio‑_ _chemistry_ 51 [, 5369–5378. https://​doi.​org/​10.​1021/​bi300​427u (2012).](https://doi.org/10.1021/bi300427u) 64. Lindorff-Larsen, K. _et al._ Improved side-chain torsion potentials for the Amber ff99SB protein force field. _Proteins Struct. Funct._ _Bioinforma._ 78 [, 1950–1958. https://​doi.​org/​10.​1002/​prot.​22711 (2010).](https://doi.org/10.1002/prot.22711) 65. Jorgensen, W. L., Chandrasekhar, J., Madura, J. D., Impey, R. W. & Klein, M. L. Comparison of simple potential functions for simulating liquid water. _J. Chem. Phys._ 79 [, 926–935. https://​doi.​org/​10.​1063/1.​445869 (1983).](https://doi.org/10.1063/1.445869) 66. Bussi, G., Donadio, D. & Parrinello, M. Canonical sampling through velocity rescaling. _J. Chem. Phys._ 126, 014101 (2007). 67. Parrinello, M. & Rahman, A. Polymorphic transitions in single crystals: A new molecular dynamics method. _J. Appl. Phys._ 52, 7182–7190 (1981). 68. Waterhouse, A. _et al._ SWISS-MODEL: Homology modelling of protein structures and complexes. _Nucleic Acids Res._ 46, W296– [W303. https://​doi.​org/​10.​1093/​nar/​gky427 (2018).](https://doi.org/10.1093/nar/gky427) 69. Jo, S., Kim, T., Iyer, V. G. & Im, W. CHARMM-GUI: A web-based graphical user interface for CHARMM. _J. Comput. Chem._ 29, [1859–1865. https://​doi.​org/​10.​1002/​jcc.​20945 (2008).](https://doi.org/10.1002/jcc.20945) 70. Huang, J. _et al._ CHARMM36m: An improved force field for folded and intrinsically disordered proteins. _Nat. Methods_ 14, 71–73. [https://​doi.​org/​10.​1038/​nmeth.​4067 (2017).](https://doi.org/10.1038/nmeth.4067) 71. Berendsen, H. J. C., Postma, J. P. M., van Gunsteren, W. F., DiNola, A. & Haak, J. R. Molecular dynamics with coupling to an external bath. _J. Chem. Phys._ 81 [, 3684–3690. https://​doi.​org/​10.​1063/1.​448118 (1984).](https://doi.org/10.1063/1.448118) 72. Grubmuller, H., Heymann, B. & Tavan, P. Ligand binding: Molecular mechanics calculation of the Streptavidin-Biotin rupture force. _Sci._ 271 [, 997–999. https://​doi.​org/​10.​1126/​scien​ce.​271.​5251.​997 (1996).](https://doi.org/10.1126/science.271.5251.997) 73. Tribello, G. A., Bonomi, M., Branduardi, D., Camilloni, C. & Bussi, G. PLUMED 2: New feathers for an old bird. _Comput. Phys._ _Commun._ 185 [, 604–613. https://​doi.​org/​10.​1016/j.​cpc.​2013.​09.​018 (2014).](https://doi.org/10.1016/j.cpc.2013.09.018) Acknowledgements J.G-B., S.O. and P.C. were supported by MinCiencias, Ruta N, University of Antioquia, Colombia, and the Max Planck Society, Germany. The Flatiron Institute is a division of the Simons Foundation. The authors also acknowledge Naomi Latorraca, Ron Dror for the availability of the MD trajectories; Cristian Rocha for help setting up the TMEMF16F membrane; and Johans Restrepo, Yifan Cheng, Ahmad Reza Mehdipour, and Gerhard Hummer for useful discussions. Author contributions J.G-B., S.O. and P.C. developed the concept and performed the BioEM analysis. K.P.-R. performed the MD simulations of the hexapeptide. E.H.T., B.C., A.H.B,. and P.C. developed the theory and methods. All authors contributed to all figures, wrote and reviewed the manuscript. Funding Open Access funding enabled and organized by Projekt DEAL. Competing interests The authors declare no competing interests. Additional information Supplementary Information [The online version contains supplementary material available at https://​doi.​org/​](https://doi.org/10.1038/s41598-021-92621-1) [10.​1038/​s41598-​021-​92621-1.](https://doi.org/10.1038/s41598-021-92621-1) Correspondence and requests for materials should be addressed to P.C. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from [the copyright holder. To view a copy of this licence, visit http://​creat​iveco​mmons.​org/​licen​ses/​by/4.​0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2021

섹션 본문 47문단 · 54,955자

(제목 없음)

1Cryo-electron microscopy (cryo-EM) extracts single-particle density projections of individual biomolecules. Although cryo-EM is widely used for 3D reconstruction, due to its single-particle nature it has the potential to provide information about a biomolecule's conformational variability and underlying free-energy landscape. However, treating cryo-EM as a single-molecule technique is challenging because of the low signal-to-noise ratio (SNR) in individual particles. In this work, we propose the cryo-BIFE method (cryo-EM Bayesian Inference of Free-Energy profiles), which uses a path collective variable to extract free-energy profiles and their uncertainties from cryo-EM images. We test the framework on several synthetic systems where the imaging parameters and conditions were controlled. We found that for realistic cryo-EM environments and relevant biomolecular systems, it is possible to recover the underlying free energy, with the pose accuracy and SNR as crucial determinants. We then use the method to study the conformational transitions of a calciumactivated channel with real cryo-EM particles. Interestingly, we recover not only the most probable conformation (used to generate a high-resolution reconstruction of the calcium-bound state) but also a metastable state that corresponds to the calcium-unbound conformation. As expected for turnover transitions within the same sample, the activation barriers are on the order of k B T . We expect our tool for extracting free-energy profiles from cryo-EM images to enable more complete characterization of the thermodynamic ensemble of biomolecules.In cryo-electron microscopy (cryo-EM) experiments a biomolecular sample is immersified in vitrified ice. The sample is then irratiated with a low electron dose to take images that correspond to 2D projections of its electron density. Due to advances in electron detection cameras 1 and improvements in reconstruction algorithms 2 , cryo-EM now enables density maps to be resolved with near atomic resolution 3 , with the highest reported resolution close to 1.22 Å 4,5 . Therefore, cryo-EM now plays a principal role in structural biology for understanding biological systems of a wide range of sizes (from a few kDa to hundreds of MDa) 6 .The main difference-and advantage-of cryo-EM with respect to X-ray crystallography is that the vitreous ice solution can contain molecules in diverse configurational states. The ultra-fast vitrification process 7 traps the biomolecules in configurations representative of their temperature before flash-cooling, and the conformational ensemble follows Boltzmann's distribution. The absence of a single rigid crystalline structure is a great advantage in the study of a biomolecule's thermodynamic ensemble6,8,9. In principle, one can characterize relevant biophysical properties, such as the free-energy landscape, activation barriers, transition states, and transition paths between conformations. This can provide essential clues to biomolecular function 9 .Several methods have been developed to extract 3D density maps of heterogeneous biomolecules using cryo-EM. These methods can be divided into two types: discrete-state or continuous-state methods. Discrete methods start from a discrete set of reference maps and classify the cryo-EM images according to the map OPEN www.nature.com/scientificreports/ they most resemble. The classified subsets are then optimized iteratively during refinement 10-12 . However, these approaches may be biased towards the initial maps used as templates, and the number of discrete classes must be predetermined 13 . To overcome some of these limitations, continuous-state methods that use principal component analysis (PCA) 14,15 , normal mode analysis 16 or the covariance matrix[17][18][19]have been developed. Combining statistical analysis with optimization algorithms can result in more efficient methods to reconstruct 3D density maps 8,20,21 . However, it is not trivial to determine if the system's conformational changes are best modeled by a discrete or continuous set of states 13 .The first studies in which free energies were extracted directly from cryo-EM experiments used particleclassification tools. These studies focused on the prototypical Brownian machine, the ribosome. Fischer et al.22characterized the free-energy landscape of the slow back-translocation process using the number of classified particles for each sub-state ( n i , i.e., the occupancy or population of state i). The free energy difference with respect to a reference state ( G ; with population n o ) is extracted using the Boltzmann factor, n i /n o = exp(−β�G) , where β = 1/(k B T) , k B is Boltzmann's constant, and T is the temperature. Interestingly, the authors found a relatively flat energy landscape projected along the 30S head versus body rotation at ambient temperature. A similar analysis was also applied to study a pretranslocational mRNA-tRNA sample as a function of the inter-subunit rotation angle 23 . However, these studies are limited by their use of a small number of 3D classes or reliance on time information from the back-translocation process 22 .An alternative methodology, also initially used to study the ribosome, was developed by Dashti et al. 24 to extract free energies using the raw cryo-EM particles with diffusion maps. The method selects the images belonging to the same projection direction, then projects the multidimensional free-energy landscape onto a low-dimensional manifold. This method has the advantage that it uses only the raw images without requiring prior 3D classes. Seitz and Frank 25 use this method together with the POLARIS approach for finding the least action path from 2D energy surfaces. Dashti et al. 26 also extracted the free-energy surfaces of the ryanodine receptor type 1 (RyR1) associated with the bound-unbound states (with the ATP, caffeine, and Ca 2+ ligands) using a master equation approach to find the probability of a transition between the two free-energy landscapes. Recently, deep learning methods have provided similar strategies to extract free-energy surfaces 27,28 . We note that replicating these methods might be cumbersome, and the bank of images required is very large. Moreover, the low-dimensional space upon which the particles are projected can be difficult to interpret.For these reasons, some recent studies have returned to particle-classification schemes for extracting free energies using an increased number of 3D conformations in the classification. Haselbach et al. 29 studied the dynamics of the Human Spliceosomal B act Complex by performing PCA on the reconstructed 3D volumes. The population of each sub-state along the first two PCA eigenvectors was used to extract the free-energy landscape using the Boltzmann factor. A different study assessed the motion of unbound glutamate dehydrogenase 30 through a hybrid approach that combined PCA over a molecular dynamics (MD) trajectory (to define the low-dimensional space) with the populations of four cryo-EM maps. The weights of the MD conformations and the relative occupancy of the particles were combined to produce a hybrid free-energy landscape. These methods have the advantage of mapping the free energy onto an easy-to-interpret low-dimensional space. However, PCA assumes that the motions can be modeled in a linear regime, which might not be the case for large conformational changes. Moreover, for highly flexible molecules, generating 3D maps may be challenging. Free-energy profiling by means of reaction coordinates or collective variables (CV) has been widely used to understand biomolecular processes. CVs reduce the dimensionality of the system by projecting the molecular coordinates onto a low-dimensional, continuous variable (note that PCA is a particular method for constructing CVs). CVs provide a simple and continuous low-dimensional projection of the free-energy landscape of complex multidimensional systems. A good CV should be able to discriminate between key regions of the underlying multidimensional free energy, such as metastable states and transition states. By constructing a free energy profile over the CV and examining features such as barrier heights, practitioners can gain insight into how a reaction takes place and how relevant conformational changes occur. Free energies are commonly extracted by evaluating the CV for each conformation, taking a histogram of the values, and relating the population of each bin to the free energy using the Boltzmann factor. However, approaches based on Bayesian methods also exist 31 . CVs have also been used with enhanced sampling techniques, such as umbrella sampling 32 or metadynamics 33 , which bias the simulation along the CVs to more efficiently explore the conformational space for extracting the free-energy landscape. Along these lines, several methods34,35have been proposed to extract free energies from MD simulations with CVs that use 3D maps instead of directly using the individual particles.Inspired by the use of CVs in the MD community 36 , we propose the cryo-BIFE method (cryo-EM Bayesian Inference of Free-Energy profiles), a Bayesian formalism for extracting free-energy profiles and their uncertainties from an ensemble of cryo-EM images. We apply the method to several datasets representing a diverse set of biomolecular systems, using controlled parameters and comparing with known underlying free-energy profiles. We show that under several realistic cryo-EM conditions it is possible to recover the free-energy profile using our methodology. We then apply it with real cryo-EM data to study the transition between the calcium bound/ unbound states of a membrane channel. We expect that free-energy profiles from cryo-EM particles will bring new information about the metastable states, barriers, and transition states to help practitioners obtain a more complete thermodynamic characterization of the biomolecular system.TheoryA path collective variable. Consider a biomolecule of N atoms. Inspired by Ref.36, we will define a collective variable by projecting every possible molecular configuration onto a path in the biomolecule's configuration space. We will use x ∈ R 3N to denote a particular configuration (conformation). We define the CV in a manner that allows for the extraction of a 1D free-energy profile.

2www.nature.com/scientificreports/ Let a predetermined smooth 1D path X in configuration space be parameterized by 0 ≤ s ≤ 1 , so that x = X(s) is a particular configuration chosen to be on the path. This path should span the relevant conformational changes of the system, and thermal motion should be relatively small in all directions transverse to the path. In Fig. 1, we show a schematic representation of the path X (white curve) that connects the relevant metastable states (basins) in the conformational space. At each configuration x = X(s) one sets up transverse coordinates z ∈ R 3N−1 , so that any configuration x in a tubular neighborhood of the path may be written uniquely via a map x = X (s, z) , where X(s) = X (s, 0) . This means that inverse functions S(x) and Z(x) exist such that X (S(x), Z(x)) = x for all x in this neighborhood. Our CV is defined by S(x), i.e. the parameter value s of the unique point on the path nearest to a given thermally-accessible configuration x. For all points X(s) on the path, S(X(s)) = s extracts their CV parameter.

3In practice, one must discretize integrals (e.g., for the Bayesian analysis presented below) over the parameter 0 ≤ s ≤ 1 . For this we use a simple M-node equispaced rule, which applies to smooth functions f, the parameter nodes being s m := (m − 1)/(M − 1) . This defines a discrete set of 3D conformations (which we refer to as nodes) x m := X(s m ) , that take the system from a starting conformation x 1 to a final one x M . Note that M is a numerical convergence parameter (the results are expected to converge as M → ∞ ), and should be chosen large enough so that conformational changes are small between adjacent nodes. Ideally, the parameterization of the path should also have roughly uniform "speed" |X ′ (s)| , so that discrete conformations x m are approximately evenly spaced in R 3N , although satisfying this condition may be challenging in many applications. If the path is well chosen, then the assumption that the cryo-EM images come from conformations near the path is justified by the Laplace approximation in the low-temperature limit, as in path-based algorithms for MD simulations 36,37 .

4The CV defined in Ref. 36 compares 3D conformations (e.g. from an MD trajectory) to the set of nodes belonging to the path X. Inspired by this, we develop the cryo-BIFE method, a Bayesian formalism to infer the free-energy profile along the predetermined path, given an ensemble of raw cryo-EM images from the same biomolecule.

5The free-energy profile along the path. Here, we consider the biomolecule at thermal equilibrium.

6From Boltzmann statistics, the probability density at configuration x ∈ R 3N is given by where H(x) is the system's Hamiltonian (potential energy of conformation x), and Z 0 = e −βH(x) dx is the full partition function. We now project this down to the CV. One may choose the map X (s, z) so that, at each point on the path, ∂x ∂z j for the transverse coordinates z j , j = 1, . . . , 3N − 1 , are mutually orthonormal, and orthogonal Figure 1. Schematic representation of the path collective variable and Bayesian formalism for cryo-BIFE. The main goal of our methodology is to determine the posterior probability distribution of free-energy profiles G(s) over a given configuration space path X(s), given a set of noisy cryo-EM particle (projection) images w = {w i } from i = 1, . . . , I . The green graphs on the right show independent samples drawn from this posterior, and the blue curve their mean. The black curve represents the true free-energy profile. Variation between sampled free energy surfaces arises from a detailed Bayesian model of imaging noise. The path 0 ≤ s ≤ 1 is discretized using M nodes. www.nature.com/scientificreports/ to the path tangent vector X ′ (s) . Then, near to the path, the Jacobian of the map is the "speed" |X ′ (s)| (note that |z| 2 then matches the squared-distance variable preferred in Ref. 36 ). A change of variables gives the marginalized probability density as where δ is the 1D Dirac delta distribution, and in the last step we used Eq. (2) and theJacobian. Since only conformations near to the path are assumed relevant, for simplicity the Jacobian here was approximated as constant with respect to z. Note that the final integral in Eq. (3) is a partition function restricted to the "slice" transverse to X at s. It is then standard to interpret this ρ(s) as the equilibrium density due to an effective 1D free-energy profile (or potential of mean force) G(s) defined by a 1D analog of Eq. (2) with Z 1 = 1 0 e −βG(s) ds . Our goal is to infer the function G from a large set of 2D cryo-EM images in a statistically rigorous fashion, up to an additive offset. Note that, by Eq. (4), this is equivalent to inferring the population density ρ G . cryo-BIFE: a Bayesian approach for extracting the free-energy profile using cryo-EM images. In general, the underlying free energy for a system is unknown. However, in cryo-EM, we have access to a collection of (noisy) raw images w :

7The model for each image w i is a noisy unknown projection of the biomolecule with an unknown configuration x taken to be independently distributed following Eq. (2). In the CV approach sketched above we restrict this to the 1D configuration path x = X(s) , where s is a Boltzmann-distributed random variable as in Eq. (4).

8For simplicity of notation, we use the symbol G to represent the profile, i.e., function G(s) over 0 ≤ s ≤ 1 , keeping in mind that in all numerical computations it will be represented by its vector of values at the nodes, {G(s m )} M m=1 (see the Methods). In the Bayesian approach, uncertainty about G is encoded by a posterior density over the space of functions. Then, by Bayes' rule, where p(G|w) is the desired posterior density over free-energy profiles induced by the observed data. p(w|G) is the sampling density (or likelihood) of the set of all observed images w, assuming a specific free-energy profile function G. The term p(G) encodes any prior knowledge about the free-energy profile. In this work, we will impose only a weak-smoothness prior, whose functional form is given in the Methods section. The normalizing constant p(w), also known as the evidence, will be ignored since it is not needed for inference of G. Note that in Eq. (5), and many subsequent formulae, each term is of course conditioned on the path X, and thus one could write p(G|w, X), etc. However, since X is fixed, for notational simplicity we leave this dependence implied.

9We assume that the cryo-EM images are conditionally independent given G,

10where p(w i |G) is the sampling density (likelihood) of the single image w i given G. Our imaging model, encoded by p(w i |G) , may be interpreted as having two steps: first we draw s randomly according to ρ G in Eq. (4), then we draw a noisy image of the 3D molecular configuration x = X(s) according to the full random set of imaging parameters (orientation, translation, noise, etc). Because s is an unobserved (a.k.a. latent) variable, the likelihood of an image can be computed by marginalizing over s, where the second step applies the quadrature, Eq. (1), and our assumption that images come from conformations near the path. The second factor in this sum is, under the Boltzmann assumption, the normalized equilibrium density (4) evaluated at the mth parameter node, The first factor p(w i |x m ) in the sum (7) is interpreted as the likelihood function of image w i conditioned on a known conformation x m . The cryo-EM imaging process is quite well understood, and considerable work has gone into evaluating such likelihoods 10,11,38 . Here, we will use the BioEM formalism from Ref. 39 , which uses a set of numerical marginalizations over all imaging parameters, analogous to (but much larger in scale than) the above one over s. See the Methods, and Refs. 39,40 , for details about the BioEM calculations. We note that the present method is not limited to the use of BioEM: any other likelihood formalism (e.g., those used for 3D reconstruction 10 ) could be inserted.

11Plugging Eqs. (6)-(8) into Bayes's rule, p(G|w) ∝ p(G)p(w|G) , and dropping irrelevant normalization factors, the posterior becomes www.nature.com/scientificreports/ Given a set of particles, the cryo-BIFE algorithm consists of three main steps: (1) define a path X and discretize it with M nodes x m = X(s m ) , (2) pre-calculate the BioEM likelihoods p(w i |x m ) for all nodes m = 1, . . . , M , for every image w i , then (3) use a Markov chain Monte Carlo (MCMC) method to sample from the posterior, Eq. (9), and from these samples-each a possible profile G(s)-estimate the expected value of the free-energy profile, G(s) , and also its uncertainty. Steps (2) and (3) are described in the Methods.

12Step (1), defining the path, is challenging because it depends on the particular system of interest. In practice, we select a set of conformations x m that go from one relevant state of the system to another, as is done with the CV from Ref. 36 . In future work, we hope to adapt algorithms from the molecular-simulation community, such as the String method 37,41 and Nudged Elastic Band 42 , to let us determine optimal path-CVs directly from the cryo-EM data.

13In the following, we validate and test cryo-BIFE over a diverse set of systems, from a conformational change along one dimension, using synthetic images, to a membrane channel's calcium bound/unbound transition, using real cryo-EM data.

Results

14To understand the effects of the physical parameters (e.g., those involved in the image formation process) for recovering free-energy profiles with cryo-BIFE, we designed several control systems where the projections are generated synthetically following the ideas of Ref. 43 . The first system consists of conformations of the Hsp90 chaperone representing a low-dimensional (1D-2D) conformational space. The analysis is then extended to more realistic ensembles from MD simulations. Lastly, we apply cryo-BIFE to experimental cryo-EM data. To this end, we chose raw images of TMEM16F, a membrane channel and lipid scramblase 44 available at the EMPIAR databank 45 .

15Free-energy profile recovery over controlled datasets. Hsp90 chaperone. Hsp90 (a heat shock protein) is a chaperone involved in the folding process of several kinases, transcription factors, and steroid hormone receptors 46 . This protein consists of two chains (A and B, containing 677 residues each) forming a V-like shape. Although Hsp90 is flexible, in the presence of certain ligands (e.g., ATP) its conformational space can be reduced to a few degrees of freedom that go from an open to a closed state of the chains. Following the ideas described in Ref. 43 , we reduced the open-closed dynamics of the Hsp90 into a one (1D) and two (2D) dimensional phase space where both chains are rotated in mutual, normal directions and perpendicular to the axis of symmetry (see the Methods).

16Free-energy profile recovery for a 1D conformational change. In Fig. 2A, we show a 1D conformational change of Hsp90, where chain B is fixed and chain A is rotated from the closed state to the open state (denoted by CMA). We define the path using twenty conformations, equally spaced by 1 • in the rotation angle. The underlying synthetic free-energy profile (i.e. ground truth) along the path is shown as a black line in Fig. 2C. We generated around 13,300 synthetic images from the predetermined population of the twenty conformations (given by the Boltzmann factor of the ground truth free energy). The synthetic images have a uniform random signal-tonoise-ratio (SNR) log 10 ([0.001, 0.1]) , defocus [0.5,3] µ m and orientation angles (see the Methods). Examples of the synthetic particles are shown in Fig. 2B.

17To apply cryo-BIFE, we first precalculated the BioEM probabilities for the nodes along the path and all synthetic images for two BioEM rounds of orientation estimation (see the Methods). The MCMC sampling strategy described in the Methods was applied to extract the expected G(s) and the credible interval at 5% and 95% of the empirical quantile at each node. Figure 2C, shows the results of G(s) using all particles for the first and second BioEM rounds of orientation estimation. Note that the second round was more accurate than the first. This was also reflected in the recovery of the free-energy profile G(s) , where the second round had a much better performance. This suggests that the pose accuracy of the particles is crucial for extracting an adequate free-energy estimate. The results from BioEM round 2 show that cryo-BIFE was able to recover the free-energy profile for a wide range of SNRs and defocus. Interestingly, the credible intervals widen for higher free-energy values, i.e., near the barrier, where there are fewer particles and the error is expected to be larger. Extracting the credible intervals is the main advantage of using the full posterior in comparison to a maximum a posteriori estimation (see Supplementary Fig. 1).

18The performance of the method for different cryo-EM conditions was then studied. In Fig. 3A, the particle set was divided in two: high SNRs from [0.01, 0.1] and low SNRs from [0.001, 0.01], each with an equal number of particles ( ∼ 6600 each). The expected free energy calculated from cryo-BIFE is shown for the high and low SNRs sets (light blue and green, respectively) for the second BioEM orientation round. The expected free energy was also compared to G(s) using the entire set (blue line). We observed a poor recovery for the low SNR set [0.001, 0.01] and large errors, whereas the high SNR set behaved well. Interestingly, the free-energy estimate for the entire particle set (SNR [0.001, 0.1]) was slightly worse than for the high SNR set but much better than the low SNR set. The reason for this is that the Bayesian posterior (Eq. (9)) naturally weighs the contribution of each particle and particles with high SNR contribute much more weight to the posterior. If particles with even higher SNR are added (see Supplementary Fig. 2), the free-energy profile recovery is better, and for example, artifacts like the shoulder around s = 0.55 vanish. [2,3] µ m (red line) were analyzed. The results for the large defocus were slightly better, but these have large errors around the barrier. The number of particles needed to recover the free-energy profile was also studied. In Fig. 3C, the results are shown for sets with 3300 (pink line) and 6600 (purple line) particles. In agreement with previous results for 3D map validation 47 , just a small set of particles ( ≥ 3000 ) randomly picked from the entire set is able to reproduce the underlying statistics. Contrary to 3D refinement, where large numbers of particles are required, our results indicate that conformational variability can be captured from a small set of particles.

19Cryo-BIFE has several advantages over standard particle-classification methods for calculating the populations (or equivalently the free-energy profile). These classification methods treat each particle equally, whereas cryo-BIFE weighs them differently (e.g., depending on their SNR). Moreover, most methods assign each particle to a single node along the path and calculate a histogram over all particles to extract the populations. In Supplementary Fig. 3, this analysis (using the BioEM likelihood) was compared to the cryo-BIFE results for the 1D Hsp90 data with a wide range of SNR [0.001, 0.1]. These results show that cryo-BIFE outperforms standard The ground truth free-energy profile is shown in black. The expected free energy profile using cryo-BIFE is shown for BioEM orientation rounds 1 and 2 in orange and blue, respectively. The R-hat test for the MCMC stationarity yielded 1.000 and 1.001 for BioEM round 1 and 2, respectively. The bars show the credible interval at 5% and 95% of the empirical quantile at each node. A cubic spline is used to fit the expected free-energy profile, providing a smooth profile. www.nature.com/scientificreports/ classification because individual particle-contributions are weighted by the posterior and are not assigned to a single node.

202D conformational change of Hsp90. As described in Ref. 43 , Hsp90 is also characterized by a second degree of freedom; the rotation of chain B relative to the 1D rotation of chain A (see Fig. 4A, and the Methods). A synthetic 2D underlying free-energy surface was generated, shown in Fig. 4B, with an energy barrier of around 2 k B T . Given the imagining conditions in cryo-EM experiments, free-energy barriers around this range are expected. We generated 6800 synthetic particles, using the population given by the Boltzmann factor of ground truth free energy, with SNR [0.01, 0.1], defocus [0.5, 3] µ m and random orientations in SO(3) (see the Methods).

21To study the effects of the path-CV, we defined three paths. The black dashed line (CV1) in Fig. 4B shows a good path-CV that passes along the relevant basins and the transition state of the system. In contrast, the orange and green dashed lines in Fig. 4B (CV2 and CV3, respectively) are able to discriminate between the states (i.e., good order parameters) but are not ideal reaction coordinates because they underestimate the barrier. In Fig. 4C, we compare the expected free-energy profile extracted with cryo-BIFE to the ground truth (given by Eq. (4)) along each path. Relatively good agreement between the underlying profile and the extracted free energy using the cryo-EM images along the three paths was observed. However, using only CV1, the metastable states of the system, the transition state, and true barrier height were recovered. Conversely, using non-ideal CVs, e.g., CV2 and CV3, the barrier can be underestimated. In extreme cases, the identification of the metastable states could also be lost. We note that these are artifacts caused by choosing a poor projection direction, and are not the result of using 2D images. This highlights the importance of choosing an adequate path-CV.

22Cryo-BIFE over conformational ensembles. MD simulations of the VGVAPG hexapeptide have been extensively used to test methods, such as Girsanov reweighting 48 . In the Supplementary Information, we present a video showing an example of the hexapeptide MD simulations performed for this work (see the Methods). The peptide has opposite charges at its extremes and exhibits a conformational change between an open state and a closed state. Here, we will compare the free energy extracted from the 3D ensemble to one estimated by cryo-BIFE using 2D particles with the same path (Fig. 5A). The path was created by selecting ten conformations from the MD with equally spaced end-to-end distances between successive nodes (see the Methods). To calculate the free energy from the 3D conformations, we used the path-CV proposed by Branduardi et al. 36 with the RMSD as a metric. This path-CV was evaluated for each MD conformation, then a histogram was taken and the free energy was calculated via Boltzmann's factor and the population of each histogram bin. For cryo-BIFE, we used a set of 5688 synthetic images generated from the MD ensemble. The synthetic images had uniformly distributed random SNR, defocus and orientations (see the Methods). Cryo-BIFE was applied to extract the expected G(s) along the same path used for the 3D conformations. In Fig. 5B, the free-energy profiles from cryo-BIFE and the The free-energy profiles along these three path CVs, extracted with cryo-BIFE using synthetic particle images (dashed lines), are compared to the ground truth projected profiles (solid lines). The R-hat test for the MCMC yielded values < 1.003 for all cases. The bars show the credible interval at 5% and 95% of the empirical quantile at each node. The results are for the second BioEM round of orientation estimate. www.nature.com/scientificreports/ path-CV 36 were compared. The difference is that cryo-BIFE extracts the FE profile from 2D cryo-EM images, whereas the path-CV uses 3D conformations (Fig. 5A).

23To investigate whether cryo-BIFE is able to resolve the free-energy profile of membrane proteins with nanodisk belts (as in the cryo-EM experiment), and small conformational changes ( < 4 Å), we attempted to recover a free-energy profile from synthetic images of the semiSWEET transporter generated from MD configurations. Our results are given in the Supplementary Text and Supplementary Figs. 4 and 5. In conjunction with our results on the VGVAPG hexapeptide, they demonstrate that cryo-BIFE is able to recover the free-energy profile from 2D cryo-EM projections for a realistic ensemble.

24Real cryo-EM data: TMEM16F ion channel. TMEM16F is a membrane channel and lipid scramblase that is activated by calcium binding. In Ref. 44 , cryo-EM experiments using different Ca +2 conditions and membrane/detergent compositions were performed to resolve TMEM16F's Ca +2 bound and unbound states. The cryo-EM particles under different conditions are available at the EMPIAR 45 . In this work, we focus on the EMPIAR dataset with around 1.2 million particles that was used to generate the Ca +2 -bound state in digitonin (EMPIAR code 10278). Since around 13% of these particles are used to generate the final reconstruction (all other particles are classified out), we wanted to investigate (1) if there could be a small population of the Ca +2 -unbound state in this set, and (2) if a free-energy profile from the Ca +2 -bound to the Ca +2 -unbound states can be extracted. Starting from the PDB structures (Fig. 6A), steered MD simulations were used, which included a lipid membrane and explicit solvent (see the Methods), to generate a path connecting both states. The C α -RMSD of the nodes for both states is shown in Fig. 6B. We randomly selected around 15,000 particles from the entire set, not only those used for the final reconstruction. In Fig. 6C, the free energy along the path using the same cryo-BIFE setup as for the previous systems is shown. It was observed that both the Ca +2 -bound and the Ca +2 -unbound states correspond to metastable basins of the system. Because the cryo-EM data set was prepared with Ca +2 , it is expected that the Ca +2 -bound state corresponds to the lowest free-energy minimum. However, it is interesting that not all the particles belong to this state, and that the Ca +2 -unbound state also has metastability. The highest barrier is around 2.2 k B T , consistent with what is expected for turnover conditions in cryo-EM samples. These results show that it is possible to extract a free-energy profile from real cryo-EM particles that agrees with the biophysical setup and expectations of the system.

Discussion

25In this work, we have developed cryo-BIFE, a methodology for extracting free-energy profiles from cryo-EM experiments using a Bayesian approach with a path collective variable. The method was tested and validated over diverse systems covering a range of complexities. Using controlled parameters, we found that the particle orientation accuracy and the SNR are important for adequately recovering the free-energy profile. This work is a proof of principle, demonstrating that under reasonable cryo-EM conditions it is possible to extract free-energy profiles using individual cryo-EM particles. www.nature.com/scientificreports/ Primary focus has been given to extracting the expectation of the free-energy profile G(s). However, this method produces (in the form of independent MCMC draws) the full posterior for such profiles, which contains much more information than just an average. In particular it quantifies the degree of certainty with which G(s) can be extracted given the noise in particle images. Credible intervals can be placed on any function of G, such as downstream predictions (reaction rates, etc), simply by evaluating them for all G values in a set of MCMC samples.

26The cryo-BIFE analysis should be performed on a raw, unbiased cryoEM-particle set. For cryo-BIFE, particles can be picked, polished, and motion corrected. However, 3D-classification methods, which group particles with respect to conformational states, should not be performed before cryo-BIFE because these artificially modify the distribution of conformations. In other words, free-energy profiles extracted from classified-subsets of particles will be biased, and these will not represent the true thermodynamic ensemble.

27Here, we have focused on developing, understanding and validating cryo-BIFE for a predetermined path. We have shown that under realistic cryo-EM-imaging conditions the extracted profile coincides with the free-energy profile of the true conformational ensemble along that path. A demanding aspect is how to generate a conformational path for experimental cases. If the metastable states of the system have been resolved using standard cryo-EM 3D classification or from X-ray crystallography, then one could create a path by simply interpolating the maps (or structures) or by using steered MD (as done for the TMEM16F system). If metastable states are not available, then, one could generate conformational paths by directly analyzing the variability of the 2D images, for example, using the covariance matrix or spatialvariational autoencoder (VAE) 49 .

28A major challenge remains in determining if the path-CV is optimal. From a thermodynamic perspective, an optimal CV should separate the metastable states of the system, identify the transition states, and activation barriers, corresponding to those of the multidimensional landscape. The lowest free-energy path in the multidimensional space can be considered as an adequate CV. For simulations, several methods have been developed to measure the quality of a CV using transition state theory 50 or committor analysis 51 , and algorithms exist to find optimal path-CVs 37,41,42 that can be shown to converge stably 52 . Recently, additional developments have standardized CV design 53,54 . Nonetheless, a method to determine the optimal path-CV using cryo-EM images is still to be developed. Moreover, for some systems, a single degree of freedom may be insufficient and extending the CV to multiple dimensions would be advantageous.

29It is important to note that the temperature plays a crucial role in extracting free energies. In principle, the flash-cooling process 7 is done rapidly enough that the cryo-EM sample is trapped in the ensemble just before freezing. Consequently, the extracted free-energy profile should be a representation of the system at that temperature. However, freezing takes on the order of µs 55 to complete, so all relaxation processes faster than this timescale are lost. Since vitrification is not instantaneous, cooling might depopulate the barrier and cause the estimated barrier to be artificially large. Other experimental considerations, such as icesheet buckling during vitrification, can cause further perturbations to the observed structural ensemble. It remains to be fully assessed (B) C α RMSD of the nodes along the path to the Ca +2 -bound and Ca +2 -unbound states (purple and green, respectively). (C) Free-energy profile extracted along the path CV from real cryo-EM particles from the dataset used to generate the Ca +2 -bound reconstruction in digitonin 44 www.nature.com/scientificreports/ how much the freezing process affects the extracted free energy 56 . On the other hand, to obtain high-resolution reconstructions, it is common to set the system at temperatures below the ambient one for over stabilizing a single state. We hope that these methods to extract free energies will motivate the field to measure more at ambient temperature, and moreover, use all particles (i.e., without having to discard large percentages). In summary, extracting free energies from cryo-EM experiments opens the field to the assessment of conformational dynamics from a biophysical perspective. By measuring the populations along relevant degrees of freedom, the results go beyond the discussion of discrete versus continuous, and the biophysical mechanisms are truly revealed. Additional clues to biomolecular function are unraveled by the information of the metastable states (e.g., the size and shape of the free energy basins), of the activation barriers and of the location of the transition states of the system, as is common in single-molecule experiments.

Methods

30BioEM analysis. The likelihoods p(w i |x m ) in Eq. (9) were calculated using the BioEM algorithm 39 , as follows. Given an image w i and a 3D conformation (from a density map or atomic model) x m , BioEM computes the probability density p(w i |x m ) that w i is a projection of x m . This probability was calculated by integrating the likelihood function L(w i |�, x m ) (see the Supplementary Text), weighted by prior probabilities p(�) , over all relevant physical parameters for image formation (rotation angles, displacements, CTF parameters, noise variance, normalization factor and offset 39,40 ),

31The integrals over the noise variance, offset and normalization were performed analytically, and all others were computed numerically, as described in Ref. 40 . The prior densities of the orientation angles and the displacements were taken to be uniform over the integration interval. The prior for the CTF defocus parameter was a Gaussian distribution whose center and width depended on the BioEM rounds described below. The normalization constant in Eq. (10) requires some care, since for Bayes' rule, hence Eq. (9), to be correct, the likelihood p(w i |x m ) must be normalized over the space of 2D images w i . It suffices that that the normalization factor is merely independent of configuration x m .

32The BioEM orientational integral was divided into two stages referred to as Round 1 and Round 2, respectively. In BioEM round 1, p(w i |x m ) was calculated by integrating over a uniform orientation grid of 36864 quaternions, which was constructed following the method described in Ref. 57 . The BioEM integration ranges and number of grid points for round 1 are presented in the Supplementary Text for each system. In BioEM round 2, a finer quaternion grid of 125 points was created around the ten best orientations (i.e., with the highest probability) selected from BioEM round 1. In total, a 1250 quaternion grid were used for the second BioEM orientation round. For this round, the Gaussian prior for the defocus was centered at the synthetic/experimental value of each particle and its scale was 0.3 µ m. This procedure is similar to that described in Refs. 47,58 ; however, here we calculated BioEM rounds 1 and 2 independently for each node of the path. We used the BioEM code from Ref. 40 with CPU and GPU acceleration. For one node along with the path and 10000 particles of 128 × 128 size, BioEM round 1 takes ∼ 6 h on 24 CPU cores + 2 GPUs, and BioEM round 2 takes ∼ 3 h on 24 CPU cores.

33Recalling Eq. (9), one needs to evaluate Eq. (10) for every image-node pair, i.e., MI distinct evaluations. Then, to estimate the free-energy profile, we used the MCMC algorithm described below to draw samples from its posterior, Eq. (9).

34Markov chain Monte Carlo. We used a Markov chain Monte Carlo (MCMC) method to draw a correlated sample of the free-energy profile G(s) from the posterior defined in Eq. (9). Such a set of samples captures the full posterior in a much more practical fashion than trying to represent it as a function in the high-dimensional space R M . We found that a standard random-walk Metropolis algorithm, sampling the unknown vector of values {G(s m )} M m=1 at the discrete quadrature nodes, was adequate for our needs. Initial values G 0 (s m ) were chosen independently and uniformly at random in [−2, 2] , for each m = 1, . . . , M . Then, each MCMC step i = 1, 2, . . . , N MC comprised the following sub-steps.

35• We randomly selected a node m ∈ [1, M] with uniform probability.

36• We randomly displaced the free-energy profile at the selected node G i (s m ) = G i−1 (s m ) + δg where δg was uniformly randomly chosen in [−0.5, 0.5]k B T. • We shifted the free-energy profile so that m G i (s m ) = 0 . Note that the particular choice of shift here is irrelevant. • We evaluated the posterior in Eq. (9) using the samples G i (s m ) of this free energy, and the pre-calculated values of log(p(w i |x m )) (described above by Eq. (10)) for all images and all nodes m = 1, . . . , M . For the prior in Eq. (9), we used p(G) = e − G d = 1/G 2 , where G = M−1 m=1 (G(s m+1 ) − G(s m )) 2 , which is a standard normal prior on the discrete differences, marginalized over the precision parameter .

37• From this, the log-acceptance probability of the proposal was computed (here we omit s for notational simplicity, so that G may be thought of as a vector in R M ):

38• We chose a uniform random number u ∈ [0, 1] . Then, if log(u) ≤ A(G i , G i−1 ) , the move was accepted, otherwise it was rejected (in which case G i = G i−1 ). www.nature.com/scientificreports/ This procedure was iterated well beyond the time by which the distribution over samples has reached stationarity. For the systems analyzed in this work, we ran R = 8 independent MCMC chains each with a total of N MC = 200,000 steps. The expected value of the free energy at each node was calculated using all samples i = 1, . . . , R N MC , that is, Finally, since it is assumed that the nodes adequately discretize a continuous path, to recover a continuous function G(s) , we fitted a cubic spline through the values {G(s m )} M m=1 with knots being the nodes s m . Because only free-energy differences are relevant, we shifted G such that its minimum was zero. The credible interval for each node was calculated at 5% and 95% of the resulting empirical distribution. We performed the R-hat diagnostic 59 , which compares the inter-chain variance to the variance within each chain to monitor convergence of the MCMC using the arviz package 60 . R-hat values ≤ 1.1 indicate convergence of the sampling.

39The MCMC code was written in Python3.5. It was optimized with the Numba compiler, taking approximately 2 h on 24 CPU cores for I = 13,000 particles, M = 20 nodes, and R = 8 replicas each with N MC = 200,000 MCMC iterations.

40Synthetic particles. We used a modification of the BioEM program 40 to generate the synthetic cryo-EM particles following similar ideas to those described in Ref. 43 . Each image was created by coarse-graining the molecular configuration (e.g. one taken from an MD simulation) on the residue level. Each residue was represented as a sphere with a corresponding radius and number of electrons 39 . The contrast transfer function (CTF) was modeled on top of the ideal image given a defocus, amplitude and B-factor (for details see the SI of Ref. 39 ). For the synthetic particles, the amplitude was 0.1 and the B-factor was 1 Å. Gaussian noise was added on top of the CTF convoluted image. The standard deviation of the noise was determined (as in Ref. 43 ) using the SNR and variance of the image without noise (calculated within a circle of radius 40 pixels centered at the box center). All synthetic images were 128 × 128 pixels, however, the pixel size varied for each system. Benchmark systems. Hsp90 system. The Hsp90 chaperone is a flexible protein involved in several biological processes related to protein folding 46 . When bound to certain ligands, its conformational landscape can be approximated by two relative motions of its chains (A and B) 43 . The Hsp90 dynamics was reduced to a 2D dimensional phase space, where both chains are rotated in mutual normal directions and perpendicular to the axis of symmetry. In this work, we first assessed conformations from just one degree of freedom (1D analysis), and then we assessed images from conformations belonging to the 2D conformational space (2D analysis).

41To generate the conformations for the first degree of freedom (1D case), we started from the closed state (PDB ID 2cg9 61 ), removed the ATP ligand and residues 1-11 to avoid overlapping crashes. Chain B was fixed and chain A was rotated at 1 • steps around the center of mass of residues LEU674-ASN677, up to 20 • from the starting position, generating 20 conformations along this degree of freedom (denominated CMA motion 43 ). These 20 conformations were used to define the path for the 1D analysis ( Fig. 2A). Along this reaction coordinate, we proposed a synthetic free energy (which determines the population occupancy) given by For the 2D conformational landscape, we add a new rotation. Starting from each rotated chain A from the 1D case, residues ILE12-LEU442 of chain B were rotated in 2 • steps around the center of mass of residues LEU442-LEU443, in the normal direction to the plane generated by the 1D movement of chain A and the axis of symmetry. This normal motion mode was referred to as CMB 43 . In total, 400 conformations were generated corresponding to 20 × 20 rotations. We proposed a 2D synthetic free energy given by exp(−βG true (u, v)) = exp(−(u−6) 2 /18−(v−6) 2 /10)+exp(−(u−15) 2 /18−(v−15) 2 /10) where u is the CMA motion and v the CMB motion. This density is characterized by two minima localized at models (6,6) and (15,15) separated by a barrier of around 2 k B T . We generated 6800 synthetic images of pixel size 2.2 Åwith uniformly distributed random orientations in SO (3), SNR in log 10 [0.01, 0.1] and defocus in [0.5, 3] µ m. For this case, we defined three paths: CV1 is a good reaction coordinate that passes through the minima and transition state following the function u = v (black dashed line Fig. 4B), CV2 has model u = 10 fixed and v varying (orange dashed line Fig. 4B) and CV3 has u varying and model v = 10 fixed (green dashed line Fig. 4B).

423D ensemble of the hexapeptide VGVAPG. We used the conformational ensemble of the hexapeptide VGVAPG from a long all-atom MD simulation in explicit solvent. GROMACS 62 was used to perform a 230 ns MD simulation. The initial conformation was extracted from the crystal structure of the Ca6 site mutant of Pro-SA-subtilisin 63 with PBD code 3VHQ (residues 171-176) 48 . The peptide was solvated with a cubic water box, centered at the geometric center of the complex with at least 2.0 nm between any two periodic images. The AMBER99SB-ILDN 64 force field and TIP3P water model were used 65 . Minimization was done with the steepest descent algorithm and stopped when the maximum force was ≤ 1000 kJ/mol nm. Periodic boundary conditions were used. We performed a 100 ps equilibration in an NVT ensemble using the velocity rescaling thermostat 66 followed by a 100 ps equilibration in an NPT ensemble using Parrinello-Rahman barostat 67 . The MD production run was performed without restraints, with a time step of 2 fs in an NPT ensemble at 300.15 K and 1 atm. We extracted MD snapshots (or frames) every 40 ps, obtaining 5688 conformations (shown in Supplementary video 1). www.nature.com/scientificreports/ We selected ten conformations to create the path such that the nodes covered the relevant conformational changes of the system. To do so, we use the end-to-end distance of the peptide, i.e., the distance between the nitrogen atom of the N-terminus, and the carboxyl carbon of the C-terminus 48 . The path was created by selecting ten conformations from the MD with equally spaced end-to-end distances between successive nodes of 1.8Å. The path is shown at the bottom of Fig. 5A, and it was used both with the path-CV 36 and cryo-BIFE. The path-CV was calculated using the RMSD between all the MD frames and the ten nodes belonging to the path with parameter = 50 Å -2 [using Eq. (8) of Ref. 36 ]. To calculate the free-energy profile, we computed the value of each CV for all MD conformations, summarized with a histogram (with a number of bins equal to the number of nodes along the path), and then estimated the free energy using the Boltzmann factor and the histogram bin populations.

43From each MD conformation, we generated a synthetic image with pixel size of 0.3 Å and with uniformly distributed random orientations in SO (3), SNR in log 10 [0.01, 0.1] and defocus in [0.1, 1.0] µ m. Using the 5688 synthetic images and the same ten nodes of the path, we performed the cryo-BIFE analysis.

44TMEM16F: experimental cryo-EM data. Cryo-EM particles. The cryo-EM particles of the TMEM16F membrane channel used to generate the calcium bound state 44 from the EMPIAR dataset 45 with code EMPI-AR-10278 were used. See Ref. 44 , for information about the experimental conditions. The images were recorded with a pixel size of 1.059 Å box size of 256 × 256 pixels, with defocus values within the interval [0.5, 2.7] µm . For this work, we randomly selected 15,000 images from this Ca +2 -bound (Digitonin_Ca) set. Note that these images represent the entire set and not only those used for the final reconstruction. Since only 13% of the particles from the EMPIAR-10278 set are used to create the Ca +2 -bound reconstruction 44 , our hypothesis is that not all imaged particles belong to this state. Our aim was to extract a free-energy profile from the Ca +2 -bound to the Ca +2 -unbound states using only the cryo-EM particles from the Ca +2 -added set.

45Steered MD for creating the TMEM16F path. To generate the path, we used steered MD simulations from the Ca +2 -bound to the Ca +2 -unbound state. The simulations were performed as follows. We started from the Ca +2 -bound structure (PDB ID 6p46). Since the structure has atoms missing, we added these using the Swiss model webserver 68 . We note that because some residues have to accommodate to fit the missing residues the full atom structure was not identical to the PDB. Starting from the full atom model of 6p46, we added the membrane using CHARMM-GUI 69 , in a 3:1:1 ratio of 1-palmitoyl-2-oleoyl-sn-glycero-3-phosphocholine (POPC), 1-palmitoyl-2-oleoylsn-glycero-3-phosphoethanolamine (POPE), and 1-palmitoyl-2-oleoyl-sn-glycero-3-phosphol-serine (POPS), respectively. A box size of 16.8076 × 16.8076 × 17.2012 nm was used with periodic boundary conditions and 122923 TIP3P water molecules were inserted. We used the GROMACS program 62 with the CHARMM36M force field 70 . The temperature was controlled in the simulation with the Berendsen thermostat at 300 K, whereas the pressure was controlled with the Berendsen barostat at 1.0 atm 71 . The energy was then minimized using the steepest descent algorithm and stopped when the maximum force was ≤ 1000 kJ/mol nm. We used the leapfrog algorithm to propagate the equations of motion. The long-range electrostatic interactions are calculated using a PME scheme with a 1.2 nm cutoff. We performed two consecutive equilibrations, of 125 ps each, in an NVT ensemble with a time step of 1 fs. Then, we performed two equilibrations in an NPT ensemble, where the first was of 125 ps and time step of 1 fs, and the last was of 1.5 ns, with a time step of 2 fs. For the equilibration in the NPT ensemble, the pressure coupling was of semi-isotropic type. The backbone atoms of the protein were restrained throughout the equilibration runs.

46After the MD equilibration, we performed steered MD simulations 72 using the GROMACS program 62 patched with the PLUMED 2.5 library 73 . The first target structure for the steered MD was the Ca +2 -unbound state (PDB ID 6p47). We used the RMSD of the C α atoms to steer the dynamics between the initial structure and the target structure. The steering harmonic potential had an initial force constant of 5000 and ending at 260,000 kJ/mol/ nm 2 . We noticed that a threshold of 0.2 Å in RMSD to the Ca +2 -unbound reference was reached very quickly, in less than 1 ns (Supplementary Fig. 6). A second steered MD simulation was needed to go from the initial system (all-atom system) to the 6p46 PDB structure. This steered MD used the same parameters mentioned before. We also ran two short (1 ns) unbiased MD simulations starting from each state (i.e., closest conformation to PDB 6p47 and 6p46). These trajectories allowed us to build a path from the Ca +2 -bound to the Ca +2 -unbound states. We used the C α -RMSD to the Ca +2 -bound state to select 19 nodes, where successive nodes are as equidistant as possible (see Fig. 6B). To mimic the detergent in the cryo-EM images, we included a membrane nanodisk surrounding each node. It was taken from the lipids from the MD simulations, centered at the center of mass of the protein and of 50 Åradius. The nanodisk was modeled in a coarse-grained manner, similarly to the SemiSWEET transporter (see Supplementary Text and Supplementary Fig. 4).

Data availability

47The BioEM code is available at https:// github. com/ bio-phys/ BioEM. For the MCMC Python code please contact the corresponding author.

참고문헌 81건

  1. Directly reconstructing principal components of heterogeneous particles from cryo-EM images Journal of Structural Biology · Elsevier BV · 2015 10.1016/j.jsb.2015.05.007
  2. GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers SoftwareX · Elsevier BV · 2015 10.1016/j.softx.2015.06.001
  3. Efficient Estimation of Three-Dimensional Covariance and its Application in the Analysis of Heterogeneous Samples in Cryo-Electron Microscopy Structure · Elsevier BV · 2015 10.1016/j.str.2015.04.004
  4. Covariance Matrix Estimation for the Cryo-EM Heterogeneity Problem arXiv (Cornell University) · Cornell University · 2013
  5. Comparison of simple potential functions for simulating liquid water The Journal of Chemical Physics · American Institute of Physics · 1983 10.1063/1.445869
  6. Finding Transition Pathways Using the String Method with Swarms of Trajectories The Journal of Physical Chemistry B · American Chemical Society · 2008 10.1021/jp0777059
  7. Bayesian analysis of individual electron microscopy images: Towards structures of dynamic and heterogeneous biomolecular assemblies Journal of Structural Biology · Elsevier BV · 2013 10.1016/j.jsb.2013.10.006
  8. Trajectories of the ribosome as a Brownian nanomachine Proceedings of the National Academy of Sciences · National Academy of Sciences · 2014 10.1073/pnas.1419276111
  9. Structural characterization of mRNA-tRNA translocation intermediates Proceedings of the National Academy of Sciences · National Academy of Sciences · 2012 10.1073/pnas.1201288109
  10. Splitting Probabilities as a Test of Reaction Coordinate Choice in Single-Molecule Experiments Physical Review Letters · American Physical Society · 2011 10.1103/physrevlett.107.098102
  11. Nonphysical sampling distributions in Monte Carlo free-energy estimation: Umbrella sampling Journal of Computational Physics · Elsevier BV · 1977 10.1016/0021-9991(77)90121-8
  12. From A to B in free energy space The Journal of Chemical Physics · American Institute of Physics · 2007 10.1063/1.2432340
  13. Do's and Don'ts of Cryo-electron Microscopy: A Primer on Sample Preparation and High Quality Data Collection for Macromolecular 3D Reconstruction Journal of Visualized Experiments · MyJOVE · 2015 10.3791/52311
  14. A Primer to Single-Particle Cryo-Electron Microscopy Cell · Cell Press · 2015 10.1016/j.cell.2015.03.050
  15. Ligand Binding: Molecular Mechanics Calculation of the Streptavidin-Biotin Rupture Force Science · American Association for the Advancement of Science · 1996 10.1126/science.271.5251.997
  16. Image processing for electron microscopy single-particle analysis using XMIPP Nature Protocols · Nature Portfolio · 2008 10.1038/nprot.2008.62
  17. CHARMM‐GUI: A web‐based graphical user interface for CHARMM Journal of Computational Chemistry · Wiley · 2008 10.1002/jcc.20945
  18. Free Energy Surface Reconstruction from Umbrella Samples Using Gaussian Process Regression Journal of Chemical Theory and Computation · American Chemical Society · 2014 10.1021/ct500438v
  19. Molecular dynamics with coupling to an external bath The Journal of Chemical Physics · American Institute of Physics · 1984 10.1063/1.448118
  20. Identifying Conformational States of Macromolecules by Eigen-Analysis of Resampled Cryo-EM Images Structure · Elsevier BV · 2011 10.1016/j.str.2011.10.003
  21. String method in collective variables: Minimum free energy paths and isocommittor surfaces The Journal of Chemical Physics · American Institute of Physics · 2006 10.1063/1.2212942
  22. Canonical sampling through velocity rescaling The Journal of Chemical Physics · American Institute of Physics · 2007 10.1063/1.2408420
  23. Ribosome dynamics and tRNA movement by time-resolved electron cryomicroscopy Nature · Nature Portfolio · 2010 10.1038/nature09206
  24. Polymorphic transitions in single crystals: A new molecular dynamics method Journal of Applied Physics · American Institute of Physics · 1981 10.1063/1.328693
  25. Nudged elastic band method for finding minimum energy paths of transitions 1998 10.1142/9789812839664_0016
  26. From transition paths to transition states and rate coefficients The Journal of Chemical Physics · American Institute of Physics · 2003 10.1063/1.1630572
  27. Cryo-electron microscopy of vitrified specimens Quarterly Reviews of Biophysics · Cambridge University Press · 1988 10.1017/s0033583500004297
  28. RELION: Implementation of a Bayesian approach to cryo-EM structure determination Journal of Structural Biology · Elsevier BV · 2012 10.1016/j.jsb.2012.09.006
  29. Generating Uniform Incremental Grids on <i>SO</i>(3) Using the Hopf Fibration The International Journal of Robotics Research · SAGE Publishing · 2009 10.1177/0278364909352700
  30. PLUMED 2: New feathers for an old bird Computer Physics Communications · Elsevier BV · 2013 10.1016/j.cpc.2013.09.018
  31. Crystal structure of an Hsp90–nucleotide–p23/Sba1 closed chaperone complex Nature · Nature Portfolio · 2006 10.1038/nature04716
  32. Escaping free-energy minima Proceedings of the National Academy of Sciences · National Academy of Sciences · 2002 10.1073/pnas.202427399
  33. Iterative Elastic 3D-to-2D Alignment Method Using Normal Modes for Studying Structural Dynamics of Large Macromolecular Complexes Structure · Elsevier BV · 2014 10.1016/j.str.2014.01.004
  34. Improved side‐chain torsion potentials for the Amber ff99SB protein force field Proteins Structure Function and Bioinformatics · Wiley · 2010 10.1002/prot.22711
  35. Continuous changes in structure mapped by manifold embedding of single-particle data in cryo-EM Methods · Elsevier BV · 2016 10.1016/j.ymeth.2016.02.007
  36. EMPIAR: a public archive for raw electron microscopy image data Nature Methods · Nature Portfolio · 2016 10.1038/nmeth.3806
  37. Requirement of Ca<sup>2+</sup> Ions for the Hyperthermostability of Tk-Subtilisin from <i>Thermococcus kodakarensis</i> Biochemistry · American Chemical Society · 2012 10.1021/bi300427u
  38. Frealign Methods in enzymology on CD-ROM/Methods in enzymology · Academic Press · 2016 10.1016/bs.mie.2016.04.013
  39. BioEM: GPU-accelerated computing of Bayesian inference of electron microscopy images Computer Physics Communications · Elsevier BV · 2016 10.1016/j.cpc.2016.09.014
  40. CHARMM36m: an improved force field for folded and intrinsically disordered proteins Nature Methods · Nature Portfolio · 2016 10.1038/nmeth.4067
  41. Correlative Live Cell and Super Resolution Imaging of Autophagosome Formation Methods in enzymology on CD-ROM/Methods in enzymology · Academic Press · 2016 10.1016/bs.mie.2016.09.050
  42. Computational methods for analyzing conformational variability of macromolecular complexes from cryo-electron microscopy images Current Opinion in Structural Biology · Elsevier BV · 2017 10.1016/j.sbi.2016.12.011
  43. cryoSPARC: algorithms for rapid unsupervised cryo-EM structure determination Nature Methods · Nature Portfolio · 2017 10.1038/nmeth.4169
  44. The HSP90 chaperone machinery Nature Reviews Molecular Cell Biology · Nature Portfolio · 2017 10.1038/nrm.2017.20
  45. Cryo-electron microscopy for structural analysis of dynamic biological macromolecules Biochimica et Biophysica Acta (BBA) - General Subjects · Elsevier BV · 2017 10.1016/j.bbagen.2017.07.020
  46. Simultaneous Determination of Protein Structure and Dynamics Using Cryo-Electron Microscopy Biophysical Journal · Elsevier BV · 2018 10.1016/j.bpj.2018.02.028
  47. Structure and Conformational Dynamics of the Human Spliceosomal Bact Complex Cell · Cell Press · 2018 10.1016/j.cell.2018.01.010
  48. Likelihood-based structural analysis of electron microscopy images Current Opinion in Structural Biology · Elsevier BV · 2018 10.1016/j.sbi.2018.03.004
  49. Automated design of collective variables using supervised machine learning The Journal of Chemical Physics · American Institute of Physics · 2018 10.1063/1.5029972
  50. SWISS-MODEL: homology modelling of protein structures and complexes Nucleic Acids Research · Oxford University Press · 2018 10.1093/nar/gky427
  51. Girsanov reweighting for metadynamics simulations The Journal of Chemical Physics · American Institute of Physics · 2018 10.1063/1.5027728
  52. Bayesian inference of rotor ring stoichiometry from electron microscopy images of archaeal ATP synthase Microscopy · Oxford University Press · 2018 10.1093/jmicro/dfy033
  53. ArviZ a unified library for exploratory analysis of Bayesian models in Python The Journal of Open Source Software · Open Journals · 2019 10.21105/joss.01143
  54. Rank-Normalization, Folding, and Localization: An Improved Rˆ for Assessing Convergence of MCMC (with Discussion) Bayesian Analysis · International Society for Bayesian Analysis · 2020 10.1214/20-ba1221
  55. Hyper-molecules: on the representation and recovery of dynamical structures for applications in flexible macro-molecules in cryo-EM Inverse Problems · IOP Publishing · 2019 10.1088/1361-6420/ab5ede
  56. Cryo-EM Studies of TMEM16F Calcium-Activated Ion Channel Suggest Features Important for Lipid Scrambling Cell Reports · Cell Press · 2019 10.1016/j.celrep.2019.06.023
  57. Structural Variability from Noisy Tomographic Projections SIAM Journal on Imaging Sciences · Society for Industrial and Applied Mathematics · 2018 10.1137/17m1153509
  58. Covariance Matrix Estimation for the Cryo-EM Heterogeneity Problem SIAM Journal on Imaging Sciences · Society for Industrial and Applied Mathematics · 2015 10.1137/130935434
  59. Stability and Convergence of the String Method for Computing Minimum Energy Paths Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2019 10.1137/18m1201032
  60. Simulation of cryo-EM ensembles from atomic models of molecules exhibiting continuous conformations bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2019 10.1101/864116
  61. Energy landscape of domain motion in glutamate dehydrogenase deduced from cryo-electron microscopy. FEBS Journal · Wiley · 2019 10.2210/pdb6jnd/pdb
  62. POLARIS: Path of Least Action Analysis on Energy Landscapes Journal of Chemical Information and Modeling · American Chemical Society · 2020 10.1021/acs.jcim.9b01108
  63. Heightened Cold-Denaturation of Proteins at the Ice–Water Interface Journal of the American Chemical Society · American Chemical Society · 2020 10.1021/jacs.9b13454
  64. Neural-Network-Based Path Collective Variables for Enhanced Sampling of Phase Transformations Physical Review Letters · American Physical Society · 2019 10.1103/physrevlett.123.245701
  65. 3D Variability Analysis: Resolving continuous flexibility and discrete heterogeneity from single particle cryo-EM bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2020 10.1101/2020.04.08.032466
  66. Breaking the next Cryo-EM resolution barrier – Atomic resolution determination of proteins! bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2020 10.1101/2020.05.21.106740
  67. Validation tests for cryo-EM maps using an independent particle set Journal of Structural Biology X · Elsevier BV · 2020 10.1016/j.yjsbx.2020.100032
  68. Retrieving functional pathways of biomolecules from single-particle snapshots Nature Communications · Nature Portfolio · 2020 10.1038/s41467-020-18403-x
  69. Single-particle cryo-EM at atomic resolution Nature · Nature Portfolio · 2020 10.1038/s41586-020-2829-0
  70. Atomic-resolution protein structure determination by cryo-EM Nature · Nature Portfolio · 2020 10.1038/s41586-020-2833-4
  71. Free Energy Surface Reconstruction from Umbrella Samples Using Gaussian Process Regression Journal of Chemical Theory and Computation · American Chemical Society · 2014 10.1021/ct500438v
  72. Rank-Normalization, Folding, and Localization: An Improved Rˆ for Assessing Convergence of MCMC (with Discussion) Bayesian Analysis · International Society for Bayesian Analysis · 2020 10.1214/20-ba1221
  73. Direct Electron Detectors Methods in enzymology on CD-ROM/Methods in enzymology · Academic Press · 2016 10.1016/bs.mie.2016.05.056
  74. Data-guided Multi-Map variables for ensemble refinement of molecular movies The Journal of Chemical Physics · American Institute of Physics · 2020 10.1063/5.0022433
  75. Deep learning-based mixed-dimensional Gaussian mixture model for characterizing variability in cryo-EM Nature Methods · Nature Portfolio · 2021 101038s41592021012205
  76. CryoDRGN: reconstruction of heterogeneous cryo-EM structures using neural networks Nature Methods · Nature Portfolio · 2021 10.1038/s41592-020-01049-4
  77. 3D variability analysis: Resolving continuous flexibility and discrete heterogeneity from single particle cryo-EM Journal of Structural Biology · Elsevier BV · 2021 10.1016/j.jsb.2021.107702
  78. Deep learning-based mixed-dimensional Gaussian mixture model for characterizing variability in cryo-EM Nature Methods · Nature Portfolio · 2021 10.1038/s41592-021-01220-5
  79. Hidden dynamics of ubiquitin-mediated autoregulation of human 26S proteasome during substrate degradation bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2020 10.1101/2020.12.22.423932
  80. Energy landscape of domain motion in glutamate dehydrogenase deduced from cryo‐electron microscopy FEBS Journal · Wiley · 2020 10.1111/febs.15224
  81. Deleted Work 1955