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.71.2.tar.gz (206.3 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.71.2-py3-none-any.whl (215.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rdworks-0.71.2.tar.gz
Algorithm Hash digest
SHA256 76e0467542671830d5b9e5b487649c8026a04a83e959d1c60b227c983fdb05b9
MD5 a6c5c5078742fa984a9d527a4ee1025b
BLAKE2b-256 e05a3c66e070d365a66f3e58284fb0616a4b35edeb9bb4fd2a467622af0c1f82

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rdworks-0.71.2-py3-none-any.whl
  • Upload date:
  • Size: 215.5 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.71.2-py3-none-any.whl
Algorithm Hash digest
SHA256 152e80d39991b2e99617bf4cabfb8fff81009a7a15bf5df8848556e56934570e
MD5 1231568c05bc171b296b56633430cffe
BLAKE2b-256 3d5dad01dc604b09e448b51cc94b18467f152cb55574c6f80638d4f6310c6a9f

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