K-Dense-AI/scientific-agent-skills / skills/database-lookup
database-lookup
VerifiedQueries documented public database APIs with explicit endpoints, filters, pagination, and provenance. Used when a scientific, regulatory, financial, or other database-backed fact must be retrieved reproducibly from a named source rather than inferred from general knowledge.
references/gwas-catalog.md
View on GitHub# GWAS Catalog (EBI)
## Base URL
```
https://www.ebi.ac.uk/gwas/rest/api
```
## Auth
No API key required.
## Note: Responses use HAL+JSON format with `_links` and `_embedded` keys.
## Key Endpoints
| Endpoint | Description |
|----------|-------------|
| `/studies/{accession}` | Single study (e.g. GCST001633) |
| `/studies/search/findByPublicationIdPubmedId?pubmedId={id}` | Studies by PubMed ID |
| `/singleNucleotidePolymorphisms/{rsId}` | SNP details |
| `/singleNucleotidePolymorphisms/{rsId}/associations` | Associations for a SNP |
| `/singleNucleotidePolymorphisms/search/findByRsId?rsId={rsId}` | Search by rsID |
| `/associations` | List associations |
| `/associations/{id}` | Single association |
| `/efoTraits` | List EFO traits |
| `/efoTraits/search/findByEfoTrait?trait={name}` | Search traits |
## Pagination
`?page=0&size=20` (zero-indexed, max ~500)
## Example Calls
```
# Get a study
https://www.ebi.ac.uk/gwas/rest/api/studies/GCST001633
# Associations for a SNP
https://www.ebi.ac.uk/gwas/rest/api/singleNucleotidePolymorphisms/rs7329174/associations
# Search traits
https://www.ebi.ac.uk/gwas/rest/api/efoTraits/search/findByEfoTrait?trait=diabetes&page=0&size=5
```
## Response Format
HAL+JSON. Results in `_embedded.studies[]` or `_embedded.associations[]`. Key fields: `pvalue`, `riskFrequency`, `orPerCopyNum`, `betaNum`.
## Rate Limits
No published limit. Bulk data via FTP at ftp.ebi.ac.uk/pub/databases/gwas/
Follow HAL `_links.next.href` until absent and inspect `_links.search` for exact finder names/parameters. The official endpoint catalogue is https://www.ebi.ac.uk/gwas/rest/documents/api.html.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |