medchem

Filter chemical libraries with medicinal chemistry rules and structural alerts.

22|4|Updated May 25, 2026
One-click install
npx skills add https://github.com/crazymsn/academic-skills --skill medchem-crazymsn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: medchem
Source: https://github.com/crazymsn/academic-skills/tree/main/academic-skills/medchem
Command: npx skills add https://github.com/crazymsn/academic-skills --skill medchem-crazymsn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, datamol, medchem, rdkit, tqdm, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Filters and prioritizes large compound libraries by applying medicinal chemistry rules, structural alerts, and complexity metrics to identify druglike candidates.

Core Features & Use Cases

  • Medicinal chemistry rules and filters (Ro5, Veber, CNS, leadlike variants) to evaluate druglikeness and flag issues.
  • Structural alert detection (CommonAlerts, NIBR, Lilly demerits) and complexity assessment to guide prioritization.
  • High-level workflows and APIs (RuleFilters, functional modules, catalogs, and groups) for batch processing and pipeline integration.
  • Use Case: triage a library of SMILES to select molecules that pass Ro5 and CNS while avoiding Lilly alerts.

Quick Start

Install medchem and apply Ro5 and CNS rules to a list of RDKit molecules.

Frequently Asked Questions about medchem

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I filter a compound library for druglike candidates using medicinal chemistry rules?

To filter a compound library for druglike candidates, apply medicinal chemistry rules like Ro5 and Veber to evaluate druglikeness and flag issues. This Skill processes SMILES or RDKit Mol objects in batch, returning structured results to triage molecules for hit discovery or lead optimization.

Can I apply structural alerts like Lilly demerits to prioritize hits from a SMILES list?

Yes, you can apply structural alerts like Lilly demerits, NIBR, or CommonAlerts to a SMILES list to prioritize hits. The Skill detects undesirable substructures and assesses molecular complexity, guiding compound selection by filtering out molecules that trigger these alerts during library triage.

What is the best way to select CNS druglike candidates while avoiding specific structural alerts?

The best way to select CNS druglike candidates while avoiding structural alerts is to combine composable RuleFilters like CNS and Lilly alerts in a pipeline. The Skill evaluates your SMILES inputs against these constraints, outputting structured results identifying molecules that pass both druglikeness and alert criteria.

Do I need RDKit and datamol installed to run medicinal chemistry filters for batch processing?

Yes, you need RDKit, datamol, and the medchem Python library installed to run these medicinal chemistry filters. These dependencies provide the necessary molecular manipulation and cheminformatics functions required to process RDKit Mol objects or SMILES inputs for batch filtering and parallel execution.

What medicinal chemistry rules are available to evaluate druglikeness and flag issues in a compound library?

Available medicinal chemistry rules to evaluate druglikeness include Ro5, Veber, CNS, and leadlike variants. These filters assess compound libraries by applying structural alerts and complexity metrics, enabling high-level workflows that identify druglike candidates suitable for downstream analysis in drug discovery pipelines.