Region
regionVariants in a genomic region (≤25kb recommended). You MUST say which genome build your start/stop are in via assembly, there is no default, because a position is valid in both builds and a wrong guess returns real variants from the wrong locus rather than an error. Variants are paged (default 500, max 2,000 per call); variants_page gives the exact total and next_offset.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"stop": 55025000,
"chrom": "1",
"start": 55000000,
"assembly": "GRCh38"
},
"name": "region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stop | Yes | ||
| chrom | Yes | e.g. "1", "X", "MT" | |
| limit | No | Variants to return, 1-2000. Default 500. gnomAD returns every variant with no limit of its own (BRCA1 has ~7,300), so the list is paged here; variants_page says how many exist and the next offset. | |
| start | Yes | ||
| offset | No | Skip this many variants first, for the next page (variants_page.next_offset). Default 0. | |
| dataset | No | Default gnomad_r4 (GRCh38). gnomad_r2_1* and exac are GRCh37. | |
| assembly | Yes | REQUIRED. The genome build your start/stop are in: "GRCh38" (= hg38) or "GRCh37" (= hg19). There is no default, because every position is valid in both builds, an unstated build cannot be detected, only guessed wrong. Must agree with dataset: gnomad_r2_1* and exac are GRCh37, gnomad_r3*/r4* are GRCh38. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | ||
| truncated | No | True when this response holds fewer variants than gnomAD has (see variants_page) | |
| variants_page | No | How the variant list was paged. gnomAD returns every variant with no limit of its own, so the pack pages it; total is exact. |