[Bioperl-l] Getting whole gene info with SeachIO

Juan Jovel jovel_juan at hotmail.com
Mon Jun 28 17:19:23 UTC 2010


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



More information about the Bioperl-l mailing list