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.59.2.tar.gz (181.2 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.59.2-py3-none-any.whl (193.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rdworks-0.59.2.tar.gz
Algorithm Hash digest
SHA256 45097c57b51e929fee34d61b8a801f8fe97e7108963b48c74c56bb075e72b22b
MD5 7eaba0caa9b25d7dbc1a382b605db831
BLAKE2b-256 050e47897660cd9f77dd6e7133147adcd3daa973f5d7bf756c651a7e23939203

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rdworks-0.59.2-py3-none-any.whl
  • Upload date:
  • Size: 193.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.59.2-py3-none-any.whl
Algorithm Hash digest
SHA256 00aae6a995b71b2c22df35cd6e419479ab9b6545d00020c659c475fb8acd78d8
MD5 417d5121e09487bd1dedf633c5660c1b
BLAKE2b-256 a2d819a65c4f5d2a7823c408b8d3effd1575a0de7e553b66a1d46453ff789e3e

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