This repository contains the implementation code for the paper:
[BC-Design: A Biochemistry-Aware Framework for High-Precision Inverse Protein Folding]
Xiangru Tang†, Xinwu Ye†, Fang Wu†, Daniel Shao, Yin Fang, Siming Chen, Dong Xu, and Mark Gerstein.
† Equal contribution
Inverse protein folding aims to design amino acid sequences that form specific 3D structures, which is crucial for protein engineering and drug development. Traditional approaches often neglect vital biochemical characteristics that impact protein function. BC-Design introduces a new approach that combines structural data and biochemical attributes, using a dual-encoder architecture for enhanced accuracy. This framework, which surpasses current methods in sequence recovery and structural precision, demonstrates strong generalization and performs well with complex protein features.
Key Features of BC-Design:
- Integrates structural and biochemical features for protein design.
- Uses a dual-encoder system with a Structure Encoder for spatial relationships and a BC-Encoder for biochemical features.
- A BC-Fusion module enables cross-modal feature interaction, enhancing alignment of structural and biochemical data.
- Outperforms traditional methods with high sequence recovery (88.37%) and low perplexity (1.47) on the CATH 4.2 benchmark.
- Exhibits robust generalization across diverse protein sizes, complexity levels, and structural classes.
Code Structures
src/datasets
contains datasets, dataloaders, and collate functionssrc/interface
contains customized Pytorch-lightning data modules and modules.src/models/
contains the main BC-Design model architecture.src/tools
contains some script files of some tools.train
contains the training script.
- [🚀 2024-10-30] The official code is released.
This project has provided an environment setting file of conda, users can easily reproduce the environment by the following commands:
git clone https://github.com/gersteinlab/BC-Design.git
cd BC-Design
conda env create -f environment.yml
conda activate opencpd
python setup.py develop
Model Training
python train/main_fused.py
This project is released under the Apache 2.0 license. See LICENSE
for more information.
For adding new features, looking for helps, or reporting bugs associated with BC-Design
, please open a GitHub issue and pull request with the tag "new features", "help wanted", or "enhancement". Please ensure that all pull requests meet the requirements outlined in our contribution guidelines. Following these guidelines helps streamline the review process and maintain code quality across the project.
Feel free to contact us through email if you have any questions.