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

VS Code · Health

How to Use GTEx gene expression by tissue in VS Code

Get a gene's median RNA expression in TPM, tissue ranks, and RNA-seq sample counts from GTEx. Use these bulk tissue measurements to shortlist tissues for an experiment or summarize an expression pattern.

Prompts to try with GTEx gene expression by tissue in VS Code

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

Use GTEx gene expression by tissue for PCSK9 and add a ranked tissue chart to this project, showing median TPM and RNA-seq sample counts.

GTEx gene expression by tissueVS Code
Try asking
  • Use GTEx gene expression by tissue for APOE, LDLR, and PCSK9 separately, then create a tissue-aligned heatmap in this project's notebook.

  • Use GTEx gene expression by tissue for ACE2 in lung, small intestine terminal ileum, and kidney cortex, and add a comparison table to the research report.

  • Use GTEx gene expression by tissue for TP53 and add a table of all returned tissues to this project's documentation, with GTEx attribution.

  • Use GTEx gene expression by tissue to compare PCSK9 in V10 and V11, and write a notebook section showing changes in median TPM and tissue rank.

How to set up GTEx gene expression by tissue in VS Code

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code 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 GTEx gene expression by tissue

    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": "gtexportal-org/expression/tissues",
        "input": {
          "gene": "<gene>"
        }
      }'

Then paste one of the prompts above: VS Code finds GTEx gene expression by tissue on Spiral, shows the price and runs it.

GTEx gene expression by tissue providers and prices

Spiral runs GTEx gene expression by tissue through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth

Settings you can ask for

Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 54

Most tissues returned, highest median first. Default all.

Datasetgtex_v11, gtex_v10, or gtex_v8gtex_v11

GTEx release: gtex_v11 (default, GENCODE v47, 50 eQTL tissues, the most complete analysed adult GTEx dataset), gtex_v10 (GENCODE v39) or gtex_v8 (GENCODE v26, the release most papers cite).

Every API field of GTEx Portal: gene expression by tissue and eQTLs · Tissues is on its tool page: open its card above.

What can you do with GTEx gene expression by tissue in VS Code?

Build a tissue expression chart or gene comparison table directly in your research project. A coding agent can align GTEx median TPM and sample counts across tissues and label the comparisons as qualitative.

Shortlist tissues for an experiment

Retrieve PCSK9 expression across tissues and use the qualitative expression pattern to choose tissues for follow-up experiments.

Add expression evidence to a gene brief

Summarize APOE tissue ranks, median TPM, and sample counts in a research brief with GTEx attribution.

Build a tissue expression heatmap

Retrieve PCSK9, APOE, and LDLR separately, then align their tissue measurements in a heatmap for qualitative review.

Review a study's expression reference

Retrieve TP53 tissue expression from the GTEx release used by a paper and compare the returned pattern with its reported tissue selection.

Inspect sample support alongside expression

Place RNA-seq sample counts beside ACE2 median TPM for lung, small intestine, and kidney cortex when reviewing tissue evidence.

Compare annotation releases

Compare PCSK9 tissue summaries between V10 and V11 to identify changes worth investigating after the GENCODE annotation update.

Questions about GTEx gene expression by tissue in VS Code

Can VS Code use GTEx gene expression by tissue?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run GTEx gene expression by tissue like any built-in tool.

How much does GTEx gene expression by tissue cost in VS Code?

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

Do I need an Alexandria account to use GTEx gene expression by tissue in VS Code?

No. Spiral runs GTEx gene expression by tissue on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up GTEx gene expression by tissue in VS Code?

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

Does VS Code wait while GTEx gene expression by tissue runs?

GTEx gene expression by tissue runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.

How broad is GTEx tissue coverage?

The expression data covers 54 human tissue sites from approximately 950 post-mortem donors. That is the coverage boundary for these tissue comparisons.

What do the expression values measure?

GTEx reports RNA expression in transcripts per million, or TPM. The underlying tissue measurements use bulk RNA sequencing.

Can I interpret tissue differences as exact fold changes?

GTEx describes its cross-tissue expression visualizations as qualitative measures of relative expression. Use the results to identify expression patterns and candidate tissues rather than claim an exact biological fold change.

Does a newer GTEx release mean new donors were measured?

Not necessarily: V11 uses GENCODE 47 annotation but contains no new samples or donors compared with V10. A release comparison can therefore reflect annotation changes without new donor measurements.

Are raw sequences and complete donor records public?

Raw DNA and RNA sequence files and full donor metadata are protected access data. Public tissue expression summaries do not grant access to those files.

Get started

Start using GTEx gene expression by tissue in VS Code

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

Paste this into VS Code:

Set up VS Code

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