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

Retrieves the functional element evidence 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
Functional element Name of the functional element with evidence in the region
CellLine Name of the cell line with evidence for the functional element
filetype Peak file type (Narrow Peak or Broad Peak)

Python Example


import requests

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

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

print(req.json())