Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cheminformatics-ml

БесплатноЗапускает вложенные скриптыНе проверен

Trains, benchmarks, and evaluates predictive SAR and QSAR/ADMET models for chemical series: small-N regularized regressors, nested cross-validation, Tukey HSD…

sharkrebelот sharkrebel★ 94 звезды на GitHub

Об этом скилле

RDKit Machine Learning & Predictive SAR Hub (cheminformatics-ml)

Prerequisites

  1. rdkit-general: Read the rdkit-general skill before running any workflow here.
  2. uv: Read the uv skill and follow its Setup instructions to ensure uv is installed and on PATH. Always execute skill scripts as uv run /path/to/script.py ... (or python3 /path/to/script.py ...); never run uv run python3 /path/to/script.py, as placing python3 after uv run bypasses the script's PEP 723 # /// script dependency block.
  3. User Notification: If .licenses/cheminformatics_ml_LICENSE.txt does not already exist in the workspace root then (1) prominently notify the user of the terms of use for the tools and data sources this skill relies on, then (2) create the file recording the notification text and timestamp:
    • RDKit: BSD 3-Clause License (Landrum et al.)
    • scikit-learn: BSD 3-Clause License

Core Rules

  • Shared foundation rules: Follow all core rules in ../rdkit_general/SKILL.md.
  • Complete Labeled Dataset Processing (No Downsampling): Train and evaluate across 100% of the quantitatively labeled compounds in the curated series; never subsample a series to a small representative subset.
  • No ASCII Structures or Monospace Tables: Never render chemical structures, scaffolds, or tables using ASCII art or monospace code blocks. Use ../rdkit_general/scripts/draw_molecules.py or ../cheminformatics_reactions/scripts/render_mechanism.py and format all tables in GitHub Flavored Markdown (GFM) (see ../rdkit_general/references/reporting_and_nomenclature_invariants.md).
  • Publication Visual Styling: Never use unstyled default matplotlib/seaborn palettes. Use scripts/plot_archetypes.py or apply compat.py::set_safe_plot_style().
  • Interpretable Feature Attribution: Never plot anonymous circular fingerprint bit hashes (FP_\d+, Bit_\d+) as named feature importance bars. Always attribute importance using continuous physical/2D descriptors (standardized_feature_coefficients in --output-metrics).
  • Temporal Split Hygiene & Zero Time Overlap: Never treat boolean flags (False / True) as chronological values (False < True is not a temporal split). Backfill true publication or patent dates (document_year, publication_date, filing_date, priority_date) whenever document provenance is available, and perform every temporal cut with an explicit --time-cutoff <year_or_YYYY-MM-DD> (train <= cutoff, test > cutoff) so $\max(t_{\text{train}}) < \min(t_{\text{test}})$ with zero timestamp overlap.

Task-to-Domain Routing Directory

Match the user's objective to the domain below, read the corresponding reference guide, and execute from scripts/:

  1. Small-N QSAR Benchmarking, TabFM, Splitting & Statistical Tiering

    • Reference Guides:
      • references/small_n_qsar_and_regularization.md — read when training regularized QSAR models, running nested CV, tiering by Tukey HSD, or extracting standardized $\beta$ feature coefficients.
      • references/tabfm_molecular_modeling.md — read when running zero-shot TabFM tabular foundation modeling.
      • references/hit_to_lead_and_sbdd.md — read when performing scaffold/temporal splitting, Butina clustering, MaxMin diversity picking, or positional analogue scanning.
    • Standard Executables:
      • uv run scripts/congeneric_series_ml.py — central adaptive regularized QSAR benchmarking engine: builds 2D, fingerprint, hybrid, and TabFM representations, runs nested CV, tiers models by Tukey HSD, exports standardized feature $\beta$ coefficients (--output-metrics), and serializes the winning .joblib bundle.
      • uv run scripts/scaffold_splitter.py — Bemis-Murcko scaffold and cutoff-based temporal partitioning (--split-method time --time-cutoff <year_or_YYYY-MM-DD>) with automatic true-date backfilling and zero time overlap.
      • uv run scripts/cluster_compounds.py — Butina clustering on Morgan fingerprint Tanimoto similarity.
      • uv run scripts/diversity_picker.py — MaxMin diversity selection.
      • uv run scripts/positional_analogue_scanner.py — systematic positional analogue scanning of substituent positions.
      • uv run scripts/ring_system_analyzer.py — extracts ring systems and frequency distributions.
      • uv run scripts/stereoisomer_enumerator.py — enumerates undefined stereocenters and double-bond isomers.
  2. **Physics vs. ML Benchmarking, Delta-Learning & Prospective Candidate Sco

Полный SKILL.md на GitHub

Установить cheminformatics-ml в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/hit_to_lead_and_sbdd.mdreferences/model_persistence_and_inference.mdreferences/prospective_scoring_and_physics_benchmarking.mdreferences/scientific_reporting_and_visualization.mdreferences/small_n_qsar_and_regularization.mdreferences/standard_agy_science_integration.mdreferences/tabfm_molecular_modeling.mdscripts/cluster_compounds.pyscripts/congeneric_series_ml.pyscripts/diversity_picker.pyscripts/mmpa_sar_analysis.pyscripts/mpo_pareto_radar.pyscripts/physics_ml_comparator.pyscripts/plot_archetypes.pyscripts/positional_analogue_scanner.pyscripts/predict_potency.pyscripts/report_builder.pyscripts/ring_system_analyzer.pyscripts/scaffold_splitter.pyscripts/similarity_map_generator.pyscripts/stereoisomer_enumerator.py

FAQ

Что делает скилл cheminformatics-ml?

Trains, benchmarks, and evaluates predictive SAR and QSAR/ADMET models for chemical series: small-N regularized regressors, nested cross-validation, Tukey HSD model tiering, scaffold/temporal splitting, matched molecular pairs (MMPA), similarity attribution maps, model persistence, and candidate scoring.

Как установить скилл cheminformatics-ml?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cheminformatics-ml запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить cheminformatics-ml с