Commit 93bc4fe7 authored by Dan T Andrews's avatar Dan T Andrews
Browse files

The sequence returned by fetch_by_contig_id_start_end_strand contained \s...

The sequence returned by fetch_by_contig_id_start_end_strand contained \s characters.  Now it does a s/\s//g on it before returning anything.
parent 1308168a
......@@ -94,6 +94,7 @@ sub fetch_by_contig_id_start_end_strand {
if( my $aref = $sth->fetchrow_arrayref() ) {
my ( $length, $seq ) = @$aref;
$seq =~ s/\s//g;
if( $strand == -1 ) {
return $self->_reverse_comp( $seq );
} else {
......
Markdown is supported
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