Skip to main content

For chained workflows built on RDKit

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.72.4.tar.gz (208.8 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.72.4-py3-none-any.whl (217.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rdworks-0.72.4.tar.gz
Algorithm Hash digest
SHA256 99eb80b4df78cf9bfd4742606395eadb88c24612a5b6a1ddb3ea261fa1ee12ef
MD5 39e41ae0f3402b3a14a513e301a26eca
BLAKE2b-256 93c6ed9fbfca3ebc49173d42e5c382c2ac4adabf7ef283f1ea10f6f92e214d7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rdworks-0.72.4-py3-none-any.whl
  • Upload date:
  • Size: 217.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.72.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6f2bd89cefaa79a239e82e7b151e383d623dfbb9da3b8d2f3c910f853a2cdab0
MD5 1a384f1c72350d8a0b0e13e51cf37c61
BLAKE2b-256 f7b1ff342f6e567eb8f7d6ddb2d798b27bca0fb0703d3eae4db813a59e2b9d48

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