alterlab-opentargets

Access Open Targets Platform data via GraphQL API for target, disease, and drug discovery.

58|9|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-opentargets
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: alterlab-opentargets
Source: https://github.com/AlterLab-IEU/AlterLab-Academic-Skills/tree/main/skills/databases/alterlab-opentargets
Command: npx skills add https://github.com/AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-opentargets

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Access Open Targets Platform data programmatically to identify target-disease relationships, annotate targets, and explore drug options for research and discovery.

Core Features & Use Cases

  • Use the included Python helpers to search entities (targets, diseases, drugs), fetch target annotations, retrieve disease evidence, and list known drugs for diseases.
  • Build end-to-end workflows for target prioritization, disease-target mapping, and drug repurposing analyses using the GraphQL API.
  • Real-world scenario: discover target-disease associations for a gene, review its tractability and safety signals, then examine approved or clinical drugs affecting that disease.

Quick Start

Query a gene to retrieve target annotations, associated diseases, and known drugs for related indications.

Frequently Asked Questions about alterlab-opentargets

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

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

To find target-disease associations using the Open Targets GraphQL API, you use the included Python helper functions to search entities, fetch target annotations, and retrieve disease evidence with optional data-type filters.

What is the best way to retrieve known drugs for a specific disease from Open Targets?▼

The best way to retrieve known drugs for a specific disease from Open Targets is to apply the provided Python helpers to query the GraphQL API, which lists approved or clinical drugs affecting the queried disease indications.

Can I build a drug repurposing workflow with Python and the Open Targets Platform?▼

Yes, you can build a drug repurposing workflow with Python by using the Open Targets GraphQL API helpers to review target tractability, safety signals, and known drugs across related disease indications.

How do I get target annotations like tractability and safety signals for a gene?▼

To get target annotations like tractability and safety signals for a gene, query the Open Targets GraphQL API using the provided helper functions to fetch detailed target annotations for your specified gene.

Do I need the requests library to query Open Targets biomedical data?▼

Yes, you need the requests library installed as a dependency to execute the Python scripts that query the Open Targets GraphQL API and retrieve biomedical data for target prioritization.

Can I filter disease evidence by data type when exploring Open Targets data?▼

Yes, you can filter disease evidence by data type when exploring Open Targets data, as the helper functions support retrieving evidence with optional data-type filters for targeted research.