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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6d3f858c8d4e4d12fd470f5c013f8c116bb68dc53e6f555545c0be6d230ceb9
|
|
| MD5 |
9d0e8e3f86df71443c82718b0ad6c81d
|
|
| BLAKE2b-256 |
0f5f11e422b777e2c1f6c7b9de945ec788a9e442ed4f38b60c60868c7895f0ad
|
Provenance
The following attestation bundles were made for chembl_gen_check-0.1.3.tar.gz:
Publisher:
ci.yml on eloyfelix/chembl_gen_check
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chembl_gen_check-0.1.3.tar.gz -
Subject digest:
e6d3f858c8d4e4d12fd470f5c013f8c116bb68dc53e6f555545c0be6d230ceb9 - Sigstore transparency entry: 1101888422
- Sigstore integration time:
-
Permalink:
eloyfelix/chembl_gen_check@166ea5b572c1a1db32ee76b3f3e0e59f96b0c929 -
Branch / Tag:
refs/tags/0.1.3 - Owner: https://github.com/eloyfelix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@166ea5b572c1a1db32ee76b3f3e0e59f96b0c929 -
Trigger Event:
release
-
Statement type:
File details
Details for the file chembl_gen_check-0.1.3-py3-none-any.whl.
File metadata
- Download URL: chembl_gen_check-0.1.3-py3-none-any.whl
- Upload date:
- Size: 60.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a71a7259966ff69f0df1ce02724c74067f25a1227351afbea644b5ffe9731f92
|
|
| MD5 |
ff2d8662b2f45fde9bc6b5692276bb11
|
|
| BLAKE2b-256 |
37f4cbce9606c734f37973e9200d7a6acab8bd7dd7cd1197883476ffe9a92062
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chembl_gen_check-0.1.3-py3-none-any.whl -
Subject digest:
a71a7259966ff69f0df1ce02724c74067f25a1227351afbea644b5ffe9731f92 - Sigstore transparency entry: 1101888424
- Sigstore integration time:
-
Permalink:
eloyfelix/chembl_gen_check@166ea5b572c1a1db32ee76b3f3e0e59f96b0c929 -
Branch / Tag:
refs/tags/0.1.3 - Owner: https://github.com/eloyfelix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@166ea5b572c1a1db32ee76b3f3e0e59f96b0c929 -
Trigger Event:
release
-
Statement type: