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

CTFFIND5 provides improved insight into quality, tilt, and thickness of TEM samples

간접 관련 화학·수지 · (21) 에폭시수지 (11) 배리어 필름(15) 디스플레이 패널재료(16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Johannes Elferich — Howard Hughes Medical Institute, University of Massachusetts Chan Medical School|||RNA Therapeutics Institute, University of Massachusetts Chan Medical School
  2. Lingli Kong — RNA Therapeutics Institute, University of Massachusetts Chan Medical School
  3. Ximena Zottig — Howard Hughes Medical Institute, University of Massachusetts Chan Medical School|||RNA Therapeutics Institute, University of Massachusetts Chan Medical School
  4. Nikolaus Grigorieff — Howard Hughes Medical Institute, University of Massachusetts Chan Medical School|||RNA Therapeutics Institute, University of Massachusetts Chan Medical School
DOI
10.7554/elife.97227
저널
eLife
발행년도
2024
발행기관
eLife Sciences Publications Ltd
피인용수
24
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.7554/elife.97227
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4396596144

평가 내용

관련도
간접 관련
사업분야
화학·수지 · (21) 에폭시수지
부 분야
(11) 배리어 필름, (15) 디스플레이 패널재료, (16) CPI(투명 폴리이미드)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
transmission electron microscopy, contrast transfer function, sample thickness, tilt estimation, cryo-electron microscopy
판단 근거
본 논문은 투과전자현미경(TEM) 이미지의 왜곡을 보정하고 시료의 두께와 기울기를 정밀하게 측정하는 알고리즘(CTFFIND5)에 관한 연구입니다. 이는 코오롱인더스트리의 고분자 필름, 디스플레이 소재, 에폭시 수지 등의 미세 구조 및 계면 분석을 위한 고해상도 분석 기법으로 응용 가능합니다.
R&D 활용 포인트
고분자 필름(배리어, CPI) 및 전자재료의 나노 구조 분석 시, TEM 이미지의 해상도 복원 및 시료 두께/기울기 보정을 통해 정밀한 물성 분석 및 품질 평가에 활용할 수 있습니다.
평가 입력
본문 68,501자 중 30,032자 발췌

초록

Images taken by transmission electron microscopes are usually affected by lens aberrations and image defocus, among other factors. These distortions can be modeled in reciprocal space using the contrast transfer function (CTF). Accurate estimation and correction of the CTF is essential for restoring the high-resolution signal in cryogenic electron microscopy (cryoEM). Previously, we described the implementation of algorithms for this task in the <i>cis</i>TEM software package (Grant et al., 2018). Here we show that taking sample characteristics, such as thickness and tilt, into account can improve CTF estimation. This is particularly important when imaging cellular samples, where measurement of sample thickness and geometry derived from accurate modeling of the Thon ring pattern helps judging the quality of the sample. This improved CTF estimation has been implemented in CTFFIND5, a new version of the <i>cis</i>TEM program CTFFIND. We evaluated the accuracy of these estimates using images of tilted aquaporin crystals and eukaryotic cells thinned by focused ion beam milling. We estimate that with micrographs of sufficient quality CTFFIND5 can measure sample tilt with an accuracy of 3° and sample thickness with an accuracy of 5 nm.

본문 68,501자

본문 펼치기
*For correspondence: [Johannes.Elferich@umassmed.​](mailto:Johannes.Elferich@umassmed.edu) [edu (JE);](mailto:Johannes.Elferich@umassmed.edu) [niko@grigorieff.org (NG)](mailto:niko@grigorieff.org) Competing interest: See page 14 Funding: See page 14 Sent for Review 26 February 2024 Preprint posted [28 February 2024](https://doi.org/10.1101/2024.02.26.582023) Reviewed preprint posted [01 May 2024](https://doi.org/10.7554/eLife.97227.1) Reviewed preprint revised [06 November 2024](https://doi.org/10.7554/eLife.97227.2) Version of Record published 20 December 2024 Reviewing Editor: Sjors HW Scheres, MRC Laboratory of Molecular Biology, United Kingdom ‍ ‍ <sup>Copyright Elferich</sup> <sup>_et al_</sup> <sup>. This</sup> article is distributed under the [terms of the Creative Commons](http://creativecommons.org/licenses/by/4.0/) [Attribution License, which](http://creativecommons.org/licenses/by/4.0/) permits unrestricted use and redistribution provided that the original author and source are credited. RESEARCH ADVANCE # CTFFIND5 provides improved insight into quality, tilt, and thickness of TEM samples Johannes Elferich <sup>1,2</sup> *, Lingli Kong <sup>1</sup> , Ximena Zottig <sup>1,2</sup> , Nikolaus Grigorieff <sup>1,2</sup> * 1RNA Therapeutics Institute, University of Massachusetts Chan Medical School, Worcester, United States; <sup>2</sup> Howard Hughes Medical Institute, University of Massachusetts Chan Medical School, Worcester, United States eLife Assessment This valuable work presents the latest version of CTFFIND, which is the most popular software for determination of the contrast transfer function (CTF) in cryo-­electron microscopy. CTFFIND5 estimates and considers acquisition geometry and sample thickness, which leads to improved CTF determination. The paper describes compelling evidence that CTFFIND5 finds better CTF parameters than previous methods, in particular for tilted samples (e.g. for cryo-­electron tomography) or where thickness is an issue (e.g. cellular samples, or electron microscopy at low voltages). Abstract Images taken by transmission electron microscopes are usually affected by lens aberrations and image defocus, among other factors. These distortions can be modeled in reciprocal space using the contrast transfer function (CTF). Accurate estimation and correction of the CTF is essential for restoring the high-­resolution signal in cryogenic electron microscopy (cryoEM). Previously, we described the implementation of algorithms for this task in the _cis_ TEM software package (Grant et al., 2018). Here we show that taking sample characteristics, such as thickness and tilt, into account can improve CTF estimation. This is particularly important when imaging cellular samples, where measurement of sample thickness and geometry derived from accurate modeling of the Thon ring pattern helps judging the quality of the sample. This improved CTF estimation has been implemented in CTFFIND5, a new version of the _cis_ TEM program CTFFIND. We evaluated the accuracy of these estimates using images of tilted aquaporin crystals and eukaryotic cells thinned by focused ion beam milling. We estimate that with micrographs of sufficient quality CTFFIND5 can measure sample tilt with an accuracy of 3° and sample thickness with an accuracy of 5 nm. ### Introduction Transmission electron microscopy of biological specimens at cryogenic temperatures (cryoEM) has become a widely used method to image biomolecules at high resolution, both in solution and within the cell. To retrieve the high-­resolution signal, the cryoEM images have to be corrected for the contrast transfer function (CTF) of the microscope. Common parameters used to describe the CTF include an astigmatic defocus, the spherical aberration of the objective lens, and if appropriate, a phase shift introduced by a phase plate. The defocus and phase shift parameters are commonly estimated by fitting the Thon ring pattern ( _Thon, 1971_ ) in the power spectrum of micrographs to a modeled power spectrum. The program CTFFIND4 ( _Rohou and Grigorieff, 2015_ ) has been developed for this task and the model and conventions to describe the CTF are widely adopted in the field. A limitation of CTFFIND4 is that it considers the whole imaged sample to be at the same objective defocus, which is a reasonable assumption for flat and thin samples, as is common in single-­particle cryoEM. However, the increased thickness of cryoEM samples of cells may introduce Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 1 of 16 Research advance  Structural Biology and Molecular Biophysics additional modulations in the Thon ring pattern ( _Tichelaar et al., 2020_ ) that can lead to errors in the CTF modeling when not accounted for. Furthermore, samples of cells are often tilted with respect to the optical axis of the microscope, either unintentionally due to thinning methods such as cryogenic focused ion beam (FIB) milling, or intentionally during electron cryo-­tomography imaging. In both cases the effects are strongest at high resolution, where the Thon rings are more tightly spaced. Here, we describe new features of CTFFIND5 that can fit the modulations of the Thon ring patterns and determine sample thickness and tilt using an extended CTF model with additional parameters. This not only increases the fidelity of the fit, as Thon rings at higher resolution can now be fitted reliably, but also gives valuable insight into the geometry of the sample that can aid the experimentalist. (a) (b) (b) (c) Y φ X 1.00 0.75 0.50 0.25 0.00 12 10 8 6 4 Spatial Resolution ( A) <sup>˚</sup> Figure 1. Tilt estimation and correction in CTFFIND5. (a) Power spectra are calculated in 128×128 pixel patches as indicated on a representative micrograph. The dots represent the locations of the patches and the box indicates patch size. (b) A model of the expected power spectrum in each patch given an average defocus ‍∆ _f_ ‍, tilt angle ‍ _θ_ ‍, and tilt axis ‍ _ϕ_ ‍ is compared to the actual power spectra of tiles. After an optimal set of ‍ _θ_ ‍ and ‍ _ϕ_ ‍ has been found a corrected power spectrum is calculated by summing the tile power spectra, scaled to correct for the defocus difference. Power spectra shown are an exaggerated example. The convention of ‍ _ϕ_ ‍ as a counterclockwise rotation from the _x_ -­axis is indicated. (c) Comparison of the original power spectrum (EPA, solid line, blue) to the tilt-­corrected power spectrum (solid line, black). The tilt-­corrected power spectrum exhibits clear peaks at higher spatial resolution than the uncorrected power spectrum, as evident by the 'goodness-­of-­fit' scores (dashed lines). The estimated contrast transfer function (CTF) parameters are ‍∆ _f_ 1 = 10603Å, ∆ _f_ 2 = 10193Å, _α_ = 85.9 <sup>_◦_</sup> ‍ for the uncorrected power spectrum and ‍∆ _f_ 1 = 10492Å, ∆ _f_ 2 = 10342Å, _α_ = 81.2 <sup>_◦_</sup>, _θ_ = 12.3 <sup>_◦_</sup>, _ϕ_ = 261.6 <sup>_◦_</sup> ‍ for the tilt-­ corrected power spectrum. The fit resolution is 5.9 Å for the uncorrected power spectrum (dashed line, blue) and 4.6 Å for the tilt-­corrected spectrum (dashed line, black). Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 2 of 16 Research advance  Structural Biology and Molecular Biophysics ### Methods Tilt estimation algorithm Tilt estimation in CTFFIND5 follows a strategy that is similar to the implementation in CTFTILT ( _Mindell_ _and Grigorieff, 2003_ ). The tilt axis direction ‍ _ϕ_ ‍ and tilt angle ‍ _θ_ ‍ are determined by fitting Thon ring patterns locally, calculated from 128×128 pixel tiles that form a regular grid covering the micrograph ( _Figure 1a_ ). In this model, ‍ _ϕ_ ‍ has a positive value ranging from 0° to 360° and describes the angle of the tilt axis to the _x_ -­axis of the micrograph in the counterclockwise direction. The tilt angle ‍ _θ_ ‍ has positive values ranging from 0° to 90° and describes the rotation of the sample around the tilt axis in a counterclockwise direction. It is assumed that the defocus variation across the sample can be described by a tilted plane. Fits are evaluated using correlation coefficients between modeled CTFs and Thon ring patterns. Initially, the micrograph pixel size is adjusted (binned) by Fourier cropping to match the resolution limit of the fit set by the user and the micrograph is cropped to be square in order to speed up computation. A power spectrum is calculated from this binned and cropped image, a smooth background is calculated using a box convolution ( _Mindell and Grigorieff, 2003_ ) and subtracted, the power spectrum is further binned to the tile size (128×128 pixels), and the fit of the tilted Thon ring patterns across the micrograph is initialized by fitting this highly binned power spectrum with a non-­astigmatic CTF. This fit is then refined using a two-­dimensional CTF with astigmatism. Rough values for the tilt axis and angle are then determined in a systematic search in 10° and 5° ## (a) (b) 50 25 0 100 0 10 0 - 10 6.0 4.0 40 20 <u>−</u> <u>60</u> <u>−</u> <u>40</u> <u>−</u> <u>20</u> 0 20 40 Nominal stage tilt angle (°) <u>−</u> <u>40</u> <u>−</u> <u>20</u> 0 20 40 Nominal stage tilt angle (°) 50 25 0 200 100 0 10 0 - 10 7.0 6.0 40 20 Figure 2. Validation of tilt estimation using tilt series data and comparison of defocus estimation using CTFFIND4 and CTFFIND5. (a) Estimated tilt angle and axis of 40 micrographs of a tilt series taken on a focused ion beam (FIB)-­milled biological specimen. For each image the tilt angle (dots, top plot) and tilt axis direction (crosses, second plot) are plotted as a function of the nominal stage angle. The data were fitted to a model of the specimen tilt and constant stage tilt axis before tilting the stage (red dashed line in first and second plot). The estimated stage tilt axis has an angle of 178.2° and the estimated specimen pre-­tilt is 20.6° with a tilt axis of 171.8°, which is consistent with the FIB-­milling angle of 20° and manual alignment of the milling direction to the goniometer tilt axis. The third plot shows the fit residuals for tilt angle and axis are plotted. The fourth and fifth plots show a plot of the estimated defocus value and fit resolution for each tilt image, as derived from CTFFIND4 (red) or CTFFIND5 (black). (b) Data for another tilt series plotted as described for (a). The estimated stage tilt axis is 179.8°, the estimated specimen pre-­tilt is –21.9° with a tilt axis of 183.8°. This is consistent with this grid being inserted in the opposite orientation as the grid shown in (a), but still with a rough alignment of milling direction and tilt axis. Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 3 of 16 Research advance  Structural Biology and Molecular Biophysics steps, respectively, using the locally fitted Thon ring patterns to score each pair of tilt axis and angle, followed by local refinement of tilt axis, angle, and average defocus. Finally, an average tilt-­corrected power spectrum at a tile size requested by the user (usually 512×512 pixels) is calculated for diagnostic purposes and for further refinement of CTF parameters. The tilt correction is designed to remove most of the Thon ring blurring due to the defocus variation across the image. To minimize ring blurring, the power spectrum from each tile is adjusted according to its local average defocus, ‍∆ _faverage_ ‍, by magnifying it by a factor ‍ _m_ ‍ with ‍ _m_ = √ ∆ _<u>flocal</u>_ <u>/∆</u> _<u>faverage</u>_ ‍ (1) Since ‍∆ _flocal_ ‍ will assume values across the image that are both smaller and larger than ‍∆ _faverage_ ‍, ‍ _m_ ‍ will assume values smaller and larger than 1. The magnification/demagnification of the power spectrum compensates for the contraction/expansion of the Thon rings due to the local defocus change and produces approximately constant Thon ring patterns that can be averaged without losing the pattern ( _Figure 1b_ ). The compensation will have a small error if the spherical aberration is not zero. However, this error is sufficiently small to not visibly affect the Thon rings in the average ( _Figure 2_ ). Verification of tilt estimation using tilted aquaporin crystals To test the robustness and accuracy of the new fitting algorithm, the defocus and sample tilts of aquaporin 2D crystals ( _Murata et al., 2000_ ) were estimated using a search range from 5000 Å to 50000 Å and a 100 Å step, low- and high-­resolution limits of 30 Å to 5 Å, respectively, and a box size for the final power spectrum of 512 pixels. The estimated tilt angle ‍ _θ_ ‍ and axis direction ‍ _ϕ_ ‍ were compared with the values obtained by 2D crystallographic processing ( _Mindell and Grigorieff, 2003_ ). Verification of tilt estimation using tilt series Lamellae prepared from ER-­HoxB8 cells were imaged using a Titan Krios 300 keV TEM controlled by SerialEM ( _Mastronarde, 2005_ ). For each dataset, an initial exposure was taken with a magnification of 64,000, resulting in a pixel size of 1.6 Å and an exposure of 30 e <sup>-</sup> /Å <sup>2</sup> . This was followed by the acquisition of a tilt series at a magnification of 48,000, resulting in a pixel size of 2.087 Å. A total of 35 tilt images at a tilt interval of 3° were collected from –51° to 51°, relative to the milling angle, using a grouped dose-­symmetric scheme ( _Hagen et al., 2017_ ). The exposure per tilt was 3 e <sup>-</sup> /Å <sup>2</sup>, resulting in a total exposure of 105 e <sup>-</sup> /Å <sup>2</sup> . Lamellae prepared by FIB milling usually exhibit a pre-­tilt with respect to the grid surface due to the stage tilt in the FIB instrument. In the microscope, the direction of this pre-­tilt will generally not line up with the goniometer tilt axis. For the alignment of a tomogram recorded from such a lamella, the relative orientation of these two axes will have to be determined, together with the precise amount of pre-­tilt. We wrote a new _cis_ TEM ( _Grant et al., 2018_ ) program, called fit_tilt_model, to read the tilt angles and axes determined for each image in a tomographic tilt series and fit them to a model incorporating a pre-­tilt and a single tomographic tilt axis. Using a rotation matrix ‍ _R_ 0‍ to represent the pre-­tilt and rotation matrices ‍ _R_ <sup>_i_</sup> _tom_ ‍ to represent the tomographic tilt angles and axis read from the microscope, the overall sample orientations are given by ‍ (2) _R_ <sup>_i_</sup> = _R_ <sup>_i_</sup> _tom × R_ 0‍ ‍ <sup>_R_</sup> 0‍ <sup>and</sup> ‍ <sup>_Ri_</sup> _tom_ ‍ <sup>are calculated from the tilt angles ‍</sup> <sup>_θ_</sup> <sup>‍ and axes</sup> ‍ <sup>_ϕ_</sup> ‍ <sup>as</sup>  (3) sin )2 cos 1 _−_ cos )2 cos ( 1 _−_ cos ( _θ_ ) _θ_ ) ( ) _θ_ ) ) ( ( ) ( ( ( ( _ϕ_ _ϕ_ ( ( ( ( ( ) ( _θ_ )) ) ) ) ( )2sin cos ) ( ) ) sin sin _θ_ )) sin _ϕ_ sin ) ( ) ( cos cos _ϕ_ _θ_ ( )2sin + sin _ϕ_ ) ( ) ) _ϕ_ ( ( ) ( _θ_ ( ) ( ) ( _ϕ_ cos cos cos ( ( ( _θ_ )) ( _−_ cos )2 cos _θ_ ( cos _θ_   ‍  ‍ _R_ = _ϕ_ ( ( ) ) 1 _−_ cos + sin _ϕ_ ( ( + sin _ϕ_ _ϕ_ ) sin( sin _θ_ ) sin( _θ_ _ϕ_ _ϕ_ _ϕ_ ( ( ( ( ) ( ) sin _θ_ _θ_ ‍   _−_ sin _ϕ_ Using the tilt information obtained with CTFFIND5, we now have a set of rotation matrices ‍ _R_ <sup>_i_</sup> ‍, and together with the rotation matrices read from the microscope, ‍ _R_ <sup>_i_</sup> _tom_ ‍, we can calculate a set of pre-­tilt estimates ‍ _R_ <sup>_i_</sup> 0‍ <sup>from</sup> <sup>_Equation 2_</sup> <sup>. To determine the best overall pre-­tilt</sup> ‍ <sup>_R_</sup> <sup>0</sup> ‍ <sup>, we determine the plane-­</sup> estimates ‍ _R_ <sup>_i_</sup> 0‍ <sup>from</sup> <sup>_Equation 2_</sup> <sup>. To determine the best overall pre-­tilt</sup> ‍ <sup>_R_</sup> <sup>0</sup> ‍ <sup>, we determine the plane-­</sup> normal vectors ‍ _V_ <sup>_i_</sup> _norm_ = _x_, _y_, _z_ ‍ <sup>of the sample by applying</sup> ‍ <sup>_Ri_</sup> 0‍ <sup>to the vector</sup> ‍0, 0, 1 ‍ <sup>(</sup> <sup>_z_</sup> <sup>-­coordinate</sup> <u>[</u> <u>]</u> _T_ <u>[</u> <u>]</u> _T_ <u>[</u> <u>]</u> _T_ ‍ <sup>_R_</sup> <sup>0</sup> ‍ <sup>_i_</sup> 0‍ <sup>to the vector</sup> ‍ <sup>_mean_</sup> _norm_ <sup>=</sup> _xo_, _y_ 0, _z_ 0 <u>[</u> <u>[</u> <u>]</u> _T_ _xo_, _y_ 0, _z_ 0 _x_, _y_, _z_ ‍ <sup>of the sample by applying</sup> ‍ <sup>_Ri_</sup> 0 <u>[</u> <u>]</u> _T_ ‍ <sup>(</sup> <sup>_z_</sup> <sup>-­coordinate</sup> along the beam direction), followed by calculating their mean ‍ _V_ <sup>_mean_</sup> _norm_ <sup>=</sup> <u>[</u> ‍0, 0, 1 ‍ <u>]</u> _T_ _T_ along the beam direction), followed by calculating their mean ‍ _V_ <sup>_mean_</sup> _norm_ <sup>=</sup> _xo_, _y_ 0, _z_ 0 ‍ <sup>as the normal vector</sup> of the best overall pre-­tilt estimate. By calculating the root mean squared deviation of the normal <u>[</u> <u>]</u> _T_ Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 4 of 16 Research advance  Structural Biology and Molecular Biophysics vectors ‍ _V_ <sup>_i_</sup> _norm_ ‍, outliers can be identified and excluded to further refine ‍ _Vnorm_ <sup>_mean_</sup> ‍ <sup>. The pre-­tilt can then be</sup> determined as: <u>)</u> _θ_ 0 = _ϕ_ 0 =          _z_ 0 _y_ 0 _̸_ = 0, _ϕ_ 0 _∈_     ) _z_ cos <sup>_−_</sup> <sup>1 (</sup> _−_ cos <sup>_−_</sup> <sup>1</sup> cos <sup>_−_</sup> <sup>1 (</sup> <u>)</u> _z_ _−_ tancos <sup>_−_</sup> <sup>1</sup> <sup>_−_</sup> <sup>1 (</sup> _−_ ( _̸_ 90 <sup>_◦_</sup> _y_ 0 = 0 ‍ <u>)</u> _z_ _z_ 0 _x_ 0 _≥_ 0 _x_ 0 < 0 (4) tan <sup>_−_</sup> <sup>1</sup> <sup>1</sup> ( <sup>(</sup> _−_ <sup>_<u>x</u>_</sup> _<u>y</u>_ <sup><u>0</u></sup> 0 _<u>y</u>_ 0 [ 0 <sup>_◦_</sup>, 180 <sup>_◦_</sup> <sup>]</sup> ‍ To generate more reliable defocus and tilt estimates, the defocus search range and resolution fitting range can be adjusted according to the experimental tilt range and image quality. For our cryoEM samples, the low- and high-­resolution limits were set to 50 Å to 10 Å, respectively, and the defocus search interval was set to be between ±10,000 and ±20,000 Å from the nominal defocus set during data collection. Sample thickness estimation In CTFFIND5 we implemented a new ‍ _CTFt_ ‍ model function, based on the ‍ _CTF_ ‍ function implemented in CTFFIND4 ( _Rohou and Grigorieff, 2015_ ) and extended by the formula described by _McMullan_ _et al., 2015_ : 1 _−_ sinc ( ) = <sup><u>1</u></sup> <u>2</u> <sup><u>1</u></sup> <u>2</u> ( )) _CTFt_ ‍ ( _λ_, g, ∆ _f_, _Cs_, ∆ _φ_, _ω_ 2, _t_ cos ( 2 _χ_ ( _λ_, ��g��, ∆ _λf_, _Cs_, ∆ _φ_, _ω_ 2))) (5) ‍ _ξ_ ( _λ_, g, _t_ where ‍ _χ_ ‍ denotes the phase shift as a function of the electron wavelength ‍ _λ_ ‍, the spatial frequency vector ‍ ��g��‍, the objective defocus ‍∆ _f_ ‍, the spherical aberration ‍ _Cs_ ‍, the additional phase shift ‍∆ _φ_ ‍, and the where ‍ _χ_ ‍ denotes the phase shift as a function of the electron wavelength ‍ _λ_ ‍, the spatial frequency vector ‍ fraction of amplitude contrast ‍ _ω_ 2‍. The modulation of the CTF due to sample thickness ‍ _t_ ‍ is described by the function ‍��g��‍, the objective defocus ‍sinc _ξ_ ‍ <sup>with ‍</sup> <sup>_ξ_</sup> <sup>‍ defined as:</sup> ∆ _f_ ‍, the spherical aberration ‍ _Cs_ ‍, the additional phase shift ‍∆ _φ_ ‍, and the ( ) ( ( _ξ_ ) ‍ <sup>with ‍</sup> <sup>_ξ_</sup> <sup>‍ defined as:</sup> ) = _πλ_ g <sup>2</sup> _t_ ‍ (6) ‍ _ξ_ _λ_, g, _t_ This sinc modulation envelope ( _Figure 3a_ ) attenuates the amplitude of the Thon rings with increasing spatial frequencies and produces nodes where the apparent amplitude is zero ( _Tichelaar_ _et al., 2020_ ). After the first node the Thon rings appear 'inverted' compared to the CTFFIND4 CTF model, with maxima in the Thon rings appearing where the CTF model is 0. This causes the quality of fit indicator to rapidly decrease at the first node in CTFFIND4. The location of the first node is marked with a # in _Figure 3a_ . If a user requests sample thickness estimation, the program will first fit the ‍ _CTF_ ‍ model function as implemented in CTFFIND4. If the user also requested tilt estimation the tilt-­corrected power spectrum will be used for all subsequent steps. Initially, the 'goodness-­of-­fit' resolution ‍ _gGoF_ ‍ will be used as an estimate for the frequency of the first node of the ‍ _CTFt_ ‍ function, which occurs when the sinc term in _Equation 5_ becomes 0 for the first time at ‍ _ξ_ = _π_ ‍ . By setting ‍ _ξ_ = _π_ ‍ in _Equation 6_, we can obtain an estimate of the sample thickness ‍ _t_ ‍, from ‍ _gGoF_ ‍: ‍ <u>1</u> _t_ = _λg_ <sup><u>2</u></sup> _GoF_ ‍ (7) If the option 'Brute-­force 1D fit' is selected, CTFFIND5 will further refine ‍ _t_ ‍ and ‍∆ _f_ ‍ by calculating the normalized cross-­correlation between the radial average of the power spectrum, corrected for astigmatism by equiphase averaging (EPA) as described in _Zhang, 2016_, and ‍ _CTFt_ ‍, searching systematically for the best combination of ‍ _t_ ‍ in the range of 50–400 nm in 10 nm steps, and ‍∆ _f_ ‍ in the range of ±200 nm from the previously fitted value, also in 10 nm steps. Finally, if the option '2D-­refinement' is selected, CTFFIND5 will optimize ‍ _t_ ‍, ‍∆ _f_ 1‍, ‍∆ _f_ 2‍, and ‍ _ω_ ‍ using the same conjugate gradient algorithm used in CTFFIND4 and the normalized cross-­correlation between <sup>_CTF_</sup> ‍ _t_ ‍ <sup>and the 2D power spectrum as a scoring function.</sup> After the optimal values for ‍ _t_ ‍ and ‍∆ _f_ ‍ have been obtained the 'goodness-­of-­fit' cross-­correlation is recalculated using ‍ _CTFt_ ‍, with a frequency window that is 1.5 times larger than in CTFFIND4 to avoid the drop-­off in the node regions of ‍ _CTFt_ ‍. For visualization, the astigmatism-­corrected 1D power Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 5 of 16 Research advance  Structural Biology and Molecular Biophysics (a) (b) (c) (d) 1 0 0 5 0 0 1 0 0 5 0 0 1.0 0.5 0.0 1.0 0.5 0.0 1.0 0.5 0.0 1.0 0.5 0.0 1 0 0 5 0 0 1 0 0 5 0 0 12 10 8 6 4 3 Spatial Resolution ( A) <sup>˚</sup> 12 10 8 6 4 3 Spatial Resolution ( A) <sup>˚</sup> 12 10 8 6 4 3 Spatial Resolution ( A) <sup>˚</sup> CTF Modulation function 1 # # 0 12 10 8 6 4 Spatial Resolution ( A) <sup>˚</sup> 12 10 8 6 4 Spatial Resolution ( A) <sup>˚</sup> 1 Figure 3. Sample thickness estimation by fitting Thon ring patterns. (a) Comparison of the contrast transfer function (CTF) model used in CTFFIND4, and after applying the modulation function (right) described by _McMullan et al., 2015_ . A star symbol (*) denotes the position of the first zero in the CTF and a pound symbol (#) denotes the position of the first node. (b–d) Representative examples of Thon ring fitting in micrographs _Figure 3 continued on next page_ Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 6 of 16 Research advance  Structural Biology and Molecular Biophysics _Figure 3 continued_ without (top-­left graph) and with (bottom-­left graph) thickness estimation. The micrograph is shown to the right. Each graph shows that equiphase averaging (EPA) of the power spectrum in solid black lines, the fitted CTF model in dashed red lines, and the goodness of fit indicator as a dotted blue lines. (b) Thon ring fitting of a micrograph taken from a focused ion beam (FIB) milling-­derived lamella. The tilt of the specimen was estimated to be 12.3°. When fitting without thickness estimation the estimated parameters were ‍ <sup>∆</sup> <sup>_f_</sup> 1 <sup>= 10492Å, ∆</sup> <sup>_f_</sup> 2 <sup>= 10342Å,</sup> <sup>_α_</sup> <sup>= 81.2</sup> <sup>_◦_</sup> ‍ <sup>. When taking sample thickness into account the estimated parameters</sup> were ‍∆ _f_ 1 = 10481Å, ∆ _f_ 2 = 10286Å, _α_ = 69.6 <sup>_◦_</sup>, _t_ = 969Å‍. The estimated fit resolution was ‍4.6Å‍ and ‍3.4Å‍ without and with sample thickness estimation, respectively. (c) Thon ring fitting of a micrograph taken from a FIB milling-­ derived lamella. The tilt of the specimen was estimated to be 6.7°. When fitting without thickness estimation the estimated parameters were ‍∆ _f_ 1 = 8002Å, ∆ _f_ 2 = 7717Å, _α_ = 73.4 <sup>_◦_</sup> ‍. When taking sample thickness into account the estimated parameters were ‍∆ _f_ 1 = 8549Å, ∆ _f_ 2 = 8343Å, _α_ = 63.3 <sup>_◦_</sup>, _t_ = 2017Å‍. The estimated fit resolution was ‍4.3Å‍ and ‍4.2Å‍ without and with sample thickness estimation, respectively. (d) Thon ring fitting of a micrograph taken from plunge frozen rotavirus double-­layered particles ( _Grant and Grigorieff, 2015_ ). When fitting without thickness estimation the estimated parameters were ‍∆ _f_ 1 = 7027Å, ∆ _f_ 2 = 6808Å, _α_ = _−_ 20.3 <sup>_◦_</sup> ‍. When taking sample thickness into account the estimated parameters were ‍∆ _f_ 1 = 7027Å, ∆ _f_ 2 = 6808Å, _α_ = _−_ 22.9 <sup>_◦_</sup>, _t_ = 850Å‍. The estimated fit resolution was ‍4.2Å‍ and ‍3.2Å‍ without and with sample thickness estimation, respectively. spectrum is displayed as oscillating around 0.5, as opposed to the default procedure in CTFFIND4, where the minima are scaled to 0. This is done to allow a better visual comparison to the ‍ _CTFt_ ‍ model. Verification of sample thickness estimation using the Beer-Lambert law We used 655 micrographs collected from one lamella of ER-­HoxB8 cells (dataset Lamella ‍ _EUC_ 1‍ from _<u>I</u>_ _Elferich et al., 2022_ ). For each micrograph we calculated ‍ _ln_ _~~I~~_ 0 ‍ <sup>, where ‍</sup> <sup>_I_</sup> <sup>‍ was the sum of all pixels in</sup> the illuminated area of the movie and ‍ _I_ 0‍ was the average of this sum for 45 micrographs collected over ( ) vacuum with the same energy filter settings. This value is expected to have a linear relationship with the thickness of the sample consistent with the Beer-­Lambert law ( _Rice et al., 2018_ ; _Yan et al., 2015_ ): ( _<u>I</u>_ _~~I~~_ 0 ) ‍ <sup>, where ‍</sup> <sup>_I_</sup> <sup>‍ was the sum of all pixels in</sup> ) ‍ _<u>I</u>_ 0 ( _<u>I</u>_ = <sup><u>1</u></sup> _κ_ <sup>_t_</sup> ‍ _ln_ (8) where ‍ _κ_ ‍ is the apparent mean free path for inelastic scattering. We then used CTFFIND5 to estimate the thickness ‍ _t_ ‍ of each micrograph using the 'Brute-­force 1D fit' and '2D-­refinement' setting, low- and high-­resolution limits set to 30 Å and 5 Å, defocus search range set between 500 nm and 5000 nm, and low- and high-­resolution limits for thickness 1.0 0.8 0.6 0.4 0.2 0.0 κ = 316.63 Occluded beam Low image signal Carbon/Platinum Lipid droplet 0 100 200 300 400 Thickness by Node [nm] Figure 4. Validation of sample thickness estimation in CTFFIND5 by comparing the estimates to the intensity attenuation by the zero-­loss energy filter. An estimation of the linear relationship using the RANSAC algorithm results in a slope of 1/316.6 nm and an _x_ -­axis intercept at –14 nm (red dashed line). Data points that were labeled as outliers by the RANSAC algorithm were manually inspected and color-­coded according to visual inspection of the micrographs. Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 7 of 16 Research advance  Structural Biology and Molecular Biophysics estimation set to 10 Å and 3 Å. We used a 'RANSAC' algorithm as implemented by the scikit-­learn _<u>I</u>_ Python package ( _Pedregosa et al., 2011_ ) to fit a linear model to the relationship of ‍ _ln_ _~~I~~_ 0 ‍ <sup>and ‍</sup> <sup>_t_</sup> <sup>‍,</sup> while rejecting outliers. We then manually inspected every outlier of the model fit and categorized ( ) the reason for the discrepancy into 'occluded beam' (either from contamination or the edges of the lamella), 'low image signal' (in most cases exposures containing no cellular features), 'carbon/platinum', and 'lipid droplet' (see _Figure 4_ ). ( _<u>I</u>_ _~~I~~_ 0 ) ‍ <sup>and ‍</sup> <sup>_t_</sup> <sup>‍,</sup> Verification of sample thickness estimation using tomography The same tilts series described in the section 'Verification of tilt estimation using tilt series' were used here. For tomographic reconstruction, tilt movie frame motion correction was performed using SerialEM ( _Mastronarde, 2005_ ), and tilt series were aligned using the IMOD software package (version 4.11, _Mastronarde and Held, 2017_ ). For coarse alignment, a high-­frequency cutoff radius of 0.15 was used. A fiducial model was generated using patch tracking with patches of 450×450 pixels and a fractional overlap of patches of 0.33×0.33. High-­tilt frames were omitted while generating the fiducial model. Robust fitting with a tuning factor of 1 was used for fine alignment. After computing the alignment, the fiducial model was edited by removing unreliable patches, and then alignments were re-­computed. The edited models with the lowest residual mean errors and standard deviations were used for fine alignment. Tomogram positioning was used to correct the tilt angle offset. Fully aligned stacks were generated with a binning factor of 4, resulting in a tomogram pixel size of 8.3 Å. Tomograms were reconstructed using the SIRT-­like filtering option in IMOD ( _Mastronarde, 1997_ ; _Mastro-_ _narde and Held, 2017_ ) and manually inspected. The tomograms were back-­projected along the _y_ -­axis using a homemade script, generating a small set of _XZ_ projections. Thickness measurements on the projected central slices were performed using the display program included with the _cis_ TEM software package ( _Grant et al., 2018_ ). CTF correction of medium-magnification lamella images The CTF of the representative medium-­magnification image with a pixel size of 40 Å was estimated using CTFFIND5 with the following parameters: defocus range: 1,000,000–4,000,000 Å; search step 50,000 Å; low- and high-­resolution limits: 400 Å and 80 Å. We then used the program apply_ctf, included with _cis_ TEM, to flip the phases according to the estimated CTF. We furthermore implemented the Wiener-­like filter described in _Tegunov and Cramer, 2019_, in apply_ctf to produce the image shown in Figure 6d. Benchmarking CTFFIND5 runtimes CTFFIND5 runtimes were measured using three representative micrographs (Table 2). As a baseline measurement, CTFFIND5 was run without estimation of tilt and sample thickness enabled. Then runtime was measured enabling either one of these options or both. Every test was repeated four times and the average and standard deviation of the last three runs are reported, to minimize the contribution of hard-­drive speed. The tests were performed on a single core of an Intel Core i9-­12900KF CPU. ### Results Tilt estimation We tested the tilt correction for the Thon rings on a representative micrograph taken from a cryo-­FIB-­ milled lamella. As expected, the correction results in the observation of Thon rings at higher spatial resolution ( _Figure 1c_ ). In this example, correcting for the estimated moderate tilt of 12.3° improved the highest resolution at which a reasonable fit could be obtained from 5.9 Å to 4.6 Å. The power spectrum also appears less noisy, which can be attributed to some low-­pass filtering that occurs with the interpolation of the Thon ring patterns of individual tiles to perform the tilt correction. To test the performance of the new CTFFIND5 sample tilt estimation, we used a dataset of images of tilted aquaporin crystals that were also used to benchmark the original CTFTILT implementation ( _Mindell and Grigorieff, 2003_ ; _Murata et al., 2000_ ). _Table 1_ compares the tilt information of the samples obtained from crystallographic analysis and the estimates obtained using CTFFIND5. Overall, the results of CTFFIND5 agree well with the aquaporin crystals information. The average discrepancy was 1.9° for the tilt axis direction and 1.5° for the tilt angle. Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 8 of 16 Research advance  Structural Biology and Molecular Biophysics <u>Table 1.</u> <u>Comparison of CTFFIND5 estimation of sample tilt with crystallographic analysis.</u> Image Axis angle _<u>φ</u>_ Tilt angle _<u>θ</u>_ Crystallog. CTFFIND5 ∆ _<u>φ</u>_ Crystallog. CTFFIND5 ∆ _<u>θ</u>_ 530394 93.28 94.98 –1.7 19.6 20.69 –1.09 <u>530419</u> <u>109.78</u> <u>106.51</u> <u>3.27</u> <u>18.66</u> <u>16.04</u> <u>2.62</u> 530430 104.38 101.13 3.25 21.32 20.37 0.95 530444 98.39 97.62 0.77 20.72 20.88 –0.16 660027 99.68 102.34 –2.66 19.4 22.39 –2.99 <u>540149</u> <u>94.45</u> <u>85.84</u> <u>8.61</u> <u>43.08</u> <u>44.59</u> <u>–1.51</u> 540291 96.16 98.1 –1.94 45.11 40.68 4.43 540302 93.98 93.39 0.59 44.7 44.21 0.49 540313 95.34 95.13 0.21 44.03 46.49 –2.46 <u>660183</u> <u>97.69</u> <u>97.27</u> <u>0.42</u> <u>48.13</u> <u>48.99</u> <u>–0.86</u> 550069 90.08 92.55 –2.47 60.46 60.83 –0.37 <u>550089</u> <u>91.48</u> <u>92.04</u> <u>–0.56</u> <u>60.5</u> <u>60.72</u> <u>–0.22</u> <u>660291</u> <u>93.23</u> <u>92.19</u> <u>1.04</u> <u>57.59</u> <u>59.19</u> <u>–1.60</u> <u>660421</u> <u>89.32</u> <u>89.06</u> <u>0.26</u> <u>61.36</u> <u>60.01</u> <u>1.35</u> <u>680341</u> <u>89.67</u> <u>90.02</u> <u>–0.35</u> <u>58.68</u> <u>59.62</u> <u>–0.94</u> <u>530345</u> <u>N/A</u> <u>108.6</u> <u>0</u> <u>0.84</u> <u>–0.84</u> <u>530356</u> <u>N/A</u> <u>231.17</u> <u>0</u> <u>1.93</u> <u>–1.93</u> <u>530358</u> <u>N/A</u> <u>56.58</u> <u>0</u> <u>1.29</u> <u>–1.29</u> <u>530375</u> <u>N/A</u> <u>3.21</u> <u>0</u> <u>0.79</u> <u>–0.79</u> 530378 N/A 67.6 0 2.17 –2.17 To test whether CTFFIND5 would be able to correctly assign tilt axis and angle for tilt series data, we analyzed two tilt series from different grids of lamellae prepared by cryo-­FIB milling from mouse neutrophil-­like cells ( _Elferich et al., 2022_ ). We then plotted the estimated values for tilt axis and angle as a function of nominal stage tilt ( _Figure 2_ ). The estimated tilt angle shows a roughly linear relationship with the nominal stage tilt, but since CTFFIND5 reports only positive tilt angles the overall plot has a V-­shape. The estimated tilt axis angle is approximately constant at high tilts but changes by about 180° at 0° estimated tilt, again due to the convention enforced by CTFFIND5. Notably, in both examples there is an offset of about 20° between nominal and estimated tilts, which is due to the pre-­tilt of the specimen caused by FIB milling at a shallow angle. To quantify and delineate both the tilt axis direction of the microscope and the pre-­tilt of the specimen we fit all values to a model as described in Methods ( _Figure 2_ ). The fitting resulted in an estimated tilt axis angle of 178.2° and 179.8°, respectively, which is consistent with the SerialEM calibration of 178.4° and 176.3° for the stage tilt axis. The estimated pre-­tilt values were 20.6 °and –21.9°, consistent with a FIB-­milling angle of 20° and opposite orientation of the grids relative to the milling direction. The pre-­tilt axis angles were estimated as 171.8° and 183.8°, which is consistent with the error expected from manually aligning the milling direction when inserting grids into the microscope. To estimate the accuracy of the tilt estimation in tilt series, we calculated the mean absolute difference between the tilt and axis-­angle estimates and the fitted model, excluding the axis-­angle estimates at tilt angles under 5°. For the first tilt series we obtained accuracy estimates of 2.08° and 2.58° for tilt and axis angles, respectively. In the second tilt series the accuracy estimates were 3.95° and 9.47°. In both cases the accuracy was lower than for the tilted aquaporin crystals, presumably due to the relatively short exposure of each micrograph in the tilt series. However, the substantially higher Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 9 of 16 Research advance  Structural Biology and Molecular Biophysics mean differences in the second tilt series suggest that the accuracy is highly dependent on the quality of the underlying data. Sample thickness estimation Even after correcting for sample tilt we found that for FIB-­milled samples we often could observe Thon ring-­like modulation in the power spectrum at higher resolution than suggested by the goodness-­of-­fit estimate ( _Figure 3b_, top plot). These modulations are out of phase with the predicted modulations, as described by _McMullan et al., 2015_, and _Tichelaar et al., 2020_ . We therefore implemented an extension of the CTF model as described by _McMullan et al., 2015_ ; _Figure 3a_ . For some images we found that the thickness could be well estimated by assuming that the goodness-­of-­fit resolution estimate obtained using the old model implemented in CTFFIND4 corresponds to the first node in the modulation function, according to _Equation 7_ . With our new model, estimated CTF parameters were very similar to those from CTFFIND4, but the fit in CTFFIND5 extended to higher resolution ( _Figure 3b_ ). In other images, mostly with defocus values under 1 µm and with a sample thickness over 200 nm, CTFFIND4 could fit the power spectrum before and after the first node using the old CTF model, with some deviations between the fit and the power spectrum ( _Figure 3c_ ). Fitting the power spectrum with the new model in CTFFIND5 resulted in substantially different estimated CTF parameters and an improved fit, even though the goodness-­of-­fit estimation did not change. We also found that for some single-­particle datasets of large particles, such as the rotavirus double-­layered particle ( _Grant and_ _Grigorieff, 2015_ ), we could use CTFFIND5 to estimate the thickness of the sample, which resulted in CTF fits to higher resolution ( _Figure 3d_ ). Based on these results we conclude that CTFFIND5 will provide more accurate CTF parameters for images of thick samples, such as those generated from FIB milling. In addition, the fit provides a direct readout of the specimen thickness, which is important for judging specimen quality and the potential for high-­resolution information that can be recovered from these images. Estimating the accuracy of sample thickness estimation using the Beer- Lambert law on energy filtered data CryoEM is frequently performed using an energy filter to remove inelastically scattered electrons. The fraction of inelastically scattered electrons can be described by the Beer-­Lambert law, which states that the fraction of electrons removed from the image is proportional to the thickness of the sample. The apparent mean free path for electron scattering has been experimentally determined for common cryoEM conditions ( _Rice et al., 2018_ ). To test whether thickness estimation in CTFFIND5 is consistent with this method, we used a dataset of 655 exposures of a lamella of ER-­HoxB8 cells collected using the DeCo-­LACE approach ( _Elferich et al., 2022_ ). We used CTFFIND5 to estimate the thickness ‍ _t_ ‍ of _<u>I</u>_ every exposure and plotted ‍ _−ln_ _~~I~~_ 0 ‍ <sup>against ‍</sup> <sup>_t_</sup> <sup>‍ (</sup> <sup>_Figure 4_</sup> <sup>). Fitting the data to a linear model described</sup> in Methods ( _Equation 8_ ), we found that 568 out of 655 exposures followed closely a linear relationship ( ) with a mean free path ‍ _κ_ ‍ of 317 nm. Manual inspection of images that did not follow this linear relationship revealed that they either contained visible ice contamination, platinum deposits, or they were collected over ice without cellular features and displayed weak Thon rings. The value of ‍ _κ_ ‍ is consistent with the value found by _Rice et al., 2018_, even though our dataset was collected without an objective aperture. The _x_ -­axis intercept of the linear model was –14.1 nm, meaning that the node position systematically predicts a smaller thickness than predicted by the Beer-­Lambert law. This discrepancy is further discussed in the next section. To estimate the accuracy of the sample thickness determined by CTFFIND5, we calculated the mean absolute difference to the linear model, which was 4.8 nm. These data suggest that sample thickness determination using node fitting is an alternative to using the Beer-­Lambert law that has the advantage of not relying on the constant ‍ _κ_ ‍ and the intensity ‍ _I_ 0‍, both of which might not be readily available. Also, the two approaches are complementary as they rely on orthogonal mechanisms. ( _<u>I</u>_ _~~I~~_ 0 ) ‍ <sup>against ‍</sup> <sup>_t_</sup> <sup>‍ (</sup> <sup>_Figure 4_</sup> <sup>). Fitting the data to a linear model described</sup> Estimating the accuracy of sample thickness estimation using tomography We used a dataset of seven micrographs collected from lamellae of ER-­HoxB8 cells together with tilt series collected afterward from the same locations to verify the accuracy of the thickness estimates obtained using CTFFIND5. We used CTFFIND5 to estimate the thickness (‍ _tCTFFIND_ ‍) for every Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 10 of 16 Research advance  Structural Biology and Molecular Biophysics 300 250 200 150 100 100 150 200 250 300 Thickness from CTFFIND5 [nm] Figure 5. Validation of sample thickness estimation in CTFFIND5 by tomography. The distribution of thickness measurements in seven tomograms are shown as box plots with the median indicated by a red line. For each tomogram, the thickness was measured in three different places. The position on the _x_ -­axis corresponds to the thickness estimate by CTFFIND5. The black dashed line indicates identity. The red dashed line indicates the result of a linear fit. location and compared it with the thickness estimated from the tomogram reconstructed from the tilt series (‍ _tTOMO_ ‍). We measured ‍ _tTOMO_ ‍ by manually estimating the distance between the surfaces of the lamella in three different positions. When we plotted ‍ _tCTFFIND_ ‍ against ‍ _tTOMO_ ‍ we found that the values were highly correlated, but ‍ _tTOMO_ ‍ was consistently smaller than ‍ _tCTFFIND_ ‍ ( _Figure 5_ ). A linear fit revealed a slope of 0.95 and a _y_ -­axis intercept of 0.12 nm. This means that the CTFFIND5 thickness estimate is on average 1.05× higher than the thickness estimated by tomography. _Tichelaar et al., 2020_, also report that estimating the thickness from the CTF nodes resulted in values roughly 1.1× higher than estimated by tomography. The reasons for the systematic discrepancies between thicknesses estimated by CTFFIND5 and estimates based on the Beer-­ Lambert law and tomography are unclear, but since they are small and CTFFIND5 estimates lie in between the other two estimates, they will provide comparable information. CTF estimation and correction assists biological interpretation of intermediate-magnification lamella images During data collection of cryoEM data in cells, the operator frequently relies on images taken at low magnification to select areas of interest and establish their biological context. The pixel size of these images is usually about 40 Å, with a defocus of about 200 µm. This produces strong contrast from biological membranes but can sometimes also lead to substantial fringes near these membranes ( _Figure 6a_ ). We found that a simple CTF correction based on CTFFIND defocus estimates obtained from the overview images can reduce these fringes ( _Figure 6b_ ). A simple CTF correction can be done using the program apply_ctf, included with _cis_ TEM, by phase flipping according to the fitted CTF ( _Figure 6c_ ). However, we found that including a Wiener filter-­based amplitude correction described by _Tegunov and Cramer, 2019_, produces a more naturally looking image that might be best suited to recognize cellular features ( _Figure 6d_ ). CTFFIND5 runtimes To gauge the ability of CTFFIND5 to provide real-­time feedback during cryoEM data collection, we measured its runtime on three representative micrographs ( _Table 2_ ). Without estimation of tilt or sample thickness CTFFIND5 performed CTF estimation roughly within a second. Estimation of the sample thickness adds roughly half a second to the runtime, therefore allowing CTF estimation within a timeframe comparable to typical exposure times. Estimation of the tilt on the other hand increased runtimes substantially to the order of several minutes, due to the exhaustive search of potential tilts over hundreds of power spectra. While these runtimes are substantially slower than cryoEM data acquisition, near real-­time estimation can be achieved by using multiple CPU cores. Furthermore, optimization of the number of tiles used, better search algorithms, or implementations employing GPUs could increase the speed to the point where real-­time estimation is more feasible. Conclusion The new features implemented in CTFFIND5 improve CTF estimation from the power spectra of cryoEM micrographs where assumptions made in its predecessor, CTFFIND4, namely a thin and untilted sample, do not hold. The tilt of the sample is estimated by fitting the CTF to the power spectra calculated from small patches across the image, similar to other software including CTFTilt ( _Mindell and Grigorieff, 2003_ ), Ctfplotter ( _Mastronarde, 2024_ ; _Xiong et al., 2009_ ), goCTF ( _Su,_ Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 11 of 16 Research advance  Structural Biology and Molecular Biophysics ### (a) 250nm ### (b) (c) (d) Figure 6. Contrast transfer function (CTF) correction of medium-­magnification overviews. (a) Representative area of a micrograph of a cellular sample at a pixel size of 40 Å without CTF correction. (b) Fit of the power spectrum of the micrograph shown in panel (a) CTF model. (c–d) The same micrograph as shown in panel (a) after CTF correction by phase flipping (c) or with a Wiener-­like filter (d). The custom fall-­off parameter was set to 1.3 and the custom strength parameter was set to 0.7. Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 12 of 16 Research advance  Structural Biology and Molecular Biophysics <u>Table 2.</u> <u>Runtime of CTFFIND5 on representative micrographs.</u> Micrograph 1 2 3 <u>Image properties</u> Image size 4070×2892 2880×2046 4746×3370 <u>Pixel size (Å)</u> <u>1.5</u> <u>4.175</u> <u>2.5</u> <u>Runtime (s)</u> Tilt Thickness - - 0.9±0.1 0.7±0.1 1.7±0.1 <u>+</u> <u>–</u> <u>39.0±0.2</u> <u>208±1</u> <u>173.4±0.1</u> - + 1.4±0.1 1.3±0.1 2.4±0.1 + + 39.5±0.1 209±1 173.0±0.1 _2019_ ), Bsoft ( _Heymann and Belnap, 2007_ ), and Warp ( _Tegunov and Cramer, 2019_ ). After estimation of the sample tilt, a tilt-­corrected power spectrum is produced that exhibits stronger Thon rings at higher resolution. To take into account the modulation of the power spectra by thick samples ( _McMullan et al.,_ _2015_ ; _Tichelaar et al., 2020_ ), we fit a modified CTF model, which increases the resolution of the fitted regions of the spectra and provides a readout of the sample thickness. While the low exposures (3–5 e <sup>-</sup> /Å <sup>2</sup> ) typically used in electron cryo-­tomography often preclude fitting of sample thickness from power spectra of individual images in the tilt series, we demonstrate that this works reliably for higher exposures (~30 e <sup>-</sup> /Å <sup>2</sup> ) typically used for 2D template matching (2DTM) ( _Lucas et al., 2021_ ; _Rickgauer_ _et al., 2017_ ) and in situ single-­particle analysis ( _Cheng et al., 2023_ ). We mainly developed these improvements for 2DTM applied to in situ samples, e.g., prepared by cryo-­FIB milling. Since the sample thickness and sample tilt are apparent from a single exposure, as opposed to a reconstructed tomogram, CTFFIND5 made it possible to quantify these parameters for every exposure. This is important information to judge the quality of the lamella before performing time-­intensive further processing ( _Lucas and Grigorieff, 2023_ ; _Tuijtel et al., 2024_ ). Furthermore, since the quality-­of-­fit estimation of CTFFIND5 goes to higher resolution in tilted and thick samples ( _Figures 1c and 3b–d_ ), it is a better indicator of micrograph quality than the same metric in CTFFIND4. Even though we used tilt series data to benchmark tilt estimation in CTFFIND5, there are certain drawbacks in its use for tilt series data. In contrast to software optimized for tilt series data, such as Ctfplotter ( _Mastronarde, 2024_ ), CTFFIND5 uses no prior information for tilt axis angle and sample tilt, resulting in reduced performance and also potential lower accuracy. Furthermore, there is no option to pool data from several tilt angles to provide a more accurate defocus or astigmatism estimation. However, this also means that CTFFIND5 together with fit_tilt_model might be useful in troubleshooting angle conventions in tilt series data. Also, existing pipelines using CTFFIND4 might benefit from the tilt correction in the power spectrum calculation introduced in CTFFIND5, which results in more robust defocus estimation at high tilt ( _Figure 2_ ). While most single-­particle samples are thin and flat and therefore do not benefit from CTFFIND5, there might be some samples, such as viral particles ( _Figure 3d_ ), where direct estimation of the ice thickness is valuable. However, even in these cases the defocus reported by CTFFIND5 is an average for the whole micrograph and per-­particle CTF refinement, as implemented in _cis_ TEM ( _Grant et al.,_ _2018_ ), RELION ( _Zivanov et al., 2018_ ), or CryoSPARC ( _Punjani et al., 2017_ ; _Zivanov et al., 2020_ ), will still be required to actually recover high-­resolution information during averaging. The ability to measure sample tilt might be useful for approaches where a tilted stage is used to overcome preferred particle orientation ( _Tan et al., 2017_ ), as initial per particle defocus values can be derived from the tilt as reported by CTFFIND5 and the particle positions. Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 13 of 16 Research advance  Structural Biology and Molecular Biophysics In summary, the improvements implemented in CTFFIND5 result in more accurate CTF estimation of thick and tilted samples and provide valuable information about the samples to the microscopist. ### Acknowledgements We would like to thank members of the Grigorieff lab for testing CTFFIND5 and helpful discussion. We furthermore thank Benjamin Himes for helpful discussions and code review within _cis_ TEM. We thank Alexis Rohou for comments on the manuscript. LK and NG gratefully acknowledge funding from the Chan Zuckerberg Initiative, grant #2021-­234617 (5022). ### Additional information Competing interests Nikolaus Grigorieff: Reviewing editor, _eLife_ . The other authors declare that no competing interests exist. <u>Funding</u> Funder Grant reference number Author Howard Hughes Medical <u>Institute</u> Nikolaus Grigorieff Chan Zuckerberg Initiative #2021-234617 (5022) Lingli Kong <u>Nikolaus Grigorieff</u> The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication. Author contributions Johannes Elferich, Conceptualization, Resources, Data curation, Software, Formal analysis, Supervision, Validation, Investigation, Visualization, Methodology, Writing - original draft, Project administration, Writing - review and editing; Lingli Kong, Data curation, Software, Formal analysis, Validation, Investigation, Visualization, Methodology, Writing - original draft, Writing - review and editing; Ximena Zottig, Data curation, Formal analysis, Validation, Investigation, Visualization, Methodology, Writing original draft, Writing - review and editing; Nikolaus Grigorieff, Conceptualization, Software, Formal analysis, Supervision, Funding acquisition, Investigation, Methodology, Writing - original draft, Project administration, Writing - review and editing Author ORCIDs Johannes Elferich ‍ [‍ https://orcid.org/0000-0002-9911-706X](https://orcid.org/0000-0002-9911-706X) Lingli Kong ‍ [‍ https://orcid.org/0000-0002-5808-2649](https://orcid.org/0000-0002-5808-2649) Ximena Zottig ‍ [‍ https://orcid.org/0000-0002-2344-5163](https://orcid.org/0000-0002-2344-5163) Nikolaus Grigorieff ‍ [‍ https://orcid.org/0000-0002-1506-909X](https://orcid.org/0000-0002-1506-909X) Peer review material [Reviewer #1 (Public review): https://doi.org/10.7554/eLife.97227.3.sa1](https://doi.org/10.7554/eLife.97227.3.sa1) [Reviewer #2 (Public review): https://doi.org/10.7554/eLife.97227.3.sa2](https://doi.org/10.7554/eLife.97227.3.sa2) [Author response https://doi.org/10.7554/eLife.97227.3.sa3](https://doi.org/10.7554/eLife.97227.3.sa3) ### Additional files Supplementary files - MDAR checklist Data availability The images of tilted aquaporin crystals were previously published ( _Murata et al., 2000_ ) and are available at [https://grigoriefflab.umassmed.edu/tilted_aquaporin_crystals. The untilted exposures](https://grigoriefflab.umassmed.edu/tilted_aquaporin_crystals) Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 14 of 16 Research advance  Structural Biology and Molecular Biophysics of ER-­HOXB8 cells are available at EMPIAR (EMPIAR-­11063). The tomograms and tilt series from ER-­HOXB8 cells have been deposited to EMDB (EMD-­43419, EMD-­43420, EMD-­43424, EMD-­43425, EMD-­43427, EMD-­43428, EMD-­43429) and EMPIAR (EMPIAR-­11854), respectively. The source code [for CTFFIND5 is available at https://github.com/timothygrant80/cisTEM/tree/ctffind5 (copy archived](https://github.com/timothygrant80/cisTEM/tree/ctffind5) at _Rohou et al., 2024_ [) and binaries for most Linux distributions can be downloaded at https://cistem.​](https://cistem.org/development) [org/development.](https://cistem.org/development) The following datasets were generated: Author(s) Year Dataset title Dataset URL Database and Identifier Elferich JE, Kong LK, Zottig XZ, Grigorieff NG Elferich J, Kong L, Zottig X, Grigorieff N Elferich J, Kong L, <u>Zottig X, Grigorieff N</u> Elferich J, Kong L, <u>Zottig X, Grigorieff N</u> Elferich J, Kong L, <u>Zottig X, Grigorieff N</u> Elferich J, Kong L, <u>Zottig X, Grigorieff N</u> Elferich J, Kong L, <u>Zottig X, Grigorieff N</u> Elferich J, Kong L, Zottig X, Grigorieff N 2024 CTFFIND5 provides improved insight into quality, tilt and thickness of TEM samples 2024 Tomogram 1 - thickness measurement 2024 Tomogram 2 - Thickness <u>measurement</u> 2024 Tomogram 3 - Thickness <u>measurement</u> 2024 Tomogram 4 - Thickness <u>measurement</u> 2024 Tomogram 5 - Thickness <u>measurement</u> 2024 Tomogram 6 - Thickness <u>measurement</u> 2024 Tomogram 7 - Thickness measurement [https://www.​ebi.​ac.​](https://www.ebi.ac.uk/empiar/EMPIAR-11854/) [uk/​empiar/​EMPIAR-​](https://www.ebi.ac.uk/empiar/EMPIAR-11854/) [11854/](https://www.ebi.ac.uk/empiar/EMPIAR-11854/) [https://www.​ebi.​ac.​](https://www.ebi.ac.uk/emdb/EMD-43419) [uk/​emdb/​EMD-​43419](https://www.ebi.ac.uk/emdb/EMD-43419) [https://www.​ebi.​ac.​](https://www.ebi.ac.uk/emdb/EMD-43420) <u>[uk/​emdb/​EMD-​43420](https://www.ebi.ac.uk/emdb/EMD-43420)</u> [https://www.​ebi.​ac.​](https://www.ebi.ac.uk/emdb/EMD-43424) <u>[uk/​emdb/​EMD-​43424](https://www.ebi.ac.uk/emdb/EMD-43424)</u> [https://www.​ebi.​ac.​](https://www.ebi.ac.uk/emdb/EMD-43425) <u>[uk/​emdb/​EMD-​43425](https://www.ebi.ac.uk/emdb/EMD-43425)</u> [https://www.​ebi.​ac.​](https://www.ebi.ac.uk/emdb/EMD-43427) <u>[uk/​emdb/​EMD-​43427](https://www.ebi.ac.uk/emdb/EMD-43427)</u> [https://www.​ebi.​ac.​](https://www.ebi.ac.uk/emdb/EMD-43428) <u>[uk/​emdb/​EMD-​43428](https://www.ebi.ac.uk/emdb/EMD-43428)</u> [https://www.​ebi.​ac.​](https://www.ebi.ac.uk/emdb/EMD-43429) [uk/​emdb/​EMD-​43429](https://www.ebi.ac.uk/emdb/EMD-43429) ArrayExpress, EMPIAR-­11854 Electron Microscopy Data Bank, EMD-­43419 Electron Microscopy Data <u>Bank, EMD-­43420</u> Electron Microscopy Data <u>Bank, EMD-­43424</u> Electron Microscopy Data <u>Bank, EMD-­43425</u> Electron Microscopy Data <u>Bank, EMD-­43427</u> Electron Microscopy Data <u>Bank, EMD-­43428</u> Electron Microscopy Data Bank, EMD-­43429 The following previously published dataset was used: Author(s) Year Dataset title Dataset URL Database and Identifier Elferich JE, Schiroli GS, Scadden DS, Grigorieff NG 2022 Cryo-­EM data and 2DTM results of entire sections of differentiated ER-­HoxB8 cells [https://www.​ebi.​ac.​](https://www.ebi.ac.uk/empiar/EMPIAR-11063/) [uk/​empiar/​EMPIAR-​](https://www.ebi.ac.uk/empiar/EMPIAR-11063/) [11063/](https://www.ebi.ac.uk/empiar/EMPIAR-11063/) ArrayExpress, EMPIAR-­11063 ### References Cheng J, Liu T, You X, Zhang F, Sui SF, Wan X, Zhang X. 2023. Determining protein structures in cellular lamella at pseudo-­atomic resolution by GisSPA. _Nature Communications_ 14 [:1282. DOI: https://doi.org/10.1038/s41467-​](https://doi.org/10.1038/s41467-023-36175-y) [023-36175-y, PMID: 36922493](https://doi.org/10.1038/s41467-023-36175-y) Elferich J, Schiroli G, Scadden DT, Grigorieff N. 2022. Defocus Corrected Large Area Cryo-­EM (DeCo-­LACE) for label-­free detection of molecules across entire cell sections. _eLife_ 11 [:e80980. DOI: https://doi.org/10.7554/​](https://doi.org/10.7554/eLife.80980) [eLife.80980, PMID: 36382886](https://doi.org/10.7554/eLife.80980) Grant T, Grigorieff N. 2015. Measuring the optimal exposure for single particle cryo-­EM using a 2.6 Å reconstruction of rotavirus VP6. _eLife_ 4 [:e06980. DOI: https://doi.org/10.7554/eLife.06980, PMID: 26023829](https://doi.org/10.7554/eLife.06980) Grant T, Rohou A, Grigorieff N. 2018. _cis_ TEM, user-­friendly software for single-­particle image processing. _eLife_ 7 [:e35383. DOI: https://doi.org/10.7554/eLife.35383, PMID: 29513216](https://doi.org/10.7554/eLife.35383) Hagen WJH, Wan W, Briggs JAG. 2017. Implementation of a cryo-­electron tomography tilt-­scheme optimized for high resolution subtomogram averaging. _Journal of Structural Biology_ 197 [:191–198. DOI: https://doi.org/​](https://doi.org/10.1016/j.jsb.2016.06.007) [10.1016/j.jsb.2016.06.007, PMID: 27313000](https://doi.org/10.1016/j.jsb.2016.06.007) Heymann JB, Belnap DM. 2007. Bsoft: image processing and molecular modeling for electron microscopy. _Journal of Structural Biology_ 157 [:3–18. DOI: https://doi.org/10.1016/j.jsb.2006.06.006, PMID: 17011211](https://doi.org/10.1016/j.jsb.2006.06.006) Lucas BA, Himes BA, Xue L, Grant T, Mahamid J, Grigorieff N. 2021. Locating macromolecular assemblies in cells by 2D template matching with cisTEM. _eLife_ 10 [:e68946. DOI: https://doi.org/10.7554/eLife.68946, PMID:](https://doi.org/10.7554/eLife.68946) [34114559](http://www.ncbi.nlm.nih.gov/pubmed/34114559) Lucas BA, Grigorieff N. 2023. Quantification of gallium cryo-­FIB milling damage in biological lamellae. _PNAS_ 120 [:e2301852120. DOI: https://doi.org/10.1073/pnas.2301852120, PMID: 37216561](https://doi.org/10.1073/pnas.2301852120) Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 15 of 16 Research advance  Structural Biology and Molecular Biophysics Mastronarde DN . 1997. Dual-­axis tomography: an approach with alignment methods that preserve resolution. _Journal of Structural Biology_ 120 [:343–352. DOI: https://doi.org/10.1006/jsbi.1997.3919, PMID: 9441937](https://doi.org/10.1006/jsbi.1997.3919) Mastronarde DN . 2005. Automated electron microscope tomography using robust prediction of specimen movements. _Journal of Structural Biology_ 152 [:36–51. DOI: https://doi.org/10.1016/j.jsb.2005.07.007, PMID:](https://doi.org/10.1016/j.jsb.2005.07.007) [16182563](http://www.ncbi.nlm.nih.gov/pubmed/16182563) Mastronarde DN, Held SR. 2017. Automated tilt series alignment and tomographic reconstruction in IMOD. _Journal of Structural Biology_ 197 [:102–113. DOI: https://doi.org/10.1016/j.jsb.2016.07.011, PMID: 27444392](https://doi.org/10.1016/j.jsb.2016.07.011) Mastronarde DN . 2024. Accurate, automatic determination of astigmatism and phase with Ctfplotter in IMOD. _Journal of Structural Biology_ 216 [:108057. DOI: https://doi.org/10.1016/j.jsb.2023.108057, PMID: 38182035](https://doi.org/10.1016/j.jsb.2023.108057) McMullan G, Vinothkumar KR, Henderson R. 2015. Thon rings from amorphous ice and implications of beam-­ induced Brownian motion in single particle electron cryo-­microscopy. _Ultramicroscopy_ 158 [:26–32. DOI: https://​](https://doi.org/10.1016/j.ultramic.2015.05.017) [doi.org/10.1016/j.ultramic.2015.05.017, PMID: 26103047](https://doi.org/10.1016/j.ultramic.2015.05.017) Mindell JA, Grigorieff N. 2003. Accurate determination of local defocus and specimen tilt in electron microscopy. _Journal of Structural Biology_ 142 [:334–347. DOI: https://doi.org/10.1016/s1047-8477(03)00069-8,](https://doi.org/10.1016/s1047-8477%0x2803%0x2900069-8) [PMID: 12781660](http://www.ncbi.nlm.nih.gov/pubmed/12781660) Murata K, Mitsuoka K, Hirai T, Walz T, Agre P, Heymann JB, Engel A, Fujiyoshi Y. 2000. Structural determinants of water permeation through aquaporin-­1. _Nature_ 407 [:599–605. DOI: https://doi.org/10.1038/35036519, PMID:](https://doi.org/10.1038/35036519) [11034202](http://www.ncbi.nlm.nih.gov/pubmed/11034202) Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O, Blondel M, Prettenhofer P, Weiss R, Dubourg V, Vanderplas J, Passos A, Cournapeau D, Brucher M, Perrot M, Duchesnay E. 2011. Scikit-­learn: Machine learning in python. _Journal of Machine Learning Research_ 12 :2825–2830. Punjani A, Rubinstein JL, Fleet DJ, Brubaker MA. 2017. cryoSPARC: algorithms for rapid unsupervised cryo-­EM structure determination. _Nature Methods_ 14 [:290–296. DOI: https://doi.org/10.1038/nmeth.4169, PMID:](https://doi.org/10.1038/nmeth.4169) [28165473](http://www.ncbi.nlm.nih.gov/pubmed/28165473) Rice WJ, Cheng A, Noble AJ, Eng ET, Kim LY, Carragher B, Potter CS. 2018. Routine determination of ice thickness for cryo-­EM grids. _Journal of Structural Biology_ 204 [:38–44. DOI: https://doi.org/10.1016/j.jsb.2018.​](https://doi.org/10.1016/j.jsb.2018.06.007) [06.007, PMID: 29981485](https://doi.org/10.1016/j.jsb.2018.06.007) Rickgauer JP, Grigorieff N, Denk W. 2017. Single-­protein detection in crowded molecular environments in cryo-­EM images. _eLife_ 6 [:e25648. DOI: https://doi.org/10.7554/eLife.25648, PMID: 28467302](https://doi.org/10.7554/eLife.25648) Rohou A, Grigorieff N. 2015. CTFFIND4: Fast and accurate defocus estimation from electron micrographs. _Journal of Structural Biology_ 192 [:216–221. DOI: https://doi.org/10.1016/j.jsb.2015.08.008, PMID: 26278980](https://doi.org/10.1016/j.jsb.2015.08.008) Rohou A, Himes BA, Grigorieff N, Grant T, Elferich J. 2024. CisTEM. [swh:1:rev:e633bffb81e0136cfb997e2b8ee7881e0ee36030. Software Heritage. https://archive.​](https://archive.softwareheritage.org/swh:1:dir:7171a110f43eaaf086e57867d6a1bf282f83e416;origin=https://github.com/timothygrant80/cisTEM;visit=swh:1:snp:1ea434aa99bf6fd065c860fd5c9d4d234c14dedb;anchor=swh:1:rev:e633bffb81e0136cfb997e2b8ee7881e0ee36030) [softwareheritage.org/swh:1:dir:7171a110f43eaaf086e57867d6a1bf282f83e416;origin=https://github.com/​](https://archive.softwareheritage.org/swh:1:dir:7171a110f43eaaf086e57867d6a1bf282f83e416;origin=https://github.com/timothygrant80/cisTEM;visit=swh:1:snp:1ea434aa99bf6fd065c860fd5c9d4d234c14dedb;anchor=swh:1:rev:e633bffb81e0136cfb997e2b8ee7881e0ee36030) [timothygrant80/cisTEM;visit=swh:1:snp:1ea434aa99bf6fd065c860fd5c9d4d234c14dedb;anchor=swh:1:rev:​](https://archive.softwareheritage.org/swh:1:dir:7171a110f43eaaf086e57867d6a1bf282f83e416;origin=https://github.com/timothygrant80/cisTEM;visit=swh:1:snp:1ea434aa99bf6fd065c860fd5c9d4d234c14dedb;anchor=swh:1:rev:e633bffb81e0136cfb997e2b8ee7881e0ee36030) [e633bffb81e0136cfb997e2b8ee7881e0ee36030](https://archive.softwareheritage.org/swh:1:dir:7171a110f43eaaf086e57867d6a1bf282f83e416;origin=https://github.com/timothygrant80/cisTEM;visit=swh:1:snp:1ea434aa99bf6fd065c860fd5c9d4d234c14dedb;anchor=swh:1:rev:e633bffb81e0136cfb997e2b8ee7881e0ee36030) Su M . 2019. goCTF: Geometrically optimized CTF determination for single-­particle cryo-­EM. _Journal of Structural_ _Biology_ 205 [:22–29. DOI: https://doi.org/10.1016/j.jsb.2018.11.012, PMID: 30496818](https://doi.org/10.1016/j.jsb.2018.11.012) Tan YZ, Baldwin PR, Davis JH, Williamson JR, Potter CS, Carragher B, Lyumkis D. 2017. Addressing preferred specimen orientation in single-­particle cryo-­EM through tilting. _Nature Methods_ 14 [:793–796. DOI: https://doi.​](https://doi.org/10.1038/nmeth.4347) [org/10.1038/nmeth.4347](https://doi.org/10.1038/nmeth.4347) Tegunov D, Cramer P. 2019. Real-­time cryo-­electron microscopy data preprocessing with Warp. _Nature Methods_ 16 [:1146–1152. DOI: https://doi.org/10.1038/s41592-019-0580-y, PMID: 31591575](https://doi.org/10.1038/s41592-019-0580-y) Thon F . 1971. _Phase Contrast Transfer functionElectron Microscopy in Material Science_ . Academic Press. DOI: [https://doi.org/10.1016/B978-0-12-780584-9.50021-0](https://doi.org/10.1016/B978-0-12-780584-9.50021-0) Tichelaar W, Hagen WJH, Gorelik TE, Xue L, Mahamid J. 2020. TEM bright field imaging of thick specimens: nodes in Thon ring patterns. _Ultramicroscopy_ 216 [:113023. DOI: https://doi.org/10.1016/j.ultramic.2020.​](https://doi.org/10.1016/j.ultramic.2020.113023) [113023, PMID: 32559707](https://doi.org/10.1016/j.ultramic.2020.113023) Tuijtel MW, Cruz-­León S, Kreysing JP, Welsch S, Hummer G, Beck M, Turoňová B. 2024. Thinner is not always better: Optimizing cryo-­lamellae for subtomogram averaging. _Science Advances_ 10 [:eadk6285. DOI: https://​](https://doi.org/10.1126/sciadv.adk6285) [doi.org/10.1126/sciadv.adk6285, PMID: 38669330](https://doi.org/10.1126/sciadv.adk6285) Xiong Q, Morphew MK, Schwartz CL, Hoenger AH, Mastronarde DN. 2009. CTF determination and correction for low dose tomographic tilt series. _Journal of Structural Biology_ 168 [:378–387. DOI: https://doi.org/10.1016/j.​](https://doi.org/10.1016/j.jsb.2009.08.016) [jsb.2009.08.016, PMID: 19732834](https://doi.org/10.1016/j.jsb.2009.08.016) Yan R, Edwards TJ, Pankratz LM, Kuhn RJ, Lanman JK, Liu J, Jiang W. 2015. Simultaneous determination of sample thickness, tilt, and electron mean free path using tomographic tilt images based on Beer-­Lambert law. _Journal of Structural Biology_ 192 [:287–296. DOI: https://doi.org/10.1016/j.jsb.2015.09.019, PMID: 26433027](https://doi.org/10.1016/j.jsb.2015.09.019) Zhang K . 2016. Gctf: Real-­time CTF determination and correction. _Journal of Structural Biology_ 193 :1–12. DOI: [https://doi.org/10.1016/j.jsb.2015.11.003, PMID: 26592709](https://doi.org/10.1016/j.jsb.2015.11.003) Zivanov J, Nakane T, Forsberg BO, Kimanius D, Hagen WJ, Lindahl E, Scheres SH. 2018. New tools for automated high-­resolution cryo-­EM structure determination in RELION-­3. _eLife_ 7 [:e42166. DOI: https://doi.org/​](https://doi.org/10.7554/eLife.42166) [10.7554/eLife.42166, PMID: 30412051](https://doi.org/10.7554/eLife.42166) Zivanov J, Nakane T, Scheres SHW. 2020. Estimation of high-­order aberrations and anisotropic magnification from cryo-­EM data sets in _RELION_ -3.1. _IUCrJ_ 7 [:253–267. DOI: https://doi.org/10.1107/S2052252520000081,](https://doi.org/10.1107/S2052252520000081) [PMID: 32148853](http://www.ncbi.nlm.nih.gov/pubmed/32148853) Elferich _et al_ eLife 2024;13:RP97227 [DOI: https://doi org/10 7554/eLife 97227](https://doi.org/10.7554/eLife.97227) 16 of 16

섹션 본문 63문단 · 30,130자

(제목 없음)

1Images taken by transmission electron microscopes are usually affected by lens aberrations and image defocus, among other factors.These distortions can be modeled in reciprocal space using the contrast transfer function (CTF).Accurate estimation and correction of the CTF is essential for restoring the high-resolution signal in an image and has been one of the key aspects of the "resolution revolution" in cryogenic electron microscopy (cryoEM).Previously, we described the implementation of algorithms for this task in the cisTEM software package(Grant et al., 2018).Here we show that taking sample characteristics, such as thickness and tilt, into account can improve CTF estimation.This is particularly important when imaging cellular samples, where measurement of sample thickness and geometry derived from accurate modeling of the Thon ring pattern helps judging the quality of the sample.This improved CTF estimation has been implemented in CTFFIND5, a new version of the cisTEM program CTFFIND.We evaluated the accuracy of these estimates using images of tilted aquaporin crystals and eukaryotic cells thinned by focused ion beam milling.We estimate that with micrographs of sufficient quality CTFFIND5 can measure sample tilt with an accuracy of 3° and sample thickness with an accuracy of 5 nm.

Introduction

2Transmission electron microscopy of biological specimens at cryogenic temperatures (cryoEM) has become a widely used method to image biomolecules at high resolution, both in solution and within the cell.To retrieve the high-resolution signal, the cryoEM images have to be corrected for the contrast-transfer function (CTF) of the microscope.Common parameters used to describe the CTF include an astigmatic defocus, the spherical aberration of the objective lens, and if appropriate, a phase shift introduced by a phase plate.These parameters are commonly estimated by fitting the Thon ring pattern (Thon, 1971) in the power spectrum of micrographs to a modeled power spectrum.The program CTFFIND4 (Rohou & Grigorieff, 2015) has been developed for this task and the model and conventions to describe the CTF are widely adopted in the field.

3A limitation of CTFFIND4 is that it considers the whole imaged sample to be at the same objective defocus, which is a reasonable assumption for flat and thin samples, as is common in single-particle cryoEM.However, the increased thickness of cryoEM samples of cells may introduce additional modulations in the Thon ring pattern (Tichelaar et al., 2020) that can lead to errors in the CTF modeling when not accounted for.Furthermore, samples of cells are often tilted with respect to the optical axis of the microscope, either unintentionally due to thinning methods such as cryogenic focused ion beam (FIB) milling, or intentionally during electron cryo-tomography imaging.In both cases the effects are strongest at highresolution, where the Thon rings are more tightly spaced.

4Here we describe new features of CTFFIND5 that can fit the modulations of the Thon ring patterns and determine sample thickness and tilt using an extended CTF model with additional parameters.This not only increases the fidelity of the fit, as Thon rings at higher resolution can now be fitted reliably, but also gives valuable insight into the geometry of the sample that can aid the experimentalist.

Tilt estimation algorithm

5Tilt estimation in CTFFIND5 follows a strategy that is similar to the implementation in CTFTILT (Mindell & Grigorieff, 2003).The tilt axis direction and tilt angle are determined by fitting Thon ring patterns locally, calculated from 128 x 128 pixel tiles that form a regular grid covering the micrograph (Fig. 1a).In this model, has a positive value ranging from 0° to 360° to describe the angle to the X-axis of the micrograph.It is assumed that the defocus variation across the sample can be described by a tilted plane.Fits are evaluated using correlation coefficients between modeled CTFs and Thon ring patterns.

6Initially, the micrograph pixel size is adjusted (binned) by Fourier cropping to match the resolution limit of the fit set by the user and the micrograph is cropped to be square in order to speed up computation.A power spectrum is calculated from this binned and cropped image, a smooth background is calculated using a box convolution (Mindell & Grigorieff, 2003) and subtracted, the power spectrum is further binned to the tile size ( 128x 128 pixels), and the fit of the tilted Thon ring patterns across the micrograph is initialized by fitting this highly binned power spectrum with a non-astigmatic CTF.This fit is then refined using a two-dimensional CTF with astigmatism.Rough values for the tilt axis and angle are then determined in a systematic search in 10° and 5°, respectively, using the locally fitted Thon ring patterns to score each pair of tilt axis and angle, followed by local refinement of tilt axis, angle and average defocus.

7Finally, an average tilt-corrected power spectrum is calculated for diagnostic purposes and to allow the determination of a fit resolution.The tilt correction is designed to remove most of the Thon ring blurring due to the defocus variation across the image.To minimize ring blurring, the power spectrum from each tile is adjusted according to its local average defocus, , by magnifying it by a factor with

8Since will assume values across the image that are both smaller and larger than , will assume values smaller and larger than 1.The magnification / demagnification of the power spectrum compensates for the contraction / expansion of the Thon rings due to the local defocus change and produces approximately constant Thon ring patterns that can be averaged without losing the pattern (Fig. 1b).The compensation will have a small error if the spherical aberration is not zero.However, this error is sufficiently small to not visibly affect the Thon rings in the average.

Verification of tilt estimation using tilted aquaporin crystals

9To test the robustness and accuracy of the new fitting algorithm, the defocus and sample tilts of aquaporin 2D crystals (Murata et al., 2000) were estimated using a search range from 5000 Å to 50000 Å and a 100 Å step, low and high resolution limits of 30 Å to 5 Å, respectively, and a box size for the final power spectrum of 512 pixels.The estimated tilt angle and axis direction were compared with the values obtained by 2D crystallographic processing (Mindell & Grigorieff, 2003).

Verification of tilt estimation using tilt series

10Lamellae prepared by FIB milling usually exhibit a pre-tilt with respect to the grid surface due to the stage tilt in the FIB instrument.In the microscope, the direction of this pre-tilt will generally not line up with the goniometer tilt axis.For the alignment of a tomogram recorded from such a lamella, the relative orientation of these two axes will have to be determined, together with the precise amount of pre-tilt.We wrote a new cisTEM (Grant et al., 2018)

11In CTFFIND5, both tilt axis and angle are defined in the clockwise direction, with the angle of the axis measured from the x-axis.This may be different from the definition used by the microscope.To ensure consistency with the widely accepted angular convention in the cryoEM field, all the and used in this manuscript refer to an anti-clockwise direction, with measured from the x-axis.

12Using the tilt information obtained with CTFFIND5, we now have a set of rotation matrices , and together with the rotation matrices read from the microscope, , we can calculate a set of pre-tilt estimates 0 from equation (2).To determine the best overall pretilt 0 , we determine the plane-normal vectors = [, , ] of the sample by applying 0 to the vector [0,0,1] (z-coordinate along the beam direction), followed by calculating their mean = [ , 0 , 0 ] as the normal vector of the best overall pre-tilt estimate.

13By calculating the root mean squared deviation of the normal vectors , outliers can be identified and excluded to further refine .The pre-tilt can then be determined as:

14To generate more reliable defocus and tilt estimates, the defocus search range and resolution fitting range can be adjusted according to the experimental tilt range and image quality.For our cryoEM samples, the low and high resolution limits were set to 50 Å to 10 Å, respectively, and the defocus search interval was set to be between ± 10000 and ±20000 Å from the nominal defocus set during data collection.

Sample thickness estimation

15In CTFFIND5 we implemented a new model function, based on the function implemented in CTFFIND4 (Rohou & Grigorieff, 2015) and extended by the formula described by (McMullan et al., 2015):

16where denotes the phase-shift as a function of the electron wavelength , the spatial frequency vector |g|, the objective defocus , the spherical aberration , the additional phase shift , and the fraction of amplitude contrast 2 .The modulation of the CTF due to sample thickness is described by the function :

17(,g, ) = g 2 (6)

18If a user requests sample thickness estimation, the program will first fit the model function as implemented in CTFFIND4 and the "goodness of fit" resolution will be used as an estimate of the frequency g of the first node of the function, with given by:

19If the option "Brute-force 1D fit" is selected, CTFFIND5 will further refine and by calculating the normalized cross-correlation between the radial average of the power spectrum (corrected for astigmatism, as described in ) and , searching systematically for the best combination of in the range of 50-400 nm in 10 nm steps, and in the range of ±200 nm from the previously fitted value, also in 10 nm steps.

20Finally, if the option "2D-refinement" is selected, CTFFIND5 will optimize , 1 , 2 , and using the same conjugate gradient algorithm used in CTFFIND4 and the normalized cross correlation between and the 2D power spectrum as a scoring function.

21After the optimal values for and have been obtained the "goodness of fit" crosscorrelation is recalculated using , with a frequency window that is 1.5 time larger than in CTFFIND4 to avoid the drop-off in the node regions of .

Verification of sample thickness estimation using Lambert-Beer's law

22We used 655 micrographs collected from one lamella of ER-HoxB8 cells (dataset Lamella 1 from (Elferich et al., 2022)).For each micrograph we calculated ( 0

23), where was the sum of all pixels in the illuminated area of the movie and 0 was the average of this sum for 45 micrographs collected over vacuum with the same energy filter settings.

24This value is expected to have a linear relationship with the thickness of the sample consistent with Lambert-Beer's law (Yan et al. 2015;Rice et al. 2018):

25where is the apparent mean free path for inelastic scattering.

26We then used CTFFIND5 to estimate the thickness of each micrograph using the "Bruteforce 1D fit" and "2D-refinement" setting, low and high resolution limits set to 30 Å and 5 Å, defocus search range set between 500 nm and 5000 nm, and low and high resolution limits for thickness estimation set to 10 Å and 3 Å.We used a "RANSAC" algorithm as implemented by the scikit-learn Python package (Pedregosa et al., 2011) to fit a linear model to the relationship of ( 0

27) and , while rejecting outliers.We then manually inspected every outlier of the model fit and categorized the reason for the discrepancy into "Occluded beam" (either from contamination or the edges of the lamella), "Low image signal" (in most cases exposures containing no cellular features), "Carbon/Platinum", and "Lipid droplet" (see Fig. 4).

Verification of sample thickness estimation using tomography

28Lamellae prepared from ER-HoxB8 cells were imaged using a Titan Krios 300 keV TEM controlled by SerialEM (Mastronarde, 2005).For each dataset an initial exposure was taken with a magnification of 64,000, resulting in a pixel size of 1.6 Å and an exposure of 30 e -/Å.

29This was followed by the acquisition of a tilt series at a magnification of 48,000, resulting in a pixel size of 2.087 Å.A total of 35 tilt images at a tilt interval of 3° were collected from -51° to 51°, relative to the milling angle, using a grouped dose-symmetric scheme (Hagen et al., 2017).The exposure per tilt was 3 e -/Å, resulting in a total exposure of 105 e -/Å .

30For tomographic reconstruction, tilt movie frame motion correction was performed using SerialEM (Mastronarde, 2005), and tilt series were aligned using the IMOD software package (version 4.11, Mastronarde & Held, 2017).For coarse alignment, a high-frequency cutoff radius of 0.15 was used.A fiducial model was generated using patch tracking with patches of 450 x 450 pixels and a fractional overlap of patches of 0.33 x 0.33.High-tilt frames were omitted while generating the fiducial model.Robust fitting with a tuning factor of 1 was used for fine alignment.After computing the alignment, the fiducial model was edited by removing unreliable patches, and then alignments were re-computed.The edited models with the lowest residual mean errors and standard deviations were used for fine alignment.Tomogram positioning was used to correct the tilt angle offset.Fully aligned stacks were generated with a binning factor of 4, resulting in a tomogram pixel size of 8.3 Å.

31Tomograms were reconstructed using the SIRT-like filtering option in IMOD (Mastronarde & Held, 2017;Mastronarde, 1997) and manually inspected.The tomograms were backprojected along the y-axis using a homemade script, generating a small set of XZ projections.Thickness measurements on the projected central slides were performed using the display program included with the cisTEM software package (Grant et al., 2018).

CTF correction of medium magnification lamella images

32The CTF of the representative medium magnification image with a pixel size of 40 Å was estimated using CTFFIND5 with the following parameters: defocus range: 1,000,000 to 4,000,000 Å; search step 50,000 Å; low and high resolution limits: 400 Å and 80 Å.We then used the program apply_ctf, included with cisTEM, to flip the phases according to the estimated CTF.We furthermore implemented the Wiener like filter described in (Tegunov & Cramer, 2019) in apply_ctf to produce the image shown in Fig. 6d.

Benchmarking CTFFIND5 runtimes

33CTFFIND5 runtimes were measured using 3 representative micrographs (Table 2).As a baseline measurement, CTFFIND5 was run without estimation of tilt and sample thickness enabled.Then runtime was measured enabling either one of these option or both.Every test was repeated four times and the average and standard deviation of the last three runs are reported, to minimize the contribution of hard-drive speed.The tests were performed on a single core of an Intel Core i9-12900KF CPU.

Tilt estimation

34We tested the defocus correction for the Thon rings on a representative micrograph taken from a cryo-FIB milled lamella.As expected, the correction results in the observation of Thon rings at higher spatial resolution (Fig. 1c).In this example, correcting for the estimated moderate tilt of 12.3° improved the highest resolution at which a reasonable fit could be obtained from 5.9 Å to 4.6 Å.The power spectrum also appears less noisy, which can be attributed to some low-pass filtering that occurs with the interpolation of the Thon ring patterns of individual tiles to perform the defocus correction.

35To test the performance of the new CTFFIND5 sample tilt estimation, we used a dataset of images of tilted aquaporin crystals that were also used to benchmark the original CTFTILT implementation (Mindell & Grigorieff, 2003;Murata et al., 2000).Table 1 compares the tilt information of the samples obtained from crystallographic analysis and the estimates obtained using CTFFIND5.Overall, the results of CTFFIND5 agree well with the aquaporin crystals information.The average discrepancy was 1.9° for the tilt axis direction and 1.5°

36for the tilt angle.

37To test whether CTFFIND5 would be able to correctly assign tilt axis and angle for tilt series data, we analyzed two tilt series from different grids of lamellae prepared by cryo-FIB milling from mouse neutrophil-like cells (Elferich et al., 2022).We then plotted the estimated values for tilt axis and angle as a function of nominal stage tilt (Fig. 2).The estimated tilt angle shows a roughly linear relationship with the nominal stage tilt, but since CTFFIND5 reports only positive tilt angles the overall plot has a chevron-shape.The estimated tilt axis angle is approximately constant at high tilts but changes by about 180° at 0° estimated tilt, again due to the convention enforced by CTFFIND5.Notably, in both examples there is an offset of about 20° between nominal and estimated tilts, which is due to the pre-tilt of the specimen caused by FIB-milling at a shallow angle.To quantify and delineate both the tilt axis direction of the microscope and the pre-tilt of the specimen we fit all values to a model as described in Methods (Fig. 2).The fitting resulted in an estimated tilt axis angle of 178.2° and 179.8°, respectively, which is consistent with the SerialEM calibration of 178.4° and 176.3° for the stage tilt axis.The estimated pre-tilt values were 20.6 °and -21.9°, consistent with a FIB-milling angle of 20° and opposite orientation of the grids relative to the milling direction.The pre-tilt axis angles were estimated as 171.8° and 183.8°, which is consistent with the error expected from manually aligning the milling direction when inserting grids into the microscope.

38To estimate the accuracy of the tilt estimation in tilt series, we calculated the mean absolute difference between the tilt and axis-angle estimates and the fitted model, excluding the axisangle estimates at tilt angles under 5°.For the first tilt series we obtained accuracy estimates of 2.08° and 2.58° for tilt and axis-angles, respectively.In the second tilt series the accuracy estimates were 3.95° and 9.47°.In both cases the accuracy was lower than for the tilted aquaporin crystals, presumably due to the relatively short exposure of each micrograph in the tilt series.However, the substantially higher mean differences in the second tilt series suggest that the accuracy is highly dependent on the quality of the underlying data.

Sample thickness estimation

39Even after correcting for sample tilt we found that for FIB-milled samples we often could observe Thon-ring like modulation in the power spectrum at higher resolution than suggested by the goodness of fit estimate (Fig. 3b, top plot).These modulations are out of phase with the predicted modulations, as described by (McMullan et al., 2015) and (Tichelaar et al., 2020).We therefore implemented an extension of the CTF model as described by (McMullan et al., 2015) (Fig. 3a).For some images we found that the thickness could be well estimated by assuming that the goodness of fit resolution estimate obtained using the old model implemented in CTFFIND4 corresponds to the first node in the modulation function, according to Eq. ( 7).With our new model, estimated CTF parameters were very similar to those from CTFFIND4, but the fit in CTFFIND5 extended to higher resolution (Fig. 3b).

40In other images, mostly with defocus values under 1 µm and with a sample thickness over 200 nm, CTFFIND4 could fit the power spectrum before and after the first node using the old CTF model, with some deviations between the fit and the power spectrum (Fig. 3c).

41Fitting the power spectrum with the new model in CTFFIND5 resulted in substantially different estimated CTF parameters and an improved fit, even though the goodness-of-fit estimation did not change.Based on these results we conclude that CTFFIND5 will provide more accurate CTF parameters for images of thick samples, such as those generated from FIB-milling.In addition, the fit provides a direct readout of the specimen thickness, which is important for judging specimen quality and the potential for high-resolution information that can be recovered from these images.

Estimating the accuracy of sample thickness estimation using the Lambert-Beer law on energy filtered data

42CryoEM is frequently performed using an energy filter to remove inelastically scattered electrons.The fraction of inelastically scattered electrons can be described by the Lambert-Beer law, which states that the fraction of electrons removed from the image is proportional to the thickness of the sample.The apparent mean free path for electron scattering has been experimentally determined for common cryoEM conditions (Rice et al., 2018).To test whether thickness estimation in CTFFIND5 is consistent with this method we used a dataset of 655 exposures of a lamella of ER-HoxB8 cells collected using the DeCo-LACE approach (Elferich et al., 2022).We used CTFFIND5 to estimate the thickness of every exposure and plotted − ( 0

43) against (Fig. 4).Fitting the data to a linear model described in Methods (Eq.( 8)), we found that 568 out of 655 exposures followed closely a linear relationship with a mean free path of 317 nm.Manual inspection of images that did not follow this linear relationship revealed that they either contained visible ice contamination, platinum deposits, or they were collected over ice without cellular features and displayed weak Thon rings.The value of is consistent the value found by (Rice et al., 2018), even though our dataset was collected without an objective aperture.The x-axis intercept of the linear model was -14.1 nm, meaning that the node position systematically predicts a smaller thickness than predicted by the Lambert-Beer law.This discrepancy is further discussed in the next section.To estimate the accuracy of the sample thickness determined by CTFFIND5 we calculated the mean absolute difference to the linear model, which was 4.8 nm.These data suggest that sample thickness determination using nodefitting is an alternative to using Lambert-Beers law that has the advantage of not relying on the constant and the intensity 0 , both of which might not be readily available.Also, the two approaches are complementary as they rely on orthogonal mechanisms.

Estimating the accuracy of sample thickness estimation using tomography

44We used a dataset of seven micrographs collected from lamellae of ER-HoxB8 cells together with tilt series collected afterwards from the same locations to verify the accuracy of the thickness estimates obtained using CTFFIND5.We used CTFFIND5 to estimate the thickness ( ) for every location and compared it with the thickness estimated from the tomogram reconstructed from the tilt series ( ).We measured by manually estimating the distance between the surfaces of the lamella in three different positions.

45When we plotted against we found that the values were highly correlated, but was consistently smaller than (Fig. 5).A linear fit revealed a slope of 0.95 and a y-axis intercept of 0.12 nm.This means that the CTFFIND5 thickness estimate is on average 1.05x higher than the thickness estimated by tomography.(Tichelaar et al., 2020) also report that estimating the thickness from the CTF nodes resulted in values roughly 1.1x higher than estimated by tomography.The reasons for the systematic discrepancies between thicknesses estimated by CTFFIND5 and estimates based on Lambert-Beer's law and tomography are unclear, but since they are small and CTFFIND5

46estimates lie in between the other two estimates, they will provide comparable information.

CTF estimation and correction assists biological interpretation of intermediate-magnification lamella images

47During data collection of cryoEM data in cells, the operator frequently relies on images taken at low magnification to select areas of interest and establish their biological context.

48The pixel size of these images is usually about 40 Å, with a defocus of about 200 µm.This produces strong contrast from biological membranes, but can sometimes also lead to substantial fringes near these membranes (Fig. 6a).We found that a simple CTF correction based on CTFFIND defocus estimates obtained from the overview images can reduce these fringes (Fig. 6b).A simple CTF correction can be done using the program apply_ctf, included with cisTEM, by phase flipping according to the fitted CTF (Fig. 6c).However, we found that including a Wiener filter-based amplitude correction describe by (Tegunov & Cramer, 2019) produces a more naturally looking image that might be best suited to recognize cellular features (Fig. 6d).

CTFFIND5 runtimes

49To gauge the ability of CTFFIND5 to provide real time feedback during cryoEM data collection we measured its runtime on three representative micrographs (Table 2).

50Without estimation of tilt or sample thickness CTFIND5 performed CTF estimation roughly within a second.Estimation of the sample thickness adds roughly half a second to the runtime, therefore allowing CTF estimation within a timeframe comparable to typical exposure times.Estimation of the tilt on the other hand increased runtimes substantially to the order of several minutes, due to the exhaustive search of potential tilts over hundreds of powerspectra.While these runtimes are substantially slower than cryoEM data acquisition, near real time estimation can be achieved by using multiple CPU cores.

51Furthermore, optimization of the number of tiles used, better search algorithms, or implementations employing GPUs could increase the speed to the point where real time estimation is more feasible.

Conclusion

52The new features implemented in CTFFIND5 improve CTF estimation from the power spectra of cryoEM micrographs where assumptions made in its predecessor, CTFFIND4, namely a thin and untilted sample, do not hold.The tilt of the sample is estimated by fitting the CTF to the power spectra calculated from small patches across the image, similar to other software including CTFTilt (Mindell & Grigorieff, 2003), Ctfplotter (Xiong et al., 2009;Mastronarde, 2024), goCTF (Su, 2019), and Warp (Tegunov & Cramer, 2019).After estimation of the sample tilt a tilt-corrected power spectrum is produced that exhibits stronger Thon rings at higher resolution.

53To take into account the modulation of the power spectra by thick samples (Tichelaar et al., 2020;McMullan et al., 2015) we fit a modified CTF model, which increases the resolution of the fitted regions of the spectra and provides a read-out of the sample thickness.While the low exposures (3-5 e -/A2) typically used in electron cryo-tomography often preclude fitting of sample thickness from power spectra of individual images in the tilt series, we demonstrate that this works reliably for higher exposures (~ 30 e -/A2) typically used for 2D template matching (Lucas et al.;Rickgauer et al., 2017) and in-situ single particle analysis (Cheng et al., 2023).

54While these improvements are especially relevant for in-situ samples, e.g., prepared by cryo-FIB milling, the analysis of images of purified samples recorded at lower acceleration voltages, e.g., 100 keV (McMullan et al., 2023), may also benefit since thickness-dependent CTF modulations will appear at lower resolution with longer electron wavelengths (see Eq. ( 6)).Per-micrograph CTF estimation can be followed by per-particle CTF refinement, as implemented in cisTEM (Grant et al., 2018), Relion (Kimanius et al., 2021), or cryoSPARC (Punjani et al., 2017).The improvements of CTFFIND5 will provide better starting values for this refinement, yielding better overall CTF estimation and recovery of high-resolution information during 3D reconstruction.

55In summary, the improvements implemented in CTFFIND5 result in more accurate CTF estimation of thick and tilted samples and provide valuable information about the samples to the microscopist.power spectrum in each patch given an average defocus , tilt angle , and tilt axis is compared to the actual power spectra of tiles.After an optimal set of and has been found a corrected power spectrum is calculated by summing the tile power spectra, scaled to correct for the defocus difference.(c) Comparison of the original power spectrum (solid line, blue) to the tilt-corrected power spectrum (solid line, black).The tilt-corrected power spectrum exhibits clear peaks at higher spatial resolution than the uncorrected power spectrum, as evident by the "goodness-of-fit" scores (dashed lines).The estimated CTF parameters are 1 = 10603 A , 2 = 10193 A , = 85.9° for the uncorrected power spectrum and 1 = 10492 A , 2 = 10342 A , = 81.2°, = 12.3°, = 261.6°for the tiltcorrected power spectrum.The fit resolution is 5.9 Å for the uncorrected power spectrum (dashed line, blue) and 4.6 Å for the tilt-corrected spectrum (dashed line, black).

FiguresFigure 1 :

56Figures

Figure 2 :

57Figure 2: Validation of tilt estimation using tilt series data.(a) Estimated tilt angle and axis of 40 micrographs of a tilt series taken on a FIB-milled biological specimen.For each image the tilt angle (dots, upper plot) and tilt axis direction (crosses, middle plot) are plotted as a function of the nominal stage angle.The data were fitted to a model of the specimen tilt and constant stage tilt axis before tilting the stage.The estimated stage tilt axis has an angle of 171.8° and the estimated specimen pre-tilt is 20.6° with a tilt axis of 171.8°, which is consistent with the FIB-milling angle of 20° and manual alignment of the milling direction to the goniometer tilt axis.In the bottom plot the fit residuals for tilt angle and axis are

Figure 3 :

58Figure 3: Sample thickness estimation by fitting Thon ring patterns.(a) Comparison of the CTF model used in CTFFIND4, and after applying the modulation function (right) described by (McMullan et al., 2015).(b) Representative example of Thon ring fitting in a lamella without (top) and with (bottom) thickness estimation.The tilt of the specimen was

Figure 4 :

59Figure 4: Validation of sample thickness estimation in CTFFIND5 by comparing the estimates to the intensity attenuation by the zero-loss energy filter.An estimation of the linear relationship using the RANSAC algorithm results in a slope of 1/316.6 nm and an xaxis intercept at -14 nm (red dashed line).Data points that were labeled as outliers by the RANSAC algorithm were manually inspected and color-coded according to visual inspection of the micrographs.

Figure 5 :

60Figure 5: Validation of sample thickness estimation in CTFFIND5 by tomography.The distribution of thickness measurements in seven tomograms are shown as box plots with the median indicated by a red line.The position on the x-axis corresponds to the thickness estimate by CTFFIND5.The black dashed line indicates identity.

Figure 6 :

61Figure 6: CTF correction of medium magnification overviews.(a) Representative area of a micrograph of a cellular sample at a pixel size of 40 Å without CTF correction.(b) Fit of the

Table 1 :

62Comparison of CTFFIND5 estimation of sample tilt with crystallographic analysis

Table 2 :

63Runtime of CTFFIND5 on representative micrographs 409

참고문헌 32건

  1. Phase Contrast Electron Microscopy Elsevier eBooks · Elsevier BV · 1971 10.1016/b978-0-12-780584-9.50021-0
  2. Thon rings from amorphous ice and implications of beam-induced Brownian motion in single particle electron cryo-microscopy Ultramicroscopy · Elsevier BV · 2015 10.1016/j.ultramic.2015.05.017
  3. Structural determinants of water permeation through aquaporin-1 Nature · Nature Portfolio · 2000 10.1038/35036519
  4. Dual-Axis Tomography: An Approach with Alignment Methods That Preserve Resolution Journal of Structural Biology · Elsevier BV · 1997 10.1006/jsbi.1997.3919
  5. Bsoft: Image processing and molecular modeling for electron microscopy Journal of Structural Biology · Elsevier BV · 2006 10.1016/j.jsb.2006.06.006
  6. Accurate determination of local defocus and specimen tilt in electron microscopy Journal of Structural Biology · Elsevier BV · 2003 10.1016/s1047-8477(03)00069-8
  7. Scikit-learn: Machine Learning in Python arXiv (Cornell University) · Cornell University · 2012 10.48550/arxiv.1201.0490
  8. Automated electron microscope tomography using robust prediction of specimen movements Journal of Structural Biology · Elsevier BV · 2005 10.1016/j.jsb.2005.07.007
  9. CTF determination and correction for low dose tomographic tilt series Journal of Structural Biology · Elsevier BV · 2009 10.1016/j.jsb.2009.08.016
  10. Measuring the optimal exposure for single particle cryo-EM using a 2.6 Å reconstruction of rotavirus VP6 eLife · eLife Sciences Publications Ltd · 2015 10.7554/elife.06980
  11. Simultaneous determination of sample thickness, tilt, and electron mean free path using tomographic tilt images based on Beer–Lambert law Journal of Structural Biology · Elsevier BV · 2015 10.1016/j.jsb.2015.09.019
  12. Implementation of a cryo-electron tomography tilt-scheme optimized for high resolution subtomogram averaging Journal of Structural Biology · Elsevier BV · 2016 10.1016/j.jsb.2016.06.007
  13. Automated tilt series alignment and tomographic reconstruction in IMOD Journal of Structural Biology · Elsevier BV · 2016 10.1016/j.jsb.2016.07.011
  14. cryoSPARC: algorithms for rapid unsupervised cryo-EM structure determination Nature Methods · Nature Portfolio · 2017 10.1038/nmeth.4169
  15. Single-protein detection in crowded molecular environments in cryo-EM images eLife · eLife Sciences Publications Ltd · 2017 10.7554/elife.25648
  16. Addressing preferred specimen orientation in single-particle cryo-EM through tilting Nature Methods · Nature Portfolio · 2017 10.1038/nmeth.4347
  17. cisTEM, user-friendly software for single-particle image processing eLife · eLife Sciences Publications Ltd · 2018 10.7554/elife.35383
  18. New tools for automated high-resolution cryo-EM structure determination in RELION-3 eLife · eLife Sciences Publications Ltd · 2018 10.7554/elife.42166
  19. Gctf: Real-time CTF determination and correction Journal of Structural Biology · Elsevier BV · 2015 10.1016/j.jsb.2015.11.003
  20. goCTF: Geometrically optimized CTF determination for single-particle cryo-EM Journal of Structural Biology · Elsevier BV · 2018 10.1016/j.jsb.2018.11.012
  21. Routine determination of ice thickness for cryo-EM grids Journal of Structural Biology · Elsevier BV · 2018 10.1016/j.jsb.2018.06.007
  22. CTFFIND4: Fast and accurate defocus estimation from electron micrographs Journal of Structural Biology · Elsevier BV · 2015 10.1016/j.jsb.2015.08.008
  23. Real-time cryo-electron microscopy data preprocessing with Warp Nature Methods · Nature Portfolio · 2019 10.1038/s41592-019-0580-y
  24. Estimation of high-order aberrations and anisotropic magnification from cryo-EM data sets in <i>RELION</i>-3.1 IUCrJ · International Union of Crystallography · 2020 10.1107/s2052252520000081
  25. TEM bright field imaging of thick specimens: nodes in Thon ring patterns Ultramicroscopy · Elsevier BV · 2020 10.1016/j.ultramic.2020.113023
  26. Locating macromolecular assemblies in cells by 2D template matching with cisTEM eLife · eLife Sciences Publications Ltd · 2021 10.7554/elife.68946
  27. Defocus Corrected Large Area Cryo-EM (DeCo-LACE) for label-free detection of molecules across entire cell sections eLife · eLife Sciences Publications Ltd · 2022 10.7554/elife.80980
  28. Determining protein structures in cellular lamella at pseudo-atomic resolution by GisSPA Nature Communications · Nature Portfolio · 2023 10.1038/s41467-023-36175-y
  29. Quantification of gallium cryo-FIB milling damage in biological lamellae Proceedings of the National Academy of Sciences · National Academy of Sciences · 2023 10.1073/pnas.2301852120
  30. Accurate, automatic determination of astigmatism and phase with Ctfplotter in IMOD Journal of Structural Biology · Elsevier BV · 2024 10.1016/j.jsb.2023.108057
  31. Thinner is not always better: Optimizing cryo-lamellae for subtomogram averaging Science Advances · American Association for the Advancement of Science · 2024 10.1126/sciadv.adk6285
  32. CTFFIND5 provides improved insight into quality, tilt, and thickness of TEM samples eLife · eLife Sciences Publications Ltd · 2024 10.7554/elife.97227