bulkrna-ppi-network
БесплатноБез исполняемых скриптовНе проверенLoad when querying STRING for the protein-protein interaction subgraph induced by a bulk RNA-seq DEG list and finding hub genes. Skip for pathway enrichment…
от mdbabumiamssm★ 36 звёзд на GitHubОб этом скилле
bulkrna-ppi-network
When to use
Run after bulkrna-de to ask "what does the STRING PPI subgraph
induced by my DEG list look like, and which proteins are central?".
Queries the public STRING API (no installation needed), constructs the
induced subgraph, and ranks hub proteins by degree centrality.
Inputs & Outputs
| Input | Format | Required |
|---|---|---|
| Gene list / DE results | .csv (gene names) |
yes (or --demo) |
--species NCBI taxon |
int | default 9606 (human); 10090 for mouse |
--score-threshold |
int 0–1000 | default 400 (STRING "medium" confidence) |
--top-n |
int | default 20 (top-degree hubs to report) |
| Output | Path | Notes |
|---|---|---|
| Edge list | tables/interaction_edges.csv |
source / target / score |
| Node centrality | tables/node_centrality.csv |
per-gene degree / betweenness / closeness / hub_score |
| Hub genes | tables/hub_genes.csv |
top-N from node_centrality by hub_score |
| Network figure | figures/ppi_network.png |
NetworkX layout |
| Hub-gene barplot | figures/hub_genes_barplot.png |
top-N by hub_score |
| Report | report.md + result.json |
summary keys: n_genes, n_edges, n_connected, n_isolated, mean_degree |
Flow
- Parse gene list from
--input(treats first column as gene names). - Query STRING API with
species+score_threshold. - On API failure, fall back silently to built-in demo edges (
bulkrna_ppi_network.py:118warns "STRING API failed (...) — using built-in demo edges"). - Build NetworkX graph; compute degree centrality.
- Report top-N hubs; render network + degree-distribution figures.
Gotchas
- STRING-API-failure fallback is to DEMO edges, not a smaller real query.
bulkrna_ppi_network.py:118catches any API exception and substitutes the built-in toy network. This means a transient network outage produces output that looks normal but is unrelated to the user's gene list. The summary dict does not record which edge source ran — grep the run's stderr for "STRING API failed" to detect a silent fallback before reporting downstream conclusions. --score-thresholdis on STRING's 0–1000 scale, not 0–1. Default400is STRING's "medium" confidence band;700is "high";900is "highest". Passing0.4(a float) is silently coerced to0and pulls every edge in the database.--speciesis the NCBI taxon ID (default9606human,10090mouse). Passing the string"human"or"mouse"raises a type error fromint(args.species). STRING also requires the species to be in its supported list — exotic taxa fail at the API layer.- Gene-name namespace must match STRING's expectations. STRING uses HGNC symbols for human, MGI symbols for mouse. Feeding Ensembl IDs gives ~zero hits and a near-empty network — pre-run
bulkrna-geneid-mappingto convert.
Key CLI
python omicsclaw.py run bulkrna-ppi-network --demo
python omicsclaw.py run bulkrna-ppi-network \
--input de_significant.csv --output results/
python omicsclaw.py run bulkrna-ppi-network \
--input de_significant.csv --output results/ \
--species 10090 --score-threshold 700 --top-n 30
See also
references/parameters.md— every CLI flag and tuning hintreferences/methodology.md— STRING query format, hub-gene definition (degree centrality)references/output_contract.md— exact output directory layout- Adjacent skills:
bulkrna-de(upstream — DEG source),bulkrna-enrichment(parallel: pathway view of the same list),bulkrna-coexpression(parallel: de novo co-expression network from the count matrix),bulkrna-geneid-mapping(run upstream to convert IDs to HGNC/MGI)
Установить bulkrna-ppi-network в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл bulkrna-ppi-network?
Load when querying STRING for the protein-protein interaction subgraph induced by a bulk RNA-seq DEG list and finding hub genes. Skip for pathway enrichment of the same list (use bulkrna-enrichment) or for de novo co-expression network discovery (use bulkrna-coexpression).
Как установить скилл bulkrna-ppi-network?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bulkrna-ppi-network запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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