[Bioperl-l] Getting whole gene info with SeachIO
shalabh sharma
shalabh.sharma7 at gmail.com
Mon Jun 28 17:42:41 UTC 2010
Hey Juan,
You need to use $hit->description;
-Shalabh
On Mon, Jun 28, 2010 at 1:19 PM, Juan Jovel <jovel_juan at hotmail.com> wrote:
>
> Hello Everybody!
>
> I generally use SearchIO to parse my blast reports. To extract hit name, I
> do:
>
> ...
>
> while (my $hsp = $hit->next_hsp){
> ...
> my $hit_name = $hit -> name();
> ...
> }
>
> It usually gives me something like:
>
> ref|NC_006884.1|
>
> How can I get ALL the information contained in the name line of that hit?,
> for example:
>
> >gi|255928922|ref|NC_013085.1| Synechococcus phage S-RSM4, complete genome
>
> THANKS IN ADVANCE!
>
> JUAN
>
> _________________________________________________________________
> Connect to the next generation of MSN Messenger
>
> http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>
More information about the Bioperl-l
mailing list