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.61.3.tar.gz (192.4 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.61.3-py3-none-any.whl (203.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rdworks-0.61.3.tar.gz
Algorithm Hash digest
SHA256 9edf512a425ef035104a37f6f8cbd182a255d8e830b2b36b5b4d0913766d54f8
MD5 5c835435c2b8a2e3bc23afb5b40939d2
BLAKE2b-256 4873f30f466fe242498100789779c817ec85f1ddf9220cb5466b457bd036c5de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rdworks-0.61.3-py3-none-any.whl
  • Upload date:
  • Size: 203.6 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.61.3-py3-none-any.whl
Algorithm Hash digest
SHA256 23922c68a40147f8c5f90da7b591b6100702e67c260ee57682283081126cead2
MD5 166c257927065571559bc5685bbb47d2
BLAKE2b-256 8734c72df16a80a7948a35c0501ae96d7a293ff10320faea2a15f6bdd161e650

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