Research area
Variants
Namespace
vep
Listed tools
7
Upstream source
Ensembl VEP

Research tasks

  • Resolve equivalent variant representations
  • Review consequences across affected transcripts

Start with tool discovery

The catalog lists vep_annotate_variant as a representative tool. After connecting your client, inspect the tools and input requirements returned by the service before submitting a query.

Identifiers to prepare

  • HGVS notation
  • rsID
  • Genomic CHR-POS-REF-ALT
  • SPDI or VCF representation supported by the recoder

All available tools (7)

The router surfaces these tools namespaced under vep_*:

get_capabilitiesRead this first in a cold session. Returns server/tool metadata: supported assemblies (GRCh38 default, GRCh37), input formats (coordinate, rsID, HGVS, SPDI, CNV), the VEP-option allowlist, the four response_mode tiers, the deterministic error codes, the citation contract, a capabilities_version hash a warm client can compare to skip re-fetching, and a live `upstream` health summary (per-assembly Ensembl REST status from the circuit breaker). No upstream call.

Read this first in a cold session. Returns server/tool metadata: supported assemblies (GRCh38 default, GRCh37), input formats (coordinate, rsID, HGVS, SPDI, CNV), the VEP-option allowlist, the four response_mode tiers, the deterministic error codes, the citation contract, a capabilities_version hash a warm client can compare to skip re-fetching, and a live `upstream` health summary (per-assembly Ensembl REST status from the circuit breaker). No upstream call.

resolve_variantUse this when the caller's variant is an rsID, HGVS, SPDI, or loosely formatted, and you need the canonical CHR-POS-REF-ALT plus gene_symbol and most_severe_consequence that the annotation tools build on. Returns a variants[] list (one entry per ALT allele; a multi-allelic input also carries a multiple_alts warning) plus a top-level warnings[]. Coordinates are normalized locally; rsIDs/HGVS are recoded via Ensembl. Cheap (<1kB). Then call annotate_variant for the full VEP annotation.

Use this when the caller's variant is an rsID, HGVS, SPDI, or loosely formatted, and you need the canonical CHR-POS-REF-ALT plus gene_symbol and most_severe_consequence that the annotation tools build on. Returns a variants[] list (one entry per ALT allele; a multi-allelic input also carries a multiple_alts warning) plus a top-level warnings[]. Coordinates are normalized locally; rsIDs/HGVS are recoded via Ensembl. Cheap (<1kB). Then call annotate_variant for the full VEP annotation.

Input parameters

  • allele(any) — Optional ALT filter for a multi-allelic input: an ALT base (e.g. 'A') or a full CHR-POS-REF-ALT. Omit to return every ALT allele in variants[].
  • assembly(string) — Reference build for resolution. GRCh38 default.
  • variant(string) [required] — A variant in any supported form: CHR-POS-REF-ALT, an rsID (e.g. rs6025), genomic/transcript HGVS, or SPDI.
recode_variantUse this to translate a variant (or a batch, cap 200) between identifier systems -- rsID <-> HGVS (g./c./p./t.) <-> VCF string <-> SPDI -- without a full VEP annotation. Returns one result object per input. Use the optional fields filter to trim the payload to just the representations you need.

Use this to translate a variant (or a batch, cap 200) between identifier systems -- rsID <-> HGVS (g./c./p./t.) <-> VCF string <-> SPDI -- without a full VEP annotation. Returns one result object per input. Use the optional fields filter to trim the payload to just the representations you need.

Input parameters

  • assembly(string) — Reference build for recoding. GRCh38 default.
  • fields(any) — Optional comma-separated projection filter over the closed vocabulary vcf_string, hgvsg, hgvsc, hgvsp, spdi (e.g. 'hgvsg,spdi,vcf_string'); omit for the full set. An unknown field is rejected as invalid_input (it is not silently dropped).
  • variants(array) [required] — One or more variants (rsID, HGVS, coordinate, or SPDI) to recode into every equivalent representation. Cap 200.
annotate_variantUse this for the full VEP annotation of one variant: consequences, gene/transcript impact, HGVS, MANE/canonical flags, SIFT/PolyPhen, plus variant-level CADD/GERP under position_scores and per-transcript REVEL/AlphaMissense, and gnomAD frequencies. Input is parsed, recoded if needed, sent to the VEP region endpoint, then shaped to response_mode (start compact; widen to standard/full only if needed). The standard tier filters noisy neighbour transcripts by default (set transcripts='all' for every isoform). Carries a provenance block (endpoint + citation) and _meta.next_commands follow-ups.

Use this for the full VEP annotation of one variant: consequences, gene/transcript impact, HGVS, MANE/canonical flags, SIFT/PolyPhen, plus variant-level CADD/GERP under position_scores and per-transcript REVEL/AlphaMissense, and gnomAD frequencies. Input is parsed, recoded if needed, sent to the VEP region endpoint, then shaped to response_mode (start compact; widen to standard/full only if needed). The standard tier filters noisy neighbour transcripts by default (set transcripts='all' for every isoform). Carries a provenance block (endpoint + citation) and _meta.next_commands follow-ups.

Input parameters

  • allele(any) — Optional ALT filter for a multi-allelic input: an ALT base (e.g. 'A') or a full CHR-POS-REF-ALT. Omit to annotate every ALT allele (each as an entry in variants[]).
  • assembly(string) — Reference build for annotation. GRCh38 default.
  • response_mode(string) — Verbosity tier: minimal (identity only), compact (default; representative transcript + frequencies), standard (filtered transcripts), or full (raw-ish payload). Position scores (CADD/GERP) appear once under position_scores at all tiers above minimal.
  • transcripts(string) — standard-tier only: 'auto' (default) drops uninformative MODIFIER neighbour transcripts, collapses identical-effect isoforms (equivalent_transcript_ids), and caps to the most severe; 'all' returns every transcript uncollapsed. Each variant carries its own transcripts_summary {shown,collapsed,total} when filtered.
  • variant(string) [required] — A single variant (coordinate, rsID, HGVS, SPDI, or CNV) to annotate with the Ensembl Variant Effect Predictor.
  • vep_options(any) — Optional VEP flag overrides (keys must be in the allowlist; call get_capabilities for the set). Plugins like SpliceAI / dbNSFP are instance-dependent.
annotate_variants_batchUse this to annotate many variants (cap 200) in one call instead of looping annotate_variant. Returns a results list (each shaped to response_mode and tagged with its original input), a per-input errors list (parse/not-found failures that did not fail the batch), and a summary count. Identical canonical variants are de-duplicated into a single VEP request. Each result's standard-tier transcript list is filtered by default; per-result truncation is reported in that result's transcripts_summary.

Use this to annotate many variants (cap 200) in one call instead of looping annotate_variant. Returns a results list (each shaped to response_mode and tagged with its original input), a per-input errors list (parse/not-found failures that did not fail the batch), and a summary count. Identical canonical variants are de-duplicated into a single VEP request. Each result's standard-tier transcript list is filtered by default; per-result truncation is reported in that result's transcripts_summary.

Input parameters

  • assembly(string) — Reference build for annotation. GRCh38 default.
  • response_mode(string) — Verbosity tier applied to every result (default compact).
  • transcripts(string) — standard-tier only: 'auto' (default) filters/caps each result's transcripts; 'all' returns every transcript. Each result carries its own transcripts_summary when truncated.
  • variants(array) [required] — Up to 200 variants to annotate in one call. Internally chunked and de-duplicated; one bad variant never fails the batch (its error is collected per-input).
  • vep_options(any) — Optional VEP flag overrides (keys must be in the allowlist).
liftover_variantUse this to map a genomic coordinate (CHR-POS-REF-ALT) from one human assembly to the other (GRCh37 <-> GRCh38) via the Ensembl assembly-map endpoint. The two assemblies must differ. A unique mapping returns the lifted coordinate; zero mappings -> not_found, multiple -> ambiguous. HGVS/rsID inputs are unsupported (resolve_variant them first).

Use this to map a genomic coordinate (CHR-POS-REF-ALT) from one human assembly to the other (GRCh37 <-> GRCh38) via the Ensembl assembly-map endpoint. The two assemblies must differ. A unique mapping returns the lifted coordinate; zero mappings -> not_found, multiple -> ambiguous. HGVS/rsID inputs are unsupported (resolve_variant them first).

Input parameters

  • from_assembly(string) [required] — Source assembly of the input coordinate.
  • to_assembly(string) [required] — Target assembly to lift the coordinate to (must differ from from_assembly).
  • variant(string) [required] — A genomic coordinate (CHR-POS-REF-ALT) to lift between assemblies. HGVS/rsID are not liftable -- resolve them first.
check_upstream_healthUse this to check whether the Ensembl REST hosts are healthy before a batch, or when calls start failing. Runs a live /info/ping of both assemblies (GRCh38 rest.ensembl.org, GRCh37 grch37.rest.ensembl.org) and returns each host's status (ok | recovering | down), circuit state, reachability, latency, and last error. If one build is degraded, route to the healthy one or back off. Returns <1kB.

Use this to check whether the Ensembl REST hosts are healthy before a batch, or when calls start failing. Runs a live /info/ping of both assemblies (GRCh38 rest.ensembl.org, GRCh37 grch37.rest.ensembl.org) and returns each host's status (ok | recovering | down), circuit state, reachability, latency, and last error. If one build is degraded, route to the healthy one or back off. Returns <1kB.

Database & release provenance

Data mode
none
Attestation
unhosted
Release version
v1.1.5
ghcr.io/berntpopp/vep-link@sha256:75c626d0f9404dec46bde9b8683ff8e95fcffba9857ee8c07d0e8d2fc173e2d0

Review the response

Keep the source record link and submitted identifiers with your notes. Record the dataset version and retrieval date when available. This page does not contain a captured Ensembl VEP response.