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.73.1.tar.gz (210.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.73.1-py3-none-any.whl (219.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rdworks-0.73.1.tar.gz
  • Upload date:
  • Size: 210.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.73.1.tar.gz
Algorithm Hash digest
SHA256 de1734476c9219135681259e8a9aa68885f86edb5df3f5ea5e234810366f4095
MD5 0be36265febd62c437472dfd0b01891a
BLAKE2b-256 f510f6b594db8fed62f5e6e24fcf7c46ba973aa6708bff5f3bf4413b1164ab84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rdworks-0.73.1-py3-none-any.whl
  • Upload date:
  • Size: 219.4 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.73.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c44a649d5e3ee4147e5ec90a97be31c603ae4386f8562721d118d68dcb6e56eb
MD5 56c6e025698d0ca3ee2393cd5523ccee
BLAKE2b-256 54b5051d8ef910b62b5dd7d82642a4fb9e733c43014614e99f6055ccd4626def

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