opentargets-database

Query Open Targets Platform GraphQL API for target-disease associations, evidence, and drugs.

94|11|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/swaruplab/operon --skill opentargets-database-swaruplab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opentargets-database
Source: https://github.com/swaruplab/operon/tree/main/src-tauri/protocols/opentargets-database
Command: npx skills add https://github.com/swaruplab/operon --skill opentargets-database-swaruplab

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Open Targets Platform data is rich but difficult to access programmatically; this skill provides a concise interface to query target-disease associations, evidence types, and known drugs for downstream analysis and decision making.

Core Features & Use Cases

  • GraphQL access: Retrieve target annotations, disease info, evidences, and drug data with minimal payload.
  • Evidence-focused queries: Access genetic, somatic, expression, and literature evidence linking targets to diseases.
  • Drug discovery support: Find known drugs for diseases and fetch detailed drug information.
  • Use cases: Target discovery for a disease, validating targets, or exploring repurposing opportunities.

Quick Start

Run a target-disease query for a given Ensembl ID or disease ID to fetch associated evidence and known drugs.

Frequently Asked Questions about opentargets-database

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

FAQPage Schema
How do I query target-disease associations using the Open Targets GraphQL API?

Query target-disease associations by running the Python helpers in scripts/query_opentargets.py to execute GraphQL queries, paginate results, and parse responses without authentication. Retrieve target annotations, disease details, and known drugs for downstream analysis.

What evidence types are available for target discovery in Open Targets?

Open Targets evidence includes genetic, somatic, expression, and literature evidence linking targets to diseases. Access these evidence-focused queries via the GraphQL API to retrieve minimal payloads for validating targets or exploring repurposing opportunities.

Can I fetch known drugs for a disease without authentication?

Fetch known drugs for diseases without authentication by using the provided Python helpers to query the Open Targets GraphQL API. Retrieve detailed drug information and target annotations with minimal payload for drug discovery support.

Do I need the requests library to access Open Targets Platform data?

The requests library is required as a dependency to access Open Targets Platform data. It enables the Python helpers in scripts/query_opentargets.py to execute GraphQL queries, paginate results, and parse responses for target-disease insights.

What's the best way to validate drug targets for repurposing opportunities?

Validate drug targets for repurposing by querying Open Targets Platform data for target-disease associations, evidence, and known drugs. Use the GraphQL API to retrieve genetic, somatic, expression, and literature evidence linking targets to diseases.

How do I paginate results when querying Open Targets evidence data?

Paginate Open Targets evidence data results by using the Python helpers in scripts/query_opentargets.py, which handle pagination and parse GraphQL API responses automatically without requiring authentication for downstream analysis.