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:

  1. Click Tomograms on Pre-processing and choose Particle picking

  2. Set Detection method to import

  3. Choose the import location and set Particle radius (A)

  4. Click Run

  5. Confirm green markers in Particle picking

Tip

The project header shows the total particle count for the dataset.

Manual picking

  1. Create Particle picking with Detection method = manual and set Particle radius (A)

  2. Click Run

  3. 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):

  1. Set Detection method to size-based, set Particle radius (A) and related thresholds

  2. Click Run

  3. 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.

Uses pytom-match-pick (GPU required):

  1. Set Detection method to template-search (pytom)

  2. Provide a Template, Particle radius (A), and search options

  3. Click 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:

  1. Set Detection method to template-search (WarpTools)

  2. Provide a Template, its Template symmetry, and Particle radius (A) (the template diameter is twice the radius)

  3. Adjust Angular subdivisions (3 = 7.5° steps), Score threshold, and the other search options as needed

  4. Click 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).

  1. From a compatible upstream (typically particles or pre-processing outputs shown in the add-block menu), choose Fulltilt (eval)

  2. Optionally choose a tomogram Filter if the form offers one

  3. Set Fulltilt / denoised-input options as needed (for example use_denoised when picking on denoised tomograms)

  4. Click Run

  5. 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).

  1. Click Tomograms on Pre-processing (or Denoising (eval)) and choose Particle picking (easymode eval)

  2. Select the Feature (e.g. ribosome, TRiC, proteasome, or filaments such as microtubule and actin) and set Particle radius (A). Features marked (provide model) need a Model file (*.h5, *.scnm). You can also select a model file to use a different network for any feature, as described in Tomogram segmentation

  3. Adjust Minimum spacing (A) (about half the particle diameter) and Minimum blob volume (A^3) to reject small fragments. Enable Filament mode to place particles along filaments

  4. Click Run

  5. Inspect picks inside Particle picking (easymode eval). Enable Save segmentation to 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

  1. In Particle picking, set Detection method to virions and set Virion radius (A)

  2. 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):

  1. Click Particles and choose Segmentation (closed surfaces)

  2. Adjust parameters (defaults work for EMPIAR-10164-like data)

  3. Click Run

  4. 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.

Virion segmentation

Particle picking from virions

  1. Click the closed-surface segmentation output and choose Particle picking (closed surfaces)

  2. Choose uniform spacing or template search on the surface

  3. Click 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

  1. Click Particles (from Particle picking or surface picking) or MiLoPYP particles from MiLoPYP (eval), then choose Particle picking (train)

  2. Set training parameters (see MiLoPYP pattern mining when starting from MiLoPYP)

  3. Click Run

  4. 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

  1. Click Particles model and choose Particle picking (eval)

  2. Select the Trained model (*.pth) (browser defaults to the upstream train/ folder)

  3. Click Run

Tip

  • Re-train with more labels if accuracy is weak

  • Enable Fiber mode to 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.