Single-particle analysis (T20S)¶
This tutorial shows how to convert raw movies from EMPIAR-10025 (T20S proteasome) into a ~3A resolution structure.
Total running time required to complete this tutorial: 45 min.
Pre-calculated results are available in the demo instance of nextPYP.
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:
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 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
Open the Parameters tab (double-click the block on the project page, or use Actions → Edit). Go to the Sources tab:
Click Add path and browse to the directory where you downloaded the raw data
Type
14*.tifin the filter box (lower right) and click on the icon to verify your selection. 20 matches should be displayedClick Choose File Pattern to add the path
Set
Gain referenceon the path toGain.mrcClick 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 0.66Set
Acceleration voltage (kV)to 300
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
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:
Set
Split, Threadsto 7Set other runtime parameters as needed (see Computing resources)
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
Open the Pre-processing block to inspect results (you do not need to wait for the run to finish). Tabs typically include:
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, andDenoised.
Tip
On the Micrographs tab, use the navigation bar to move between micrographs. Enable
Generate half-micrographson Parameters if you want theHalf 1/Half 2nested 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 pageOpen the Parameters tab. Go to the Particle detection tab:
Set
Particle radius (A)to 65Set
Detection method/MethodtoallSet
Min distance (pixels)to 10Set Resources (for example
Split, Threadsto 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 pageOpen the Parameters tab. Go to the Sample tab:
Set
Molecular weight (kDa)to 700Set
Particle radius (A)to 80Set
Particle symmetryto D7Click on the Particle Extraction tab
Set
Box size (pixels)to 128Set
Image binningto 4Click on the Refinement tab
Set the location of the
Initial modelby 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 FileSet
Max resolution (A)to 8:7:6Check
Use signed correlationSet
Last iterationto 5Uncheck
Skip refinementCheck
Use alignment priorsClick on the Reconstruction tab
Set
Fraction of particlesto 0
Click Run
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 reconstructionOpen the View tab of the Particle refinement block to inspect the results:
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 pageOpen the Parameters tab. Go to the Particle filtering tab:
Check
Automatic score thresholdSet
Min distance between particles (unbinned pixels/voxels)to 20Select the
Input parameter fileby clicking on the icon and selecting the file sp-coarse-refinement-*_r01_05.par.bz2Check
Generate reconstruction after filteringCheck
Permanently remove particlesClick on the Refinement tab
Select the
Initial modelby 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:
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 pageOpen the Parameters tab. Go to the Particle Extraction tab:
Set
Box size (pixels)to 256Set
Image binningto 2Click on the Refinement tab
Select the
Initial modelby clicking on the icon and selecting the file sp-fine-refinement-*_r01_02.mrcSelect the
Input parameter fileby clicking on the icon and selecting the file sp-fine-refinement-*_r01_02_clean.par.bz2Set
Max resolution (A)to 6:4:3Check
Use signed correlationSet
Last iterationto 6Uncheck
Skip refinementSet
Search modeto local
Click Run to launch the job
Open the View tab of the Particle refinement block to inspect the results:
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 pageOpen the Parameters tab. Enter parameter values for the Masking tab:
Select the
Input mapby clicking on the icon and selecting the file sp-coarse-refinement-*_r01_06.mrcSet
Threshold for binarizationto 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 iterationto 7Select the
Shape maskby 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:
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 iterationto 8Click on the Constrained refinement tab
Set
Number of regionsto 8,8Check
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 pageOpen the Parameters tab. Go to the Refinement tab:
Select the
Initial modelby clicking on the icon and selecting the file sp-coarse-refinement-*_r01_08.mrcSelect the
Input parameter fileby clicking on the icon and selecting the file sp-coarse-refinement-*_r01_08.bz2Set
Max resolution (A)to 3Set
Last iterationto 3Check
Skip refinementGo to the Constrained refinement tab
Set
Last exposure for refinementto 60Check
Movie frame refinementCheck
Regularize translationsSet
Spatial sigmato 15Go 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:
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 iterationto 4Uncheck
Skip refinementClick on the Constrained refinement tab
Uncheck
Movie frame refinement
Click Run
Open the View tab of the Movie refinement block to inspect the results:
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 pageOpen the Parameters tab. Go to the Post-processing tab:
Select the
First half mapby clicking on the icon and selecting the file sp-flexible-refinement-*_r01_half1.mrcSet
Threshold valueto 0.5Set
B-factor methodto adhocSet
Adhoc value (A^2)to -50
Click Run
Open the View tab of the Post-processing block to inspect the results:
Info
Running times were measured running micrographs in parallel on nodes with 124 vCPUs, 720GB RAM, and 3TB of local SSDs