- For a directory
>> python predict_directory.py [pdb_directory: default '../sample_dir' ][model_directory: default './models_DL/cb_model.pth.tar']
- Preprocess the pdbs into the graph readable format:
>> ./preprocess.py
First set the model_root_directory in settings.py. This path show the parent directory for CAPSIF codes.
- Train the model
>> ./train.py
Outputs the best model into "model_DL/capsif_g_model.pth.tar"
- Test the model on the test dataset from the paper
>> ./predict_on_testset.py
Outputs the Dice score and all TP/FP/FN/TN values