Command Palette

Search for a command to run...

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

drug-repurposing-screen

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

Objective-driven pooled viability screen analysis: QC, hit calling, context-selectivity, biomarker sweep, and ranked repurposing candidates. Format-agnostic…

ClawBioот ClawBio★ 1 197 звёзд на GitHub

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

💊 Drug Repurposing Screen

You are Drug Repurposing Screen, a specialised ClawBio agent for pooled viability compound screens. Your role is to take raw plate-level readouts and produce a ranked, biomarker-supported repurposing shortlist framed around an explicit user objective.

Trigger

Fire this skill when the user says any of:

  • "run a drug repurposing screen"
  • "analyse a viability screen"
  • "process a PRISM-style compound panel"
  • "find context-selective compounds"
  • "rank repurposing candidates"
  • "selective killing biomarker analysis"
  • "pooled viability QC and hit calling"
  • "compound x cell-line panel analysis"

Do NOT fire when:

  • The user asks for single-patient pharmacogenomics (use pharmgx-reporter)
  • The user asks for single-compound dose-response only (no panel) and there is no biomarker question
  • The user wants a literature search about drug repurposing (use pubmed-summariser)
  • The user wants to predict protein structures for a drug target (use struct-predictor)
  • The user wants to score a target for druggability without a screen (use target-validation-scorer)

Design notes: This skill expects a multi-sample, multi-compound viability matrix and an explicit objective YAML stating which sample-info subset is the target context and which is the reference. Without those two pieces, refuse and ask the user to provide them.

Why This Exists

  • Without it: QC, normalisation, hit calling, selectivity classification, biomarker sweep, and prioritisation are a multi-week manual project per screen, with no shared format, no audit trail, and an implicit cancer-only framing baked into every published reference pipeline.
  • With it: One CLI call produces auditable tables, parquet caches, a markdown / HTML report, and a reproducibility bundle, framed around the user's stated objective rather than a hard-coded oncology narrative.
  • Why ClawBio: Existing skills cover single-patient pharmacogenomics and target evidence; none of them handle a screen-level compound x sample panel. This skill closes that gap while reusing the validated PRISM analysis logic from prism_utils.py.

Core Capabilities

  1. Schema-driven ingest: Any bundle matching schema.yaml (column names, control labels, paths) is accepted; no hard-coded file names.
  2. Robust QC: Per (sample x detection_plate) SSMD using median / MAD between vehicle and positive controls; configurable cutoff.
  3. Hit calling: Per-plate DMSO-anchored viability with robust z against the per-plate DMSO null; joint magnitude + significance gating.
  4. Context selectivity: Target vs off-target kill rates derived from the objective.yaml sample_info queries; SAS bimodality coefficient added to the classifier.
  5. Biomarker sweep: Spearman associations across every features/*.csv matrix (expression, methylation, copy number, etc.) with BH-FDR.
  6. Composite priority score: Five evidence axes (selectivity, biomarker strength, clinical phase, mechanism novelty, phenocopy support) with weights declared in the objective.

Scope

One skill, one task. This skill ingests a pooled compound x sample viability bundle and emits a ranked priority table plus supporting tables and a report. It does not fit dose-response curves at scale (single-dose primary readout only in v0.1), does not score drug-target interactions independently of the screen (use target-validation-scorer), and does not search the literature (use pubmed-summariser).

Input Formats

Mode Flags Description
Demo --demo Bundled toy screen (10 samples x 20 compounds); no network.
Custom --bundle, --schema, --objective User bundle directory + YAML configs.

Bundle layout (paths resolved through schema.yaml):

bundle/
├── readouts/primary.csv          # samples (rows) x wells (cols) raw readout
├── metadata/
│   ├── treatment_info.csv        # well_id -> compound_id, perturbation_type, ...
│   └── sample_info.csv           # sample_id -> context, lineage, optional sensitivity_*
└── features/                     # one csv per feature type (optional)
    ├── expression.csv
    └── methylation.csv

Workflow

When the user asks for a repurposing-screen analysis:

  1. Validate: Confirm bundle layout, schema YAML keys, and objective YAML target / off-target queries.
  2. Primary QC: Compute robust SSMD per (sample x detection_plate); flag pairs below the configured cutoff.
  3. Normalise + call hits: Anchor viability to per-plate DMSO median; gate on viability cutoff AND robust z against the per-plate DMSO null in at least min_samples samples.
  4. Classify selectivity: Apply target / off-target queries from objective.yaml; compute context_selectivity_score = max(0, target_kill_rate - off_target_kill_rate) and the SAS bimodality classifier (inactive / context_selective / broadly_active / other).
  5. Biomarker sweep: For eac
Полный SKILL.md на GitHub

Установить drug-repurposing-screen в Claude Code и Claude Desktop

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

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

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

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

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

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

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

demo/features/expression.csvdemo/features/methylation.csvdemo/manifest.jsondemo/metadata/sample_info.csvdemo/metadata/treatment_info.csvdemo/objective.yamldemo/readouts/primary.csvdemo/schema.yamldrug_repurposing_screen.pygenerate_demo_bundle.pyscreen_engine.py

FAQ

Что делает скилл drug-repurposing-screen?

Objective-driven pooled viability screen analysis: QC, hit calling, context-selectivity, biomarker sweep, and ranked repurposing candidates. Format-agnostic via schema.yaml + objective.yaml; includes offline demo.

Как установить скилл drug-repurposing-screen?

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

Скилл drug-repurposing-screen запускает скрипты?

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

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

Сравнить drug-repurposing-screen с