How to Use Open Targets target-disease associations in Muse Code
Returns ranked gene-disease links with overall and evidence-type association scores from Open Targets. Use it to shortlist targets for a disease, explore diseases linked to a gene, or assess one pair before reviewing its underlying evidence.
Prompts to try with Open Targets target-disease associations in Muse Code
Copy an example into Muse Code, or ask in your own words.
Use Open Targets target-disease associations to fetch the top 20 asthma targets and add a table of their overall and genetic evidence scores to this project.
Use Open Targets target-disease associations for IL6R and write a CSV of the top 20 associated diseases with their scores.
Use Open Targets target-disease associations to compare overall and genetic rankings for rheumatoid arthritis, then add a rank comparison chart to the app.
Use Open Targets target-disease associations to retrieve the CFTR and cystic fibrosis scores and add the result to our research notebook.
Use Open Targets target-disease associations for NOD2 and inflammatory bowel disease, compare direct-only and expanded disease evidence, and save both results in the project.
How to set up Open Targets target-disease associations 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 Open Targets target-disease associations
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": "platform-opentargets-org/associations/list_associations", "input": { "limit": 25 } }'
Then paste one of the prompts above: Muse Code finds Open Targets target-disease associations on Spiral, shows the price and runs it.
Open Targets target-disease associations providers and prices
Spiral runs Open Targets target-disease associations 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 100 | 25 | Rows per page, 1 to 100. |
| Indirect | on or off | Include indirect evidence, which propagates evidence on a disease's descendants up to it (e.g. Crohn's disease evidence counts for inflammatory bowel disease). Defaults to false for a target's diseases and true when a disease is given, as on the Open Targets pages. | |
| Order by | score, genetic_association, genetic_literature, somatic_mutation, clinical, affected_pathway, rna_expression, literature and 1 more | score | Rank by the overall score or by one evidence type's score, descending. |
| Min score | 0 to 1 | Stop at rows whose ranking score (overall, or the |
Every API field of Open Targets Platform · List associations is on its tool page: open its card above.
What can you do with Open Targets target-disease associations in Muse Code?
Build an asthma target comparison table in your research app from Open Targets association scores. A coding agent can join the returned genes to a project shortlist and show how evidence priorities affect the ranking.
Build a disease target shortlist
Rank targets associated with asthma and select candidates for a research review using their overall and genetic evidence scores.
Explore indications for a gene
List diseases associated with IL6R to identify indications worth investigating in an early drug discovery program.
Compare evidence priorities
Compare a rheumatoid arthritis shortlist ranked by overall support with one ranked by genetic support to see which targets change position.
Check disease scope
Compare NOD2 associations with inflammatory bowel disease using direct evidence alone and then including narrower diagnoses.
Review a proposed gene-disease link
Retrieve the CFTR and cystic fibrosis association scores to prepare a focused review of the evidence behind that pair.
Monitor changes across releases
Compare saved psoriasis target rankings after quarterly Platform updates and flag changes for a scientific review.
More on Open Targets target-disease associations and Muse Code
Overview
Open Targets target-disease associations in other agents
Questions about Open Targets target-disease associations in Muse Code
Can Muse Code use Open Targets target-disease associations?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Open Targets target-disease associations like any built-in tool.
How much does Open Targets target-disease associations 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 Open Targets target-disease associations in Muse Code?
No. Spiral runs Open Targets target-disease associations on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Open Targets target-disease associations in Muse Code?
About two minutes: install Muse Code, then ask Muse to add the server, then sign in.
Does Muse Code wait while Open Targets target-disease associations runs?
Open Targets target-disease associations runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.
How fresh are Open Targets associations?
Open Targets maintains the Platform with quarterly updates. Association rankings follow those releases rather than a continuous feed of newly published studies.
Does a score of 0.8 mean an 80% chance that a gene causes a disease?
No. Overall association scores range from 0 to 1 and summarize available evidence; they are not probabilities of causality.
Can a broad disease include evidence from narrower diagnoses?
Yes. Indirect associations include evidence from ontology descendants, so inflammatory bowel disease can include evidence annotated to Crohn's disease.
Does Open Targets cover only protein-coding genes?
No. Human target coverage includes RNAs and pseudogenes, while gene fusions and protein complexes are not represented as target entities.
Are all disease-side results diagnoses?
No. Open Targets also includes phenotypes, biological processes, and measurements, using the Experimental Factor Ontology to organize them.
Start using Open Targets target-disease associations 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


