Single-particle analysis (T20S)

This tutorial shows how to convert raw movies from EMPIAR-10025 (T20S proteasome) into a ~3A resolution structure.

We first use the command line to download and decompress a tbz file containing a subset of 20 movies, the gain reference, and an initial model:

# cd to a location in the shared file system and run:

wget https://nextpyp.app/files/data/nextpyp_spr_tutorial.tbz
tar xvfz nextpyp_spr_tutorial.tbz

Open your browser and navigate to the url of your nextPYP instance (e.g., https://nextpyp.myorganization.org).

Step 1: Create a new project

Data processing runs are organized into projects. We will create a new project for this tutorial
  • The first time you log into nextPYP, you should see an empty Projects page:

    Empty Projects page
  • Click on Create new project, give the project a name, and select Create. Optionally enable Choose folder location (advanced) to set the Folder where project files are stored (otherwise nextPYP chooses a default location)

    Create new project
  • Double-click the new project on the Projects page to open it, or use → Open

    Select new project
  • The newly created project will be empty and a Jobs/Run panel will appear on the right

    Empty project

Step 2: Import raw movies

Import the raw movies downloaded above ( <1 min)
  • Click Import Data, open the Single Particle tab, and choose Raw Data. The new block appears on the project page

    Import dialog
  • Open the Parameters tab (double-click the block on the project page, or use Actions → Edit). Go to the Sources tab:

    File browser
    • Click Add path and browse to the directory where you downloaded the raw data

    • Type 14*.tif in the filter box (lower right) and click on the icon to verify your selection. 20 matches should be displayed

    • Click Choose File Pattern to add the path

    • Set Gain reference on the path to Gain.mrc

    • Click on the Gain reference tab

    File browser
    • Check Flip vertically. To find the rotation and flips for another dataset, use the View tab after the import runs (Gain reference orientation)

    • Click on the Microscope parameters tab

    File browser
    • Set Pixel size (A) to 0.66

    • Set Acceleration voltage (kV) to 300

    Empty Projects page
  • Click Run

  • After the run finishes, the View tab is populated and a thumbnail is displayed inside the block on the project page. Later runs update the View tab and block thumbnail the same way

    Gain thumbnail

Step 3: Pre-processing

Movie frame alignment and CTF estimation ( ~1–2 min)
  • Click on Movies (output of the Single Particle (from Raw Data) block) and select Pre-processing. The new block appears on the project page (choose the current pre-processing block, not Pre-processing (legacy), unless you intentionally want picking combined into the same block)

  • Open the Parameters tab. Go to the Resources tab:

    Pre-processing parameters
  • Click Run. Monitor progress on the Jobs tab. On that tab, open cluster logs with the control next to a job (tabs such as Launch, Split, and Merge); logs dock at the bottom — maximize with and restore with

    Pre-processing block on the project Graph
  • Open the Pre-processing block to inspect results (you do not need to wait for the run to finish). Tabs typically include:

    Dataset statistics
    Table view
    Gallery view

    Drift trajectories, CTF profiles, and power spectra for each micrograph. Nested tabs under a micrograph include the datum-id view and, when present, Amyloid, Half 1, Half 2, and Denoised.

    Micrograph view

    Tip

    On the Micrographs tab, use the navigation bar to move between micrographs. Enable Generate half-micrographs on Parameters if you want the Half 1 / Half 2 nested tabs (even/odd half-micrographs, not Relion half-maps). See 2D particle picking for picking details used in the next step.

Tip

You can also click Import Workflow and choose the Single-particle tutorial workflow to create a full block graph at once. Depending on your install, that workflow may still use Pre-processing (legacy) with picking inside one block.

Step 4: Particle picking

Size-based particle detection on aligned micrographs ( ~1 min)
  • Click on Micrographs (output of the Pre-processing block) and select Particle Picking. The new block appears on the project page

  • Open the Parameters tab. Go to the Particle detection tab:

    • Set Particle radius (A) to 65

    • Set Detection method / Method to all

    • Set Min distance (pixels) to 10

    • Set Resources (for example Split, Threads to 7) if the form exposes them

  • Click Run

  • Open Particle Picking and check picks on the Micrographs tab

Step 5: Reference-based refinement

Reference-based particle alignment ( 3 min)
  • Click on Particles (output of the Particle Picking block) and select Particle refinement. The new block appears on the project page

  • Open the Parameters tab. Go to the Sample tab:

    File browser
    • Set Molecular weight (kDa) to 700

    • Set Particle radius (A) to 80

    • Set Particle symmetry to D7

    • Click on the Particle Extraction tab

    File browser
    • Set Box size (pixels) to 128

    • Set Image binning to 4

    • Click on the Refinement tab

    File browser
    • Set the location of the Initial model by clicking on the icon , navigating to the folder where you downloaded the data for the tutorial, selecting the file EMPIAR-10025_init_ref.mrc, and clicking Choose File

    • Set Max resolution (A) to 8:7:6

    • Check Use signed correlation

    • Set Last iteration to 5

    • Uncheck Skip refinement

    • Check Use alignment priors

    • Click on the Reconstruction tab

    File browser
    • Set Fraction of particles to 0

    File browser
  • Click Run

    File browser

    This process executes four rounds of global orientation search (iterations 2-5). The fraction of good particles at each iteration will be determined automatically (Fraction of particles = 0) and used for reconstruction

  • Open the View tab of the Particle refinement block to inspect the results:

    Iteration 5

Step 6: Filter bad particles

Identify particles with low alignment scores ( 1 min)
  • Click on Particles (output of Particle refinement block) and select Particle filtering. The new block appears on the project page

  • Open the Parameters tab. Go to the Particle filtering tab:

    File browser
    • Check Automatic score threshold

    • Set Min distance between particles (unbinned pixels/voxels) to 20

    • Select the Input parameter file by clicking on the icon and selecting the file sp-coarse-refinement-*_r01_05.par.bz2

    • Check Generate reconstruction after filtering

    • Check Permanently remove particles

    • Click on the Refinement tab

    • Select the Initial model by clicking on the icon and selecting the file sp-coarse-refinement-*_r01_05.mrc

  • Click Run to execute particle cleaning and produce a reconstruction with only the clean particles

  • Open the View tab of the Particle filtering block to look at the reconstruction after cleaning:

    Iteration 2

Step 7: Particle refinement

Reconstruction and additional refinement using 2x binned particles ( 9 min)
  • Click on Particles (output of Particle filtering block) and select Particle refinement. The new block appears on the project page

  • Open the Parameters tab. Go to the Particle Extraction tab:

    File browser
    • Set Box size (pixels) to 256

    • Set Image binning to 2

    • Click on the Refinement tab

    • Select the Initial model by clicking on the icon and selecting the file sp-fine-refinement-*_r01_02.mrc

    • Select the Input parameter file by clicking on the icon and selecting the file sp-fine-refinement-*_r01_02_clean.par.bz2

    • Set Max resolution (A) to 6:4:3

    • Check Use signed correlation

    • Set Last iteration to 6

    • Uncheck Skip refinement

    • Set Search mode to local

  • Click Run to launch the job

  • Open the View tab of the Particle refinement block to inspect the results:

    Iteration 2

    Tip

    Use the navigation bar at the top left of the page to look at the results for different iterations

Step 8: Create shape mask

Use most recent reconstruction to build a shape mask ( <1 min)
  • Click on Particles (output of Particle refinement block) and select Masking. The new block appears on the project page

  • Open the Parameters tab. Enter parameter values for the Masking tab:

    • Select the Input map by clicking on the icon and selecting the file sp-coarse-refinement-*_r01_06.mrc

    • Set Threshold for binarization to 0.3

  • Click Run to launch the job

  • On the Masking block, open , choose Show filesystem location (or the copy-path action), and copy the path for the next step

  • Open the View tab of the Masking block to inspect the results of masking

Step 9: Local refinement

Additional refinement iterations using 2x binned data ( 2 min)
  • Go one block upstream to the Particle refinement block and open the Parameters tab (double-click). Go to the Refinement tab:

    • Set Last iteration to 7

    • Select the Shape mask by clicking on the icon , navigating to the path of the Masking block copied above, and selecting the file frealign/maps/mask.mrc

  • Click Run

  • Open the View tab of the Particle refinement block to inspect the results:

    Iteration 7

Step 10: Particle-based CTF refinement

Per-particle CTF refinement using most recent reconstruction ( 9 min)
  • Open the Parameters tab of the Particle refinement block (double-click). Go to the Refinement tab:

  • Set Last iteration to 8

  • Click on the Constrained refinement tab

  • Set Number of regions to 8,8

  • Check Refine CTF per-particle

  • Click Run

  • Open the View tab of the Particle refinement block to inspect the results

Step 11: Movie frame refinement

Particle-based movie-frame alignment and data-driven exposure weighting ( 8 min)
  • Click Particles (output of Particle refinement block) and select Movie refinement. The new block appears on the project page

  • Open the Parameters tab. Go to the Refinement tab:

    • Select the Initial model by clicking on the icon and selecting the file sp-coarse-refinement-*_r01_08.mrc

    • Select the Input parameter file by clicking on the icon and selecting the file sp-coarse-refinement-*_r01_08.bz2

    • Set Max resolution (A) to 3

    • Set Last iteration to 3

    • Check Skip refinement

    • Go to the Constrained refinement tab

    • Set Last exposure for refinement to 60

    • Check Movie frame refinement

    • Check Regularize translations

    • Set Spatial sigma to 15

    • Go to the Reconstruction tab

    • Check Apply dose weighting

  • Click Run to launch Movie refinement

  • Open the View tab of the Movie refinement block to inspect the results:

    Iteration 3

Step 12: Refinement after movie frame refinement

Additional refinement using new frame alignment parameters ( 8 min)
  • Open the Parameters tab of the Movie refinement block (double-click). Go to the Refinement tab:

    • Set Last iteration to 4

    • Uncheck Skip refinement

    • Click on the Constrained refinement tab

    • Uncheck Movie frame refinement

  • Click Run

  • Open the View tab of the Movie refinement block to inspect the results:

    Final map

Step 13: Map sharpening

Apply B-factor weighting in frequency space ( <1 min)
  • Click Frames (output of Movie refinement block) and select Post-processing. The new block appears on the project page

  • Open the Parameters tab. Go to the Post-processing tab:

    • Select the First half map by clicking on the icon and selecting the file sp-flexible-refinement-*_r01_half1.mrc

    • Set Threshold value to 0.5

    • Set B-factor method to adhoc

    • Set Adhoc value (A^2) to -50

  • Click Run

  • Open the View tab of the Post-processing block to inspect the results:

    Post processing

Info

Running times were measured running micrographs in parallel on nodes with 124 vCPUs, 720GB RAM, and 3TB of local SSDs