associations

Get specific variant associations from specific GWAS datasets

post/associations

Request

  • Base URL: https://api.opengwas.io/api
  • URL: https://api.opengwas.io/api/associations
  • Auth: API key in header Authorization

Query parameters

variantstring[] required

List of variants as rsid or chr:pos or chr:pos1-pos2 where positions are in hg19/b37 e.g. ['rs1205', '7:105561135', '7:105561135-105563135']

idstring[] required

List of GWAS study IDs e.g. ['ieu-a-2', 'ieu-a-7']

proxiesinteger

Whether to look for proxies (1) or not (0). Note that proxies won't be looked for range queries

populationstring

Which population to use for proxy (select from AFR, AMR, EAS, EUR, SAS)

r2number

Minimum LD r2 for a proxy (>= the given value)

align_allelesinteger

Whether to align alleles

palindromesinteger

Whether to allow palindromic proxies

maf_thresholdnumber

Maximum MAF allowed for a palindromic variant (< the given value)

commercial_approval_receivedinteger

[Only for commercial users under agreement/contract] Whether to include results from datasets of which commercial use is not allowed as per the metadata. Other users do not need to specify this.

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.