Skip to main content

GradPose is a novel structural superimposition command-line tool and Python package for PDB files.

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

Install GradPose from PyPI with pip:

pip install gradpose

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.1.tar.gz (16.2 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.1-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gradpose-0.1.tar.gz
Algorithm Hash digest
SHA256 5eddf3fc17dacad818dd06e952c67807e5a1dd29001f3896005307e634efd121
MD5 c613e22792694238b49e38c1856bfc21
BLAKE2b-256 7be6934007a23145bd78ce98b146b16eb3ee38ad0d471850bc0ba56a908cfaf5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gradpose-0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99e3955fd120cf54d32741d6acd392b094881e66f921a842ec6e273387f5cf67
MD5 5143cf51c5c30e73271af53d64bcc331
BLAKE2b-256 578eaaf9eee3beb3dcb229177c272a11dfc5bc97fe6cf2f247267fe011b7614d

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