Overview of UI

This page introduces the main pieces of the nextPYP web interface: the Projects page, project views, blocks, the Jobs/Run panel, and Sessions. If you are new to nextPYP, skim this page once, then follow a tutorial end to end.

Projects

  • The Projects page is the top-level home of nextPYP. From here you create, open, star, search, and share projects, and jump to streaming Sessions.

    Empty Projects page
  • Primary actions include Create new project, Import Project, and Go to Sessions. Search uses the Search projects… box. Filter with My Projects / Shared Projects / All Projects, and toggle Starred only.

  • Double-click a project to open it, or use the actions menu () → Open. The same menu also has Rename, SLURM cluster, Sharing, Get location, Export project, and Delete. Each project has a star control. You can also Rename the open project from its toolbar menu. The account menu has Logout. From Your Account → Alarms, configure Slack, Teams, Discord, or email notifications for runs, sessions, transfers, and low disk space (see Alarms).

  • SLURM cluster chooses which login node submits this project’s jobs when the site has more than one. Jobs already in the queue stay on the node that accepted them. See Configuration file.

  • Export project, and Export selected … on a Graph selection, write a bundle you can bring back with Import Project. Progress stays on the Running Jobs summary until the transfer finishes. Copy selected can also copy the block files when you turn on Copy files and data.

  • A Running Jobs summary on the right shows work across projects.

  • Switch between Grid and List layouts when you need denser browsing.

  • Open a project (double-click or → Open) and work with its connected blocks.

    Open project in Graph view

Blocks

Each Block is one unit of processing (import, pre-processing, picking, refinement, masking, and so on). Blocks expose parameters and results; a project is a directed graph of compatible blocks.

Project Graph view with blocks

Inside a project you can switch among:

  • Graph view — the block diagram (default for wiring pipelines)

  • List view — a compact list of blocks

  • Gallery view — visual browsing of block outputs

Toolbar actions include Import Data, Import Workflow, and the Selection menu (for example Select All, Run selected, Copy selected, Export as workflow …, Delete selected …).

Opening a block shows an integrated page with two tabs:

  • View — plots, tables, galleries, and other results

  • Parameters — the block argument form. Changes autosave; the footer has Reset (defaults) and Retrieve from last run

On View, most preprocess / pick / denoise blocks also expose a live image tab:

  • Micrographs (single-particle) — navigate micrographs one at a time

  • Tilt Series or Tomograms (tomography; which label appears depends on the block) — navigate tilt-series / tomograms

Inside that live tab, each datum has its own nested tabs. Common ones:

  • Datum id (or Tilts / Alignment / CTF / Tomogram on Tilt Series) — motion, CTF, and the primary reconstruction / average

  • Half 1 / Half 2 — even/odd half-micrographs or half-tomograms, when Generate half-micrographs or Generate half-tomograms was enabled (and the files exist)

  • Denoised — denoised micrograph or tomogram (denoising and some picking / train-eval blocks)

  • Segmentation — segmented volumes when that product is available

  • Amyloid — amyloid preview imagery on some SPA preprocess / pick paths

  • A log tab for per-datum processing output

These nested tabs appear only when the corresponding product is present; download badges on each tab fetch the matching .mrc / .rec file.

Note

Half 1 / Half 2 are not Relion gold-standard half-maps. They are even/odd frame (SPA) or half-tilt / half-frame (tomo) products used for denoising and inspection.

Use Run / Stop (which becomes Stopping…) on the block status bar for the current block. Cluster logs are opened from the Jobs tab of the Jobs/Run panel (and dock at the bottom; you can maximize them).

Tip

  • In Graph view, left-drag on empty canvas pans; right-drag draws a selection box around blocks (blocks fully inside the box are selected). Click a block title to toggle its selection

  • Drag a selected block to move the whole selection together

  • Use the Selection menu for Select All, Deselect All, and bulk actions on the current selection

  • A zoom minimap helps navigate large graphs

  • Find block (toolbar search, shortcut /) locates a block by name or number and zooms the Graph onto it

  • Blocks missing required parameters are highlighted in red on Graph, List, and Gallery views (tooltip: “This block is missing required parameters”)

  • You can create any compatible block type from the Block page; new blocks are not opened automatically. Choosing a type from Import Data or a socket menu creates the block immediately with defaults — open Parameters to configure it (autosave). There is no Save / Save and Run

  • Copy on a block (or Copy selected) duplicates the block with the same inputs and parameters and opens Parameters on the copy

Sessions

Streaming data collection lives under Sessions (from Projects, click Go to Sessions). A session page has three tabs: View, Parameters, and Data I/O, plus a Daemons side panel for file transfer and on-the-fly processing. Inside View, 2D Classes shows the class averages from the session, including FREALIGN and cisTEM averages, and lets you select classes the same way a Class Selection block does. Scatter is on the same View tab. Use Start / Cancel (which becomes Canceling…) on the session status bar to start the session or cancel all daemons. See the single-particle and tomography session tutorials.

Block connectivity

Each block has typed inputs and outputs. nextPYP only allows connections when types are compatible (for example Movies → pre-processing, or Relion refinement particles → M-core refinement where allowed). Incompatible links are rejected in the UI.

Common socket names include Movies, Tilt-series, Micrographs, Tomograms, Particles, Frames, Particle classes, and specialty sockets such as DRGN model, MiLoPYP particles, or Segmentation (open).

Types

Single-particle and tomography projects share the same interaction model but offer different block catalogs. Names below match the labels shown in the app (use these exact strings in other docs).

Import

Description: Use Import Data (Single Particle tab): Raw Data, From nextPYP, From nextPYP (particles), or From Relion (plus collapsed Legacy import options). See Import/export functionality.

Common blocks: Single Particle (from Raw Data), Single Particle (from nextPYP), Single Particle (particles from nextPYP), Single Particle (from Star), and legacy Single Particle (from Project) / Single Particle (from Session).

Output: Movies (or related particle/micrograph sockets depending on the import path)

Pre-processing

Description: Movie frame alignment and CTF estimation without bundling picking into the same block.

Block: Pre-processing (prefer this over Pre-processing (legacy), which still combines older workflows).

The View tab includes Scatter, which plots any two table columns and lets you lasso micrographs. Save the lasso under a name and combine it with table filters.

Input: Movies

Output: Micrographs / intermediate products for downstream picking and filtering blocks

Denoising

Description: Micrograph denoising (including Topaz train/eval flows).

Blocks: Denoising, Denoising (train), Denoising (eval).

Input / Output: micrograph-oriented sockets (see the block form)

Segmentation / prismPYP

Description: Micrograph segmentation and self-supervised micrograph evaluation (prismPYP).

Blocks: Segmentation, prismPYP.

Particle picking

Description: Size-based, template, neural-network, amyloid/filament, and related picking methods as dedicated blocks.

Blocks: Particle Picking, Particle picking (train), Particle picking (eval).

Output: Particles

Particle refinement / classification

Description: Particle alignment, 2D classification, and related refinement.

Blocks: Particle refinement, Particle Extraction, 2D Classification, Class Selection, Continuous Heterogeneity.

Particle Extraction sits between picking and 2D Classification, and can also follow class selection or a Relion 3D block when you want to re-extract.

Relion

Description: Relion ab-initio, 3D classification, Refine3D, CTF refinement, Bayesian polishing, and helical reconstruction. See Relion.

Blocks: Relion 3D initial reference, Relion 3D classification, 3D Class Selection, Relion refinement, Relion CTF refinement, Relion Bayesian polishing, Relion helical reconstruction, Map operations.

Relion CTF refinement and Relion Bayesian polishing are still in the Preview menu. The other Relion blocks are in the regular catalog.

Native Particle refinement cannot feed Relion or 2D Classification.

Input: Particles

Output: Particles

Particle filtering

Description: Remove bad particles before downstream analysis.

Block: Particle filtering

Input / Output: Particles

Movie refinement

Description: Per-particle movie frame alignment and dose weighting.

Block: Movie refinement

Input: Particles or Frames

Output: Frames

Masking / Post-processing

Description: Shape masks, sharpening, and FSC plots (single-particle projects).

Blocks: Masking, Post-processing

Import

Description: Use Import Data (Tomography tab): Raw Data, From nextPYP, From nextPYP (particles), or From Relion (plus collapsed Legacy import options). See Import/export functionality.

Common blocks: Tomography (from Raw Data), Tomography (from nextPYP), Tomography (particles from nextPYP), Tomography (from Star), and legacy Tomography (from Project) / Tomography (from legacy Project) / Tomography (from Session).

Output: Tilt-series

Pre-processing

Description: Frame and tilt-series alignment, tomogram reconstruction, and CTF estimation.

Blocks: Pre-processing (current), Pre-processing (legacy) (combined older path including picking). Pre-processing (warp) is in the catalog but disabled until the WarpTools path is complete — it is not offered in menus.

The View tab includes Scatter for tilt-series, with the same lasso and saved filters as the single-particle pre-processing view.

Input: Tilt-series

Output: Tomograms (legacy path may output Particles)

Denoising

Description: Train and evaluate neural denoisers for tomograms (cryoCARE, Topaz, IsoNet/IsoNet2, Noise2Map wrappers as configured).

Blocks: Denoising (train), Denoising (eval)

Input / Output: Tomograms

Segmentation

Description: Open- and closed-surface segmentation for downstream geometry-aware picking.

Blocks: Segmentation (pre-trained models), Segmentation (closed surfaces)

Particle picking

Description: Import, manual, size-based, virion, template, surface/filament, and Fulltilt picking.

Blocks: Particle picking, Particle picking (surfaces, filaments), Particle picking (closed surfaces), Fulltilt (eval), plus Particle picking (train) / Particle picking (eval).

Input: Tomograms (and related)

Output: Particles

MiLoPYP

Description: Pattern mining train/eval (MiLoPYP).

Blocks: MiLoPYP (train), MiLoPYP (eval)

Native refinement & classification

Description: Ab-initio, reconstruction, reference-based and 3D refinement/classification, plus legacy particle refinement.

Blocks: Ab-initio reconstruction, Calculate reconstruction, Reference-based refinement, 3D refinement, 3D classification, Particle refinement (legacy), Particle filtering, STA centering, STA classification, STA refinement, STA alignment, and (after legacy STA only) Class Selection

Input / Output: Particles (typical)

Tip

Native refinement blocks expose CSP / CSP2 controls so you can select the constrained-refinement implementation and mode (particle, micrograph, frame, CTF, grid, and related options) without leaving nextPYP.

Relion / M-core

Description: Relion ab-initio, classification, and 3D refinement, and Warp/M M-core refinement chained from compatible Relion outputs.

Blocks: Particle Stack Extraction, Sub-volume Extraction, Relion 3D initial reference, Relion 3D classification, 3D Class Selection, Relion refinement, M-core refinement, Map operations

See Relion and Warp/M and M-core for step-by-step guidance.

Note

M-core refinement consumes Relion refinement particles (not Relion 3D initial reference or Relion 3D classification). M-core cannot feed back into Relion refinement.

tomoDRGN

Description: Continuous heterogeneity (tomoDRGN).

Blocks: tomoDRGN (train-vae), tomoDRGN (analyze), tomoDRGN (analyze volumes), tomoDRGN (filter-star)

Movie refinement

Description: Per-particle tilt movie refinement and related clean-up.

Blocks: Movie refinement, 3D refinement (after movies), Particle cleaning

Operations

Open block-level operations from the menu icon on the block (top-right; title Actions). Typical Graph-view actions:

  • Rename

  • Copy (same input connection and parameters)

  • Edit or Read parameters

  • Navigate to latest logs (opens the Jobs tab)

  • Show filesystem location (and Copy filesystem location)

  • Make runnable so the block can be re-run

  • Make up-to-date

  • Delete files and data

  • Delete the block (cannot be undone; downstream connected blocks may be removed after confirmation)

  • Notes opens the block notebook. Write in the editor, then Download Markdown or Download PDF. A block with notes shows a note mark on the Graph.

Select blocks on the Graph (click titles, right-drag a box on empty canvas, or Select All in the Selection menu) and use that menu for Export as workflow … (see Workflows). A selection that does not include an import block saves an attachable template; click an output port and open the Workflows section to attach it downstream of an existing block.

On Tilt Series / Tomograms views, a tilt navigation bar lets you Ignore this image / Include this image, Ignore all before / Ignore all after, and apply the same ignore/include by tilt index or tilt angle across every tilt-series in the block.

Status

Blocks show status icons on their top bar:

  • Up-to-date (no extra icon)

  • Modified (parameters changed; needs a new run)

  • Waiting to run

  • Out of date relative to upstream results (runnable again)

  • Running

  • Loading / unknown (transient)

Parameters

On an open block’s Parameters tab, edits autosave. The form footer provides:

  • Reset — restore parameter defaults

  • Retrieve from last run — reload the values used in the last successful run

Use Run on the block status bar to execute with the current parameters (or Stop / Stopping… while a run is active).

Choosing a block type from Import Data or a socket menu creates the block immediately with defaults (you stay on the project Graph). Open Parameters to configure it — edits autosave — then use Run.

While a block is queued or running, the inline form is read-only.

Jobs/Run panel

The project page has a right-side Jobs/Run panel with Jobs and Run tabs. The Jobs tab lists work launched from the current project and is where you follow run status. To run a single block, use Run on the block status bar. Use the Run tab when you need to start several blocks at once — select or deselect blocks, then click Start Run for N block(s). A Running Jobs summary across projects also appears on the Projects page.

To read cluster output, click the / Logs control next to a job on the Jobs tab. Log windows open docked at the bottom (you can split the dock into two panes), with phase tabs such as Launch, Split, and Merge. The Output tab streams live output (including progress bars for every element of a job array), with search, a verbosity selector (Info / Debug / Trace — only the levels that log recorded), and minimaps to jump between warnings and errors. When a job element is a bundle of micrographs or tilt-series, the log pane offers a series menu. Live bundle is the combined tail while the element is still running. Pick a name to open that series on its own. Error lines and warning lines are marked separately. Maximize a docked log panel with and restore it to the dock with . Docked logs support adjustable font size and highlight the latest run. See Logging. From a block, Navigate to latest logs also jumps to the matching entry on the Jobs tab.

Job status icons:

  • Waiting / scheduled

  • Running

  • Succeeded

  • Canceled

  • Failed

Above the job tree, a filter bar shows the same icons with live counts. Click a status badge to show only jobs in that state (you can select more than one); click to clear the filter and show all. Filter choices persist between visits.

Jobs are grouped chronologically (Today, This Week, Older). Use the disclosure chevrons / to expand or collapse groups. Folding state and related UI preferences persist between visits. The Older group can offer Load older runs when more history is available.

Most cluster jobs have Launch, Split, and Merge phases. See Compute resources.

Tip

  • Stop running work from the Jobs tab (Stop → Stopping…)

  • Prefer the block status-bar Run for a single block; use the Run tab for multi-block runs

Use the breadcrumb bar at the top of a page to return to Projects or the current project Graph/List/Gallery view:

Breadcrumb navigation on a block page