Skip to main content

Routine tasks built on RDKit and other tools

Project description

Rdworks - routine tasks made easy

Rdworks is designed to perform routine cheminformatics tasks easily. It is built on RDKit and other tools.

Install

$ pip install rdworks

Getting started

from rdworks import Mol

version = rdworks.__version__

mol = Mol('CC(=O)Nc1ccc(O)cc1', 'acetaminophen')

mol = mol.make_confs(n=5)
mol.to_sdf('acetaminophen.sdf')

torsion_dict = mol.torsion_atoms() 
# torsion_dict = {0: (5,4,3,1)}

mol = mol.torsion_energies(calculator='MMFF94', simplify=True)

mol.plot_torsion_energies(0, figsize=(6,4))

mol.to_png(300, 300, atom_index=True, highlight_atoms=torsion_dict.get(0))

serialized = mol.serialize(compress=True)
mol2 = Mol().deserialize(serialized, compress=True)

mol3 = mol.copy()

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

rdworks-0.59.3.tar.gz (181.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rdworks-0.59.3-py3-none-any.whl (193.8 kB view details)

Uploaded Python 3

File details

Details for the file rdworks-0.59.3.tar.gz.

File metadata

  • Download URL: rdworks-0.59.3.tar.gz
  • Upload date:
  • Size: 181.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for rdworks-0.59.3.tar.gz
Algorithm Hash digest
SHA256 6018269dec1c35d68f2da3a1c5d8546eb19adb3523bb022cd924cc19e2b612d3
MD5 01b019a82204148330c9cf57feeae01f
BLAKE2b-256 141544623f87d51fa90ca19d0e674deff2178ba5ecf58fa5b35df3f281def09d

See more details on using hashes here.

File details

Details for the file rdworks-0.59.3-py3-none-any.whl.

File metadata

  • Download URL: rdworks-0.59.3-py3-none-any.whl
  • Upload date:
  • Size: 193.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for rdworks-0.59.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bd81fdf3a9abc9b9bb31ea06e6d3adaf0927f5f94d014673c3f9a2d3d1370e5c
MD5 66cb9996fd69cd983a8ecebe99843de3
BLAKE2b-256 e350dfddbd1b3ec0ab8bd83ae580dab142a503c19be4affa7fdf8a7db5326f01

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