View source: R/variant_id_handling.R
validate_aac_ids | R Documentation |
Given a vector of AAC IDs, determines whether each is valid/possible, returning NULL if all are valid, or a list of problems, or an error if input isn't parseable.
validate_aac_ids(aac_ids, refset)
aac_ids |
AAC variant IDs |
refset |
reference data set (environment object) |
An ID is invalid if the gene and/or protein_id are not in the reference data, or if the reference amino acid ("G" in KRAS_G12C) is incorrect, or if there is no possible SNV that can create the proposed change. For example, KRAS G12C is possible when the codon (GGT) acquires a G>T substitution in the first position, while G12K is not possible because no single substitution can transform GGT into a lysine codon.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.