Skip to content

nekitmm/DLPacker

Repository files navigation


DLPacker

PyPI version


This repo contains the code from DLPacker paper DLPacker: Deep Learning for Prediction of Amino Acid Side Chain Conformations in Proteins.

Side chain restroration example


What can this code do?

  • Restore full-atom protein structure from backbone (packing)
  • Generate structures of point mutants (assumes the backbone has not changed)
  • Pack or refine parts of protein structure (e.g. after you modelled backbone of a missing loop)
  • Restore partially of fully missing side chains (to be implemented)
  • probably more

Input may contain any protein/protein complex/RNA/DNA/small molecules etc. Only water molecules are removed by default and MSE residues are renamed into MET, the rest will stay the same (except side chains of course).

Installation

pip install dlpacker

Or

pip install git+https://github.com/nekitmm/DLPacker

Alternatively

git clone https://github.com/nekitmm/DLPacker
cd DLPacker
pip install .

Usage

As easy as three lines of code:

from dlpacker import DLPacker
dlp = DLPacker('my_structure.pdb')
dlp.reconstruct_protein(order = 'sequence', output_filename = 'my_structure_repacked.pdb')

Input stricture might or might not contain side chains, existing side chains, if present, will be ignored.

You can find more examples with explanations in the jupyter notebook DLPacker.ipynb.

Performance

The table below shows validation RMSD (Å) for DLPacker as well as two other state of the art algorithms, SCWRL4 and Rosetta Packer (fixbb):

AA Name SCWRL4 Rosetta Packer DLPacker
Arg 2.07 1.84 1.44
Lys 1.54 1.40 1.21
Phe 0.67 0.53 0.32
Tyr 0.83 0.68 0.38
Trp 1.27 0.96 0.46
His 1.18 1.05 0.81
Glu 1.34 1.26 1.02
Gln 1.43 1.24 1.09
Met 1.08 0.91 0.76
Asn 0.88 0.80 0.65
Asp 0.68 0.65 0.47
Ser 0.59 0.52 0.36
Leu 0.49 0.45 0.36
Thr 0.36 0.33 0.27
Ile 0.40 0.36 0.31
Cys 0.40 0.30 0.24
Val 0.24 0.23 0.19
Pro 0.21 0.19 0.14

Citing our work

If you use our code in your work, please cite the DLPacker paper:

@article{misiura2022dlpacker,
title={DLPacker: deep learning for prediction of amino acid side chain conformations in proteins},
author={Misiura, Mikita and Shroff, Raghav and Thyer, Ross and Kolomeisky, Anatoly B},
journal={Proteins: Structure, Function, and Bioinformatics},
volume={90},
number={6},
pages={1278--1290},
year={2022},
publisher={Wiley Online Library}
}