[BioPython] GenBank

dam6278 dam6278 at yahoo.fr
Thu Apr 27 07:53:24 UTC 2006


I have a proble with the GenBank parser :
  
  When I execute :
  
  from Bio import GenBank
  gi_list = GenBank.search_for("Opuntia AND rpl16")
  
  My output is :
  
  Traceback (most recent call last):
    File "<stdin>", line 1, in ?
    File "/usr/lib/python2.4/site-packages/Bio/GenBank/__init__.py", line 1398, in search_for
      retstart = start_id, retmax = max_ids)
    File "/usr/lib/python2.4/site-packages/Bio/EUtils/DBIdsClient.py", line 294, in search
      searchinfo = parse.parse_search(infile, [None])
    File "/usr/lib/python2.4/site-packages/Bio/EUtils/parse.py", line 201, in parse_search
      for ele in pom["TranslationStack"]:
    File "/usr/lib/python2.4/site-packages/Bio/EUtils/POM.py", line 355, in __getitem__
      raise IndexError, "no item matches"
  IndexError: no item matches
  
  Do you know where is my problem ?
  
  Thank you for your help.
  
  damien
 




More information about the Biopython mailing list