Single-particle session

This tutorial shows how to process micrographs on-the-fly during data collection.

nextPYP streaming sessions use three parallel daemon tracks (shown in the Daemons panel):

  • File transfer — copy, move, or link movies from the microscope computer into the session folder

  • Data pre-processing — frame alignment, CTF estimation, and particle picking

  • 2D Classification — monitor particle quality while data arrives

Use Start / Cancel (which becomes Canceling…) on the session status bar to start the session or cancel all daemons. File transfer exposes Stop for that track only. The other tracks expose Restart, Clear, and Stop. Each track also has a Logs control.

A session page has three top-level tabs: View, Parameters, and Data I/O.

Step 1: Create a new session

Streaming is organized in Sessions (reachable from Projects via Go to Sessions). Create a new session for each data collection run
  • Go to Projects and click Go to Sessions

    Sessions list
  • Start a single-particle session with Start Single-Particle

  • Open the Parameters tab. On the Session tab, set Name and Group (see Administration to create and manage user groups). Optional: change Location and Folder name for where session files are stored (these cannot be changed after the session is created)

    Session parameters
  • Configure processing under the remaining parameter tabs:

    • Set Location of the raw movies by clicking the icon and navigating to the folder (or file pattern) where movies are written

    • Continue to the Gain reference tab

    • Specify the path and parameters for the gain reference as needed

    • Continue to the Microscope parameters tab

    • Set Pixel size (A) and Acceleration voltage (kV)

    • Continue to the Session settings tab

    • Choose a Raw data transfer method: move, copy, or link. Warning: move transfers raw data into the session folder and deletes it from the original location

    • Continue to the Particle detection tab

    • Set Particle radius (A)

    • Select auto or all as the Method

    • Continue to the Resources tab

  • Click Save

Step 2: Launch the session

Start data transfer and pre-processing
  • On the session status bar, click Start. This starts File transfer and also Data pre-processing and 2D Classification unless you enabled Skip pre-processing (data transfer only) under Session settings

  • Use Cancel on the status bar to cancel all daemons (the chip shows Canceling… until they finish). Use Stop on a Daemons track to stop that track only

    View tab with Daemons panel
  • Open the Data I/O tab to monitor Storage, File Transfers, Transfer Speeds, and Exports

    Data I/O tab
  • Inspect results under View using the Plots, Table, Gallery, Micrographs, and 2D Classes tabs. On Micrographs, open nested tabs such as Half 1 / Half 2 (if Generate half-micrographs is on) or Denoised when those products exist

    Plots view
    Table view
    Gallery view
    Micrographs view
    2D Classes view

Step 3 (optional): Change processing parameters

Change data processing parameters during a session
  • Open Parameters, adjust settings, and click Save

  • In the Daemons panel, Restart the Data pre-processing and/or 2D Classification tracks so the new settings take effect

Step 4: Copy or delete a session

Copy settings from an existing session or delete a session
  • From the Sessions list, open the row menu () and choose Copy settings, or open a session and click the copy icon in the session toolbar

  • To delete a session, use Delete in the row menu or the trash icon in the session toolbar. This permanently removes the session and associated files. Running sessions must be canceled before they can be deleted

  • To remove processed files while keeping the session configuration, use the eraser icon in the session toolbar

Step 5 (optional): Filter and export micrographs

Filter micrographs and export in star format
  • Under View → Table, build a filter with Add filter (live match; see Cleaning datasets). Type a filter name and click Save. Use the Status column or Detail pane to include/exclude rows as needed, then Save again

    Table filters and export
  • Click Export to export in star format. A dialog asks for resource parameters for the export job. After you confirm with Export, the job appears under Data I/O → Exports. Use the location icon to open the exported path