3D particle picking¶
nextPYP offers size-based, geometry-based, template-search, neural-network, and Fulltilt picking for tomograms,
plus interactive manual picking and import/export of coordinates.
Start from Tomograms produced by Pre-processing.
(Pre-processing (warp) is currently disabled; when it returns, it will also produce Tomograms.)
See the classification tutorial for a worked example.
Main particle picking block¶
The Particle picking block takes Tomograms and implements the core methods below.
Import coordinates¶
Import IMOD models (*.spk) or plain-text *.box coordinates:
Click
Tomogramson Pre-processing and choose Particle pickingSet
Detection methodtoimportChoose the import location and set
Particle radius (A)Click Run
Confirm green markers in Particle picking
Tip
The project header shows the total particle count for the dataset.
Manual picking¶
Create Particle picking with
Detection method=manualand setParticle radius (A)Click Run
In the block, scrub tomogram slices and click to add particles; right-click to remove. Coordinates save as you edit.
Size-based picking¶
Described in Jin et al. (2024):
Set
Detection methodtosize-based, setParticle radius (A)and related thresholdsClick Run
Inspect results in Particle picking
Tip
To edit automatic picks, copy the block with Copy files and data and Make automatically-picked particles editable, then add or delete markers manually.
Template search¶
Uses pytom-match-pick (GPU required):
Set
Detection methodtotemplate-search (pytom)Provide a
Template,Particle radius (A), and search optionsClick Run
Tip
For EMDB templates with white density on a dark background, enable Invert so contrast matches your tomograms.
Template search (WarpTools)¶
Uses the CTF-aware ts_template_match command from WarpTools (GPU required).
Each tilt-series is matched with its nextPYP alignment and per-tilt CTF, so picks land directly in the nextPYP tomograms:
Set
Detection methodtotemplate-search (WarpTools)Provide a
Template, itsTemplate symmetry, andParticle radius (A)(the template diameter is twice the radius)Adjust
Angular subdivisions(3= 7.5° steps),Score threshold, and the other search options as neededClick Run
Scores are normalized per tomogram (median 0, standard deviation 1), so one Score threshold works across a dataset; 3 is a good starting point.
Correlation volumes are kept, and with Use existing scores, if available enabled you can change the threshold or the maximum number of particles without repeating the search.
Matching runs at the pixel size of the nextPYP tomograms, and each pick keeps the orientation found by WarpTools as its initial orientation.
By default the existing nextPYP tomograms are matched. Enable Recalculate tomograms with WarpTools to have WarpTools reconstruct each tomogram from the nextPYP alignments and CTF instead; this is slower because the motion-corrected tilt-series has to be rebuilt.
Tip
Use a map with positive (white) density, such as an EMDB entry, and do not invert it: WarpTools inverts the tomogram contrast before matching.
For apoferritin (EMPIAR-10491) use EMD-15854 with O symmetry and a particle radius of 65 A.
Fulltilt picking¶
Fulltilt (eval) runs Fulltilt-based particle picking with same-instance and cross-instance inference (CPU or GPU, depending on options).
From a compatible upstream (typically particles or pre-processing outputs shown in the add-block menu), choose Fulltilt (eval)
Optionally choose a tomogram
Filterif the form offers oneSet Fulltilt / denoised-input options as needed (for example
use_denoisedwhen picking on denoised tomograms)Click Run
Inspect tilt-series views and picks inside Fulltilt (eval)
easymode picking¶
Particle picking (easymode eval) segments a feature with a pre-trained easymode network and places particles in the resulting segmentation. No training or templates are needed (GPU recommended).
Click
Tomogramson Pre-processing (or Denoising (eval)) and choose Particle picking (easymode eval)Select the
Feature(e.g. ribosome, TRiC, proteasome, or filaments such as microtubule and actin) and setParticle radius (A). Features marked(provide model)need aModel file (*.h5, *.scnm). You can also select a model file to use a different network for any feature, as described in Tomogram segmentationAdjust
Minimum spacing (A)(about half the particle diameter) andMinimum blob volume (A^3)to reject small fragments. EnableFilament modeto place particles along filamentsClick Run
Inspect picks inside Particle picking (easymode eval). Enable
Save segmentationto also keep the thresholded feature segmentation
Geometry-based picking blocks¶
Geometry-based picking targets membrane proteins on virions or vesicles, as in Liu et al. (2023).
Detection of virion centers¶
In Particle picking, set
Detection methodtovirionsand setVirion radius (A)Click Run
Tip
Any picking method can supply centers; if radius was not estimated, the constant Virion radius (A) is applied to all virions.
Virion segmentation¶
Uses the energy-based approach in Bartesaghi et al. (2005):
Click
Particlesand choose Segmentation (closed surfaces)Adjust parameters (defaults work for EMPIAR-10164-like data)
Click Run
In Segmentation (closed surfaces), open the Segmentation tab and pick a threshold column (1–8) per virion, or
-to ignore
Selections save when you click a column.
Particle picking from virions¶
Click the closed-surface segmentation output and choose Particle picking (closed surfaces)
Choose
uniformspacing ortemplate searchon the surfaceClick Run
For open membranes and filaments, use Segmentation (pre-trained models) followed by Particle picking (surfaces, filaments) (see Tomogram segmentation).
Neural-network picking blocks¶
Train/eval picking follows Huang et al. (2024).
Model training¶
Click
Particles(from Particle picking or surface picking) orMiLoPYP particlesfrom MiLoPYP (eval), then choose Particle picking (train)Set training parameters (see MiLoPYP pattern mining when starting from MiLoPYP)
Click Run
Watch training loss in Particle picking (train)
Note
Roughly 40–50 particles from 2–3 tomograms is often enough
Models land under
train/YYYYMMDD_HHMMSS/*.pth
Model evaluation¶
Click
Particles modeland choose Particle picking (eval)Select the
Trained model (*.pth)(browser defaults to the upstreamtrain/folder)Click Run
Tip
Re-train with more labels if accuracy is weak
Enable
Fiber modeto group neighbors, fit a trajectory, and resample along filaments
Tilt exclusion¶
On pre-processing Tilt Series / Tomograms views, use the tilt navigation bar to ignore bad frames before picking:
Ignore this image / Include this image for the current tilt
Ignore all before / Ignore all after (or the matching Include actions)
Apply the same ignore/include by image index or tilt angle across every tilt-series in the block
Excluded tilts stay out of alignment and reconstruction until you include them again.