Every bacterium eaten, found and timed.
Open a time-lapse microscopy film and the Analyzer finds each bacterium taken up by a cell, follows it, and tells you whether the cell killed it — and how long that took — or failed to. You review; it does the counting.
Built for the way a lab scores a film
The same events a person would mark by hand, in the same shape — without the hours.
Finds every uptake
Cells are segmented by a deep-learning model running on your Mac's GPU and tracked through the film; bacteria are detected and followed frame by frame.
Kills, timed
A kill is a bacterium that goes inside and is broken down. You get the frame it entered, the frame it was gone, and the time in between.
Failed kills, too
A cell still holding its bacterium when the film ends is a result, not noise. Failed kills are found from the cell, so a crowded field does not hide them.
You stay the judge
Events are ranked by how clear they are. Confirm, reject, correct the frames or add one that was missed; your review is saved beside the film.
How it works
Four steps, all on your Mac. Pick one to see it in the film.
A workbook you can use
The same columns as a hand-scored sheet, plus the outcome as a number you can count and average.
| Event | Frame start | Frame end | Duration (frames) | Duration (min) | Outcome | Outcome code |
|---|---|---|---|---|---|---|
| 1 | 12 | 27 | 15 | 7.5 | Killed | 1 |
| 2 | 31 | 241 | 210 | 105.0 | Failed kill | 0 |
| 3 | 48 | 59 | 11 | 5.5 | Killed | 1 |
Rows here come from the simulation above as it runs. Illustrative only.
Your films stay on your Mac
All analysis runs locally. No film, image, file name or result is ever sent anywhere. The program reports only anonymous usage counts and checks its licence — exactly what, and why.
Download
Which one? Apple menu → About This Mac. If it says Chip: Apple M…, take Apple silicon; if it says Processor: … Intel …, take Intel. The wrong one will not open ("not supported on this Mac") but does no harm.
macOS 13 or newer. 8 GB of memory is enough; more is faster. On Intel Macs the analysis runs on the processor and takes longer. A licence is needed to run it — ask us for one.
Installing
- Open the downloaded
.dmgand drag Phagocytosis Analyzer into Applications. - Open it. The app is signed and notarised by Apple, so it opens without a security warning.
- Click Choose licence file… and select the
licence.keyyou were sent.
A renewed licence is installed the same way, from Help → Install new licence…
Reviewing events
The program finds the events; you confirm or reject each one and correct its start and end frames where needed.
Keys at a glance
The keys always work on the events table, whatever you clicked last; the letter keys act on the selected event. The settings on the left change only with the mouse (or by clicking into a number field and typing), so a key press can never change them by accident.
| Key or action | What it does |
|---|---|
| Mouse wheel over the film | One frame forward or back per click |
| ← / → | One frame back / forward |
| Shift + ← / → | Ten frames back / forward |
| ↑ / ↓, then Enter | Move through the table; Enter shows the highlighted event at its start, zoomed in |
| Cmd + ↓ / ↑ | Next / previous event: selects it and shows its start, zoomed in |
| Option + arrows | Move the view. The more you are zoomed in, the smaller the step. |
| Cmd + wheel, Cmd + / − | Zoom in / out (Cmd 0 resets) |
| X | Reject the selected event |
| C | Accept (confirm) the selected event |
| S | The frame on screen becomes the event’s start |
| E | The frame on screen becomes the event’s end |
| H | Hide / show the event boxes on the film |
| Double-click Frame Start / End | Type a frame number |
| Double-click Outcome | Choose Killed or Failed kill by hand |
| Cmd Z / Cmd Shift Z | Undo / redo |
| Right-click an event | Set start / end here, merge, split |
Review an event
- Click a row in the table. The film jumps to the event: clicking Frame End jumps to its end, any other column to its start. Clicking Cell ID, Frame Start or Frame End also zooms in on the cell.
- Scroll through the event with the mouse wheel and check that a bacterium is really taken up.
- Press X to reject it or C to accept it (or click ✓ / ✗ in the Decision column). Pressing it again on the same row clears the decision. The next event then opens at its start, zoomed in, so you can go straight on.
Clicking an event’s box on the film selects its row in the table. Rejected events disappear from the film but stay in the table, marked ✗. The sort menu above the table changes the order; event numbers never change.
Correct the start and end
The start is the first frame the bacterium and the cell move together; the end is the first frame the bacterium is gone. The program is often one or two frames off on the start.
- Select the event in the table.
- Scroll the film to the right frame.
- Press S to make it the start, or E to make it the end. The event stays selected, so you can set both in a row.
A corrected frame turns blue; hover over it to see what the program had found. Setting it back to the program’s frame removes the blue. Moving the end to the last frame of the film makes the event a Failed kill, and moving it earlier makes it Killed.
The program asks before one likely slip: a start or end that would make the event one frame long (for example S pressed on the end frame). Cancel is the default, so Enter backs out. There is no key to save: every change is saved straight away.
Other corrections
| Situation | What to do |
|---|---|
| Wrong outcome | Double-click the Outcome cell and choose Killed or Failed kill. Automatic gives the decision back to the program. |
| A missed event | Click the bacterium on the film, then + Mark missed event. It starts and ends on the frame on screen and is accepted straight away; set its end with E. |
| Two rows, one event | Select both (Cmd-click), then Merge selected (or Cmd M). |
| One row, two events | Select it, go to the frame where the second event starts, and press Split. |
| Box on the wrong bacterium | Hold Cmd and drag the box onto the right bacterium: from that frame on, the box follows it. Dropped on a spot with no bacterium found, the box stays at that spot in the cell and moves with the cell until the bacterium is found again. Or double-click the right bacterium and pick the event. This only changes what is drawn, not the frames; Cmd Z undoes it. |
Your work is saved
Every decision and correction is saved the moment you make it, in a file next to
the film named <film name>-review.json. There is no save button.
Keep that file with the film; opening the film again brings everything back. If it
cannot be written (a film on a shared or read-only drive), a red “Review NOT
saved” stays at the bottom of the window and the program asks before you close
it or open another film: export to Excel first, or move the film to your Mac.
Changing settings is safe. After Run Analysis, Recalculate Bacteria or Re-detect Events, accepted and rejected events are kept as you left them, and a new detection over the frames of an event you already judged is not shown again. Events marked ↺ were judged earlier but are not found with the new settings; they are kept.
Export: Save Events Excel... writes your accepted events, all events not rejected, and the settings used. Outcome code is 1 for killed and 0 for a failed kill.
Something looks wrong? Note what you were doing, choose
Help → Show log files and send app.log to us.
Settings
Event Joining
Sometimes the program loses a bacterium inside a cell for a while and reports one event as two. Event Joining puts them back together.
| Option | What it does |
|---|---|
| Normal | Leaves the events as they are found. |
| Aggressive | Joins two events in the same cell when they are at most 50 frames apart and a bacterium is seen in that cell in at least 70% of the frames between them. |
| Super aggressive default | Same as Aggressive, and also joins events that Shared Cells would remove. Shared Cells then checks the joined event as a whole. |
| Testing | Joins nothing. Colours the event list to show what Aggressive and Super aggressive would do. |
After changing it, press Re-detect Events. Two events joined that should not be? Select it, go to the frame where the second one starts and press Split.
Shared Cells
An event is removed when another bacterium is in the same cell for too long, because then you cannot tell which one was killed. Going over either limit removes it.
| Setting | Default | What it does |
|---|---|---|
| Max in a row | 3 frames | How many frames in a row another bacterium may be in the cell. Raise it if good events are removed because a bacterium only passed through. |
| Max in total | 10% of event | How much of the event another bacterium may be in the cell, in total. 100% turns this limit off. |
| Other counts if | Inside, 20% deep | How far inside the cell the other bacterium has to be before it counts. From Touching the cell (strictest) to Inside, 40% deep. |
After changing them, press Re-detect Events.
Bacteria Detection
| Setting | What it does |
|---|---|
| Bright core only default | Finds a bacterium by its bright core and the red, orange and yellow around it. The blue glow is ignored. |
| Whole glow | The older method, which includes the glow. For films without a blue glow, where bacteria are harder to see. |
| Core must reach | How bright the centre of a bacterium must be: White (default), Yellow, Orange or Red. Lower it if bacteria you can see are not found. |
After changing Core must reach, press Recalculate Bacteria. After switching between Bright core only and Whole glow, press Run Analysis.
Run Analysis, Recalculate Bacteria, Re-detect Events
| Button | Recalculates | Use after changing |
|---|---|---|
| Run Analysis | Cells, bacteria and events. The slowest. | A new film, Cell Accuracy, Bright core only / Whole glow |
| Recalculate Bacteria | Bacteria and events. Keeps the cells. | Bacteria Detection, Bacteria Tracking |
| Re-detect Events | Only the events. Takes seconds. | Event Joining, Shared Cells |
Your accepted and rejected events are kept when you change settings and recalculate: see Reviewing events.
Contact
For a licence, a question, or a film that does not analyse the way you expect.