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 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()

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

# Murcko scaffold found in ChEMBL (True/False)
checker.check_scaffold()

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

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

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

# LACAN score > 0.5 (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.1.tar.gz (6.5 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.1-py3-none-any.whl (6.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chembl_gen_check-0.1.1.tar.gz
  • Upload date:
  • Size: 6.5 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.1.tar.gz
Algorithm Hash digest
SHA256 25e3a7c542f2ec628e1ef32e40ca44a812ac17f5f0aa8dd2641637160f3abc71
MD5 7eac83497beff0de8de323399501e303
BLAKE2b-256 5c8a9585a4a420b13f541e75eb4e52b39899c6352765762b454efd26b11cd36a

See more details on using hashes here.

Provenance

The following attestation bundles were made for chembl_gen_check-0.1.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for chembl_gen_check-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 81f49d0413ed1d7183669d7c5867ecc082bad7f7ef59f58469bd4e53328e4569
MD5 45bbe965e428fdeb3783cfd6d3888793
BLAKE2b-256 8f40d98b5e82eb40c95f20afd72871daba10402df8fe4f2d7e9dbb58e92464fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for chembl_gen_check-0.1.1-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