popsily/ucsf-pdgm-download-notebook
UCSF-PDGM Download Notebook Kaggle notebook to download FLAIR + tumor_segmentation NIfTI files from the UCSF-PDGM dataset on TCIA. Download the notebook Direct link: download_ucsf_pdgm_kaggle.ipynb What it does Installs Ruby + IBM Aspera CLI (ascli) + Aspera SDK inside a Kaggle notebook Downloads UCSF-PDGM v5 metadata CSV and selects 100 patients (50 IDH-mutant + 50 IDH-wildtype) Selectively downloads only FLAIR + tumor_segmentation NIfTI files (~4… See the full description on the dataset page: https://huggingface.co/datasets/popsily/ucsf-pdgm-download-notebook.
UCSF-PDGM Download Notebook
Kaggle notebook to download FLAIR + tumor_segmentation NIfTI files from the UCSF-PDGM dataset on TCIA.
Download the notebook
Direct link: download_ucsf_pdgm_kaggle.ipynb
What it does
- Installs Ruby + IBM Aspera CLI (
ascli) + Aspera SDK inside a Kaggle notebook - Downloads UCSF-PDGM v5 metadata CSV and selects 100 patients (50 IDH-mutant + 50 IDH-wildtype)
- Selectively downloads only FLAIR + tumor_segmentation NIfTI files (~4 GB total, not the full 142 GB)
- Verifies all files are non-empty
- Uploads the result as a private Kaggle dataset
Why Aspera?
UCSF-PDGM NIfTI files are only available via IBM Aspera Faspex. They are not in TCIA's NBIA REST API (which only serves DICOM). There are no wget/curl URLs for individual files.
