TCIA_Notebooks icon indicating copy to clipboard operation
TCIA_Notebooks copied to clipboard

Notebooks for working with The Cancer Imaging Archive datasets

TCIA_Notebooks

This is a home for notebooks which demonstrate how to access and work with TCIA datasets. Most of them heavily leverage functionality from tcia_utils.

Environment Setup

  • EnvironmentCheck.ipynb - Checks the environment that you are running in to make sure that all required dependencies and extensions are correctly installed. Ideally run first before any other notebooks to prevent common issues around dependencies and extension loading.

General Notebooks

  • TCIA_Linux_Data_Retriever_App.ipynb - A tutorial on how to install the NBIA Data Retriever command-line Data Retriever utility on Linux and use it to download TCIA datasets
  • TCIA_REST_API_Queries.ipynb - A Python tutorial on how to use the NBIA REST API to query radiology (DICOM) datasets
  • TCIA_REST_API_Downloads.ipynb - A Python tutorial on how to use the NBIA REST API to download radiology (DICOM) datasets
  • TCIA_Segmentations - A Python tutorial focused on using the TCIA APIs to identify segmentation data, find the corresponding reference series and visualize them together.
  • TCIA_Series_UID_Report.ipynb - Ingests a file containing TCIA Series Instance UIDs (e.g. TCIA manifest file or CSV of UIDs) and creates reports that summarize those scans
  • TCIA_Aspera_CLI_Downloads.ipynb - A short tutorial on how to download TCIA datasets that are made available through Aspera via the command line (rather than via the Aspera browser plugin). TCIA typically uses Aspera for downloading histopathology collections or radiology collections that were provided in a format other than DICOM.
  • TCIA_DataCite_Queries.ipynb - TCIA issues a Digital Object Identifier (DOI) for each of its datasets through DataCite. This notebook demonstrates how the DataCite API can be used to programmatically access Collection metadata such as their DOI URL, title, publication date, licensing information and abstract.

AI and Visualization Notebooks

Collection-specific Notebooks