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:
convert all the DOK files containing in a folder:
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.
convert a single DOK file:
dok2any -idok data/dok_files/ligand01.dok -oformat mol2 -odir data/converted_files/
This command will convert ligand01.dok file in the data/dok_files/ folder to MOL2 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dok2any-0.0.6.tar.gz.
File metadata
- Download URL: dok2any-0.0.6.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4de919b999f76c67a06a275a16c4b3118e65e9de0f5ba0269463b0cdab6250d9
|
|
| MD5 |
af05d1fd94a036be6b273f13619632a0
|
|
| BLAKE2b-256 |
fa63cb996c554ee2bc16af266557fd1f92bac05f4aa19147df9a759dd86923aa
|
File details
Details for the file dok2any-0.0.6-py3-none-any.whl.
File metadata
- Download URL: dok2any-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
728ec298b3bcb441795f99374a76eafd1b06c0d4c115dc91a7586611032ad6f0
|
|
| MD5 |
6b3304f1ae0029734cab522a7fcf621b
|
|
| BLAKE2b-256 |
94ecfb27607d5b330ac01f3a0818b7bd295b9fd1b760bca305cbd384bf3a3107
|