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.

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)

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

Uploaded Source

Built Distribution

LigPrepper-0.3.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: LigPrepper-0.3.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for LigPrepper-0.3.0.tar.gz
Algorithm Hash digest
SHA256 662690bd7c85ef5c56d588a399a82243ea96e3207330bf026d40bf26c9b38798
MD5 56611cde26f4df1fc8a4664a7335160b
BLAKE2b-256 6ba30fe47e19fb32a5008121b786a733705e717a19f441b159fa2a9d12c04fe0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: LigPrepper-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for LigPrepper-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1a6828703ab7102357c9bf40c1264cc6bef91b020e5c963c1d4d8cef03b004d
MD5 70c4b941eba1cdf8fbab69560458d9cd
BLAKE2b-256 76af8f0d160484027be8bff2f79682a0780029a83a05a2296d15549bbbcb7839

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