From 2a03e08d0459462beb1a697c3dbf0374d8ef857d Mon Sep 17 00:00:00 2001 From: Eduardo Eyras <eae@sanger.ac.uk> Date: Thu, 22 May 2003 13:38:39 +0000 Subject: [PATCH] clip_ends method moved elsewhere --- modules/Bio/EnsEMBL/Utils/PolyA.pm | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/modules/Bio/EnsEMBL/Utils/PolyA.pm b/modules/Bio/EnsEMBL/Utils/PolyA.pm index 59fc71c1af..3f9b44343d 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; -} - ############################################################ -- GitLab