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 | Provenance | Actions |
|---|---|---|---|---|
| pdb2sql-0.5.3.tar.gz | 398.1 kB | Without provenance | Details for pdb2sql-0.5.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pdb2sql-0.5.3-py3-none-any.whl | Python 3 | none | any | Details for pdb2sql-0.5.3-py3-none-any.whl |
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
|
Security for pdb2sql 0.5.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.