Dec 07, 2023

Public workspaceFormalin Fixed Paraffin Embedded (FFPE) Tissue Preparation for Digital Pathology Quantification Using QuPath

  • 1Department of Clinical and Movement Neurosciences, UCL Institute of Neurology, Queen Square, London WC1N 3BG, UK;
  • 2Aligning Science Across Parkinson’s (ASAP) Collaborative Research Network, Chevy Chase, MD, 20 815, USA;
  • 3Department of Neurodegenerative Disease, UCL Institute of Neurology, Queen Square, London WC1N 3BG, UK;
  • 4Queen Square Brain Bank for Neurological Disorders (QSBB), 1 Wakefield Street, London WC1N 1PJ, UK
Open access
Protocol CitationToby J Curless, Yau Lim, Zane Jaunmuktane 2023. Formalin Fixed Paraffin Embedded (FFPE) Tissue Preparation for Digital Pathology Quantification Using QuPath. protocols.io https://dx.doi.org/10.17504/protocols.io.bp2l6x4jklqe/v1
License: This is an open access protocol distributed under the terms of the Creative Commons Attribution License,  which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited
Protocol status: Working
We use this protocol and it's working
Created: June 26, 2023
Last Modified: May 31, 2024
Protocol Integer ID: 84048
Keywords: ASAPCRN, FFPE Tissue, Digital Pathology Quantification, QuPath, Bright Field, NanoZoomer, NZConnect, Annotations
Funders Acknowledgement:
The Michael J. Fox Foundation for Parkinson’s Research (MJFF) and the Aligning Science Across Parkinson’s (ASAP) Initiative
Grant ID: ASAP-000478
Abstract
QuPath is an open-source digital pathology analysis software. Here, it is used to quantify various misfolded proteins across anatomical regions.

This protocol is appropriate for both human and mouse tissue, and will outline the methods of tissue preparation, digitisation, segmentation and importing images into QuPath.
Materials
Tissue Preparation
Tissue Preparation
Generate tissue sections using standard microtome sectioning protocols.
Perform immunohistochemistry staining as per standard protocols.
Coverslip stained slides as per standard protocols.
Following cover slipping, wipe slides with 100% ethanol to remove ink/debris, then wipe slides with a dry microfiber cloth to remove any residual dust/debris.
Insert slides facing upwards into the NanoZoomer slide rack.
Digitisation and Segmentation of Tissue Sections, and Importing Images to QuPath
Digitisation and Segmentation of Tissue Sections, and Importing Images to QuPath
Insert slide rack into a NanoZoomer S360 slide scanner (Hamamatsu – model: C13220).

Hamamatsu S360 scanner
Select the scan profile in “Scan Settings” – full scan profile can be seen in the table below


AB
IlluminationBright Field
Lens40 x
Z-stackSingle
Sample ValidationEnable (Threshold: 80)
ReScanDisable
Sample Detection AreaAutomatic
Focus Point No.9 Points
Focusing ModeRough&Fine
Threshold25 – 97
Minimum Size1 mm2
Focus OffsetDisable
Split Tissue5 mm
Sample PiecesEach
Excluded AreaExclude
Coverslip FilterEnable
Table 1 Full Scan Profile

Select the output profile in “Scan Settings” – full output profile can be seen in the table below – asterisks (*) are in place of file names – choose file as appropriate.


AB
Output Path*
File name:
Inc. ReferenceREF
No Referenceyyyy-MM-dd HH.mm.ss
ReferenceUse Barcode
Image Format:NanoZoomer Digital Pathology Image (ndpi)
Image File Priority:File Size
Slide Image(Macro Image)Include
Default Viewing Angle0
Table 2 Output Profile

Additional settings: Image compression set to JPEG (quality 70), resolution: 230 nm/pixel (110198 DPI), colour profile: NanoZoomer S360 (C13220_MI_00) default.
Scan slides by selecting "Start Batch".
Manually select focus points and areas to be scanned for each section.
Following slide scanning, remove slides from the scanner and store appropriately.
Access the scanned slides via NZConnect 1.0.36 (IVD) – the images will appear in the folder in which they were saved in the “output path settings” – note: if a temporary export path was chosen, files should be manually selected and moved (cut and paste) to the desired folders.
Select the desired anatomical regions to annotate, for example the hippocampus. Select the “Freehand” tool on NZConnect.
Either left-click across the perimeter of the region of interest, or click and drag around the perimeter. Once the perimeter is fully covered, double click to finish the annotation.
Label the annotation appropriately – here you can choose to display the area and perimeter of the region, in addition to changing the colour of the perimeter. It is recommended to standardise the colour used for different anatomical regions for easy identification.

Annotation of digitised section.

Once all annotations are completed, the annotations must be published – this can be done for each image individually, or whole folders can be published at once. When hovering over the image or folder with the mouse, 3 vertical dots will appear in the top right corner of the selection box. Left click the dots and select “Publish annotations” – publishing options can be modified to allow access to specific users, and to automatically share annotations when added. Choose the desired settings and select “Publish”
Download and install the most recent version of QuPath on your device (https://qupath.github.io/).
Open QuPath and select “create project” on the home page. Alternatively, select “file” → “Create New Project”.
Create a new folder and save to the desired location.
Once a new project is created, select “Add Images” – select all of the scanned images (.ndpi files) to be imported, In the drop-down boxes select: “Default (let QuPath Decide)” for the image provider, and “Brightfield (H-DAB)” for the set image type.
Annotations will need to be separated from the original ndpi file – this will require the use of a custom script. Once separated, 2 files for each scanned slide should be available – 1 .ndpi file (this is the original, non-segmented file), and 1 .ndpa file – this is the separated annotations.
The separated annotations will need to be imported to QuPath. This will require the use of another custom script – select “Automate”→ “Show script editor” → “File” → “Open”

Select the script from the file browser – here we used a script saved as a “GROOVY FILE”.
Select “Run” → “Run for project” – Using the arrows in the pop-up box (Select project image), select all of the desired images and transfer across to the “Selected” box.
Once all images are selected, click “Ok”.
All annotations should now be imported into QuPath and analysis can be conducted.



Representative images demonstrating the classification of tau, A-beta and alpha-synuclein pathology on digitised slides.

Protocol references
Bankhead, P., Loughrey, M.B., Fernández, J.A. et al. QuPath: Open source software for digital pathology image analysis. Sci Rep 7, 16878 (2017). https://doi.org/10.1038/s41598-017-17204-5