[Bioperl-l] how to obtain GIs from clone_ids

Cui, Wenwu (NIH/NCI) [F] cuiw at mail.nih.gov
Mon May 1 19:39:01 UTC 2006


use strict;
use Bio::DB::Query::GenBank;

my $query_string = 'EST["C0005918b04"]';   
my $query = Bio::DB::Query::GenBank->new(-db=>'nucleotide',                                           
					 -query=>$query_string,				       
					);   
my $count = $query->count;


my @ids   = $query->ids;  


for (@ids) {
  print;
}

-----Original Message-----
From: Anand Venkatraman [mailto:bioperlanand at yahoo.com] 
Sent: Monday, May 01, 2006 2:36 PM
To: bioperl-l at lists.open-bio.org
Subject: [Bioperl-l] how to obtain GIs from clone_ids


Hi everybody,

I have a file containing clone_ids (from the Features annotation section of a GenBank entry)
------------------------------------------------------------
FEATURES             Location/Qualifiers
 source          1..707
 /clone="C0005918b04"
------------------------------------------------------------
Is there a way in Bioperl to send a query over the internet (one clone_id at a time) and get out just the GI number for that clone_id? Any suggestions..

Thanks in advance.

Anand

		
---------------------------------
Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.
_______________________________________________
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