Skip to contents

Run VEP for a variant id

Usage

ensembl_vep_id(rsid, ...)

Arguments

rsid

A variant id, for example "rs113488022".

...

Passed to biohttp::get_json(), for example throttle.

Value

A biohttp envelope whose data is the list described in ensembl_parse_vep().

An rsID does not identify an allele

The same caveat as gnomad_frequency() and clinvar_classification(). 7:g.140753336A>T and 7:g.140753336A>C share rs113488022, so Ensembl may answer for more than one allele. The first record is used. Post coordinates with vep_variants() when the allele matters.

Examples

if (FALSE) { # \dontrun{
biohttp::body_or_null(ensembl_vep_id("rs113488022"))$consequences
} # }