Skip to contents

Pure. One row per requested variant, in the order asked.

Usage

vep_parse_batch(body, keys)

Arguments

body

A parsed VEP response, an array of elements.

keys

Variant keys from vep_key(), in the order asked.

Value

A tibble with one row per entry in keys, plus a key column.

Matched by identity, not by position

VEP does not promise that results come back in the order they were sent. Zipping the response onto the input by index therefore assigns consequences to the wrong variants, silently. Elements are matched on (chromosome, position, ref, alt) reconstructed from what VEP reports.