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.0.tar.gz (5.9 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.0-py3-none-any.whl (5.9 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for chembl_gen_check-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f8e87b851893f3455393036cc963b4b271abd12e36da18cb3b6f236fda6632ad
MD5 608b518acf8a456b99ea6f2f9b9e6a38
BLAKE2b-256 9c19b1446087d6b4da37f8ccdab903f58952ddaaa169e9fc568911d5ccc2d175

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for chembl_gen_check-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7421a41a5eedc1f5a0d0f196f58f1d2a688964beec721340e3f50fe23f99c73
MD5 8ab9b45a2a09f4b51f487886b542a244
BLAKE2b-256 9a2bdff7bacd270b5fdac4c584e27a5e4ab238fe3ac1cf7163580a11f554b8a2

See more details on using hashes here.

Provenance

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