Skip to content
Snippets Groups Projects
Commit 2a03e08d authored by Eduardo Eyras's avatar Eduardo Eyras
Browse files

clip_ends method moved elsewhere

parent dfe5663c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
############################################################
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment