proteomics-structural
БесплатноЗапускает вложенные скриптыНе проверенLoad when summarising cross-linking MS (XL-MS) results — intra/inter-protein link split, optional FDR filtering, distance-constraint validation against a…
от lilinji★ 18 звёзд на GitHubОб этом скилле
proteomics-structural
When to use
The user has a cross-linking MS (XL-MS) results CSV (from XlinkX, pLink, xiSEARCH, etc.) and wants a summary: intra- vs inter-protein classification, optional FDR filtering, and distance-constraint validation against the per-crosslinker max distance (Rappsilber (2011) Cα-Cα bounds).
--crosslinker {DSS,BS3,EDC,DSSO,DSBU} (default DSS) sets the
max-distance threshold (CROSSLINKER_CONSTRAINTS at
struct_proteomics.py:43-49: DSS/BS3/DSSO/DSBU = 30 Å, EDC =
20 Å). --fdr (default 0.05) filters by the fdr column when
present.
This skill does NOT run an XL-MS search engine — feed it the already-searched results.
Inputs & Outputs
Inputs
- File types:
.csv
Outputs
tables/crosslinks.csvtables/inter_protein_crosslinks.csvreport.mdresult.json
Flow
- Load CSV (
--input <crosslinks.csv>) or generate a demo atoutput_dir/demo_crosslinks.csv(struct_proteomics.py:102). - If
fdrcolumn present, filter todf[df["fdr"] <= --fdr](struct_proteomics.py:126); otherwise pass-through (:130). - Derive
link_typefromprotein_a == protein_bcomparison when both columns are present (struct_proteomics.py:134-141); otherwise count all rows as intra (:142-145). - If
distance_angstromcolumn present, compute satisfaction rate vsCROSSLINKER_CONSTRAINTS[--crosslinker](struct_proteomics.py:147-167); add per-rowconstraint_satisfiedboolean column. - Write
tables/crosslinks.csv(struct_proteomics.py:282) +tables/inter_protein_crosslinks.csv(only if non-empty,:287) +report.md+result.json(:290).
Gotchas
- Required input columns are
protein_aandprotein_b(lowercase, with underscore-letter — NOTprotein1/protein2).struct_proteomics.py:134checks{"protein_a", "protein_b"}.issubset(df_filtered.columns). Without both, ALL rows silently classify asintra-protein(:142-145) — n_inter = 0 even on a real inter-protein dataset. XlinkX exports useProtein A/Protein B; rename first. --crosslinkerdrives the distance-constraint check, NOT just metadata.struct_proteomics.py:148setsmax_distance = CROSSLINKER_CONSTRAINTS.get(crosslinker.upper(), 30.0)— the active threshold forconstraint_satisfiedcolumn +constraint_satisfaction_ratesummary. Choices: DSS / BS3 / DSSO / DSBU = 30 Å, EDC = 20 Å (Rappsilber 2011 Cα-Cα bounds).- Distance check is OPT-IN by
distance_angstromcolumn presence. Without that column,constraint_satisfaction_ratedefaults to 100% (struct_proteomics.py:170) — the constraint feature is silently skipped, not failed. Passdistance_angstrom(Cα-Cα predicted distance from a 3D model) for a real check. fdrfilter is OPT-IN by column presence.struct_proteomics.py:126only filters whenfdrexists — without that column, EVERY input row is kept regardless of--fdr. Pre-add anfdrcolumn (or a placeholder of zeros) if you need the filter to bite.--inputREQUIRED unless--demo.struct_proteomics.py:270raisesValueError("--input required when not using --demo").tables/inter_protein_crosslinks.csvonly appears when there ARE inter-protein links. A purely-intra dataset writes onlytables/crosslinks.csv. Downstream consumers should check file existence.
Key CLI
# Demo
python omicsclaw.py run proteomics-structural --demo --output /tmp/xl_demo
# Real XL-MS data, default DSS / 5% FDR
python omicsclaw.py run proteomics-structural \
--input crosslinks.csv --output results/
# DSBU at 1% FDR
python omicsclaw.py run proteomics-structural \
--input crosslinks.csv --output results/ \
--crosslinker DSBU --fdr 0.01
# EDC (zero-length, 20 Å threshold)
python omicsclaw.py run proteomics-structural \
--input crosslinks.csv --output results/ \
--crosslinker EDC --fdr 0.05
See also
references/parameters.md— every CLI flagreferences/methodology.md— XL-MS workflow, Rappsilber Cα-Cα bounds, FDR caveatsreferences/output_contract.md—tables/crosslinks.csvschema, derived columns- Adjacent skills:
proteomics-data-import(parallel — peptide / protein-level workflows),proteomics-ptm(parallel — PTM analysis),proteomics-quantification(parallel — protein abundance),proteomics-enrichment(downstream — pathway enrichment on inter-protein partners)
Установить proteomics-structural в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл proteomics-structural?
Load when summarising cross-linking MS (XL-MS) results — intra/inter-protein link split, optional FDR filtering, distance-constraint validation against a per-crosslinker (DSS / BS3 / EDC / DSSO / DSBU) max distance. Skip when raw spectra are the input (run XlinkX / pLink / xiSEARCH first); no XL-MS experiment was performed.
Как установить скилл proteomics-structural?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл proteomics-structural запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic