Back to catalog
Cortexa research tool·genomics·gwas
Gwas Get Variants For Trait
Search the GWAS Catalog for all genetic variants (SNPs) linked to a specific disease or trait. Accepts free-text disease/trait names (e.g., 'diabetes', 'breast cancer'), EFO ontology IDs, or EFO trait labels. Returns variant details including rsIDs, p-values, mapped genes, and genomic locations. This is the best tool for finding all GWAS variants for a disease when you do NOT already have a specific variant ID.
Livelast probed 2026-04-30 23:07Z· 107msCortexa
Status
The most recent probe succeeded. Safe to call from the agent today.
- Last probed
- 1d ago
- Last success
- 1d ago
- Last latency
- 107ms
Schema
JSON Schema the agent (or your API call) must match.
{
"oneOf": [
{
"required": [
"disease_trait"
]
},
{
"required": [
"trait"
]
},
{
"required": [
"efo_uri"
]
},
{
"required": [
"efo_id"
]
},
{
"required": [
"efo_trait"
]
}
],
"properties": {
"disease_trait": {
"description": "Disease or trait name for text-based search (e.g., 'diabetes', 'breast cancer')",
"type": "string"
},
"efo_id": {
"description": "EFO/OBA term ID (e.g., 'EFO_0001645', 'OBA_2050062'). Recommended for reliable trait filtering.",
"type": "string"
},
"efo_trait": {
"description": "Exact EFO trait label. Use when you know the canonical trait string.",
"type": "string"
},
"efo_uri": {
"description": "Full EFO ontology URI (e.g., 'http://www.ebi.ac.uk/efo/EFO_0001645')",
"type": "string"
},
"limit": {
"description": "Alias for size. Number of results to return per page",
"type": "integer"
},
"page": {
"description": "Page number for pagination",
"type": "integer"
},
"size": {
"description": "Number of results to return per page",
"type": "integer"
},
"trait": {
"description": "Alias for disease_trait. Disease or trait name (e.g., 'type 2 diabetes', 'breast cancer')",
"type": "string"
}
},
"type": "object"
}Examples (1)
Default Gwas Get Variants For Trait call
public-safeinput
{
"disease_trait": "type 2 diabetes",
"efo_trait": "type 2 diabetes",
"limit": 3,
"page": 1,
"size": 1,
"trait": "type 2 diabetes"
}Expected response keys: success
Anonymous-safe example. Rate-limited; no sign-in required.
Identifiers
- Catalog ID
- tu_gwas_get_variants_for_trait
- Tool name
- gwas_get_variants_for_trait
- Added
- 2026-04-30 22:47Z
- Tags
- tooluniverse