proteomics-ms-qc
БесплатноБез исполняемых скриптовНе проверенLoad when computing protein-table QC — proteins × samples count, missing-value rate, intensity CV (median + mean) — from a MaxQuant / FragPipe / DIA-NN…
от mdbabumiamssm★ 36 звёзд на GitHubОб этом скилле
proteomics-ms-qc
When to use
The user has a protein-quantification CSV (typically the output of
proteomics-data-import, with rows = proteins and columns =
samples + metadata) and wants QC summary statistics: protein count,
sample count, fraction of missing intensities, per-protein
coefficient of variation (CV) — median and mean. Auto-detects
intensity columns by select_dtypes(include=[np.number]).
This skill does NOT process raw spectra. For peptide / PSM-level
identification stats use proteomics-identification.
Inputs & Outputs
| Input | Format | Required |
|---|---|---|
| Protein table | .csv with at least one numeric (intensity) column |
yes (unless --demo) |
| Output | Path | Notes |
|---|---|---|
| QC metrics | tables/qc_metrics.csv |
one-row table — n_proteins / n_samples / missing_rate / median_cv / mean_cv |
| Report | report.md + result.json |
always |
Flow
- Load CSV (
--input <file.csv>) or generate a demo atoutput_dir/demo_proteomics.csv(proteomics_ms_qc.py:223). - Detect numeric (intensity) columns via
select_dtypes(include=[np.number])(proteomics_ms_qc.py:47); raiseValueError("No intensity/sample columns detected in input data")at:74if none found. - Compute n_proteins / n_samples / missing_rate / per-protein CV.
- Write
tables/qc_metrics.csv(proteomics_ms_qc.py:241) +report.md+result.json.
Gotchas
- Sample columns must be NUMERIC. Intensity-column auto-detection (
proteomics_ms_qc.py:47) usesselect_dtypes(include=[np.number]). String-typed intensities (e.g. quoted numbers in some Spectronaut exports) are silently treated as metadata, not samples — yourn_sampleswill be 0 and the run raisesValueErrorat:74. - No intensity columns ⇒ hard fail.
proteomics_ms_qc.py:74raisesValueError("No intensity/sample columns detected in input data")— there is no auto-detection ofintensity_*prefixes; only dtype-based. --inputREQUIRED unless--demo.proteomics_ms_qc.py:228raisesValueError("--input required when not using --demo").- Both
NaNand0.0count as missing.proteomics_ms_qc.py:80computesmissing_mask = np.isnan(intensities) | (intensities == 0)— zero is treated as "not detected" (the proteomics convention). If your search engine writes a small placeholder (e.g.1.0) for undetected proteins, the missing rate is artificially LOW; pre-impute placeholders to0orNaNfirst. - CV is per-protein across samples. Reported
median_cv/mean_cvare aggregations across the per-protein CV distribution — interpret as "typical protein-level reproducibility", not "sample-level reproducibility".
Key CLI
# Demo
python omicsclaw.py run proteomics-ms-qc --demo --output /tmp/qc_demo
# Real protein table (e.g. output of proteomics-data-import)
python omicsclaw.py run proteomics-ms-qc \
--input results/tables/proteins.csv --output qc_results/
See also
references/parameters.md— every CLI flagreferences/methodology.md— CV definition, missing-value handlingreferences/output_contract.md—tables/qc_metrics.csvschema- Adjacent skills:
proteomics-data-import(upstream — produces the protein table),proteomics-quantification(downstream — LFQ / iBAQ / spectral count),proteomics-identification(parallel — peptide-level summary),proteomics-de(downstream — differential abundance)
Установить proteomics-ms-qc в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл proteomics-ms-qc?
Load when computing protein-table QC — proteins × samples count, missing-value rate, intensity CV (median + mean) — from a MaxQuant / FragPipe / DIA-NN protein-quantification CSV. Skip when raw mzML / RAW spectra are the input (run a search engine first) or when peptide-level QC is needed (use `proteomics-identification`).
Как установить скилл proteomics-ms-qc?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл proteomics-ms-qc запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic