GET
/variants
Every variant whose position falls inside a curated ED/DBD, annotated with the enclosing domain's id, type, subtype, family and TF family, and with its AlphaGenome Variant Impact score: avi (raw) and avi_phred (Phred-scaled). When avi_approx is 1, avi_phred is the highest score of the three possible changes at that base, an upper bound rather than this variant's own score. Large result sets are paginated. It holds every ClinVar and gnomAD variant inside a domain, the same rows as the variants file on the Downloads page.
Parameters
Optional
| Name | Type | Description | Default | Example |
|---|---|---|---|---|
within_domain | Boolean | Every variant here is inside a domain; kept for compatibility with /ptms. | true | true |
domain.type | Enum | Class of the enclosing domain. EDDBD | - | ED |
domain.subtype | Enum | Effector activity of the enclosing domain. activationrepressionbifunctionaldna | - | activation |
family | String | Enclosing-domain family (DBD / effector). | - | Forkhead |
tf_family | String | TF family class of the parent protein. Alias: tf.family. | - | Nuclear receptor |
consequence | String | Molecular consequence, e.g. missense, nonsense, frameshift, synonymous. | - | missense |
source | Enum | Variant source database. ClinVargnomAD | - | gnomAD |
clin_sig | String | ClinVar clinical significance, e.g. pathogenic, likely_pathogenic, vus. | - | pathogenic |
af_min | Number | Minimum gnomAD allele frequency. Alias: af.gte. | - | 0.001 |
af.lte | Number | Maximum gnomAD allele frequency. Alias: allele_freq.lte. | - | 0.05 |
avi_phred_min | Number | Lowest AlphaGenome Variant Impact (Phred-scaled) to keep. A research prediction, not for clinical use. Alias: avi_phred.gte. | - | 20 |
avi_exact | Boolean | true keeps only variants scored for their own base change (drops the per-base maximum, avi_approx = 1). | - | true |
domain_id | String | Enclosing domain id (comma-separated). Add gene to keep it fast. | - | TFR:P21506:13 |
gene | String | HGNC gene symbol, or a comma-separated list. Alias: symbol. | - | TP53 |
uniprot | String | UniProt accession, or a comma-separated list. | - | P04637 |
overlaps | String | A residue or range of residues. Needs gene, uniprot or domain_id, because residue numbers differ between proteins. | - | 1-80 |
format | Enum | Serialization of the response body. TSV and NDJSON hold one page of rows; the X-Total-Count header gives the number of matches in all, so read further pages with page. jsontsvndjson | json | tsv |
fields | String | Comma-separated subset of fields to keep in each row; an unknown field gets a 400. | - | gene,pos,clin_sig,avi_phred |
sort | String | Comma-separated fields to order by; prefix a field with '-' for descending. | - | -avi_phred |
page | Int | 1-based page number. | 1 | 2 |
page_size | Int | Rows per page (maximum 1000). | 100 | 1000 |
Example requests
gnomAD variants in nuclear-receptor effector domains
curl 'https://tfregdb.com/api/v2.0/variants?tf_family=Nuclear%20receptor&domain.type=ED&source=gnomAD&format=json' Pathogenic ClinVar missense in activation domains (TSV)
curl 'https://tfregdb.com/api/v2.0/variants?domain.subtype=activation&consequence=missense&source=ClinVar&clin_sig=pathogenic&format=tsv' All ClinVar variants in TP53 domains
curl 'https://tfregdb.com/api/v2.0/variants?gene=TP53&source=ClinVar&page_size=1000' ZNF10 variants with the highest AlphaGenome impact
curl 'https://tfregdb.com/api/v2.0/variants?gene=ZNF10&avi_phred_min=20&sort=-avi_phred'