Orain · For people who use QuPath

The QuPath work, asked for in plain words

Orain runs the whole-slide analysis labs do in QuPath (positive cell detection, Ki67 index, H-score, colour deconvolution, % DAB area, multiplex phenotyping) on its servers, and an AI analyst does the clicking and the scripting. You ask in a sentence; the result is drawn on the slide in a web viewer and written up in a report. QuPath's column names, its own algorithms and its GeoJSON are all there when you want to compare.

Start freeSee a finished Ki67 analysis (no login)

Global Ki67 index over each patient section, all nuclei: 7.4% on slide 0 with olive debris on fragment edges left out (9.3% with it), 3.3% on slide 46 and 2.0% on slide 95. 500 µm hotspots read 24.6%, 6.9% and 7.4%. Slide 0 is borderline: 4.7% at a stricter cut-off.

Example prompt: “Score Ki67 on the tumour in these 12 slides, give me the index and the hot spot per slide, and show me the positive nuclei on the slide.”

What you can ask for

Ki67 index and positive cell detection

“Ki67 index for the tumour.” StarDist outlines every nucleus, stain vectors are estimated from the slide, and each nucleus is called negative or 1+/2+/3+ on DAB. You get the index over the tumour, the hot spot, and a cells table with QuPath's column names.

H-score, Allred, HER2 and PD-L1

H-score and Allred from the same per-nucleus DAB intensities; HER2 categories and PD-L1 tumour proportion score from their own presets. Scores come per region or per TMA core.

QuPath's own algorithms, when you want them

A QuPath-parity run uses QuPath's watershed cell detection and positive cell detection, its stain vector estimate and its TMA dearrayer (cores named A-1, B-2, ...), without installing QuPath. Use it to check a number against a QuPath project.

% DAB area and pixel thresholds

Colour deconvolution (H-DAB or H&E) and a threshold you set with a slider on the slide, giving marker-positive area per region.

Your QuPath annotations come with you

Import a QuPath GeoJSON export and your regions and classes open on the slide; export results back as GeoJSON. Draw, edit and name regions in the viewer too.

From one slide to many, and multiplex IF

The same question runs over every slide in a project, one row per slide or region. Multiplex immunofluorescence gets whole-cell segmentation, marker gating and phenotypes.

Send to Orain from QuPath

Keep working in QuPath and send a slide to Orain when you want the analyst: one script sends the open image and its annotations to an Orain project and opens it in your browser.

Download Send_to_Orain.groovy

  1. Download the script and open it in QuPath. QuPath 0.4 or later: Automate › Script editor, then File › Open. Or put it in your QuPath scripts folder so it is in the Automate menu.
  2. Open an image, draw your regions, click Run. The first time, your browser opens the Orain sign-in (a free account works) and the script keeps the sign-in for next time. It sends the image file, which must be a file on your computer, and its annotations.
  3. Ask in Orain. The project opens with your annotations drawn on the slide under their QuPath names and classes, so you can ask for the Ki67 index or H-score inside each one. Or write the question at the top of the script and the analysis starts as the files land.

Results go back to QuPath as GeoJSON: ask for a QuPath export of the cells and Orain writes every cell's outline, class and measurements under QuPath's column names. Download it from the Files pane, then in QuPath use File › Import objects from file and Objects › Resolve hierarchy. The pixels line up, because Orain opens the same file you sent.

Measured against QuPath's algorithms

Public datasets with expert labels, both methods at their defaults. QuPath's algorithms were reproduced from its source, not run in the QuPath app.

MeasureOrainQuPath's algorithmDataset
Ki67 index error (mean absolute, percentage points)7.19.0 (QuPath's positive cell detection at its defaults)BCData Ki67 validation set
H&E nucleus detection (F1)0.85 (StarDist)0.27-0.31 (QuPath's watershed at its defaults)MoNuSeg
IHC nucleus detection (F1)0.770.65BCData

Is it faster?

On speed, honestly: a small region is scored in one to two minutes when the server is free, but a whole slide takes tens of minutes to about two hours on the server today, where QuPath on a fast laptop can take minutes. The time Orain saves is yours: no install, no scripts, no downloading slides, and the write-up done for you. You can do other work while it runs, and many slides run as one request.

Questions

Is Orain a QuPath replacement?

For the common brightfield and multiplex work (cell detection, Ki67, H-score, % DAB area, phenotyping, counts per region) yes, and it runs in a browser. QuPath is free and runs offline on your own machine; keep it if you need that.

Do I have to write Groovy scripts?

No. Ask in a sentence. The analyst picks the method, asks you to confirm thresholds on the slide, and records every step so the run can be repeated.

Can I check its numbers against QuPath?

Yes. Ask for a QuPath-parity run: it uses QuPath's own algorithms and column names, and imports or exports QuPath GeoJSON.

Which slide formats open?

Aperio .svs, Hamamatsu .ndpi, Zeiss .czi, Olympus .vsi, Philips .isyntax, .qptiff, OME-TIFF and plain .tif.

What does it cost?

A free account comes with $5 of credit. Compute, storage and chat charge at provider cost plus 50%; there is no subscription.

TCGA cohort example · Orain Models · Pricing · Claude connector · Privacy