Category Archives: Tools

A performance comparison of using Openslide open and read WSIs via AWS S3 for S3FS and Goofys

Background

These days, developers In digital pathology frequently use OpenSlide to read whole slide images (WSIs). Since WSIs are typically large, transferring and sharing them can be challenging. Cloud storage provides a scalable, durable, and secure solution for storing and sharing WSIs remotely. By mounting cloud storage as a local file system, existing tools can access WSIs without additional modifications.AWS S3 (Simple Storage Service) and MinIO (S3 compliant, onsite and open-source) are a widely used, robust, and highly scalable cloud storage service. While Mountpoint for AWS S3 is a promising option for treating cloud storage as a local file system, several open-source projects also allow users to mount an S3 bucket as a local file system. Among the most well-known are s3fs and Goofys. In this post, we’ll compare the performance of these two popular open-source solutions.

Continue reading A performance comparison of using Openslide open and read WSIs via AWS S3 for S3FS and Goofys

Insertion and Query of Spatial Databases

As part of the scaling up of our QuickAnnotator tool, we executed a series of tests to benchmark backend technology. In particular, we were interested in looking at storage mechanisms for polygons which not only allow for their storage, but most importantly their spatial query. This implies that we could push geometries into a database, and then as part of a query, submit a second polygon (or bounding box) to identify those which intersect (among other spatial operations). The number of objects we were aiming for was at least 1 million rows in the database, as this is on the order of the number of unique cells within a typical whole slide image. 

We as well wanted to consider different scalability options. It should not be surprising that if one wants to have extremely high-throughput, this typically requires the usage of more than 1 machine working in concert, which at the same time comes at the cost of additional setup and support complexity. It is not clear for us at the moment how much modern hardware has eliminated this cost, i.e., is 1 million “a lot” or “a little” with current technology. Regardless, one interesting way of managing complexity is through an abstraction layer, such that the backend can be readily and easily changed, without having an impact (or as small as an impact as possible) on the code being used to interact with that database. 

Continue reading Insertion and Query of Spatial Databases

Data Exploration Of Features For Outcome Association In Digital Pathology

Introduction

In the field of digital pathology, a frequent approach for the creation of image-based biomarkers involves extracting features from scanned pathology slides. These features, which are often related to the morphology or spatial distribution of various tissue or cell types, provide valuable insights into the underlying biology of diseases. In cancer research, it is particularly important to examine how these features correlate with clinical outcomes such as overall survival (OS), progression-free survival (PFS), or other binary outcomes (e.g., response to a specific treatment).

Here we release python code that can be executed in a notebook to facilitate this process. It accepts a pandas DataFrame and generates a one-page summary PDF file, facilitating the analysis of individual features and their potential correlation with clinical outcomes.

Continue reading Data Exploration Of Features For Outcome Association In Digital Pathology