opentargets-database

Query target-disease associations and drug data from the Open Targets Platform GraphQL API.

15|2|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/rubensliv/k-dense-ai --skill opentargets-database-rubensliv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opentargets-database
Source: https://github.com/rubensliv/k-dense-ai/tree/main/scientific-skills/opentargets-database
Command: npx skills add https://github.com/rubensliv/k-dense-ai --skill opentargets-database-rubensliv

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 vast and siloed; this Skill provides programmatic access to target-disease associations, drug target discovery, and evidence retrieval to streamline therapeutic target prioritization.

Core Features & Use Cases

  • Query targets, diseases, and drugs via the GraphQL API to retrieve annotations, associations, and known drugs.
  • Retrieve comprehensive target information including tractability, safety liabilities, genetic constraints, and disease associations.
  • Find known drugs for diseases and inspect drug-indication relationships and mechanisms.
  • Leverage the included Python helpers in scripts/query_opentargets.py to perform common queries and build end-to-end workflows.
  • Use cases include target discovery for a disease, target prioritization, and drug repurposing planning.

Quick Start

Run a sample query with the Python helper to fetch a target's information.

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 from the Open Targets Platform using GraphQL?

Use the Open Targets Platform GraphQL API at api.platform.opentargets.org/api/v4/graphql to query target-disease associations and retrieve evidence scores. The Python helpers in scripts/query_opentargets.py perform common queries to fetch target annotations and disease associations without authentication.

What is Open Targets target discovery and how does evidence scoring work?

Open Targets target discovery aggregates genetics, omics, and pharmacology datasets to calculate evidence scores for drug target prioritization. You retrieve comprehensive target information including tractability, safety liabilities, and genetic constraints by querying the platform's GraphQL endpoint.

Can I find known drugs for a disease and inspect drug-indication relationships in Open Targets?

Yes, you can find known drugs for diseases and inspect drug-indication relationships and mechanisms using the Open Targets GraphQL API. Query the platform to retrieve drug target data, known drug annotations, and target-disease associations for drug repurposing planning.

Do I need authentication or API keys to access Open Targets Platform data for drug targeting?

No authentication is required to query the Open Targets Platform GraphQL API for drug targeting data. You only need the requests Python dependency and the included query helpers in scripts/query_opentargets.py to retrieve target information and disease associations.

How do I assess target tractability and safety liabilities for drug prioritization?

Query the Open Targets GraphQL API to retrieve comprehensive target information including tractability, safety liabilities, and genetic constraints. Use the Python helpers to perform these queries and build end-to-end workflows for target prioritization and safety assessment.

What are the limitations of using Open Targets GraphQL API for target discovery?

The Open Targets GraphQL API requires the requests Python dependency and relies on the platform's available datasets spanning genetics, omics, and pharmacology. Target discovery is constrained to the evidence scores and annotations currently provided by the Open Targets Platform without additional data integration.