Uses the given identifier to return its latest version
Parameters
| Name | Type | Description | Default | Example Values |
| id |
String List |
A list of rsid of the desired SNPs |
- |
rs11704416,rs9364554 |
Returns
| Name | Description |
| rsid |
rsid of the variant |
| pfm_name |
Gene symbol of the PFM |
| start |
Starting genomic position (hg19) of the motifs |
| strand |
Strand (0 forward, 1 reverse) where the motifs bind |
| type |
Type of effect of the alternative allele (match, change, addition, deletion) |
| scoreref |
Binding score of the motif with the reference allele |
| scorealt |
Binding score of the motif with the alternative allele |
| max_score |
Maximum score of the matrix |
Python Example
import requests
url = "https://bcglab.cibio.unitn.it/polympact/searchSNP/pfm/%s/"
rsids = ["rs11704416", "rs9364554"]
rsids = ",".join(rsids)
req = requests.get(url % rsids)
if not req.ok:
req.raise_for_status()
exit()
print(req.json())