Skip to main content

Simple package that performs basic molecular structural sanity checks

Project description

chembl_gen_check

chembl_gen_check is a Python library that uses lightweight MolBloom filters for rapid verification of the existence of scaffolds, generic scaffolds or ring systems in ChEMBL (and SureChEMBL) structures. The library can also indicate whether a compound has uncommon bonds according to the LACAN algorithm, or that a compound triggers a structural alert. Taken together, these checks provide rapid assessment of the reasonableness of ring systems and scaffolds, as well as ensuring that atom and bond environments have precedent.

Installation

pip install chembl-gen-check

Usage example

from chembl_gen_check import Checker

checker = Checker("chembl")
#checker = Checker("surechembl")

smiles = "CCN(CC)C(=O)C[C@H]1C[C@@H]1c1ccccc1"
checker.load_smiles(smiles)

# Murcko scaffold found in the loaded database (True/False)
checker.check_scaffold()

# Generic Murcko scaffold found in loaded database (True/False)
checker.check_skeleton()

# All molecule ring systems found in loaded database (True/False)
checker.check_ring_systems()

# Number of structural alerts using the ChEMBL set in RDKit(integer)
checker.check_structural_alerts()

# LACAN score > 0.5 using the loaded database (True/False)
checker.check_lacan() > 0.5

Code to extract ring systems adapted from: W Patrick Walters. useful_rdkit_utils

Code to calculate LACAN scores adapted from: Dehaen, W. LACAN. https://github.com/dehaenw/lacan/

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

chembl_gen_check-0.1.3.tar.gz (60.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chembl_gen_check-0.1.3-py3-none-any.whl (60.9 MB view details)

Uploaded Python 3

File details

Details for the file chembl_gen_check-0.1.3.tar.gz.

File metadata

  • Download URL: chembl_gen_check-0.1.3.tar.gz
  • Upload date:
  • Size: 60.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chembl_gen_check-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e6d3f858c8d4e4d12fd470f5c013f8c116bb68dc53e6f555545c0be6d230ceb9
MD5 9d0e8e3f86df71443c82718b0ad6c81d
BLAKE2b-256 0f5f11e422b777e2c1f6c7b9de945ec788a9e442ed4f38b60c60868c7895f0ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for chembl_gen_check-0.1.3.tar.gz:

Publisher: ci.yml on eloyfelix/chembl_gen_check

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chembl_gen_check-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for chembl_gen_check-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a71a7259966ff69f0df1ce02724c74067f25a1227351afbea644b5ffe9731f92
MD5 ff2d8662b2f45fde9bc6b5692276bb11
BLAKE2b-256 37f4cbce9606c734f37973e9200d7a6acab8bd7dd7cd1197883476ffe9a92062

See more details on using hashes here.

Provenance

The following attestation bundles were made for chembl_gen_check-0.1.3-py3-none-any.whl:

Publisher: ci.yml on eloyfelix/chembl_gen_check

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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