- Install PyTorch version 1.12.0 compatible with your CUDA version
- Other dependencies can be found in
requirements.txt
The dataset and pretrained omegafold checkpoint will be automatically downloaded when you run the code.
baselines.py
: test random mutation and genetic algorithm baselinetrain.py
: train function predictor GNNoptimize.py
: optimize proteins using our definition of state and actionoptimize_onehot.py
: optimize proteins given one-hot encoded sequence as state (ablation)