[Bioperl-l] While loop - SearchIO for BioPerl
Jason Stajich
jason at bioperl.org
Thu Jul 9 00:50:54 UTC 2009
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 at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
--
Jason Stajich
jason at bioperl.org
More information about the Bioperl-l
mailing list