Relion helical reconstruction

This tutorial follows a filament from raw movies through Relion 2D classification, a helical initial model, 3D classification, refinement, Bayesian polishing, and CTF refinement.

The dataset package for this tutorial is not published yet. Use a directory of TIFF movies and a gain reference. The microscope settings below match that file layout: pixel size 1.08 Å and 300 kV, with the gain reference flipped vertically.

Helical constants stay the same on every Relion stage unless a step says otherwise: tube diameter 160 Å, 6 asymmetrical units, rise 4.86 Å, and symmetry C1. The last refinement tightens the rise to 4.84 Å and the twist to about −0.75°.

Cluster time dominates this tutorial. It will not finish on the schedule of the 20-movie T20S tutorial.

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

When the same block type appears more than once, open Actions → Rename and use the display name given in that step.

Step 1: Create a new project

Data processing runs are organized into projects
  • 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 TIFF movies and a gain reference
  • Click Import Data, open the Single Particle tab, and choose Raw Data. The new block appears on the project page

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

    Raw-data import parameters
    • Click Add path and browse to the directory of TIFF movies

    • Click Choose File Pattern to add the path

    • Set Gain reference on the path to the gain-reference file

    • Click on the Raw data tab

    • Leave Binning and Invert contrast at their defaults. Open Advanced options to see them

    • Click on the Gain reference tab

    • 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

    • Set Pixel size (A) to 1.08

    • Set Acceleration voltage (kV) to 300

    • Click on the Resources tab

    • Leave Split, Nodes at its default

  • Click Run

  • After the run finishes, the View tab shows a thumbnail of the imported data

Step 3: Pre-processing

Movie frame alignment and CTF estimation
  • Click on Movies (output of the Single Particle (from Raw Data) block) and select Pre-processing. Choose the current pre-processing block. Pre-processing (legacy) combines picking into the same block

  • Open the Parameters tab. Go to the Frame alignment tab:

    Pre-processing parameters
    • Check Save frame averages

    • Leave the other fields at their defaults

    • Click on the CTF determination tab

    • Leave the defaults

    • Click on the Resources tab

  • Click Run

  • Open Pre-processing and inspect drift and CTF on the Micrographs tab

Step 4: Particle picking

Amyloid filament detection on the aligned micrographs
  • Click on Micrographs and select Particle Picking

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

    Particle picking parameters
    • Set Method to amyloid (relion)

    • Set Particle radius (A) to 50

    • Click on the Resources tab

    • Set Split, Threads to 16

    • Set Merge, Threads to 16

    • Set other runtime parameters as needed (see Computing resources)

  • Click Run

  • Open Particle Picking and check the filaments on the Micrographs tab

Step 5: Particle extraction

Particle Picking cannot connect directly to 2D Classification. Extract helical segments first.

Cut the filaments into helical segments
  • Click on Particles and select Particle Extraction

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

    Helical particle extraction parameters
    • Set Box size (pixels) to 256

    • Set Image binning to 4

    • Check Extract helical segments

    • Set Tube diameter (A) to 160

    • Check Use bimodal angular priors

    • Set Number of unique asymmetrical units to 6

    • Set Helical rise (A) to 4.86

    • Click on the Resources tab

    • Set Split, Threads to 16

    • Set Merge, Threads to 16

    • Set other runtime parameters as needed (see Computing resources)

  • Click Run

Step 6: 2D classification (EM)

Helical class averages with the EM optimizer
  • Click on Particles (output of Particle Extraction) and select 2D Classification

  • Rename the block to Class2D (helical EM)

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

    Helical EM 2D classification parameters
    • Leave Continue from here empty

    • Click on the CTF tab

    • Leave Do CTF-correction? checked

    • Click on the Optimization tab

    • Leave Algorithm at em

    • Set Number of classes to 140

    • Set Regularization parameter T to 20

    • Set Mask diameter (A) to -1

    • Click on the Sampling tab

    • Set In-plane angular sampling to 12

    • Set Offset search step (pixels) to 2

    • Check Allow coarser sampling?

    • Click on the Helix tab

    • Check Classify 2D helical segments?

    • Set Tube diameter (A) to 160

    • Check Restrict helical offset to rise

    • Set Helical rise (A) to 4.86

    • Click on the Compute tab

    • Set Number of pooled particles to 128

    • Check Copy particles to scratch directory

    • Check Use GPU acceleration?

    • Click on the Resources tab

  • Click Run

  • Open the block and review the class averages before selecting

Step 7: Class selection after EM

Keep classes that show the helical tube
  • Click on Particles and select Class Selection

  • Rename the block to Class Selection (2D, after EM)

  • Open the Parameters tab. Go to the Class ranker tab:

    Class selection after EM classification
    • Leave Automatically select 2D classes unchecked

    • Click on the Metadata tab

    • Leave Select based on metadata values unchecked

    • Click on the Duplicates tab

    • Leave Remove duplicates unchecked

    • Click on the Filaments tab

    • Leave Select filaments by dendrogram unchecked

    • Click on the Resources tab

    • Leave the defaults

  • On the class gallery, include classes that show a clear helical tube and exclude empty or featureless classes. You can invert the selection, restore the automatic selection, or use Select only this class

  • Click Run

Step 8: 2D classification (VDAM)

A second helical 2D classification with VDAM
  • Click on Particles and select 2D Classification

  • Rename the block to Class2D (helical VDAM)

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

    Helical VDAM 2D classification parameters
    • Leave Continue from here empty

    • Click on the CTF tab

    • Leave Do CTF-correction? checked

    • Click on the Optimization tab

    • Set Algorithm to vdam

    • Set Number of classes to 100

    • Set Regularization parameter T to 20

    • Set Mask diameter (A) to -1

    • Click on the Sampling tab

    • Set In-plane angular sampling to 12

    • Set Offset search step (pixels) to 2

    • Check Allow coarser sampling?

    • Click on the Helix tab

    • Check Classify 2D helical segments?

    • Set Tube diameter (A) to 160

    • Check Restrict helical offset to rise

    • Set Helical rise (A) to 4.86

    • Click on the Compute tab

    • Set Number of pooled particles to 32

    • Check Copy particles to scratch directory

    • Leave Use GPU acceleration? unchecked

    • Click on the Resources tab

  • Click Run

Step 9: Class selection after VDAM

Keep the helical classes from the VDAM job
  • Click on Particles and select Class Selection

  • Rename the block to Class Selection (2D)

  • Open the Parameters tab. Go to the Class ranker tab:

    Class selection after VDAM classification
    • Leave Automatically select 2D classes unchecked

    • Click on the Metadata tab

    • Leave Select based on metadata values unchecked

    • Click on the Duplicates tab

    • Leave Remove duplicates unchecked

    • Click on the Filaments tab

    • Leave Select filaments by dendrogram unchecked

    • Click on the Resources tab

    • Leave the defaults

  • Include classes that show a clear helical tube, and exclude the rest

  • Click Run

Step 10: Relion helical reconstruction

This block runs Relion helix_inimodel2d on the selected 2D class averages. It produces the initial helical map used by 3D classification.

Build an initial 3D helical model from the 2D classes
  • Click on Particles and select Relion helical reconstruction

  • Open the Parameters tab. Go to the Helical reconstruction tab:

    Relion helical reconstruction parameters
    • Set Crossover distance (A) to 100

    • Click on the Resources tab

    • Leave the defaults

  • Click Run

  • Open the block and inspect the initial helical map before 3D classification

Step 11: Relion 3D classification

Helical Class3D with six classes
  • Click on Particles and select Relion 3D classification

  • Rename the block to Class3D (helical K=6)

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

    Helical 3D classification parameters
    • Leave Continue from here empty

    • Click on the I/O tab

    • Leave Reference map at auto so the job uses the helical initial model

    • Click on the Reference tab

    • Check Ref. map is on absolute greyscale?

    • Set Initial low-pass filter (A) to 30

    • Set Symmetry to C1

    • Click on the CTF tab

    • Check Do CTF-correction?

    • Click on the Optimization tab

    • Set Number of classes to 6

    • Set Regularisation parameter T to 4

    • Set Number of iterations to 25

    • Check Use fast subsets (for large data sets)?

    • Set Mask diameter (A) to 200

    • Check Mask individual particles with zeros?

    • Set Limit resolution E-step to (A) to 5

    • Click on the Sampling tab

    • Set Angular sampling interval to 7.5

    • Set Offset search range (pixels) to 8

    • Set Initial offset step (pixels) to 2

    • Click on the Helix tab

    • Check Do helical reconstruction?

    • Set Tube diameter - outer (A) to 160

    • Set Number of unique asymmetrical units to 6

    • Set Initial helical twist (degrees) to -0.7

    • Set Initial helical rise (A) to 4.86

    • Set Central Z length (%) to 10

    • Check Do local searches of symmetry?

    • Set Helical twist search (degrees) - Min to -0.9, Helical twist search (degrees) - Max to -0.4, and Helical twist search (degrees) - Step to 0.1

    • Set Helical rise search (A) - Min to 4.86, Helical rise search (A) - Max to 4.86, and Helical rise search (A) - Step to 0.1

    • Click on the Compute tab

    • Set Number of pooled particles to 128

    • Check Copy particles to scratch directory

    • Click on the Resources tab

    • Set Relion, Threads per rank (J) to 1

    • Set other runtime parameters as needed (see Computing resources)

  • Click Run

  • Review the six class maps and continue from the class you want to refine

Step 12: Relion refinement

First helical Refine3D
  • Click on Particles and select Relion refinement

  • Rename the block to Refine3D

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

    First helical refinement parameters
    • Leave Continue from here empty

    • Click on the I/O tab

    • Leave Reference map at auto

    • Set Reference mask (optional) to a solvent mask for this filament

    • Click on the Reference tab

    • Leave Ref. map is on absolute greyscale? unchecked

    • Set Initial low-pass filter (A) to 10

    • Set Symmetry to C1

    • Click on the CTF tab

    • Check Do CTF-correction?

    • Click on the Optimization tab

    • Set Mask diameter (A) to 200

    • Check Mask individual particles with zeros?

    • Check Use solvent-flattened FSCs?

    • Click on the Auto-sampling tab

    • Set Initial angular sampling (degrees) to 3.7

    • Set Offset search step (pixels) to 2

    • Click on the Helix tab

    • Check Do helical reconstruction?

    • Set Tube diameter - outer (A) to 160

    • Set Number of unique asymmetrical units to 6

    • Set Initial helical twist (degrees) to -0.75

    • Set Initial helical rise (A) to 4.86

    • Set Central Z length (%) to 10

    • Click on the Compute tab

    • Set Number of pooled particles to 128

    • Check Copy particles to scratch directory

    • Check Use GPU acceleration?

    • Click on the Resources tab

    • Set Relion, Threads per rank (J) to 1

    • Set other runtime parameters as needed (see Computing resources)

  • Click Run

Step 13: Relion Bayesian polishing

Relion Bayesian polishing is in the Preview section of the add-block menu.

Polish particle motion without training new sigmas
  • Click on Particles and, under Preview, select Relion Bayesian polishing

  • Open the Parameters tab. Go to the I/O tab:

    Bayesian polishing parameters
    • Set First movie frame to 1

    • Set Last movie frame to -1

    • Set Extraction size (pix in unbinned movie) to 256

    • Set Re-scaled size (pixels) to 256

    • Check Write output in float16?

    • Click on the Train tab

    • Leave Train optimal parameters? unchecked

    • Click on the Polish tab

    • Check Perform particle polishing?

    • Set Sigma for velocity (A/dose) to 0.4

    • Set Sigma for divergence (A) to 6000

    • Set Sigma for acceleration (A/dose) to 2

    • Set Minimum resolution for B-factor fit (A) to 20

    • Set Maximum resolution for B-factor fit (A) to -1

    • Click on the Resources tab

    • Set Relion, Threads per rank (J) to 2

    • Set other runtime parameters as needed (see Computing resources)

  • Click Run

Step 14: Relion refinement after polishing

Refine the polished particles
  • Click on Particles and select Relion refinement

  • Rename the block to Refine3D (polished)

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

    Refinement after polishing
    • Leave Continue from here empty

    • Click on the I/O tab

    • Leave Reference map at auto

    • Set Reference mask (optional) to the same solvent mask

    • Click on the Reference tab

    • Check Ref. map is on absolute greyscale?

    • Set Initial low-pass filter (A) to 8

    • Set Symmetry to C1

    • Click on the CTF tab

    • Check Do CTF-correction?

    • Click on the Optimization tab

    • Set Mask diameter (A) to 200

    • Check Mask individual particles with zeros?

    • Check Use solvent-flattened FSCs?

    • Click on the Auto-sampling tab

    • Set Initial angular sampling (degrees) to 1.8

    • Set Local searches from auto-sampling (degrees) to 1.8

    • Set Initial offset range (pixels) to 5

    • Set Offset search step (pixels) to 2

    • Click on the Helix tab

    • Check Do helical reconstruction?

    • Set Tube diameter - outer (A) to 160

    • Set Number of unique asymmetrical units to 6

    • Set Initial helical twist (degrees) to -0.75

    • Set Initial helical rise (A) to 4.86

    • Set Central Z length (%) to 10

    • Click on the Compute tab

    • Set Number of pooled particles to 128

    • Check Copy particles to scratch directory

    • Leave Use GPU acceleration? unchecked

    • Set Additional arguments to --skip_gridding

    • Click on the Resources tab

    • Set Relion, Threads per rank (J) to 1

    • Set other runtime parameters as needed (see Computing resources)

  • Click Run

Step 15: Relion CTF refinement

Relion CTF refinement is in the Preview section of the add-block menu.

Per-particle defocus and per-micrograph phase shift
  • Click on Particles and, under Preview, select Relion CTF refinement

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

    CTF refinement parameters
    • Check Perform CTF parameter fitting?

    • Set Fit phase-shift? to Per-micrograph

    • Set Fit defocus? to Per-particle

    • Set Fit astigmatism? to Per-particle

    • Set Fit B-factor? to Per-micrograph

    • Check Estimate beamtilt?

    • Leave Also estimate trefoil?, Estimate 4th order aberrations?, and Estimate (anisotropic) magnification? unchecked

    • Set Minimum resolution for fits (A) to 30

    • Click on the Resources tab

    • Set Relion, Threads per rank (J) to 1

    • Set other runtime parameters as needed (see Computing resources)

  • Click Run

Step 16: Relion refinement after CTF refinement

Final helical refinement with a local symmetry search
  • Click on Particles and select Relion refinement

  • Rename the block to Refine3D (CTF refined)

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

    Final helical refinement parameters
    • Leave Continue from here empty

    • Click on the I/O tab

    • Leave Reference map at auto

    • Set Reference mask (optional) to the same solvent mask

    • Click on the Reference tab

    • Leave Ref. map is on absolute greyscale? unchecked

    • Set Initial low-pass filter (A) to 5

    • Set Symmetry to C1

    • Click on the CTF tab

    • Check Do CTF-correction?

    • Click on the Optimization tab

    • Set Mask diameter (A) to 200

    • Check Mask individual particles with zeros?

    • Check Use solvent-flattened FSCs?

    • Click on the Auto-sampling tab

    • Set Initial angular sampling (degrees) to 1.8

    • Set Local searches from auto-sampling (degrees) to 1.8

    • Set Initial offset range (pixels) to 5

    • Set Offset search step (pixels) to 2

    • Click on the Helix tab

    • Check Do helical reconstruction?

    • Set Tube diameter - outer (A) to 160

    • Set Number of unique asymmetrical units to 6

    • Set Initial helical twist (degrees) to -0.75

    • Set Initial helical rise (A) to 4.84

    • Set Central Z length (%) to 10

    • Check Do local searches of symmetry?

    • Check Keep tilt-prior fixed?

    • Set Helical twist search (degrees) - Min to -0.8, Helical twist search (degrees) - Max to -0.7, and Helical twist search (degrees) - Step to 0.1

    • Set Helical rise search (A) - Min to 4.84, Helical rise search (A) - Max to 4.84, and Helical rise search (A) - Step to 0.1

    • Set Angular search range - tilt (degrees) to 15

    • Set Angular search range - psi (degrees) to 10

    • Set Angular search range - rot (degrees) to -1

    • Click on the Compute tab

    • Set Number of pooled particles to 128

    • Check Copy particles to scratch directory

    • Leave Use GPU acceleration? unchecked

    • Set Additional arguments to --skip_gridding

    • Click on the Resources tab

    • Set Relion, Threads per rank (J) to 1

    • Set other runtime parameters as needed (see Computing resources)

  • Click Run

  • Open the block to review the half-maps and the refined helical parameters

Tip

For how these blocks connect, and which Relion blocks are still marked preview, see Relion.