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.1.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file LigPrepper-0.4.1.tar.gz
.
File metadata
- Download URL: LigPrepper-0.4.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47ab3ac2a5101d790e4a123c35544e9e613634afb6a5ee1bfb1ed54bc1910c5c |
|
MD5 | 039f14c33137e003781718587d09173d |
|
BLAKE2b-256 | 93a2d4bc3001981a01205e8f4cebbba813fb67810608c3a3f3a95c115bad281f |
File details
Details for the file LigPrepper-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: LigPrepper-0.4.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3063c0cd5a0eb0193f6255a301e522c2653a55ae07f4fd79df8dc332d8414fc5 |
|
MD5 | ec1e0034c92862626416d9d0b1d93701 |
|
BLAKE2b-256 | eddfb556a438132106bbbb2aa143c729db25c17a2ef793ed6117c95f5a1a173a |