Toolkit to deal with wwPDB chemical components definitions for small molecules.
Project description
pdbeccdutils
-
A set of python tools to deal with PDB chemical components definitions. for small molecules, taken from the wwPDB Chemical Component Dictionary and wwPDB The Biologically Interesting Molecule Reference Dictionary
-
The tools use:
-
Please note that the project is under active development.
Installation instructions
-
pdbeccdutils
requires RDKit to be installed. The official RDKit documentation has installation instructions for a variety of platforms. For linux/mac OS this is most easily done using the anaconda python with commands similar to:conda create -n rdkit-env rdkit python=3.9 conda activate rdkit-env
-
Once you have installed RDKit, as described above then install pdbeccdutils using pip:
pip install pdbeccdutils
Features
- gemmi CCD read/write.
- Generation of 2D depictions (
No image available
generated if the flattening cannot be done) along with the quality check. - Generation of 3D conformations.
- Fragment library search (PDBe hand currated library, ENAMINE, DSI).
- Chemical scaffolds (Murcko scaffold, Murcko general, BRICS).
- Lightweight implementation of parity method by Jon Tyzack.
- RDKit molecular properties per component.
- UniChem mapping.
TODO list
- Add more unit/regression tests to get higher code coverage.
- Further improvements of the documentation.
Documentation
The documentation depends on the following packages:
sphinx
sphinx_rtd_theme
myst-parser
sphinx-autodoc-typehints
Note that sphinx
needs to be a part of the virtual environment, if you want to generate documentation by yourself.
Otherwise it cannot pick rdkit
module. sphinx_rtd_theme
is a theme providing nice ReadtheDocs
mobile friendly style.
- Generate .rst files to be included as a part of the documentation. Inside the directory
pdbeccdutils/doc
run the following commands to generate documentation. - Alternatively, use the
myst-parser
package to get the Markdown working.
Use the following to generate initial markup files to be used by sphinx. This needs to be used when adding another sub-packages.
sphinx-apidoc -f -o /path/to/output/dir ../pdbeccdutils/
Use this to re-generate the documentation from the doc/ directory:
make html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pdbeccdutils-0.8.1.tar.gz
.
File metadata
- Download URL: pdbeccdutils-0.8.1.tar.gz
- Upload date:
- Size: 121.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c56594b92d3290af083d8438ac779ae5a76bcab944b0b60e2d82644e6b9f9318 |
|
MD5 | ee8897af3d62272b70e94f7cc3cbee7a |
|
BLAKE2b-256 | 22199066e642f24f6ea00e1ee877e087dc137b377fedb254742b1ad856688547 |
File details
Details for the file pdbeccdutils-0.8.1-py3-none-any.whl
.
File metadata
- Download URL: pdbeccdutils-0.8.1-py3-none-any.whl
- Upload date:
- Size: 148.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8cf326b081c6fa3fc65ea7703b99c3d5b7dbabba3c9ed9471888dc8e1308e84 |
|
MD5 | b96c532538dc3e38f63030053e72d5c8 |
|
BLAKE2b-256 | 4b491a8b4dc6d16e26c89ea1c25a4a33db1b948dbc4f1a3dcbbdec6b4d283e5f |