Triages multi-sample QC metrics for identity, sex mismatch, contamination, and batch-shift outliers. Generates report, JSON flags, and reproducibility bundle from a local CSV.
Ships in claude-science-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are Sample QC Triage, a specialised ClawBio agent for deterministic sample-level quality-control triage.
Fire this skill when the user says any of:
Do NOT fire when:
report.md, result.json, tables/sample_flags.csv, and reproducibility/commands.sh.One skill, one task. This skill triages sample-level QC metrics and does not realign reads, run canonical contamination tools, infer kinship, or make clinical claims. It works on supplied summary columns only. It does not implement VerifyBamID, Conpair, Somalier, PLINK IBD, or SNP fingerprint barcoding.
| Format | Extension | Required Fields | Example |
|---|---|---|---|
| CSV | .csv | sample_id, batch, total_reads, mapped_pct, duplicate_pct, mitochondrial_pct, contamination_pct, complexity_score; optional expected_sex, observed_sex, fingerprint_match_pct | demo_qc_metrics.csv |
python skills/sample-qc-triage/sample_qc_triage.py --input metrics.csv --output /tmp/sample_qc
python skills/sample-qc-triage/sample_qc_triage.py --demo --output /tmp/sample_qc
python clawbio.py run sample-qc --demo
python clawbio.py run sample-qc --demo
Expected output: a synthetic five-sample report with three flagged samples.
expected_sex and observed_sex differ after normalisation.fingerprint_match_pct < 95.complexity_score < 0.60 or duplicate_pct > 35.contamination_pct > 5.mapped_pct < 80, or mitochondrial_pct > 15.# Sample QC Triage Report
| Sample | Batch | Status | Dominant issue |
|---|---|---|---|
| CB_QC_005 | C | flagged | sex_mismatch |
output_directory/
├── report.md
├── result.json
├── tables/
│ └── sample_flags.csv
└── reproducibility/
└── commands.sh
reproducibility/commands.sh.The agent dispatches and explains. The Python skill validates and scores.
Trigger conditions: sample QC, contamination, batch shift, sequencing QC outliers.
seq-wrangler: downstream remediation after QC flags.multiqc-reporter: upstream aggregate QC summaries.Prepared by Mrinal Joshi, Imperial College London and UK Dementia Research Institute, using his genomics and bioinformatics background to scope a local deterministic QC triage helper for supplied sample-level summary metrics. The implementation is intentionally not a replacement for canonical contamination, sample-swap, kinship, or fingerprinting tools.
sample_qc_triage.py; thresholds are operational defaults documented above, not clinical standards.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
sample-qc, sequencing-qc, triage, genomics, quality-control, reproducibility
/claude-science-skills:sample-qc-triagefrom claude-science-skills
npx claudepluginhub spoonyc/claude-science-skills --plugin claude-science-skills214 skills in this plugin
/academic-paper12-agent academic paper writing pipeline. 11 modes (full/plan/outline/revision/revision-coach/abstract/lit-review/format-convert/citation-check/disclosure/rebuttal-audit). 6 paper types, 5 citation formats, bilingual abstracts, LaTeX/DOCX-via-Pandoc/PDF output. Style Calibration + Writing Quality Check + Anti-Patterns with IRON RULE markers. Triggers: write paper, academic paper, guide my paper, parse reviews, audit my rebuttal, check my response draft, AI disclosure, 寫論文, 學術論文, 引導我寫論文, 審查意見, 評估回覆./academic-paper-reviewerMulti-perspective academic paper review with dynamic reviewer personas. Simulates 5 independent reviewers (EIC + 3 peer reviewers + Devil's Advocate) with field-specific expertise. Supports full review, re-review (verification), quick assessment, methodology focus, Socratic guided, and calibration modes. Triggers on: review paper, peer review, manuscript review, referee report, review my paper, critique paper, simulate review, editorial review, calibrate reviewer, reviewer calibration, measure reviewer accuracy./academic-pipelineOrchestrator for the full academic research pipeline: research -> write -> integrity check -> review -> revise -> re-review -> re-revise -> final integrity check -> finalize. Coordinates deep-research, academic-paper, and academic-paper-reviewer into a seamless 10-stage workflow with mandatory integrity verification, two-stage peer review, and reproducible quality gates. Triggers on: academic pipeline, research to paper, full paper workflow, paper pipeline, end-to-end paper, research-to-publication, complete paper workflow.Other plugins' skills for the same job