Github page for Predicting survival of rhabdomyosarcoma patients based on deep-learning of hematoxylin and eosin images manuscript
Two different conda environments are required
rms1: 'subtype', 'myod1' and 'tp53' tasksrms2: 'segment' and 'survival' tasks
conda env create -f environment1.yml
conda activate rms1
conda install pytorch=1.7.1 torchvision=0.8.2 torchaudio cudatoolkit=10.2 -c pytorch
conda env create -f environment2.yml
conda activate rms2
conda install pytorch=1.7.1 torchvision=0.8.2 torchaudio cudatoolkit=10.2 -c pytorch
Below are the src subdirectories in the repository:
src/results/: output files are stored at different subdirectoriessrc/images/: each subdirectory contains image files (svs, tif or png) to be inferencedsrc/images/cancer_maps/: contains greyscale images where cancerous regions are definedsrc/model_weights/: trained model weights are located at different subdirectories
Below are the main python files in the repository:
src/subtype_inference.py: WSI subtype classificationsrc/segmentation_inference.py: Pixel-level segmentation of different features in WSIssrc/tp53_inference.py: TP53 mutation detectionsrc/myod1_inference.py: MYOD1 mutation detectionsrc/survival_inference1.py and src/survival_inference2.py: Risk predictionsrc/ras_inference.py: RAS mutation detection
Trained model weights can be found using the link below
Please unzip the downloaded file and place the folder under the 'src' directory