Skip to main content

GradPose is a novel structural superimposition command-line tool and Python package for PDB files. GradPose uses gradient descent to incrementally approach the optimal rotation matrices (via quaternions) for alignment. It is memory efficient and enables for the quick alignment of thousands to millions of protein structures to a template structure while also providing exact control over which chain and specific residues to align. If a GPU is available, it can use CUDA acceleration.

Project description

GradPose

Welcome to the GitHub repository for the GradPose tool.

GradPose is a novel structural superimposition command-line tool and Python package for PDB files. GradPose uses gradient descent to incrementally approach the optimal rotation matrices (via quaternions) for alignment. It is memory efficient and enables for the quick alignment of thousands to millions of protein structures to a template structure while also providing exact control over which chain and specific residues to align. The tool is designed to overcome the limitations of classical superimposition algorithms, which are not equipped to handle the large number of PDB files produced by researchers today. Our method scales linearly with the number of residues and can also use batch matrix operations effectively even when there are amino-acid insertions or deletions. This makes it more efficient than traditional methods, which tend to scale exponentially with the number of residues and process the pbds individually. Furthermore, if a GPU is available, it can use CUDA acceleration.

This repository contains the source code and documentation for the GradPose tool. Please refer to the documentation for instructions on how to use the tool and for more information about its features and capabilities.

We hope that this tool will be useful to researchers and practitioners in the field of bioinformatics. If you have any questions or suggestions, please don't hesitate to open an issue or submit a pull request. We welcome contributions and feedback from the community.

Install

From PyPI with pip: (Coming Soon)

pip install gradpose

From repository with pip:

pip install git+https://github.com/X-lab-3D/fast-superimposition

Examples of usage:

A folder containing N PDBs named 'example_pdb_folder'

gradpose -i example_pdb_folder

or

gradpose example_pdb_folder

The aligned proteins are automatically stored in the folder 'output'. Using another folder name, or overwriting the current folder without creating a second is possible using the -o option.

If the pdbs need to be aligned to a specific template:

gradpose -i example_pdb_folder -t template_example.pdb

If only a spedific part of the proten needs to be aligned, for exmaple, the first 10 amino-acids, animo-acids 12, and the the aminoacids ranging between (and including) 20 and 30:

gradpose -i example_pdb_folder -r 1:10 12 20:30

(Instructions for options coming soon.)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gradpose-0.0.1.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gradpose-0.0.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file gradpose-0.0.1.tar.gz.

File metadata

  • Download URL: gradpose-0.0.1.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.3

File hashes

Hashes for gradpose-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4f55c9e1de14eb3b5d87b0d265f6204bb023c1cafbc0a271d7f0443861c7fee9
MD5 953f0c278375fef5696898b683bb1f81
BLAKE2b-256 63b1082632a7c4621a31a5380a1f72a158a8df0a1474ebd2555b38e06e153dcf

See more details on using hashes here.

File details

Details for the file gradpose-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: gradpose-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.3

File hashes

Hashes for gradpose-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4a19df6b8583eacaa7da6b95aabaacf7aa682d20f54f3e2557145eb88f753cc
MD5 6a4a74757bfa6a3d8b0883c34d29ff9a
BLAKE2b-256 cff0aaf8f38f1c7745f1afbbe4434ed596285a17a076562ed91d545e82a0a7d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page