Spiral gives your agent every tool with one account. Browse the tools →

Codex · Health

How to Use STRING protein functional enrichment in Codex

Returns enriched biological terms, descriptions, matching proteins, and corrected significance values from STRING. Use it to find shared functions in a gene list and identify which proteins support each result.

Prompts to try with STRING protein functional enrichment in Codex

Copy an example into Codex, or ask in your own words.

Use STRING protein functional enrichment for human LDLR, PCSK9, APOB, APOE, LPL, ABCA1, LCAT, CETP, NPC1L1, and HMGCR. Add a results table to my analysis notebook with term descriptions, supporting proteins, and FDR.

STRING protein functional enrichmentCodex
Try asking
  • Use STRING protein functional enrichment for human BRCA1, BRCA2, RAD51, PALB2, ATM, ATR, CHEK1, and CHEK2. Create a CSV of the returned terms and supporting proteins, ordered by corrected significance.

  • Use STRING protein functional enrichment separately for human STAT1, STAT2, IRF9, ISG15, MX1, OAS1 and for human CDK1, CCNB1, CCNB2, CDC20, BUB1, BUB1B. Build a comparison table in my notebook using only returned terms.

  • Use STRING protein functional enrichment for mouse Trp53, Cdkn1a, Mdm2, Bax, Bbc3, and Gadd45a. Add a plot to my project showing the returned term descriptions and FDR values.

  • Use STRING protein functional enrichment for human NDUFS1, NDUFS2, SDHA, SDHB, UQCRC1, UQCRC2, COX4I1, and ATP5F1A. Generate a report that places each enriched term beside its supporting proteins and credits STRING.

How to set up STRING protein functional enrichment in Codex

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run STRING protein functional enrichment

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "string-db-org/annotations/enrichment",
        "input": {
          "proteins": [
            "<proteins>"
          ]
        }
      }'

Then paste one of the prompts above: Codex finds STRING protein functional enrichment on Spiral, shows the price and runs it.

STRING protein functional enrichment providers and prices

Spiral runs STRING protein functional enrichment through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Fdr0 to 10.05

Keep terms with FDR at or below this, 0 to 1.

Limit1 to 50050

Most terms to return, lowest FDR first. significant_terms says how many passed.

Speciesa number from 19606

The organism: an NCBI taxon ID (9606 human, 10090 mouse, 10116 rat, 7955 zebrafish, 7227 fruit fly, 6239 C. elegans, 4932 baker's yeast, 3702 Arabidopsis, 511145 E. coli K-12; STRING covers about 12,500) or one of the names human, mouse, rat, zebrafish, fruit fly, worm, yeast, arabidopsis, e. coli, chicken, cow, pig, dog (or the Latin name). Defaults to human, or to the taxon of a STRING ID given as protein (10090.ENSMUSP00000104298 is mouse). Proteins are looked up in this species only.

Every API field of STRING: protein interactions and functional enrichment · Enrichment is on its tool page: open its card above.

What can you do with STRING protein functional enrichment in Codex?

Turn a project's gene lists into enrichment tables with term descriptions, supporting proteins, and corrected significance values. A coding agent can join those results to your analysis files and build comparisons between experimental conditions.

Interpret RNA-seq gene lists

Analyze increased and decreased gene lists separately, then compare enriched terms and the proteins supporting them.

Summarize proteomics hits

Turn a shortlist of proteins from a proteomics experiment into a table of enriched functions, corrected significance values, and supporting proteins.

Describe a coexpression cluster

Analyze the genes in a coexpression cluster and draft a biological description supported by the returned term descriptions and matching proteins.

Interpret a genetic screen

Look for shared functions among screen hits and use the proteins behind each enriched term to choose hypotheses for follow-up experiments.

Compare experimental conditions

Analyze gene lists from two conditions separately and compare their enriched terms, keeping each result's supporting proteins and FDR visible.

Prepare an enrichment results table

Build a report table containing enriched terms, descriptions, supporting proteins, and corrected significance values, with attribution to STRING.

Review overlapping biological themes

Compare supporting proteins across related GO results to explain when several terms describe overlapping parts of the same gene list.

Questions about STRING protein functional enrichment in Codex

Can Codex use STRING protein functional enrichment?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run STRING protein functional enrichment like any built-in tool.

How much does STRING protein functional enrichment cost in Codex?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

Do I need an Alexandria account to use STRING protein functional enrichment in Codex?

No. Spiral runs STRING protein functional enrichment on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up STRING protein functional enrichment in Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while STRING protein functional enrichment runs?

STRING protein functional enrichment runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

How many organisms does STRING cover?

STRING lists 12,535 organisms and 59,309,604 proteins in version 12.5. That is database coverage, rather than a promise that every protein has annotations for every biological function.

How current is the STRING data?

STRING's version history lists version 12.5 as current since September 29, 2026. That date identifies the database release; it does not date every annotation used in an enrichment result.

What does FDR mean in STRING enrichment?

STRING reports both raw p-values and Benjamini-Hochberg corrected p-values, labeled FDR. Its protein-list analysis tests whether annotated functions are overrepresented using hypergeometric tests.

Can STRING distinguish protein isoforms?

STRING stores one representative protein per protein-coding gene. Interpret these enrichment results at the gene level rather than as separate evidence for individual splice isoforms.

Why do several related GO terms appear together?

STRING resolves ontology parent-child relationships, so a specific protein annotation can also contribute to broader parent terms. Related terms can therefore describe overlapping biology.

Get started

Start using STRING protein functional enrichment in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options