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.
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)
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.3.1.tar.gz
(3.5 kB
view details)
Built Distribution
File details
Details for the file LigPrepper-0.3.1.tar.gz
.
File metadata
- Download URL: LigPrepper-0.3.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6471060f639946abe40a93a0d5dbbb34cd2ed59b460131ca962355d61f13f51f |
|
MD5 | cc5ab2c971ac8fe09a09d86d366d095d |
|
BLAKE2b-256 | 4cd86d69793108951a369110ebcfa45094233cde3c7aa3dab68224a32f4c2363 |
File details
Details for the file LigPrepper-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: LigPrepper-0.3.1-py3-none-any.whl
- Upload date:
- Size: 3.7 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 | 3108ba8e117a4d66ff9403547bb25e453064d6676e332656c2b007f2331d9846 |
|
MD5 | f9455d28fc5cdd3419138c356e5a9bf4 |
|
BLAKE2b-256 | e2c3e4ef4a28ff388dd6cc1ec36df01bddb9cc8e4bb9a6460e34a9db63142112 |