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

OR

$ pip install git+https://github.com/sunghunbae/rdworks.git

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rdworks-0.59.1.tar.gz
  • Upload date:
  • Size: 181.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.59.1.tar.gz
Algorithm Hash digest
SHA256 41629cdc5f101297f36ee9924c432dd8933cfc12cf03f15e1a1adbc180e48222
MD5 47b5384355456df3f848067284f9195d
BLAKE2b-256 7c40f72f39160dfab35b073f69f41411807863ed6ed8931cd96d914cf0df96a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rdworks-0.59.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e47f193b8903c4971cf66b99f63716539422777b929039cb8b07a30a2cb366f4
MD5 ad0104c1cd6c830066d1362e533b3ff5
BLAKE2b-256 5ca9e2e188ac09eeb63fa2149bad454d28054a84ae29fffc31654b609ea71772

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