From a6786e4357f442a81624f58d9e79f343909d717f Mon Sep 17 00:00:00 2001 From: dglemos Date: Mon, 11 Nov 2024 13:45:14 +0000 Subject: [PATCH] Fix other update --- modules/Bio/EnsEMBL/VEP/OutputFactory.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/VEP/OutputFactory.pm b/modules/Bio/EnsEMBL/VEP/OutputFactory.pm index 9efba3e3d..70cd5456e 100755 --- a/modules/Bio/EnsEMBL/VEP/OutputFactory.pm +++ b/modules/Bio/EnsEMBL/VEP/OutputFactory.pm @@ -1387,7 +1387,7 @@ sub BaseTranscriptVariationAllele_to_output_hash { # basics $hash->{Feature_type} = 'Transcript'; $hash->{Feature} = $tr->stable_id if $tr; - $hash->{Feature} .= '.'.$tr->version if $hash->{Feature} && $self->{transcript_version} && $hash->{Feature} !~ /\.\d+$/; + $hash->{Feature} .= '.'.$tr->version if $hash->{Feature} && $self->{transcript_version} && $tr->version && $hash->{Feature} !~ /\.\d+$/; # get gene $hash->{Gene} = $tr->{_gene_stable_id};