both work...TMTOWTDI
$hsp->query->start and $hsp->start('query') are equivalent.
as are $hsp->hit->start and $hsp->start('hit') .
On Jul 8, 2009, at 5:25 PM, Torsten Seemann wrote:
> Inna,
>
>> Where Hit= gnl|DAS|12277,Start = 7410,End = 7433 is the last one.
>> I don't need these duplicates.
>> How can I fix that?
>
>> $start = $hsp->hit->start;
>> $end = $hsp->hit->end;
>
> Are you sure you mean $hsp->hit->start ?
> Perhaps you mean $hsp->start() or $hsp->start('hit') ?
>
>
> --Torsten Seemann
> --Victorian Bioinformatics Consortium, Dept. Microbiology, Monash
> University, AUSTRALIA
>
> _______________________________________________
> Bioperl-l mailing list
>
Bioperl-l@...
>
http://lists.open-bio.org/mailman/listinfo/bioperl-l--
Jason Stajich
jason@...
_______________________________________________
Bioperl-l mailing list
Bioperl-l@...
http://lists.open-bio.org/mailman/listinfo/bioperl-l