Cryo-electron microscopy (cryoEM) multi-grid screening is often a tedious process that demands hours of attention. This protocol shows how to set up a standard Leginon collection and Smart Leginon Autoscreen to automate this process. This protocol can be applied to the majority of cryoEM holey foil grids.
Advancements in cryo-electron microscopy (cryoEM) techniques over the past decade have allowed structural biologists to routinely resolve macromolecular protein complexes to near-atomic resolution. The general workflow of the entire cryoEM pipeline involves iterating between sample preparation, cryoEM grid preparation, and sample/grid screening before moving on to high-resolution data collection. Iterating between sample/grid preparation and screening is typically a major bottleneck for researchers, as every iterative experiment must optimize for sample concentration, buffer conditions, grid material, grid hole size, ice thickness, and protein particle behavior in the ice, amongst other variables. Furthermore, once these variables are satisfactorily determined, grids prepared under identical conditions vary widely in whether they are ready for data collection, so additional screening sessions prior to selecting optimal grids for high-resolution data collection are recommended. This sample/grid preparation and screening process often consumes several dozen grids and days of operator time at the microscope. Furthermore, the screening process is limited to operator/microscope availability and microscope accessibility. Here, we demonstrate how to use Leginon and Smart Leginon Autoscreen to automate the majority of cryoEM grid screening. Autoscreen combines machine learning, computer vision algorithms, and microscope-handling algorithms to remove the need for constant manual operator input. Autoscreen can autonomously load and image grids with multi-scale imaging using an automated specimen-exchange cassette system, resulting in unattended grid screening for an entire cassette. As a result, operator time for screening 12 grids may be reduced to ~10 min with Autoscreen compared to ~6 h using previous methods which are hampered by their inability to account for high variability between grids. This protocol first introduces basic Leginon setup and functionality, then demonstrates Autoscreen functionality step-by-step from the creation of a template session to the end of a 12-grid automated screening session.
Single particle cryo-electron microscopy (cryoEM) allows for near-atomic resolution structure determination of purified macromolecular complexes. A single particle cryoEM experiment only requires one or two well-chosen grids selected from a much larger set of grids with varying sample and grid conditions. Microscope screening to examine these grids entails imaging each grid at several magnifications to determine which grid satisfies most key requirements for high-resolution data collection, including ice thickness, sufficient areas for full data collection, protein purity, protein concentration, protein stability, and minimal preferred orientation issues1. Optimizing for these key requirements often involves feedback between screening at the microscope and preparation conditions such as protein production, buffer selection, potential detergents, and grid type2,3,4 (Figure 1). Conventional grid screening is performed manually or semi-manually with software such as Leginon5, SerialEM6, and EPU7. Conventional screening requires the microscope operator to spend hours at the microscope to screen several grids, which creates a significant bottleneck in the high-resolution single particle workflow by occupying the operator with rote operations rather than sample/grid optimization.
Previously, Smart Leginon Autoscreen and the underlying machine learning software, Ptolemy, have been introduced, and their underlying methods and algorithms together with examples have been described8,9. Several other software packages are either capable of or working towards fully automated multi-grid screening10, including SmartScope11, Smart EPU12, and CryoRL13,14. To address the screening bottleneck, Smart Leginon allows the user to first set up screening parameters in a template microscope session, then use that template session's parameters as a template to screen the full cassette of grids in the microscope autoloader. All manual work during the cassette screening is eliminated, which allows for the optimization feedback loop to proceed significantly more efficiently.
In this protocol, the full Smart Leginon Autoscreen workflow is described so that the reader may perform fully automated multi-grid cryoEM screening independently. For those new to Leginon, the first section in the protocol describes conventional Leginon usage. This knowledge is composed of several years of experience across several autoloader microscopes, which is then built upon in the subsequent Smart Leginon section of the protocol. Additional tutorial videos may be found on https://memc.nysbc.org.
To follow this protocol, depicted in Figure 2, Leginon 3.6+ needs to be installed on the microscope computer and on an additional Linux workstation, and Ptolemy needs to be installed on the Linux workstation. This protocol has been developed over several years using Thermo Fisher Scientific (TFS) Glacios and Krios microscopes. This protocol assumes that the reader has already configured Leginon, Appion15, the associated database, microscope calibrations, performed direct alignments on the microscope, and has set up two Leginon Applications: One for standard single particle collection and one for single particle collection with Ptolemy. Information for setting up Leginon is available here: https://emg.nysbc.org/redmine/projects/leginon/wiki/Leginon_Manual. Information for setting up Ptolemy within Leginon is available here: https://emg.nysbc.org/redmine/projects/leginon/wiki/Multi-grid_autoscreening. Download Leginon from http://leginon.org and Ptolemy from https://github.com/SMLC-NYSBC/ptolemy. Leginon is licensed under the Apache License, Version 2.0, and Ptolemy is licensed under CC BY-NC 4.0.
1. Leginon usage
2. Smart Leginon Autoscreen usage
Following the protocol, cryoEM screening sessions may be run automatically and successfully for the majority (80%-90%) of holey grids and conditions. Several examples and experiments have been presented previously8,9 to demonstrate the expected outcomes of successful Smart Leginon Autoscreen sessions. A successful Autoscreen session begins with ~10 min of setup and commonly results in a full cassette of 12 grids screened automatically after about 6 h (30 min per grid) where 3-5 squares of different sizes and 3-5 holes per square are imaged at high magnification, allowing the user to quickly determine the characteristics of the sample on each grid and rapidly iterate through sample/grid conditions (Figure 3). Occasionally, sessions are unsuccessful, commonly due to Autoscreen targeting broken squares, not interpreting large ice thickness gradients across the grid or across squares properly, or failing to identify holes properly on carbon grids. Additionally, potential memory leaks may cause Leginon to crash due to excessive memory usage, which may be solved by freeing up RAM, or rebooting the computer, or ameliorated by adding more RAM to the computer.
Figure 1: Smart Leginon Autoscreen workflow. A high-level overview of the Smart Leginon Autoscreen workflow. First, a template session is created by selecting parameters for a representative grid in the batch of grids to be screened. Setting up Leginon and creating a template session takes less than 45 min. Second, Autoscreen is set up to use the template session parameters to screen all of the grids in the cassette. Setting up Autoscreen takes less than 10 min. Finally, Autoscreen ends the screening session. Please click here to view a larger version of this figure.
Figure 2: Conventional single particle cryoEM pipeline prior to automated screening. The most common steps in the conventional single particle cryoEM pipeline prior to automated screening, together with components that can be improved. Each step is colored to approximate how much of a bottleneck the step is relative to others. The blue circular arrow represents several feedback loops between most steps. The throughput at several steps depends heavily on the sample, funding, and the researcher's location. Please click here to view a larger version of this figure.
Figure 3: Representative Smart Leginon Autoscreen results. Representative multi-scale images following the Smart Leginon Autoscreen protocol collected on a TFS Krios cryoTEM with a BioQuantum energy filter and K3 camera. (A) A composite 'atlas' image showing an overview of a cryoEM grid. (B–F) Multi-scale images from indicated locations in the grid atlas. Low magnification images in the first row, medium magnification images in the second row, and high magnification images in the third row were each selected automatically to obtain information about the sample from thin to thick ice squares. Ice thickness as estimated by Leginon is shown on the bottom. Scale bars are 500 µm in (A) and 10 µm for the first row, 5 µm for the second row, and 100 nm for the third row for (B–F). This figure has been modified with permission from Cheng et al.8. Please click here to view a larger version of this figure.
gr: Grid | sq: Square | hln: Hole | fan: Auto- focus | fcn: Central focus | enn: Exposure | |
Magnification | 210 | 2600 | 6700 | 120000 | 120000 | 120000 |
Defocus | -0.0002 | -0.00015 | -0.00015 | -2 x 10-06 | -7 x 10-07 | -2.5 x 10-06 |
Spot size | 5 | 5 | 4 | 2 | 2 | 2 |
Intensity | 1.1 | 0.83 | 0.65 | 0.44 | 0.44 | 0.45 |
Dimension | 1024 x 1024 | 1024 x 1024 | 1024 x 1024 | 1024 x 1024 | 1024 x 1024 | 4096 x 4096 |
Offset | 0, 0 | 0, 0 | 0, 0 | 0, 0 | 512, 512 | 0, 0 |
Binning | 4 x 4 | 4 x 4 | 4 x 4 | 4 x 4 | 2 x 2 | 1 x 1 |
Exposure time (ms) | 200 | 500 | 500 | 500 | 500 | 1000 |
Pre-Exposure (s) | 0 | 0 | 0 | 0 | 0 | 0 |
Dose (e/Å2) | – | – | – | 36.5 | 36.5 | 64.7 |
Save raw frames | No | No | No | No | No | Yes |
Table 1: Preset parameters for cryoEM grid screening at Simons Electron Microscopy Center (SEMC) using a Glacios cryoTEM with a Falcon 3EC camera. Parameters for each preset commonly used on a Glacios cryoTEM with a Falcon 3EC camera at SEMC are shown. Different microscopes will have varying magnifications available and different experiments will use varying parameters such as defocus and exposure time.
gr: Grid | sq: Square | hln: Hole | fan: Auto- focus | fcn: Central focus | enn: Exposure | |
Magnification | 64 | 1700 | 2850 | 75000 | 75000 | 75000 |
Defocus | 0 | -5 x 10-05 | -5 x 10-05 | -1 x 10-06 | -7 x 10-07 | -2 x 10-06 |
Spot size | 6 | 9 | 9 | 6 | 6 | 7 |
Intensity | 0.001 | 1.65 x 10-05 | 1.5 x 10-05 | 4.3 x 10-07 | 4.3 x 10-07 | 5.5 x 10-07 |
Energy filter width | – | – | – | 20 | 20 | 20 |
Dimension | 1024 x 1024 | 1024 x 1024 | 1024 x 1024 | 1024 x 1024 | 2048 x 2048 | 4096 x 4096 |
Offset | 0, 0 | 0, 0 | 0, 0 | 0, 0 | 0, 0 | 0, 0 |
Binning | 4 x 4 | 4 x 4 | 4 x 4 | 4 x 4 | 2 x 2 | 1 x 1 |
Exposure time (ms) | 500 | 2000 | 1000 | 500 | 300 | 8700 |
Pre-Exposure (s) | 0 | 0 | 0 | 0 | 0 | 0 |
Dose (e/Å2) | – | – | – | – | – | 47.4 |
Save raw frames | No | No | No | No | No | Yes |
Table 2: Preset parameters for cryoEM grid screening at SEMC using a Krios cryoTEM with a Selectris X and Falcon 4i camera. Parameters for each preset commonly used on a Krios with a Selectris X energy filter and Falcon 4i camera at SEMC are shown. Different microscopes will have varying magnifications available and different experiments will use varying parameters such as defocus and exposure time.
gr: Grid | sq: Square | hln: Hole | fan: Auto- focus | fcn: Central focus | enn: Exposure | |
Magnification | 1550 | 940 | 2250 | 81000 | 81000 | 81000 |
Defocus | 0 | -5 x 10-05 | -5 x 10-05 | -1 x 10-06 | -7 x 10-07 | -2 x 10-06 |
Spot size | 4 | 8 | 7 | 6 | 6 | 6 |
Intensity | 0.0015 | 0.00017 | 7.3 x 10-05 | 1.3 x 10-06 | 1.3 x 10-06 | 9.2 x 10-07 |
Energy filter width | – | – | 50 | 20 | 20 | 20 |
Dimension | 1024 x 1024 | 1440 x 1024 | 1440 x 1024 | 1440 x 1024 | 1008 x 1008 | 5760 x 4092 |
Offset | 0, 0 | 0, 0 | 0, 0 | 0, 0 | 936, 519 | 0, 0 |
Binning | 4 x 4 | 8 x 8 | 8 x 8 | 8 x 8 | 4 x 4 | 2 x 2 |
Exposure time (ms) | 250 | 600 | 600 | 500 | 500 | 2100 |
Pre-Exposure (s) | 0 | 0 | 0 | 0 | 0 | 0 |
Dose (e/Å2) | – | – | – | – | – | 51 |
Save raw frames | No | No | No | No | No | Yes |
Table 3: Preset parameters for cryoEM grid screening at SEMC using a Krios cryoTEM with a BioQuantum and K3 camera. Parameters for each preset commonly used on a Krios with a BioQuantum energy filter and K3 camera at SEMC are shown. Different microscopes will have varying magnifications available and different experiments will use varying parameters such as defocus and exposure time.
Supplementary Figure 1: Square Targeting settings and Square settings for Smart Leginon. (A) Square Targeting settings. (B) Square settings. Please click here to download this File.
Supplementary Figure 2: Hole Targeting settings and Hole settings for Smart Leginon. (A) Hole Targeting settings. (B) Hole settings. Please click here to download this File.
Supplementary Figure 3: Exposure Targeting settings and Exposure settings for Smart Leginon. (A) Exposure Targeting settings. (B) Exposure settings. Please click here to download this File.
Supplementary Figure 4: Focus settings and Focus Sequence settings for Smart Leginon. (A) Focus settings. (B) Focus Sequence settings (Defocus1). (C) Focus Sequence settings (Defocus2). Please click here to download this File.
Supplementary Figure 5: Z_Focus settings and Z_Focus Sequence settings for Smart Leginon. (A) Z_Focus settings. (B) Z_Focus Sequence settings (Stage_Tilt_Rough). (C) Z_Focus Sequence settings (Stage_Tilt_Fine). Please click here to download this File.
Supplementary Figure 6: An example atlas after setting up Smart Leginon Square_Targeting parameters. Blue circles are blobs, green plus signs are acquisition locations, and the brown 'x' is the current stage location. Please click here to download this File.
Supplementary Figure 7: An example atlas after setting up Smart Leginon Hole_Targeting parameters. Purple plus signs are lattice locations, green plus signs with boxes are acquisition locations, and the blue plus sign is the focus location. Please click here to download this File.
Supplementary Figure 8: An example atlas after setting up Smart Leginon Exposure_Targeting parameters. Blue circles are blobs, green plus signs are acquisition locations, and the blue plus sign is the focus location. Please click here to download this File.
Supplementary Figure 9: Smart Leginon Autoscreen terminal setup. Please click here to download this File.
Supplementary Figure 10: Smart Leginon Autoscreen gui setup. Please click here to download this File.
In this protocol, we describe the pipeline for Smart Leginon Autoscreen, and additionally basic Leginon usage for those new to the collection software. Single particle cryoEM is poised to become the most productive three-dimensional (3D) protein structure resolving technique by the end of 202417. The single particle cryoEM pipeline consists of several steps that are constantly being optimized to increase data quality and throughput. Figure 2 shows the most common steps (sample preparation, grid preparation, screening time and effort, high-resolution collection time, live processing, and full post-processing) along with other components of the pipeline that can be improved (screening microscope access, stage speed and accuracy, camera speed, and high-resolution microscope access). Results from most steps become feedback loops into previous steps (blue arrows in Figure 2), making the entire pipeline highly interdependent. Each step in Figure 2 is colored to approximate how much of a bottleneck the step is relative to others. Smart Leginon Autoscreen significantly reduces operator time and effort for screening 12 grids from 6 h to less than 10 min, thus relieving that bottleneck and allowing for more rapid feedback to sample/grid preparation (Figure 3).
There are several critical steps in the Protocol, depicted in Figure 1. It is critical that the grid used for creating the template session is representative of the remaining grids to be screened. Importantly, Leginon remembers all settings in the entire setup process for creating a template session (blue steps in Figure 1), which allows for recurrent template sessions to be set up more quickly each time. When creating a template session, the most critical step is setting up targeting at all magnifications so that the parameters and thresholds reflect the expected variation across the grids to be screened. The various ‘Test’ buttons allow for efficiency in this setup process. During an Autoscreen session, it is critical to monitor the first few grids in Appion to quickly detect any issues and fix them inside of Leginon as soon as possible.
The typical workflow at SEMC is to feed Autoscreen data into CryoSPARC Live18 and use this additional information to inform the feedback loops into sample/grid preparation. During intensive researcher-operator cryoEM optimization days, information about the sample and grid conditions is fed back into sample and grid preparation while Autoscreen is still screening grids. This allows for several dozen grids to be frozen and screened per week8.
Smart Leginon Autoscreen works for the majority (80%-90%) of holey grids and conditions observed at SEMC. The remaining 10%-20% of grids include those that sometimes do not work well – grids with minimal contrast difference between holes and substrate; grids with smaller holes and spacing (e.g., 0.6/0.8) – and grids where targeting across multiple grids is often impractical – Spotiton/Chameleon19,20 grids that consist of stripes of sample across the grid; lacey grids. Note that the tilted grid collection with Autoscreen is in development but is not yet available. It may be possible to modify the protocol to work with Spotiton/Chameleon grids by first imaging areas of the stripe manually to determine narrow parameter thresholds, then attempting to group larger and smaller squares together, respectively, in step 2.1.7.4, and then selecting targets from the group with ice. The goal of this modification is to have Smart Leginon separate empty and non-empty squares into two groups. If parameters are found, they may not extend well to the remaining grids to be screened. It may also be possible to modify the protocol to work with lacey grids by removing the hl_finding.sh script in step 2.1.9.1 and configuring the parameters to target lighter/darker areas as desired. The success rate of this modification may vary from grid to grid based on ice thicknesses and grid material.
Troubleshooting during an Autoscreen session is possible and sometimes appropriate. Changes to preset (e.g., defocus) and targeting parameters (e.g., Hole Targeting thresholds) can be made during automated collection. While an Autoscreen session is collecting, a grid session cannot be canceled because it will terminate autoscreen.py. However, the Abort buttons in the Targeting nodes may be used to skip any part of a grid or an entire grid. Occasionally, autoscreen.py may use too much memory and freeze, offering two options: ‘force quit’ or ‘wait’. If ‘force quit’ is selected, the entire script will terminate, requiring the user to rerun the script to be applied to the remaining grids for screening. If ‘wait’ is selected, the script will continue, and settings may be altered to prevent future freezing, e.g., turning off the image display in the Exposure node, decreasing pixel size in the atlas, or running a memory-clear script. If the program freezes without offering the two options, memory errors may not resolve on their own, causing a pause in acquisition. The ‘force quit’ option may be useful in this instance.
Smart Leginon Autoscreen is used regularly at SEMC. As bottlenecks in the single-particle cryoEM pipeline continue to be reduced, cryoEM adoption will continue to increase to help answer biological questions. This Protocol is a step in the direction of optimizing the entire pipeline by providing a clear path for significantly reducing feedback loops.
The authors have nothing to disclose.
Some of this work was performed at the Simons Electron Microscopy Center at the New York Structural Biology Center, with support from the Simons Foundation (SF349247), NIH (U24 GM129539), and NY State Assembly.
Glacios cryoTEM | Thermo Fisher Scientific | GLACIOSTEM | FEG, 200 keV, Falcon 3EC camera |
Krios cryoTEM | Thermo Fisher Scientific | KRIOSG4TEM | XFEG, 300 keV, Gatan BioQuantum energy filter, Gatan K3 camera |
Leginon | Simons Electron Microscopy Center | http://leginon.org | |
Ptolemy | Simons Machine Learning Center | https://github.com/SMLC-NYSBC/ptolemy |