opentargets-database

Retrieve Open Targets evidence for target–disease associations and credible sets.

2.7k|283|Updated May 13, 2026
One-click install
npx skills add https://github.com/google-deepmind/science-skills --skill opentargets-database-google-deepmind
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opentargets-database
Source: https://github.com/google-deepmind/science-skills/tree/main/skills/opentargets_database
Command: npx skills add https://github.com/google-deepmind/science-skills --skill opentargets-database-google-deepmind

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Open Targets data is rich but difficult to query correctly and safely at scale, so researchers need a reliable way to pull target–disease associations, credible sets, and druggability evidence without writing custom GraphQL requests.

Core Features & Use Cases

  • Evidence-focused target discovery: Retrieve target–disease associations (with scores) to support therapeutic target identification.
  • Genetics-to-target workflows: Query GWAS studies, credible sets (study-level and QTL/variant-level), and perform L2G (locus-to-gene) prioritization.
  • Druggability and safety insights: Pull tractability/modality information and clinical safety liabilities for a target.
  • Discovery & mapping helpers: Search diseases by name and explore credible sets near a target by genomic window.
  • Scales to large responses safely: Enforces required JSON output via the --output flag, truncates large arrays, and applies retry/pacing logic through provided wrapper scripts.

Quick Start

Ask your agent to run the Open Targets wrapper to fetch GWAS studies for a disease EFO ID and write the results to a local JSON file using the provided scripts and the required output path.

Frequently Asked Questions about opentargets-database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve target-disease association scores from Open Targets without writing custom GraphQL?

You can retrieve target-disease association scores by using the provided Python/GraphQL wrapper to query the Open Targets Platform, which handles the request logic and outputs structured JSON for analysis.

What is the best way to get GWAS credible sets and L2G locus-to-gene prioritization for a genomic region?

To get GWAS credible sets and L2G prioritization, query the Open Targets Platform using the wrapper scripts to extract study-level and variant-level credible sets mapped to your target genomic window.

Can I pull druggability tractability and clinical safety liabilities for a specific target?

Yes, you can pull druggability tractability, modality information, and clinical safety liabilities for a target by executing genomics-centric queries through the Open Targets GraphQL wrapper.

Does querying Open Targets evidence at scale support pagination and output limits?

Querying Open Targets at scale supports pagination via the --page-size flag, enforces writing to a file using --output to prevent oversized responses, and truncates large arrays to respect context limits.

How do I map an EFO ID to GWAS studies and extract credible sets for variants?

You map an EFO ID to GWAS studies by running the Open Targets wrapper to search disease-centric workflows, which then allows you to extract corresponding credible sets for variants and regions.