medchem

Filter compound libraries using medicinal chemistry rules and structural alerts.

Updated Dec 17, 2025
One-click install
npx skills add https://github.com/robotlearning123/claude-scientific-skills --skill medchem-robotlearning123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: medchem
Source: https://github.com/robotlearning123/claude-scientific-skills/tree/main/scientific-skills/medchem
Command: npx skills add https://github.com/robotlearning123/claude-scientific-skills --skill medchem-robotlearning123

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Medchem is designed to streamline medicinal chemistry workflows, particularly for compound library optimization, lead optimization, and complex analysis in drug discovery. It automates molecular filtering and prioritization, helping scientists efficiently screen compounds based on established medicinal chemistry rules, structural alerts, and complex criteria.

Core Features & Use Cases

  • Medicinal Chemistry Rules: Apply hundreds of drug-likeness rules (e.g., Lipinski, Veber) to triage and prioritize compounds.
  • Structural Alert Filters: Detect potentially problematic structural patterns (e.g., PAINS filters, NIBR filters).
  • Functionality: Supports compound filtering by drug-like metrics, structural alerts, and complexity metrics, facilitating efficient compound library curation and lead optimization.
  • Use Case: Use this skill to filter your compound library against the Lipinski rule of five and structural alerts, and calculate complexity scores for further analysis.

Quick Start

Install medchem using pip and then use the following command to filter molecules against the Lipinski rule of five and NIBR structural alerts:

uv pip install medchem
python -m medchem.functional.nibr_filter input.sdf --output filtered.sdf

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 using Lipinski rule of five and structural alerts?

To filter a compound library using Lipinski drug-likeness rules and structural alerts, use the medchem NIBR filter command on an input SDF file to output a filtered SDF file for compound screening.

What are PAINS structural alert filters and when do I need them for compound screening?

PAINS structural alert filters detect potentially problematic structural patterns in compounds to prevent false hits. You need PAINS filters during compound library optimization to triage and prioritize drug candidates efficiently by removing problematic structural patterns.

Can I use rdkit and pandas with medchem for lead optimization workflows?

Yes, medchem requires rdkit, datamol, and pandas as dependencies to automate lead optimization workflows. It applies drug-likeness rules and molecular complexity metrics to streamline compound prioritization and analysis using these libraries.

What's the best way to calculate molecular complexity scores for a compound library?

The best way to calculate molecular complexity scores for a compound library is using medchem's complexity calculation algorithms. It applies complexity metrics alongside structural alert filters and medicinal chemistry rules to curate and prioritize compounds for drug discovery.

Does medchem support compound filtering by Veber rules for drug discovery?

Yes, medchem supports compound filtering by Veber rules alongside Lipinski and other drug-likeness rules for drug discovery. It applies hundreds of medicinal chemistry rules to triage and prioritize compounds efficiently during lead optimization.

Why are structural alerts important for compound library curation?

Structural alerts are important for compound library curation because they detect potentially problematic structural patterns like PAINS and NIBR filters. This helps scientists efficiently screen and remove problematic compounds for safer drug discovery prioritization.

Related Skills