RDKit Cheminformatics
Overview
Fine-grained molecular control in Python. Platform helpers live under src/tools/bioinfo/rdkit/ (CLI + importable functions). Prefer them over re-implementing RDKit from scratch.
VenusFactory execution
- No
rdkit_*@toolin the hub — useagent_generated_code(orpython_repl) and import the modules below. - Extended tutorials:
read_skill("rdkit", relative_path="references/legacy_guide.md"). - Bioactivity from ChEMBL first →
chembl_database, then RDKit for chemistry ops.
Project scripts (src/tools/bioinfo/rdkit/)
| Script | Purpose |
|---|---|
molecular_properties.py | MW, LogP, TPSA, Lipinski, QED → CSV |
substructure_filter.py | SMARTS/SMILES include/exclude filters |
similarity_search.py | Morgan/RDKit/MACCS fingerprints + Tanimoto |
pythonfrom src.tools.bioinfo.rdkit import calculate_properties, filter_molecules, similarity_search # loaders: substructure_filter.load_molecules / similarity_search.load_molecules
bashpython -m src.tools.bioinfo.rdkit.molecular_properties "CCO" python -m src.tools.bioinfo.rdkit.similarity_search "CCO" database.smi --threshold 0.7 -o hits.csv
When NOT to use
- Download ChEMBL molecules/activities →
chembl_database - Simple FDA label search →
fda/query_fda
Common mistakes
- Importing
load_moleculesfrom package root (use module-specific loaders) - Assuming a LangChain tool named
rdkit_*exists - Sanitization failures on dirty SMILES — handle
Nonemols
References
references/api_reference.md,descriptors_reference.md,smarts_patterns.mdreferences/legacy_guide.md— full capability cookbook


