Simple program to quickly prepare ligand 3d SDF/MOL2/PDBQT from smiles
Project description
LigPrepper
Simple program to quickly prepare 3D SDF/MOL2/PDBQT files from SMILES for ligands using rdkit & openbabel.
Also, split sdf and convert formats sdf<->pdbqt for Autodock Vina
Installation:
pip install LigPrepper
Usage:
For single SMILES
LigPrepper.smiles2sdf('c1ccncc1', labels='pyridine')
LigPrepper.smiles2mol2('c1ccncc1', labels='pyridine')
LigPrepper.smiles2pdbqt('c1ccncc1', labels='pyridine')
For a list of SMILES
LigPrepper.smiles2sdf(smiles_list, labels=labels_list, mergesdf=False)
Want to align molecule to reference molecule in SDF format
LigPrepper.smiles2sdf(smiles_list, labels=labels_list, ref='ref.sdf', mergesdf=False)
convert formats
sdf2pdbqt
pdbqt2sdf
split sdf
splitsdf
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
LigPrepper-0.4.0.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file LigPrepper-0.4.0.tar.gz
.
File metadata
- Download URL: LigPrepper-0.4.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 705a42ee72f330ed05007f31e0ad8633f67542f27502a16568d545ce5c34afe1 |
|
MD5 | f6259ce15c59dbd92d755f1edb95d550 |
|
BLAKE2b-256 | 2e455a09ca0f34d74a7f37c46c74513007e7d79b3c013d6475c5291896a481a1 |
File details
Details for the file LigPrepper-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: LigPrepper-0.4.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75baa4633b4c75930d7d675e172b4b275e3724981aaa4c59d3e1ea38cc08768a |
|
MD5 | e6840bc6173bd0724dc4e55c28df6a40 |
|
BLAKE2b-256 | aab582d43159bbdb9209112e32867e26d42e0d9db48d6563d0933f9d5b06038a |