Bioperl: Flipped out on Bio::Tools::Blast

Lincoln Stein lstein@cshl.org
Tue, 25 Aug 1998 14:12:50 -0400


Here's the offending code in Steve's HSP.pm.  As far as I can tell, it
silently flips the sequence endpoints without setting any flag that
this has happened.

    # Check for flipped sequence endpoints (from reverse complement)
    if($self->{$seqType.'Start'} > $self->{$seqType.'Stop'}) {
        my $tmp = $self->{$seqType.'Start'};
        $self->{$seqType.'Start'} = $self->{$seqType.'Stop'};
        $self->{$seqType.'Stop'} = $tmp;
    }

If I comment out this section, what will break?

Lincoln
-- 
========================================================================
Lincoln D. Stein                           Cold Spring Harbor Laboratory
lstein@cshl.org			                  Cold Spring Harbor, NY
========================================================================
=========== Bioperl Project Mailing List Message Footer =======
Project URL: http://www.techfak.uni-bielefeld.de/bcd/Perl/Bio/
For info about how to (un)subscribe, where messages are archived, etc:
http://www.techfak.uni-bielefeld.de/bcd/Perl/Bio/vsns-bcd-perl.html
====================================================================