diff --git a/modules/Bio/EnsEMBL/Utils/PolyA.pm b/modules/Bio/EnsEMBL/Utils/PolyA.pm index 59fc71c1afcbaebc4bc15d8943958508d02b893c..3f9b44343dc321f1d3c1f88650df3f17aee94df4 100644 --- a/modules/Bio/EnsEMBL/Utils/PolyA.pm +++ b/modules/Bio/EnsEMBL/Utils/PolyA.pm @@ -124,17 +124,7 @@ sub mask{ ############################################################ -# $seq is a string and $length is the length we want to clip from both ends -sub clip_ends{ - my ($self,$seq,$length) = @_; - - my $seq_length = length( $seq ); - my $subseq = substr( $seq, $length, $seq_length - 2*$length ); - - return $subseq; -} - ############################################################