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.61.1.tar.gz (191.7 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.61.1-py3-none-any.whl (202.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rdworks-0.61.1.tar.gz
Algorithm Hash digest
SHA256 ead8254731f57b1737012ff8bbc67ae9f98b02556d48b1e3112df3b94d0f88b7
MD5 ebe1abb5015e37faf1dc1ead36a7b34b
BLAKE2b-256 278f64f1ccedc05abed59688db64a1af18dcbc1950c0ef9169482d844e454527

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rdworks-0.61.1-py3-none-any.whl
  • Upload date:
  • Size: 202.9 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.61.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c8fd3c074a0165c3513e3448f0177125805e14b9164b2c070bd46efafcc2747
MD5 11b422191f8dc58ca6da1bea9ea83f11
BLAKE2b-256 ff85e208a92155eeb72be325ee306b3bbfb67a3cdf39fa033fa28f8d6e5daf43

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