[Bioperl-l] <No subject>

Jason Stajich jason@cgt.mc.duke.edu
Mon, 8 Jul 2002 14:18:11 -0400 (EDT)


Anthony-

Bonnie's response is dead on use $hsp->hit->start().

There is a rather long-winded reason why this doesn't work with the
current release, however I am happy to say that I've checked in changes
s.t. this will work in the next stable release.

-jason

On Mon, 8 Jul 2002 AUnderwood@PHLS.org.uk wrote:

> 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
>

-- 
Jason Stajich
Duke University
jason at cgt.mc.duke.edu