[Bioperl-l] Getting whole gene info with SeachIO

Chris Fields cjfields at illinois.edu
Mon Jun 28 17:28:38 UTC 2010


$hit->description, I believe.

chris

On Jun 28, 2010, at 12:19 PM, Juan Jovel 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