Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

bio-interaction-databases

БесплатноЗапускает вложенные скриптыНе проверен

Query protein-protein and gene interaction databases (STRING, BioGRID, IntAct, SIGNOR, Reactome, HuRI, HuMAP, OmniPath, ConsensusPathDB, DIP). Use when…

gabrielmoreiraот gabrielmoreira★ 23 звезды на GitHub

Об этом скилле

Version Compatibility

Reference examples tested with: requests 2.31+, pandas 2.2+, networkx 3.2+; STRING v12.0, BioGRID 4.4+, IntAct (live), SIGNOR 3.0+, OmniPath (live)

Before using code patterns, verify installed versions match. If versions differ:

  • Python: pip show requests pandas networkx
  • API surface: confirm endpoint URLs match each resource's current docs

STRING URL is version-pinned (version-12-0 as of 2024); older URLs (version-11-5) were deprecated 2023. The Cytoscape/Cytoscape.js ecosystem uses different version semantics; check the docs for the targeted version.

Interaction Databases

"Get protein-protein interactions for these genes" -> The choice of database matters more than the choice of API. Different resources index different evidence (physical binding, functional association, genetic interaction, signed signaling), with different curation pipelines (manually curated vs high-throughput vs text-mined), different species coverage, and different licenses.

The decision matrix below is the postdoc-grade view: what question is being asked, and which resource answers it best?

  • Python: requests.get() against REST endpoints; pandas for parsing; networkx for graphs
  • R: STRINGdb, OmnipathR (mature Bioconductor clients)
  • Web: STRING, BioGRID, IntAct, SIGNOR, OmniPath, ConsensusPathDB browsers

Required Setup

import requests
import pandas as pd
import networkx as nx
from io import StringIO

CALLER = 'bioskills-2026'  # STRING + OmniPath accept caller_identity for usage attribution

API key requirements:

  • BioGRID: free key required (https://webservice.thebiogrid.org/)
  • STRING, IntAct, SIGNOR, OmniPath, Reactome: no key

Decision matrix: which resource for which question?

Question Best resource Why
"Build a network around 10 genes" STRING (medium confidence ~400) Comprehensive; channels combinable; good viz integration
"Only physically interacting proteins" IntAct or BioGRID physical Curated physical interactions; PSI-MI standard
"Signed/directed signaling (phospho, ubiq, etc.)" SIGNOR Only major DB with mechanism types and direction
"Functional enrichment based on co-mentioned genes" STRING functional (default) Includes textmining channel
"Genetic interactions (synthetic lethality)" BioGRID genetic Largest curated genetic interaction set
"High-throughput Y2H interactome" HuRI Reference yeast-2-hybrid map of human
"Mass-spec-derived protein complexes" HuMAP v2 or BioPlex AP-MS complex maps
"Curated pathways with interactions" Reactome Pathway-organized; gold standard for signaling
"Meta-database aggregating 100+ sources" OmniPath The modern "one-stop"; pre-aggregated
"Cross-species or non-human" STRING Species coverage broadest
"Bacterial interactome" STRING bacterial Limited curated alternatives
"Phosphorylation site-specific" PhosphoSitePlus (commercial license) or SIGNOR PSP has best PTM coverage but requires license

OmniPath (Türei et al. 2021 Mol Sys Biol 17:e9923) deserves special mention: it aggregates >100 sources into a unified API with provenance tracking. For "give me all available interactions for X" workflows, OmniPath is the modern default.

STRING (v12, channels, confidence)

STRING (Szklarczyk et al. 2023 Nucleic Acids Res 51:D638) aggregates evidence into a combined confidence score. The seven evidence channels:

Channel What it captures
experiments Direct experimental evidence (BioGRID, IntAct, etc.)
database Curated database (Reactome, KEGG)
textmining Co-mention in PubMed
coexpression Co-expression across conditions
neighborhood Genomic neighborhood (prokaryotes mainly)
fusion Gene fusion across species
cooccurrence Phylogenetic profile co-occurrence

The default score is the combined-evidence score (0-1000). Confidence tiers:

Threshold Tier Use when
150 Low Exploration; includes weak textmining
400 Medium Default; balanced sensitivity/specificity
700 High Publication-quality networks
900 Highest Experimentally validated core only

Version pinning: STRING URL is https://version-12-0.string-db.org/api/... as of 2024. Older version-11-5 URLs were deprecated 2023 — code using them silently fails. Use the unversioned https://string-db.org/api/... to follow the current release, or pin to a specific version for reproducibility.

caller_identity: STRING requests all programmatic users pass caller_identity=<app-name> for usage attribution. The parameter helps STRING identify and contact heavy automated callers.

BioGRID (physical + genetic, curated + HT)

BioGRID (Oughtred et al. 2021 Protein Sci 30:187) covers physical and genetic interactions across the broadest organism set of any major resource. Requires a **free API ke

Полный SKILL.md на GitHub

Установить bio-interaction-databases в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/interaction_query.pyexamples/string_network.pyusage-guide.md

FAQ

Что делает скилл bio-interaction-databases?

Query protein-protein and gene interaction databases (STRING, BioGRID, IntAct, SIGNOR, Reactome, HuRI, HuMAP, OmniPath, ConsensusPathDB, DIP). Use when building PPI networks, choosing between physical vs functional vs genetic interactions, signed/directed vs undirected, high-throughput vs curated, picking confidence thresholds, aggregating across resources, or navigating license constraints. Encodes the database decision matrix, STRING v12 channel semantics, OmniPath as meta-database, SIGNOR for signed signaling, and per-resource rate limits.

Как установить скилл bio-interaction-databases?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bio-interaction-databases запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить bio-interaction-databases с