Gradient Biotech

File formats

Slide images

PNG / JPEG

Standard raster images. Best for local development and region-of-interest captures.

TIFF / OME-TIFF

Standard pathology scan formats. OME-TIFF preserves microscopy metadata including pixel size when embedded.

Whole-slide scanner formats

FormatExtensionLibrary
Aperio SVS.svsOpenSlide
Hamamatsu NDPI.ndpiOpenSlide
3DHISTECH MRXS.mrxsOpenSlide

OpenSlide must be installed in the biochem environment for WSI decoder support.

Annotations

GeoJSON

Standard GeoJSON FeatureCollection with polygon or multipolygon geometries. Each feature should include a label or classification property for region naming.

QuPath exports

GeoJSON exports from QuPath follow the same import path. Region properties map to annotation labels in the viewer.

Import from the slide viewer's Annotations panel.

Sample metadata CSV

ColumnRequiredPurpose
external_idYesSample identifier
diagnosis, tumor_grade, stage, treatment, response_statusNoClinical metadata
group_label, timepointNoCohort comparison fields

Artifact outputs

Pipeline results under data/pathology/artifacts/{run_id}/:

ArtifactContents
tissue_mask.pngBinary tissue foreground
tissue_regions.jsonRegion bounding boxes and labels
cell_overlay.pngSegmentation visualization
cells.jsonCell centroids, areas, confidence
density_heatmap.pngSpatial density map
cell_spatial_metrics.csvPer-cell spatial measurements
region_metrics.jsonCompartment-level statistics
phenotypes.parquet, marker_summary.json, composition_by_region.jsonMultiplex IF per-cell phenotype calls and region composition
alignment.json, overlay_points.json, region_expression_summary.parquet (or .csv)Spatial-alignment coordinate transform, overlay points, and region-level expression summary
cohort_comparison.json, metric_matrix.csvCohort group-comparison statistics
interpretation.jsonAI interpretation narrative with metric citations
Classifier model + prediction artifactsTrained object classifier plus per-cell predicted class/probability
Pyramidal OME-TIFFExported slide for QuPath/Fiji/OMERO

Tile pyramids live under data/pathology/tiles/{slide_id}/.

Size guidance

Image typeApprox. size
Region PNG (640×480)< 1 MB
OME-TIFF region scan10–100 MB
Full WSI (40× H&E)1–5 GB

Large WSI files are processed on the server with tile-first architecture. The frontend never loads full-resolution slides into memory.

Spatial transcriptomics

Visium, Xenium, and MERFISH data formats are handled by the Computational Biology area. Pathology provides tissue morphology overlays and region context — not duplicate spatial omics ingestion.