[BioPython] get official symbol by genbank

John Shi junshi at memphis.edu
Fri Aug 4 17:01:27 UTC 2006


hello,

i want to get a list of official symbols based on some keyword.
for example, if i type parkinson in
http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?CMD=search&DB=gene
it will return me a list of records

the first information will be Official Symbol: park3, park11, etc. i
want to get this in my program. i tried the following codes:
gi_list = GenBank.search_for(search = "parkinson", max_ids = 20)
for l in gi_list:
   gb_record = ncbi_dict[l]
   if len(gb_record.features) > 1:
       print gb_record.features[1].qualifiers[0].value
it gave me some gene names i donot expect.

pls help,

-- 
John J Shi
johnjshi at gmail.com or 901-606-9701
https://umdrive.memphis.edu/junshi/public/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Be joyful always, pray continually, and
give thanks in all circumstances.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-



More information about the Biopython mailing list