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.2.tar.gz (209.0 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.2-py3-none-any.whl (218.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rdworks-0.72.2.tar.gz
  • Upload date:
  • Size: 209.0 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.2.tar.gz
Algorithm Hash digest
SHA256 e2976df8f82d0d37bef7a41b2db0c052b084e2c1625d9c719db4a2375467a535
MD5 8649cfbdadf18ff500e8a0e780d556b9
BLAKE2b-256 150fcfbce0a1d74866d0873fa57df0fc5684b85e3505c39767f768e57c2e6a79

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rdworks-0.72.2-py3-none-any.whl
  • Upload date:
  • Size: 218.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 198fe74ac0fb0c7c76a752434be327e965ba0440fdc0ba6d75fa4832ef4fe11b
MD5 31466111bf85ccdae9cff8e534bcabd0
BLAKE2b-256 b95a1622e4412e94299ce93b0214906335a871a73e651e3119db68692c7ea9de

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