[BioPython] GenBank

Michiel De Hoon mdehoon at c2b2.columbia.edu
Thu Apr 27 15:31:43 UTC 2006


I was not able to replicate this error -- both biopython 1.41 and biopython
in CVS worked fine. Perhaps a temporary internet failure?

--Michiel.

Michiel de Hoon
Center for Computational Biology and Bioinformatics
Columbia University
1150 St Nicholas Avenue
New York, NY 10032



-----Original Message-----
From: biopython-bounces at lists.open-bio.org on behalf of dam6278
Sent: Thu 4/27/2006 3:53 AM
To: biopython at lists.open-bio.org
Subject: [BioPython] GenBank
 
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
 

_______________________________________________
BioPython mailing list  -  BioPython at lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython





More information about the Biopython mailing list