Skip to content

Commit

Permalink
Fix warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
dglemos authored and likhitha-surapaneni committed Nov 25, 2024
1 parent eb55c22 commit bfac10d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/Bio/EnsEMBL/VEP/OutputFactory.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1630,7 +1630,10 @@ sub TranscriptVariationAllele_to_output_hash {

# Only for RefSeq annotations
# If invalid_alleles is set to 1 then the ref and alt alleles are the same -> this is an invalid variant
if($vfoa->{invalid_alleles}) {
# Print mismatch warning only if:
# - there is transcripts mismatch
# - use_given_ref is not defined
if($vfoa->{invalid_alleles} && !$self->param('use_given_ref')) {
$self->warning_msg("Transcript-assembly mismatch in ".$hash->{Uploaded_variation});
}

Expand Down

0 comments on commit bfac10d

Please sign in to comment.