medchem

Apply drug-likeness, structural alerts, and PAINS diagnostics to compound libraries.

52|6|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/ovachiever/droid-tings --skill medchem-ovachiever
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: medchem
Source: https://github.com/ovachiever/droid-tings/tree/main/skills/medchem
Command: npx skills add https://github.com/ovachiever/droid-tings --skill medchem-ovachiever

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Medchem offers a suite of medicinal chemistry rules, structural alerts, and filters to triage and prioritize compound libraries for drug design, enabling faster, chemistry-aware decision making.

Core Features & Use Cases

  • Drug-likeness rules (Ro5, Veber, CNS, lead-like)
  • Fragment and CNS-oriented rules
  • Structural alert filters (PAINS, common alerts, NIBR, Lilly demerits)
  • Featurization and scoring for library screening
  • Flexible query language for compound filtering

Use cases include high-throughput triage, lead optimization, and CNS-targeted drug discovery.

Quick Start

Filter a library with Ro5 and common alerts, then review Lilly demerits for top candidates.

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 by drug-likeness rules like Ro5?

Drug-likeness filtering applies Ro5, Veber, and lead-like rules to screen compounds by molecular weight, logP, H-bond donors/acceptors, and rotatable bonds. The Skill batch-applies these rules to SMILES strings or RDKit Mol objects, returning per-molecule pass/fail results for rapid library triage in drug discovery workflows.

What are structural alerts and PAINS filters in medicinal chemistry screening?

Structural alerts flag substructures linked to toxicity, instability, or poor druggability; PAINS (Pan-Assay Interference Compounds) identifies compounds likely to generate false positives in screening assays. This Skill detects both via modular alert filters (CommonAlertsFilters, NIBRFilters, LillyDemeritsFilters), enabling chemistry-aware compound prioritization.

Can I screen large compound libraries in CSV or SDF format with parallelization?

Yes. The Skill accepts SMILES, CSV, TSV, and SDF inputs and supports high-performance batch processing via n_jobs parallelization and progress tracking. This enables scalable screening of large molecular datasets for library curation and lead optimization.

How do I combine multiple filtering rules—Ro5, PAINS, and Lilly demerits—on the same compounds?

Stack rule filters sequentially using RuleFilters and modular alert components to apply drug-likeness, structural alerts, and vendor demerits in a single workflow. The Skill outputs detailed per-molecule results showing which filters each compound passes or fails.

What's the difference between common alerts, NIBR filters, and Lilly demerits?

Common alerts flag frequent toxicophores; NIBR and Lilly demerits are vendor-specific structural alert sets reflecting internal drug-discovery criteria. The Skill applies each as independent modular filters, letting you prioritize compounds based on your project's risk tolerance and chemistry constraints.

Do I need RDKit and pandas installed to use medicinal chemistry filtering?

Yes. The Skill depends on RDKit for molecular parsing and manipulation, pandas for tabular data handling, datamol for cheminformatics utilities, and tqdm for progress display. These handle SMILES parsing, descriptor calculation, and batch processing of compound libraries.