Gnomad

v0.2.1
io.github.pipeworx-io/gnomad Checked 1 day ago Published 1 month ago

gnomAD MCP — Broad Institute Genome Aggregation Database (GraphQL).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

variant

Variant by chr-pos-ref-alt (e.g. "1-55051215-G-A") or rsid (e.g. "rs1801133"). Coordinates must match the dataset's genome build: the default gnomad_r4 is GRCh38, so a GRCh37/hg19 position will not be found — pass dataset "gnomad_r2_1" for GRCh37.

ParameterTypeDescription
variant_id *string
datasetstringDefault gnomad_r4.

gene

Gene info + its variants. Accepts gene symbol (e.g. "BRCA1") or Ensembl gene id. Variants are paged (default 500, max 2,000 per call); variants_page gives the exact total and next_offset.

ParameterTypeDescription
gene_symbol_or_id *string
datasetstring
limitnumberVariants 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.
offsetnumberSkip this many variants first, for the next page (variants_page.next_offset). Default 0.

region

Variants 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.

ParameterTypeDescription
assembly *stringREQUIRED. 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,…
chrom *stringe.g. "1", "X", "MT"
start *number
stop *number
datasetstringDefault gnomad_r4 (GRCh38). gnomad_r2_1* and exac are GRCh37.
limitnumberVariants 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.
offsetnumberSkip this many variants first, for the next page (variants_page.next_offset). Default 0.

transcript

Fetch gnomAD variant data for an Ensembl transcript (ENST…), returning transcript coordinates, gene symbol, chromosome position, and per-variant allele counts (ac/an) from exome and genome datasets. Variants are paged (default 500, max 2,000 per call); variants_page gives the exact total and next_offset.

ParameterTypeDescription
transcript_id *stringEnsembl transcript id (ENST…)
datasetstring
limitnumberVariants 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.
offsetnumberSkip this many variants first, for the next page (variants_page.next_offset). Default 0.