Skip to main content

Simple program to quickly prepare ligand 3d SDF/MOL2 from smiles

Project description

LigPrepper

Simple program to quickly prepare 3D SDF/MOL2 files from SMILES for ligands using rdkit.

PyPI version Downloads

Installation:

pip install LigPrepper

Usage:

For single SMILES

LigPrepper.smiles2sdf('c1ccncc1', labels='pyridine')

LigPrepper.smiles2mol2('c1ccncc1', labels='pyridine')

For a list of SMILES

LigPrepper.smiles2sdf(smiles_list, labels=labels_list, mergesdf=False)

Have reference molecule to align to 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.2.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

LigPrepper-0.2.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for LigPrepper-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5302b5172c0dc00e0f74d543b46c741fc4f2fd45329481ffd64df61676d62458
MD5 6c3e0308b2078184ee51f5670b4ab92f
BLAKE2b-256 2df3185188f1fc56b2b6b915db19ff8653c3f7d8403e1f78573b5ea00e8e8c9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: LigPrepper-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54ff0bab74656fcae41b0758e85c59cd489957c8282fe1e23e719d455e29320e
MD5 83d19695208fb84ee9aca77b5ef3867f
BLAKE2b-256 8b98f509357682c82fee32633a04388d28d6100d20a2d6f2879a72c645f0faed

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