Skip to content
/ PiFold Public

The official implementation of the ICLR'23 paper PiFold: Toward effective and efficient protein inverse folding.

License

Notifications You must be signed in to change notification settings

A4Bio/PiFold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PiFold: Toward effective and efficient protein inverse folding

GitHub stars GitHub forks

PiFold: Toward effective and efficient protein inverse folding (Spotlight)
Zhangyang Gao, Cheng Tan, Stan Z. Li. In ICLR, 2023.

Note that we renamed ProDesign to PiFold to avoid naming conflicts with previous work. Our new method knowledge-design outperforms PiFold about 9%, the code has been released here.

1. Introduction

How can we design protein sequences folding into the desired structures effectively and efficiently? Structure-based protein design has attracted increasing attention in recent years; however, few methods can simultaneously improve the accuracy and efficiency due to the lack of expressive features and autoregressive sequence decoder. To address these issues, we propose PiFold, which contains a novel residue featurizer and PiGNN layers to generate protein sequences in a one-shot way with improved recovery. Experiments show that PiFold could achieve 51.66% recovery on CATH 4.2, while the inference speed is 70 times faster than the autoregressive competitors. In addition, PiFold achieves 58.72% and 60.42% recovery scores on TS50 and TS500, respectively. We conduct comprehensive ablation studies to reveal the role of different types of protein features and model designs, inspiring further simplification and improvement.

2. Framework

We show the overall PiFold framework. The inputs are protein structures, and outputs are protein sequences expected to fold into the input structures. We propose a novel residue featurizer and PiGNN layer to learn expressive residue representations. Specifically, the residue featurizer constructs comprehensive residue features and creates learnable virtual atoms to capture information complementary to real atoms. The PiGNN considers multi-scale residue interactions in node, edge, and global context levels. PiFold could generate protein sequences in a one-shot manner with a higher recovery than previous autoregressive or iterative models.

3. Benchmarking

We comprehensively evaluate different results on CATH, TS50 and TS500.

You can reproduce results of PiFold on colab:

Open In Colab

4. Fixed backbone design using model trained on CATH 4.2.

For a given protein backbone design a new sequence that folds into that conformation:

Open In Colab

Citation

If you are interested in our repository and our paper, please cite the following paper:

@inproceedings{
  gao2023pifold,
  title={PiFold: Toward effective and efficient protein inverse folding},
  author={Zhangyang Gao and Cheng Tan and Stan Z. Li},
  booktitle={International Conference on Learning Representations},
  year={2023},
  url={https://openreview.net/forum?id=oMsN9TYwJ0j}
}
@article{gao2022pifold,
  title={PiFold: Toward effective and efficient protein inverse folding},
  author={Gao, Zhangyang and Tan, Cheng and Li, Stan Z},
  journal={arXiv preprint arXiv:2209.12643},
  year={2022}
}

Feedback

If you have any issue about this work, please feel free to contact me by email: