Skip to main content

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}
}

Metadata

Release files for dlpacker 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dlpacker 1.0.3
File Size Uploaded
dlpacker-1.0.3.tar.gz 157.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for dlpacker 1.0.3
File Interpreter ABI Platform
dlpacker-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 315.0 MB

Release files / dlpacker-1.0.3.tar.gz

Download URL dlpacker-1.0.3.tar.gz
Size 157.5 MB
Tags Source
SHA-256 checksum
How to use checksums
f4947eb2100629d4929791b79b1aac779135d9cef56680207b2166b38a176290
BLAKE2b-256 checksum
How to use checksums
80e12676b958bf28774abb98651fb4a64272e6d745035b7f44f39d4b5fef44ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / dlpacker-1.0.3-py3-none-any.whl

Download URL dlpacker-1.0.3-py3-none-any.whl
Size 157.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4616c873afed0a97f64d4b46cd1433c94f2c002b7ddebb45c63902f2e5a3c85f
BLAKE2b-256 checksum
How to use checksums
c27d351231853c79344d1a0490b5de63e45857fe67797fd3258bc395dde80acd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

0.9.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page