Handling get_variant_context
function's "both alleles have consequences" warning
#2
Labels
question
Further information is requested
There's this part of code in the
get_variant_context
function.man_qq_annotate/manqq_functions.R
Line 372 in aa79408
There is currently a code that outputs a warning message that says both alleles have a consequence assigned to it.
I found a real situation where this occurred:
Both allele's consequence is
intergenic
, but I thought I'd assume there would be another case where the consequence may differ.The current code just prints out the
a1
's consequence and overwrites thecons
variable witha2
's consequence value.I'm writing up this issue just to make sure whether this is our intended behaviour, or whether we need to handle it differently.
If this is indeed an intended behaviour, I think we should add a line of warning message, saying the A2's consequence will overwrite the consequence.
Would like your input @agilly
The text was updated successfully, but these errors were encountered: