POMP
A pathology-omics multimodal pre-training framework for cancer survival prediction.
Install / Use
/learn @SuixueWang/POMPREADME
POMP: Pathology-omics Multimodal Pre-training Framework for Cancer Survival Prediction
<img src="https://github.com/SuixueWang/POMP/blob/master/POMP-framework.png" alt="POMP Framework" width="600" height="400">This is a PyTorch implementation of the POMP paper, developed on a Linux system with three NVIDIA A100 80GB GPUs.
Requirements
- pytorch==1.8.0+cu111
- torchvision==0.9.0+cu111
- torchaudio==0.8.0
- Pillow==9.5.0
- timm==0.3.2
- lifelines==0.27.4
Preprocessing
- The preprocessed multi-omics data are stored as pickle files in the
pre-training/datasets/andsurvival/datasets/directories, ready for direct use. - Due to the large size of the whole-slide pathology images, users need to download them manually from the TCGA portal. The procedure is as follows:
- (1) Extract the pathology image IDs using the information from the
'region_pixel_5x'field in the provided pickle files. - (2) Download the corresponding whole-slide images from the TCGA portal based on the extracted IDs.
- (3) Perform image patching using the method described in the paper.
- (1) Extract the pathology image IDs using the information from the
Pre-training
CUDA_VISIBLE_DEVICES=0 python3 pre-training/main_multimodal_pretrain.py
Survival prediction
CUDA_VISIBLE_DEVICES=0 python3 survival/main_multimodal_survival.py
