Annotate variants with amino-acid change and predicted impact via dndscv
Source:R/variant_annotation.R
annotate_variants_aachange.RdRuns dndscv on the mitochondrial variants to obtain gene-level annotation of amino-acid changes and their predicted impact.
Value
The input variant_annotation, augmented with columns:
- gene
Gene symbol where the variant falls.
- aachange
Amino-acid change notation (e.g. p.W88C).
- impact
Predicted functional impact category from dndscv.
Details
This internal function:
Loads the precomputed mitochondrial CDS reference database from the redeemR package (
GRCH38_MT_bioMRT_output_refcds.rda).Converts
Variants("") into the 5-column table required by dndscv using make_mutation_table.Runs
dndscv()with permissive mutation limits to annotate all coding changes.Extracts and merges back the
gene,aachange, andimpactfields for each variant.