[Bioperl-l] <No subject>

BHurwitz@twt.com BHurwitz@twt.com
Mon, 8 Jul 2002 13:04:08 -0500


Hi Anthony,

Try the following:

my $start = $hsp->hit->start(); # hit start
my $end = $hsp->hit->end(); # hit end


Regards,
Bonnie



                                                                                                                                                  
                    AUnderwood@PHLS.o                                                                                                             
                    rg.uk                    To:     bioperl-l@bioperl.org                                                                        
                    Sent by:                 cc:                                                                                                  
                    bioperl-l-admin@b        Subject:     [Bioperl-l] <No subject>                                                                
                    ioperl.org                                                                                                                    
                                                                                                                                                  
                                                                                                                                                  
                    07/08/2002 12:39                                                                                                              
                    PM                                                                                                                            
                                                                                                                                                  
                                                                                                                                                  




Hi all,

I am having a problem when parsing blast output from Standalone Blast. I am
specifying "Blast" as the READMETHOD in the parameters passed to the
Standalone package.
However when I try to find the start of the hit using the following line:

print OUT "start of hsp: ", $hsp->start('sbjct') ,"\n";

the output is   start of hsp: sbjct not                 start of hsp: 12345
where 12345 is the starting point
if the blast hit within the subject.

If instead the line is
print OUT "start of hsp: ", $hsp->start() ,"\n";

then I do  get a value which is probably the default, equivalent to
$hsp->start('query')

Please can anyone tell me how I can get the value for the start of the
blast
hit in the subject.

Many thanks,


Anthony



Dr Anthony Underwood
Bioinformatics Unit
Central Public Health Laboratory
61 Colindale Avenue
London
NW9 5HT
t:    0208 2004400 ext. 3618
f:    0208 3583138
e: aunderwood@phls.org.uk



**************************************************************************
The information contained in the EMail and any attachments is confidential
and intended solely and for the attention and use of the named
addressee(s).
It may not be disclosed to any other person without the express authority
of
the PHLS, or the intended recipient, or both. If you are not the intended
recipient, you must not disclose, copy, distribute or retain this message
or
any part of it.

For information on how to send data to the PHLS in encrypted form via
E.Mail, visit www.phls.org.uk.

This footnote also confirms that this EMail has been swept for computer
viruses, but please re-sweep any attachments before opening or saving.

HTTP://www.phls.org.uk
**************************************************************************
_______________________________________________
Bioperl-l mailing list
Bioperl-l@bioperl.org
http://bioperl.org/mailman/listinfo/bioperl-l