Talk:Retrieve nonmatching blast queries

From Biopython
Revision as of 04:10, 11 May 2009 by Davidw (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

re Discussion

Hmmm, perhaps the 'one record at a time' I talked about isn't any faster. Doing this

for record in NCBIXML.parse(open("BLAST_RESULTS.out", 'r')):
  recID = record.query.split()[0] 
  if recID in q_dict.keys():
    del q_dict[recID

takes ~ 30secs on my little laptop with the files I used for the recipe whereas the recipe version takes more like 20secs. Is there another way to do this?

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox