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:
Click on Create new project, give the project a name, and select Create. Optionally enable
Choose folder location (advanced)to set theFolderwhere project files are stored (otherwisenextPYPchooses a default location)
Double-click the new project on the Projects page to open it, or use → Open
The newly created project will be empty and a Jobs/Run panel will appear on the right
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:
Click Add path and browse to the directory of TIFF movies
Click Choose File Pattern to add the path
Set
Gain referenceon the path to the gain-reference fileClick on the Raw data tab
Leave
BinningandInvert contrastat their defaults. Open Advanced options to see themClick 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.08Set
Acceleration voltage (kV)to 300Click on the Resources tab
Leave
Split, Nodesat 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 blockOpen the Parameters tab. Go to the Frame alignment tab:
Check
Save frame averagesLeave the other fields at their defaults
Click on the CTF determination tab
Leave the defaults
Click on the Resources tab
Set
Split, Threadsto 7Set other runtime parameters as needed (see Computing resources)
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
Micrographsand select Particle PickingOpen the Parameters tab. Go to the Particle detection tab:
Set
Methodtoamyloid (relion)Set
Particle radius (A)to 50Click on the Resources tab
Set
Split, Threadsto 16Set
Merge, Threadsto 16Set 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
Particlesand select Particle ExtractionOpen the Parameters tab. Go to the Particle extraction tab:
Set
Box size (pixels)to 256Set
Image binningto 4Check
Extract helical segmentsSet
Tube diameter (A)to 160Check
Use bimodal angular priorsSet
Number of unique asymmetrical unitsto 6Set
Helical rise (A)to 4.86Click on the Resources tab
Set
Split, Threadsto 16Set
Merge, Threadsto 16Set 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 ClassificationRename the block to
Class2D (helical EM)Open the Parameters tab. Go to the Continue tab:
Leave
Continue from hereemptyClick on the CTF tab
Leave
Do CTF-correction?checkedClick on the Optimization tab
Leave
AlgorithmatemSet
Number of classesto 140Set
Regularization parameter Tto 20Set
Mask diameter (A)to -1Click on the Sampling tab
Set
In-plane angular samplingto 12Set
Offset search step (pixels)to 2Check
Allow coarser sampling?Click on the Helix tab
Check
Classify 2D helical segments?Set
Tube diameter (A)to 160Check
Restrict helical offset to riseSet
Helical rise (A)to 4.86Click on the Compute tab
Set
Number of pooled particlesto 128Check
Copy particles to scratch directoryCheck
Use GPU acceleration?Click on the Resources tab
Set
Relion, Threadsto 12Set other runtime parameters as needed (see Computing resources)
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
Particlesand select Class SelectionRename the block to
Class Selection (2D, after EM)Open the Parameters tab. Go to the Class ranker tab:
Leave
Automatically select 2D classesuncheckedClick on the Metadata tab
Leave
Select based on metadata valuesuncheckedClick on the Duplicates tab
Leave
Remove duplicatesuncheckedClick on the Filaments tab
Leave
Select filaments by dendrogramuncheckedClick 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
Particlesand select 2D ClassificationRename the block to
Class2D (helical VDAM)Open the Parameters tab. Go to the Continue tab:
Leave
Continue from hereemptyClick on the CTF tab
Leave
Do CTF-correction?checkedClick on the Optimization tab
Set
AlgorithmtovdamSet
Number of classesto 100Set
Regularization parameter Tto 20Set
Mask diameter (A)to -1Click on the Sampling tab
Set
In-plane angular samplingto 12Set
Offset search step (pixels)to 2Check
Allow coarser sampling?Click on the Helix tab
Check
Classify 2D helical segments?Set
Tube diameter (A)to 160Check
Restrict helical offset to riseSet
Helical rise (A)to 4.86Click on the Compute tab
Set
Number of pooled particlesto 32Check
Copy particles to scratch directoryLeave
Use GPU acceleration?uncheckedClick on the Resources tab
Set
Relion, Threadsto 28Set other runtime parameters as needed (see Computing resources)
Click Run
Step 9: Class selection after VDAM¶
Keep the helical classes from the VDAM job
Click on
Particlesand select Class SelectionRename the block to
Class Selection (2D)Open the Parameters tab. Go to the Class ranker tab:
Leave
Automatically select 2D classesuncheckedClick on the Metadata tab
Leave
Select based on metadata valuesuncheckedClick on the Duplicates tab
Leave
Remove duplicatesuncheckedClick on the Filaments tab
Leave
Select filaments by dendrogramuncheckedClick 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
Particlesand select Relion helical reconstructionOpen the Parameters tab. Go to the Helical reconstruction tab:
Set
Crossover distance (A)to 100Click 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
Particlesand select Relion 3D classificationRename the block to
Class3D (helical K=6)Open the Parameters tab. Go to the Continue tab:
Leave
Continue from hereemptyClick on the I/O tab
Leave
Reference mapatautoso the job uses the helical initial modelClick on the Reference tab
Check
Ref. map is on absolute greyscale?Set
Initial low-pass filter (A)to 30Set
SymmetrytoC1Click on the CTF tab
Check
Do CTF-correction?Click on the Optimization tab
Set
Number of classesto 6Set
Regularisation parameter Tto 4Set
Number of iterationsto 25Check
Use fast subsets (for large data sets)?Set
Mask diameter (A)to 200Check
Mask individual particles with zeros?Set
Limit resolution E-step to (A)to 5Click on the Sampling tab
Set
Angular sampling intervalto 7.5Set
Offset search range (pixels)to 8Set
Initial offset step (pixels)to 2Click on the Helix tab
Check
Do helical reconstruction?Set
Tube diameter - outer (A)to 160Set
Number of unique asymmetrical unitsto 6Set
Initial helical twist (degrees)to -0.7Set
Initial helical rise (A)to 4.86Set
Central Z length (%)to 10Check
Do local searches of symmetry?Set
Helical twist search (degrees) - Minto -0.9,Helical twist search (degrees) - Maxto -0.4, andHelical twist search (degrees) - Stepto 0.1Set
Helical rise search (A) - Minto 4.86,Helical rise search (A) - Maxto 4.86, andHelical rise search (A) - Stepto 0.1Click on the Compute tab
Set
Number of pooled particlesto 128Check
Copy particles to scratch directoryClick on the Resources tab
Set
Relion, Threads per rank (J)to 1Set 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
Particlesand select Relion refinementRename the block to
Refine3DOpen the Parameters tab. Go to the Continue tab:
Leave
Continue from hereemptyClick on the I/O tab
Leave
Reference mapatautoSet
Reference mask (optional)to a solvent mask for this filamentClick on the Reference tab
Leave
Ref. map is on absolute greyscale?uncheckedSet
Initial low-pass filter (A)to 10Set
SymmetrytoC1Click on the CTF tab
Check
Do CTF-correction?Click on the Optimization tab
Set
Mask diameter (A)to 200Check
Mask individual particles with zeros?Check
Use solvent-flattened FSCs?Click on the Auto-sampling tab
Set
Initial angular sampling (degrees)to 3.7Set
Offset search step (pixels)to 2Click on the Helix tab
Check
Do helical reconstruction?Set
Tube diameter - outer (A)to 160Set
Number of unique asymmetrical unitsto 6Set
Initial helical twist (degrees)to -0.75Set
Initial helical rise (A)to 4.86Set
Central Z length (%)to 10Click on the Compute tab
Set
Number of pooled particlesto 128Check
Copy particles to scratch directoryCheck
Use GPU acceleration?Click on the Resources tab
Set
Relion, Threads per rank (J)to 1Set 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
Particlesand, under Preview, select Relion Bayesian polishingOpen the Parameters tab. Go to the I/O tab:
Set
First movie frameto 1Set
Last movie frameto -1Set
Extraction size (pix in unbinned movie)to 256Set
Re-scaled size (pixels)to 256Check
Write output in float16?Click on the Train tab
Leave
Train optimal parameters?uncheckedClick on the Polish tab
Check
Perform particle polishing?Set
Sigma for velocity (A/dose)to 0.4Set
Sigma for divergence (A)to 6000Set
Sigma for acceleration (A/dose)to 2Set
Minimum resolution for B-factor fit (A)to 20Set
Maximum resolution for B-factor fit (A)to -1Click on the Resources tab
Set
Relion, Threads per rank (J)to 2Set other runtime parameters as needed (see Computing resources)
Click Run
Step 14: Relion refinement after polishing¶
Refine the polished particles
Click on
Particlesand select Relion refinementRename the block to
Refine3D (polished)Open the Parameters tab. Go to the Continue tab:
Leave
Continue from hereemptyClick on the I/O tab
Leave
Reference mapatautoSet
Reference mask (optional)to the same solvent maskClick on the Reference tab
Check
Ref. map is on absolute greyscale?Set
Initial low-pass filter (A)to 8Set
SymmetrytoC1Click on the CTF tab
Check
Do CTF-correction?Click on the Optimization tab
Set
Mask diameter (A)to 200Check
Mask individual particles with zeros?Check
Use solvent-flattened FSCs?Click on the Auto-sampling tab
Set
Initial angular sampling (degrees)to 1.8Set
Local searches from auto-sampling (degrees)to 1.8Set
Initial offset range (pixels)to 5Set
Offset search step (pixels)to 2Click on the Helix tab
Check
Do helical reconstruction?Set
Tube diameter - outer (A)to 160Set
Number of unique asymmetrical unitsto 6Set
Initial helical twist (degrees)to -0.75Set
Initial helical rise (A)to 4.86Set
Central Z length (%)to 10Click on the Compute tab
Set
Number of pooled particlesto 128Check
Copy particles to scratch directoryLeave
Use GPU acceleration?uncheckedSet
Additional argumentsto--skip_griddingClick on the Resources tab
Set
Relion, Threads per rank (J)to 1Set 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
Particlesand, under Preview, select Relion CTF refinementOpen the Parameters tab. Go to the Fit tab:
Check
Perform CTF parameter fitting?Set
Fit phase-shift?toPer-micrographSet
Fit defocus?toPer-particleSet
Fit astigmatism?toPer-particleSet
Fit B-factor?toPer-micrographCheck
Estimate beamtilt?Leave
Also estimate trefoil?,Estimate 4th order aberrations?, andEstimate (anisotropic) magnification?uncheckedSet
Minimum resolution for fits (A)to 30Click on the Resources tab
Set
Relion, Threads per rank (J)to 1Set 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
Particlesand select Relion refinementRename the block to
Refine3D (CTF refined)Open the Parameters tab. Go to the Continue tab:
Leave
Continue from hereemptyClick on the I/O tab
Leave
Reference mapatautoSet
Reference mask (optional)to the same solvent maskClick on the Reference tab
Leave
Ref. map is on absolute greyscale?uncheckedSet
Initial low-pass filter (A)to 5Set
SymmetrytoC1Click on the CTF tab
Check
Do CTF-correction?Click on the Optimization tab
Set
Mask diameter (A)to 200Check
Mask individual particles with zeros?Check
Use solvent-flattened FSCs?Click on the Auto-sampling tab
Set
Initial angular sampling (degrees)to 1.8Set
Local searches from auto-sampling (degrees)to 1.8Set
Initial offset range (pixels)to 5Set
Offset search step (pixels)to 2Click on the Helix tab
Check
Do helical reconstruction?Set
Tube diameter - outer (A)to 160Set
Number of unique asymmetrical unitsto 6Set
Initial helical twist (degrees)to -0.75Set
Initial helical rise (A)to 4.84Set
Central Z length (%)to 10Check
Do local searches of symmetry?Check
Keep tilt-prior fixed?Set
Helical twist search (degrees) - Minto -0.8,Helical twist search (degrees) - Maxto -0.7, andHelical twist search (degrees) - Stepto 0.1Set
Helical rise search (A) - Minto 4.84,Helical rise search (A) - Maxto 4.84, andHelical rise search (A) - Stepto 0.1Set
Angular search range - tilt (degrees)to 15Set
Angular search range - psi (degrees)to 10Set
Angular search range - rot (degrees)to -1Click on the Compute tab
Set
Number of pooled particlesto 128Check
Copy particles to scratch directoryLeave
Use GPU acceleration?uncheckedSet
Additional argumentsto--skip_griddingClick on the Resources tab
Set
Relion, Threads per rank (J)to 1Set 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.