GET gene/:rsid (e.g rs11704416,rs9364554)

Retrieves the effect on gene expression of a list of variants using the rsids

Parameters

NameTypeDescriptionDefaultExample Values
id String List A list of rsid of the desired SNPs - rs11704416,rs9364554

Returns

NameDescription
rsid rsid of the variant
gene Gene symbol of the associated gene
tissue Tissue where the associations if found
effect Slope of the linear model
pvalue P-value of the associations
padj Corrected p-value of the associations
model Model of the association (additive, dominant, recessive)

Python Example


import requests

url = "https://bcglab.cibio.unitn.it/polympact/searchSNP/gene/%s/"
rsids = ["rs11704416", "rs9364554"]
rsids = ",".join(rsids)

req = requests.get(url % rsids)
if not req.ok:
	req.raise_for_status()
	exit()

print(req.json())