Reimplementation of CNN-based contact prediction models
DeepCon: Dilated convolution network with dropout (best reported performing model, Fig.3d)
Get train & test data from Bioinformatics Group, UCL DEPARTMENT OF COMPUTER SCIENCE
DeepCov/
setup.sh # script to compile cov21stats
feature_extraction.ipynb # script that calls cov21stats to extract features for a dataset
train.py # training script
models.py # models
data.py # data loader
predict.ipynb # make prediction on test data with a trained model
evaluate.ipynb # evaluation
read_result.ipynb # read evaluation results
src/
/cov21stats.c # C source code for covariance stats computation
bin/
/cov21stats # compiled covariance stats
data/
train/
aln/ # contains 3456 aligments files
21c/ # contains 3456 feature files, each in shape (441, m, m)
map/ # ground truth
test/
psicov150/
aln/
21c/
pdb/ # ground truth
rr/ # predicted contact mapsGet the scripts setup.sh and cov21stats at https://github.com/psipred/DeepCov Run setup.sh to compile the extractor:
./setup.shRun once:
feature_extraction.ipynb- For the first time training, run:
python train.py [--model=DeepCon] [--gpu=1]- In case of resume training, specified the saved checkpoint file:
python train.py [--model=DeepCon] [--gpu=1] [--resume=DeepCov_checkpoint.pth.tar]- Modify the path to prediction folder if needed (default: 'data/test/psicov150/rr')
- Run
predict.ipynb- Modify the path to prediction folder if needed (default: 'data/test/psicov150/rr')
- Run
evaluate.ipynb- Modify the result file name
- Run
read_result.ipynb