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.0.tar.gz (210.1 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.0-py3-none-any.whl (219.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rdworks-0.73.0.tar.gz
  • Upload date:
  • Size: 210.1 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.0.tar.gz
Algorithm Hash digest
SHA256 71ac2648ccd179fd52a9ee5bb8a68f77b50dba7d072c4d46176a035166d52f30
MD5 2fce21813a860a35c058467b4298cc53
BLAKE2b-256 cfffb9a5f64ca64e49315d52b1a77d2d1aa8cf0bf5eb3369360926d576dcc500

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rdworks-0.73.0-py3-none-any.whl
  • Upload date:
  • Size: 219.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e981fb7ddb3df397d5c77511308409ff451ad217165a24cfa71784303ab15438
MD5 05fc08adca26fb420348822c7eea2da2
BLAKE2b-256 4300fe09a72798ad818bb1827db5ed97ecc6444d3ebce7bf56f63bbb095d6aaf

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