diff --git a/modules/Bio/EnsEMBL/Utils/TranscriptAlleles.pm b/modules/Bio/EnsEMBL/Utils/TranscriptAlleles.pm index 1ac958ce374d6c0dba993ac5569af05d7a895061..740411ace5bba656518192ead424855fba0fd4f0 100644 --- a/modules/Bio/EnsEMBL/Utils/TranscriptAlleles.pm +++ b/modules/Bio/EnsEMBL/Utils/TranscriptAlleles.pm @@ -329,7 +329,7 @@ sub type_variation { my $last_codon_length = length($cds) - ($codon_cds_start - 1); - if($last_codon_length < 3 && $last_codon_length >= 0) { + if($last_codon_length < 3 && $last_codon_length > 0) { $var->type("PARTIAL_CODON"); # add the CDS coords