PDB2SQL
pdb2sql is a Python package that leverage SQL queries to parse, manipulate and process PDB files. It provides:
- a powerful
pdb2sqlobject to convert PDB data in SQL database - strcuture transformation functions (rotations, translations...)
- useful capablities to
- calculate structure interface (contact atoms and residues)
- calculate structure similarity (iRMSD, lRMSD, FNAT, DockQ...)
Installation
pip install pdb2sql
Documentation
The documentation of the package alongside small tutorial can be found at :
Quick Example
pdb2sql easily allows to load a PDB file in an object. Once loaded, the data can be parsed using SQL queries. To facilitate the adoption of the tool simple methods have been developped to wrap the SQL queries in simple methods. For example obtaining the positions of all carbon, nitrogen and oxygen atoms of chain A from all residues but VAL and LEU, one can use :
from pdb2sql import pdb2sql
pdb = pdb2sql('1AK4.pdb')
atoms = pdb.get('x,y,z',
name = ['C','N', 'O'],
no_resName = ['VAL','LEU'],
chainID = 'A')
Metadata
Release files for pdb2sql 0.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pdb2sql-0.5.3.tar.gz | 398.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdb2sql-0.5.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 812.3 kB
Release files / pdb2sql-0.5.3.tar.gz
| Download URL | pdb2sql-0.5.3.tar.gz |
|---|---|
| Size | 398.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51e882cf0326130b4cd7223692350aa027e6be5141c85cad471da5df9d7fa7dd
|
|
BLAKE2b-256 checksum How to use checksums |
aa3107e1df2f3dab42f6928f2dd80e4c6d310c9edcc3c258161917ab98369e11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.0
|
Release files / pdb2sql-0.5.3-py3-none-any.whl
| Download URL | pdb2sql-0.5.3-py3-none-any.whl |
|---|---|
| Size | 414.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
142b0aa80dc709a13818c0f2d14640342f5678562b56b5b6579c6979323b8a84
|
|
BLAKE2b-256 checksum How to use checksums |
bdeedde3a62bb6cc57ab8f81c48bd263037cd56ab534b641e76d6f726207698a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.0
|