Skip to main content

Toolkit to deal with wwPDB chemical components definitions for small molecules.

Project description

CodeFactor PYPi GitHub ccdutils documentation ccdutils tests

pdbeccdutils

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


Download files

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

Source Distribution

pdbeccdutils-0.8.5.tar.gz (121.7 kB view details)

Uploaded Source

Built Distribution

pdbeccdutils-0.8.5-py3-none-any.whl (149.0 kB view details)

Uploaded Python 3

File details

Details for the file pdbeccdutils-0.8.5.tar.gz.

File metadata

  • Download URL: pdbeccdutils-0.8.5.tar.gz
  • Upload date:
  • Size: 121.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for pdbeccdutils-0.8.5.tar.gz
Algorithm Hash digest
SHA256 1c8dd4168123f4808e6ae1621e146d0afa26ad9ecd5ec07285921e0a56fb274d
MD5 219e921f9765c501fa420dfae1e215f1
BLAKE2b-256 1ab0632f7692b29bdfe95eac7e00ce1c62a868aeaa6e3bd576b4d05c699f6c80

See more details on using hashes here.

File details

Details for the file pdbeccdutils-0.8.5-py3-none-any.whl.

File metadata

  • Download URL: pdbeccdutils-0.8.5-py3-none-any.whl
  • Upload date:
  • Size: 149.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for pdbeccdutils-0.8.5-py3-none-any.whl
Algorithm Hash digest
SHA256 900e3fbf085e0cfdf5371e7f8769a21bbfb050517d62f9a5c8cc5eff5cf266e2
MD5 74838e27a5d0d9f7899e698a24b0ab4e
BLAKE2b-256 50500f2e5da81fa27e4fafae5fb915d6c18e781ca560c6d6677e7f081bf8a6f7

See more details on using hashes here.

Supported by

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