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

Grok · Health

How to Use UniProt protein ID mapping in Grok

Resolve gene symbols and external database identifiers to UniProtKB accessions. Use it to reconcile a list from a paper or dataset before retrieving protein details.

Prompts to try with UniProt protein ID mapping in Grok

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

Use UniProt protein ID mapping to resolve TP53, EGFR, and BRCA1 in humans and show the returned accessions beside each gene.

UniProt protein ID mappingGrok
Try asking
  • Use UniProt protein ID mapping to look this up and give me the result as a table.

  • Pull the latest numbers from UniProt protein ID mapping and tell me what changed since last week.

  • Check UniProt protein ID mapping and summarize what you find in three bullet points.

  • Pull the newest data from UniProt protein ID mapping and give me the result as a table.

How to set up UniProt protein ID mapping in Grok

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

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok 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 UniProt protein ID mapping

    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": "uniprot-org/proteins/map_ids",
        "input": {
          "ids": [
            "<ids>"
          ]
        }
      }'

Then paste one of the prompts above: Grok finds UniProt protein ID mapping on Spiral, shows the price and runs it.

UniProt protein ID mapping providers and prices

Spiral runs UniProt protein ID mapping through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth
UniProt · Map ids
uniprot-org/proteins/map_ids

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Fromgene, ensembl, ncbi_gene, pdb, or chemblgene

Kind of the identifiers: gene (gene symbols and synonyms), ensembl (ENSG/ENST/ENSP IDs), ncbi_gene (Entrez Gene IDs such as 7157), pdb (4-character PDB IDs), chembl (ChEMBL target IDs).

Reviewed onlyon or off

Only reviewed Swiss-Prot entries (default). false also returns unreviewed TrEMBL entries, which can be many per gene.

Every API field of UniProt · Map ids is on its tool page: open its card above.

What can you do with UniProt protein ID mapping in Grok?

Turn a protein name or gene list into a readable UniProt research summary. A chat app can explain returned functions and cellular locations while distinguishing annotation evidence from predictions.

Annotate a published gene list

Map the gene symbols in a paper to UniProt accessions, search uncertain names, and retrieve protein functions and cellular locations for the resolved records.

Prepare a protein research brief

Find a protein by name or resolve its external identifier, then summarize its function, location, disease annotations, and links to other research databases.

Reconcile public research datasets

Convert external identifiers to UniProt accessions, investigate unresolved labels through protein search, and use detailed annotations to check that the matched proteins fit the dataset.

Build a teaching reference table

Start with protein names or gene symbols and create a table connecting accessions, biological functions, cellular locations, and annotation evidence.

Connect identifiers across databases

Resolve gene symbols or external identifiers to UniProt accessions so public datasets can use a consistent protein identifier.

Questions about UniProt protein ID mapping in Grok

Can Grok use UniProt protein ID mapping?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run UniProt protein ID mapping like any built-in tool.

How much does UniProt protein ID mapping cost in Grok?

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

Do I need an Alexandria account to use UniProt protein ID mapping in Grok?

No. Spiral runs UniProt protein ID mapping on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up UniProt protein ID mapping in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while UniProt protein ID mapping runs?

UniProt protein ID mapping runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

Does UniProtKB contain every known protein sequence?

UniProtKB focuses on reference proteomes and selected additional proteins with experimental or biological importance. Sequences from non-reference proteomes are also available through UniParc and the Proteomes portal.

What is the difference between reviewed and unreviewed protein records?

Swiss-Prot records are manually annotated, while TrEMBL records receive computational annotation. Expert review considers both experimental and predicted data, so reviewed status does not mean every annotation was experimentally demonstrated.

What evidence supports UniProt annotations?

UniProt uses Evidence and Conclusion Ontology codes to identify annotation origins. These distinguish evidence behind biological statements, including experimental and computational sources.

What does a protein location annotation describe?

UniProt’s subcellular location annotations describe the mature protein’s location and topology in the cell. This makes them useful for distinguishing proteins associated with different cellular compartments.

Get started

Start using UniProt protein ID mapping in Grok

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

Paste this into Grok:

Set up Grok

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