Skip to main content

Convert DOK files to various chemical structure formats using Open Babel.

Project description

DOK2ANY

Dok2any is a Python package designed to convert dok files generated by LeDock molecular docking software, a non-standard chemical structure file format unique for LeDock, to various other chemical structure formats using Openbabel.

Installation Steps:

Install the package using pip:

pip install dok2any

Dependencies:

  • python (>= 3.10)
  • openbabel-wheel

Usage:

The dok2any package provides a command-line script to perform DOK file conversions.

usage: dok2any [-h] -idok IDOK -oformat OFORMAT -odir ODIR

Convert DOK files to specified output format using Open Babel.

arguments:
  -h, --help                 show this help message and exit
  -idok IDOK, --idok IDOK    Path to the folder containing DOK files (required)
  -oformat OFORMAT, --oformat OFORMAT  Output format for conversion (e.g., mol2, pdb, sdf) (required)
  -odir ODIR, --odir ODIR    Path to the output directory (required)

Example Usage:

dok2any -idok data/dok_files/ -oformat sdf -odir data/converted_files/

This command will convert all DOK files in the data/dok_files/ folder to SDF format and save the output files in the data/converted_files directory.

License:

dok2any is licensed under the MIT License. See the LICENSE file for more information.

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

dok2any-0.0.5.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dok2any-0.0.5-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file dok2any-0.0.5.tar.gz.

File metadata

  • Download URL: dok2any-0.0.5.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for dok2any-0.0.5.tar.gz
Algorithm Hash digest
SHA256 aa4e1597712d927a2b8427658013c93025107abd2f25aa67040fd74434c547e0
MD5 b82262029940e285ff898e1f100a0c01
BLAKE2b-256 fdfa3e274652277e52e9644643e4ac2851de7251df7165c78c766aa0da3dacf4

See more details on using hashes here.

File details

Details for the file dok2any-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: dok2any-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for dok2any-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5921218ea20c686d749582ef4d8228b39dcd5e5dc8bb7763e5223427dc29fb93
MD5 2a05611b42303f39637abdc8d6114ac2
BLAKE2b-256 335527f94586b65ad344061d9c8d8b474144c8339e1119125f4a7724314a2796

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