Skip to main content

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

PyPI version Downloads

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

Draw 2D structures

LigPrepper.smiles2png(smiles_list, labels=labels_list)

LigPrepper.smiles2png(smiles_list, labels=labels_list, ref='ref smiles')

LigPrepper.smiles2png(smiles_list, labels=labels_list, ref='ref.sdf')

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

LigPrepper-0.4.3.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

LigPrepper-0.4.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file LigPrepper-0.4.3.tar.gz.

File metadata

  • Download URL: LigPrepper-0.4.3.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for LigPrepper-0.4.3.tar.gz
Algorithm Hash digest
SHA256 ee6260ac1113ea6f29093500ad139bafb61b4f4c3e6bb2a8a432e9080981bb41
MD5 c3db6889446adcfea5193baff3301791
BLAKE2b-256 baf9bf2557645d44940fb222806148d7723c583f59ddf3998a72b0db5d99bbdc

See more details on using hashes here.

File details

Details for the file LigPrepper-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: LigPrepper-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for LigPrepper-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 462172ab30db3841474c3e065b058a0c6143e2d55af4c6dfe9f34e9fcad4b49c
MD5 802abe2979d81876eaa0e51db03f7120
BLAKE2b-256 64d7cd1dedffe0db8cb538f90d44f4a3d753aabdf016a306a8f441826bb368ba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page