proteomics-data-import
БесплатноБез исполняемых скриптовНе проверенLoad when ingesting a MaxQuant `proteinGroups.txt`, FragPipe `combined_protein.tsv`, DIA-NN report, or generic CSV / TSV protein-quantification table…
от mdbabumiamssm★ 36 звёзд на GitHubОб этом скилле
proteomics-data-import
When to use
The user has a search-engine output (MaxQuant proteinGroups.txt,
FragPipe combined_protein.tsv, DIA-NN main report, or a generic
CSV / TSV protein table) and wants it normalised into OmicsClaw's
standard schema (lowercase protein_id plus LFQ_<sample> /
Int_<sample> intensity columns derived from MaxQuant's
LFQ intensity ... / Intensity ... headers).
Pick the format with --format {maxquant,fragpipe,diann,generic}
(default maxquant).
For raw MS spectra (mzML / RAW), run a search engine first (MaxQuant / FragPipe / DIA-NN) and feed THIS skill the resulting table.
Inputs & Outputs
| Input | Format | Required |
|---|---|---|
| Search-engine output | proteinGroups.txt (MaxQuant), combined_protein.tsv (FragPipe), report.tsv (DIA-NN), or generic .csv / .tsv |
yes (unless --demo) |
| Format | --format {maxquant,fragpipe,diann,generic} (default maxquant) |
no |
| Output | Path | Notes |
|---|---|---|
| Normalised proteins | tables/proteins.csv |
OmicsClaw schema: lowercase protein_id, gene_name, plus LFQ_<sample> / Int_<sample> intensity columns (proteomics_data_import.py:85) |
| Report | report.md + result.json |
always |
Flow
- Load input (
--input <file>) or generate a demo MaxQuant-shaped file (--demo). - Dispatch to the format-specific importer (
proteomics_data_import.py:164-174_dispatch_import); supported keys aremaxquant,fragpipe,diann,generic. - Rename columns:
LFQ intensity <sample>→LFQ_<sample>andIntensity <sample>→Int_<sample>(proteomics_data_import.py:85);Majority protein IDs→protein_id;Gene names→gene_name; etc. - Write
tables/proteins.csv(proteomics_data_import.py:284) +report.md+result.json(:299).
Gotchas
--formatvalue must match_dispatch_importkeys exactly.proteomics_data_import.py:166-171registersmaxquant,fragpipe,diann,generic. An unknown value raisesValueError("Unsupported format: ... Supported: ['maxquant', 'fragpipe', 'diann', 'generic']")at:173. There is nospectronautimporter despite the legacy SKILL.md mention — use--format genericfor Spectronaut and rename columns yourself.--inputREQUIRED unless--demo.proteomics_data_import.py:275raisesValueError("--input required when not using --demo"). Non-existent paths raiseFileNotFoundErrorfrompd.read_csv.- Output schema is LOWERCASE. Column renaming targets
protein_id,intensity_<sample>,gene_nameetc. Downstream skills (proteomics-quantification,proteomics-de) assume this casing. Verify after import withhead tables/proteins.csv. - No deduplication of contaminants / decoys. Contaminant (
CON_*) and decoy (REV_*) rows are passed through unchanged. Filter them upstream with the search engine's--keep-contaminants falseflag, or add a downstreamdf = df[~df["protein_id"].str.startswith(("CON_", "REV_"))]step.
Key CLI
# Demo (synthetic MaxQuant-style)
python omicsclaw.py run proteomics-data-import --demo --output /tmp/import_demo
# Real MaxQuant output
python omicsclaw.py run proteomics-data-import \
--input proteinGroups.txt --output results/ --format maxquant
# FragPipe combined_protein
python omicsclaw.py run proteomics-data-import \
--input combined_protein.tsv --output results/ --format fragpipe
# DIA-NN main report
python omicsclaw.py run proteomics-data-import \
--input report.tsv --output results/ --format diann
# Generic / Spectronaut (rename columns yourself first)
python omicsclaw.py run proteomics-data-import \
--input my_table.csv --output results/ --format generic
See also
references/parameters.md— every CLI flagreferences/methodology.md— per-format column-mapping rulesreferences/output_contract.md—tables/proteins.csvschema- Adjacent skills:
proteomics-ms-qc(downstream — QC the imported table),proteomics-quantification(downstream — compute LFQ / iBAQ / spectral count),proteomics-identification(parallel — peptide-level summary),proteomics-de(downstream — differential abundance after import)
Установить proteomics-data-import в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл proteomics-data-import?
Load when ingesting a MaxQuant `proteinGroups.txt`, FragPipe `combined_protein.tsv`, DIA-NN report, or generic CSV / TSV protein-quantification table — normalises columns to a standard schema, emits `tables/proteins.csv`. Skip when raw spectra are the input (run the search engine first) or when the file is already OmicsClaw schema.
Как установить скилл proteomics-data-import?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл proteomics-data-import запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic