How to Use GTEx gene and SNP eQTLs in Muse Code
Find significant cis-eQTL associations for a gene or SNP, with tissue, normalized effect size, and p-value. Use it to investigate where genetic changes are associated with differences in gene expression.
Prompts to try with GTEx gene and SNP eQTLs in Muse Code
Copy an example into Muse Code, or ask in your own words.
Use GTEx gene and SNP eQTLs to retrieve PCSK9 associations across tissues, collect all available pages, and save a CSV in this project with SNP, gene, tissue, normalized effect size, and p-value.
Use GTEx gene and SNP eQTLs to look up rs4500361 and create a Markdown report in this project listing every returned gene-tissue association.
Use GTEx gene and SNP eQTLs to retrieve ERAP2 associations in whole blood and lung, then add a plot to this project's notebook showing normalized effect size by SNP and tissue.
Use GTEx gene and SNP eQTLs to compare APOE results from GTEx v8 and v11. Save separate tables for shared SNP-tissue pairs and pairs returned in only one release.
Use GTEx gene and SNP eQTLs to search PCSK9, LDLR, and SORT1 separately. Add a research summary to this project with the number of returned associations and tissues for each gene.
How to set up GTEx gene and SNP eQTLs in Muse Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run GTEx gene and SNP eQTLs
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/eqtls/search", "input": { "gene": "<gene>" } }'
Then paste one of the prompts above: Muse Code finds GTEx gene and SNP eQTLs on Spiral, shows the price and runs it.
GTEx gene and SNP eQTLs providers and prices
Spiral runs GTEx gene and SNP eQTLs through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Muse Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 250 | eQTL rows per page, strongest first. Default 25. | |
| Offset | 0 to 40000 | Rows to skip; pass next_offset from the previous page. | |
| Dataset | gtex_v11, gtex_v10, or gtex_v8 | gtex_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 · Search is on its tool page: open its card above.
What can you do with GTEx gene and SNP eQTLs in Muse Code?
Build a tissue association table for a research gene list directly in your project. A coding agent can organize GTEx SNPs, normalized effect sizes, and p-values into reports and compare results across releases.
Build a gene regulation evidence table
Collect significant PCSK9 associations into a table of SNPs, tissues, normalized effect sizes, and p-values for a research brief.
Investigate a public SNP
Look up rs4500361 and list the genes and tissues with returned significant associations.
Choose tissues for follow-up experiments
Compare ERAP2 associations across tissues to identify experimental settings worth investigating.
Compare effect direction across tissues
For each SNP associated with SORT1, compare the sign of the normalized effect size across the tissues returned.
Check evidence across GTEx releases
Compare APOE association results from v8 and v11, separating shared SNP-tissue associations from those returned in only one release.
Annotate a research gene shortlist
Search PCSK9, LDLR, and SORT1 separately, then summarize the significant tissue associations returned for each gene.
More on GTEx gene and SNP eQTLs and Muse Code
Overview
GTEx gene and SNP eQTLs in other agents
Questions about GTEx gene and SNP eQTLs in Muse Code
Can Muse Code use GTEx gene and SNP eQTLs?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run GTEx gene and SNP eQTLs like any built-in tool.
How much does GTEx gene and SNP eQTLs cost in Muse 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 Muse Code plan is separate.
Do I need an Alexandria account to use GTEx gene and SNP eQTLs in Muse Code?
No. Spiral runs GTEx gene and SNP eQTLs 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 and SNP eQTLs in Muse Code?
About two minutes: install Muse Code, then ask Muse to add the server, then sign in.
Does Muse Code wait while GTEx gene and SNP eQTLs runs?
GTEx gene and SNP eQTLs runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.
How many tissues does GTEx cover for eQTL searches?
GTEx v11 covers 50 eQTL tissues. GTEx v8 tested 49, so tissue coverage depends on the release.
Does a newer GTEx release always mean new donor samples?
No. GTEx v11 updates v10 to GENCODE 47 annotation and adds no new samples or donors.
Does the search include nonsignificant associations?
The significant single-tissue eQTL service returns precomputed significant associations. An empty result therefore does not establish that a gene and SNP have no relationship.
How should I interpret normalized effect size?
GTEx measures the alternative allele's effect relative to the reference allele. The magnitude is calculated in normalized expression space and should not be read as a fold change.
How far from a gene does GTEx search for cis-eQTLs?
For GTEx v8, the mapping window extends one megabase upstream and downstream of the gene's transcription start site. That is a local regulatory search boundary.
Start using GTEx gene and SNP eQTLs in Muse Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse Code:
set up https://spiral.ai/SKILL.md


