freedomintelligence/openclaw-medical-skills/opentargets-database
Claude Code and agent skill by freedomintelligence/openclaw-medical-skills
- community
Checking that the SKILL.md file is still in the repository.
Query Open Targets Platform for target-disease associations, drug target discovery, tractability/safety data, genetics/omics evidence, known drugs, for therapeutic target identification.
Install
npx vskill@latest install freedomintelligence/openclaw-medical-skills/opentargets-databaseSKILL.md
The same SKILL.md was published earlier as freedomintelligence/openclaw-medical-skills/opentargets-database.
Open Targets Database
Overview
The Open Targets Platform is a comprehensive resource for systematic identification and prioritization of potential therapeutic drug targets. It integrates publicly available datasets including human genetics, omics, literature, and chemical data to build and score target-disease associations.
Key capabilities:
- Query target (gene) annotations including tractability, safety, expression
- Search for disease-target associations with evidence scores
- Retrieve evidence from multiple data types (genetics, pathways, literature, etc.)
- Find known drugs for diseases and their mechanisms
- Access drug information including clinical trial phases and adverse events
- Evaluate target druggability and therapeutic potential
Data access: The platform provides a GraphQL API, web interface, data downloads, and Google BigQuery access. This skill focuses on the GraphQL API for programmatic access.
When to Use This Skill
This skill should be used when:
- Target discovery: Finding potential therapeutic targets for a disease
- Target assessment: Evaluating tractability, safety, and druggability of genes
- Evidence gathering: Retrieving supporting evidence for target-disease associations
- Drug repurposing: Identifying existing drugs that could be repurposed for new indications
- Competitive intelligence: Understanding clinical precedence and drug development landscape
- Target prioritization: Ranking targets based on genetic evidence and other data types
- Mechanism research: Investigating biological pathways and gene functions
- Biomarker discovery: Finding genes differentially expressed in disease
- Safety assessment: Identifying potential toxicity concerns for drug targets
Core Workflow
1. Search for Entities
Start by finding the identifiers for targets, diseases, or drugs of interest.
For targets (genes):
For diseases:
For drugs:
Identifiers used:
- Targets: Ensembl gene IDs (e.g.,
ENSG00000157764) - Diseases: EFO (Experimental Factor Ontology) IDs (e.g.,
EFO_0000249) - Drugs: ChEMBL IDs (e.g.,
CHEMBL25)
2. Query Target Information
Retrieve comprehensive target annotations to assess druggability and biology.
Key annotations to review:
- Tractability: Small molecule, antibody, PROTAC druggability predictions
- Safety: Known toxicity concerns from multiple databases
- Genetic constraint: pLI and LOEUF scores indicating essentiality
- Disease associations: Diseases linked to the target with evidence scores
Refer to references/target_annotations.md for detailed information about all target features.
3. Query Disease Information
Get disease details and associated targets/drugs.
4. Retrieve Target-Disease Evidence
Get detailed evidence supporting a target-disease association.
Major evidence types:
- genetic_association: GWAS, rare variants, ClinVar, gene burden
- somatic_mutation: Cancer Gene Census, IntOGen, cancer biomarkers
- known_drug: Clinical precedence from approved/clinical drugs
- affected_pathway: CRISPR screens, pathway analyses, gene signatures
- rna_expression: Differential expression from Expression Atlas
- animal_model: Mouse phenotypes from IMPC
- literature: Text-mining from Europe PMC
Refer to references/evidence_types.md for detailed descriptions of all evidence types and interpretation guidelines.
5. Find Known Drugs
Identify drugs used for a disease and their targets.
Clinical phases:
- Phase 4: Approved drug
- Phase 3: Late-stage clinical trials
- Phase 2: Mid-stage trials
- Phase 1: Early safety trials
6. Get Drug Information
Retrieve detailed drug information including mechanisms and indications.
7. Get All Associations for a Target
Find all diseases associated with a target, optionally filtering by score.
Association scores:
- Range: 0-1 (higher = stronger evidence)
- Aggregate evidence across all data types using harmonic sum
- NOT confidence scores but relative ranking metrics
- Under-studied diseases may have lower scores despite good evidence
GraphQL API Details
For custom queries beyond the provided helper functions, use the GraphQL API directly or modify scripts/query_opentargets.py.
Key information:
- Endpoint:
https://api.platform.opentargets.org/api/v4/graphql - Interactive browser:
https://api.platform.opentargets.org/api/v4/graphql/browser - No authentication required
- Request only needed fields to minimize response size
- Use pagination for large result sets:
page: {size: N, index: M}
Refer to references/api_reference.md for:
- Complete endpoint documentation
- Example queries for all entity types
- Error handling patterns
- Best practices for API usage
Best Practices
Target Prioritization Strategy
When prioritizing drug targets:
- Start with genetic evidence: Human genetics (GWAS, rare variants) provides strongest disease relevance
- Check tractability: Prefer targets with clinical or discovery precedence
- Assess safety: Review safety liabilities, expression patterns, and genetic constraint
- Evaluate clinical precedence: Known drugs indicate druggability and therapeutic window
- Consider multiple evidence types: Convergent evidence from different sources increases confidence
- Validate mechanistically: Pathway evidence and biological plausibility
- Review literature manually: For critical decisions, examine primary publications
Evidence Interpretation
Strong evidence indicators:
- Multiple independent evidence sources
- High genetic association scores (especially GWAS with L2G > 0.5)
- Clinical precedence from approved drugs
- ClinVar pathogenic variants with disease match
- Mouse models with relevant phenotypes
Caution flags:
- Single evidence source only
- Text-mining as sole evidence (requires manual validation)
- Conflicting evidence across sources
- High essentiality + ubiquitous expression (poor therapeutic window)
- Multiple safety liabilities
Score interpretation:
- Scores rank relative strength, not absolute confidence
- Under-studied diseases have lower scores despite potentially valid targets
- Weight expert-curated sources higher than computational predictions
- Check evidence breakdown, not just overall score
Common Workflows
Workflow 1: Target Discovery for a Disease
- Search for disease → get EFO ID
- Query disease info with
include_targets=True - Review top targets sorted by association score
- For promising targets, get detailed target info
- Examine evidence types supporting each association
- Assess tractability and safety for prioritized targets
Workflow 2: Target Validation
- Search for target → get Ensembl ID
- Get comprehensive target info
- Check tractability (especially clinical precedence)
- Review safety liabilities and genetic constraint
- Examine disease associations to understand biology
- Look for chemical probes or tool compounds
- Check known drugs targeting gene for mechanism insights
Workflow 3: Drug Repurposing
- Search for disease → get EFO ID
- Get known drugs for disease
- For each drug, get detailed drug info
- Examine mechanisms of action and targets
- Look for related disease indications
- Assess clinical trial phases and status
- Identify repurposing opportunities based on mechanism
Workflow 4: Competitive Intelligence
- Search for target of interest
- Get associated diseases with evidence
- For each disease, get known drugs
- Review clinical phases and development status
- Identify competitors and their mechanisms
- Assess clinical precedence and market landscape
Resources
Scripts
scripts/query_opentargets.py Helper functions for common API operations:
search_entities()- Search for targets, diseases, or drugsget_target_info()- Retrieve target annotationsget_disease_info()- Retrieve disease informationget_target_disease_evidence()- Get supporting evidenceget_known_drugs_for_disease()- Find drugs for a diseaseget_drug_info()- Retrieve drug detailsget_target_associations()- Get all associations for a targetexecute_query()- Execute custom GraphQL queries
References
references/api_reference.md Complete GraphQL API documentation including:
- Endpoint details and authentication
- Available query types (target, disease, drug, search)
- Example queries for all common operations
- Error handling and best practices
- Data licensing and citation requirements
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/opentargets-database/SKILL.md
Popularity
- Repository stars
- 2,777
- Repository forks
- 386
- 7-day trend score
- 40
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/freedomintelligence/openclaw-medical-skills/opentargets-database)