
Skill
string-database
query protein interactions from STRING database
Description
Query the STRING database for protein-protein interactions (PPIs), functional enrichment, and homology. Use when the user asks about interactions between specific proteins, interaction evidence, confidence scores, protein interaction partners, or pathway enrichments.
SKILL.md
STRING Database Skill
This skill allows you to query the STRING database programmatically using a bundled Python CLI wrapper.
Prerequisites
uv: Read theuvskill and follow its Setup instructions to ensureuvis installed and on PATH.- User Notification: If .licenses/string_database_LICENSE.txt does not already exist in the workspace root directory then (1) prominently notify the user to check the terms at https://string-db.org/cgi/access, then (2) create the file recording the notification text and timestamp.
Core Rules
- MANDATORY: Ask for Species First: The STRING API requires NCBI Taxon IDs. You MUST NOT guess or assume a species. If the user does not explicitly state a species or Taxon ID, you MUST stop and ask: "Which species are you interested in? I need the NCBI Taxon ID to proceed." Even for well-known proteins like TP53, BRCA1, or MDM2 that are commonly associated with human studies, you MUST still ask — do not default to Human.
- Never print output to stdout: The
--output <file.tsv>is required. Never read large outputs into context. Instead use jq, python or file operations (grep,head) to process large output. - Map Identifiers first: If you only have common gene names (e.g.,
'TP53'), map them to STRING IDs first as this guarantees much faster server
responses. Use the
mapcommand for this. - Notification: If this skill is used, ensure this is mentioned in the output.
Tool Execution
The CLI is at scripts/string_cli.py and should be run using uv run:
uv run scripts/string_cli.py <command> [options] --output /tmp/out.tsv
Feature Domains (Progressive Disclosure)
Read the following reference files based on the user's request:
- Mapping Identifiers - Map common protein names to STRING IDs.
- Interactions & Network - Find interacting proteins, network topologies, mediators, homology, and visual network images.
- Enrichment & Functional Annotations - Analyze pathway enrichment (GO, KEGG, Pfam), PPI significance, or find all proteins associated with a specific term (e.g. Melanoma).
- Values/Ranks Enrichment - Submit full experimental datasets (e.g., logFC, p-values) for rank-based enrichment analysis using the async background API.
To begin, read the reference file most appropriate to the current task to discover the correct CLI command.
More skills from the science-skills repository
View all 38 skillsalphafold-database-fetch-and-analyze
retrieve and analyze AlphaFold protein structures
Jul 12BioinformaticsGenomicsLife SciencesResearchalphagenome-single-variant-analysis
analyze genetic variant effects with AlphaGenome
Jul 12BioinformaticsGeneticsResearchRNA-seqchembl-database
query ChEMBL database for bioactive molecules
Jul 12ChEMBLChemistryDatabasePharmacology +1clinical-trials-database
query clinical trial data
Jul 12Clinical TrialsLife SciencesResearchclinvar-database
retrieve clinical significance from ClinVar database
Jul 12ClinVarGeneticsHealthcareResearchcredentials
manage and verify API credentials safely
Jul 12ComplianceOperationsSecurity
More from Google DeepMind
View publisherdbsnp-database
search genetic variants in dbSNP database
science-skills
Jul 12BioinformaticsGeneticsNCBIResearchembl-ebi-ols
search biomedical ontologies in EMBL-EBI OLS
science-skills
Jul 12BioinformaticsOntologyResearchencode-ccres-database
query ENCODE regulatory and experimental data
science-skills
Jul 12BioinformaticsGraphQLResearchREST APIensembl-database
query genomic and protein data from Ensembl
science-skills
Jul 12BioinformaticsGeneticsLife SciencesResearchfoldseek-structural-search
perform 3D protein structural searches
science-skills
Jul 12BioinformaticsLife SciencesResearchgnomad-database
query genetic variant data from gnomAD
science-skills
Jul 12BioinformaticsGeneticsLife SciencesResearch