GWAS¶
Use GWAS commands to search trait-variant associations from the GWAS Catalog.
Search GWAS¶
By trait:
By gene:
By genomic region:
With p-value threshold:
Key flags: -g/--gene for a gene symbol, --trait for phenotype text,
--region for genomic intervals like chr:start-end, and --p-value for a
significance threshold. Use --limit and --offset for bounded paging.
Get records¶
GWAS is search-only. There is no get gwas subcommand.
Request sections¶
GWAS search rows do not expose extra section names. Use biomcp get variant
<id> gwas when you need GWAS evidence attached to a known variant card.
Helper commands¶
GWAS is search-only. Start with search gwas for genes, traits, or regions,
then pivot into get variant <id> gwas if a specific association needs deeper
context.
JSON mode¶
Practical tips¶
- Combine gene and trait filters to narrow broad searches.
- Use
--regionfor locus-level queries when you have genomic coordinates. - GWAS data is also available as a variant section:
biomcp get variant rs7903146 gwas.