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.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

LigPrepper-0.4.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: LigPrepper-0.4.2.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.2.tar.gz
Algorithm Hash digest
SHA256 447a2ac0e9046d4edbab3d03cba5b9d671ce047fb01e5f2678486f8855ae2db4
MD5 d80741bbfb9cc40cb4b8a0a7ce0abb67
BLAKE2b-256 9e0151428270d36d5e23a595b383a4eab9216effe8601e9e4768c14aab508a58

See more details on using hashes here.

File details

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

File metadata

  • Download URL: LigPrepper-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 59261464d3f82dfb10db906ffb5062128e95aa369bd9a47eb95221329ab48458
MD5 9249e1e26ece9bfa0822d4be0acd72b3
BLAKE2b-256 263fb674b9b64649ac58d8f482b3b05ecc2d880d7b940dc5ee29e8a93f4a0dbc

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