[Biopython-dev] [Biopython - Bug #3361] RE: Error finding lineage info for an organism
redmine at redmine.open-bio.org
redmine at redmine.open-bio.org
Fri Jun 1 11:51:47 UTC 2012
Issue #3361 has been updated by James-Alex Matthews.
"What a bummer!" Is there an alternative to extracting lineage info remotely besides from a having to download the genbank file (which doesn't clearly specify rank i.e. if it's _family_ or _genus_ etc)?
----------------------------------------
Bug #3361: RE: Error finding lineage info for an organism
https://redmine.open-bio.org/issues/3361
Author: James-Alex Matthews
Status: New
Priority: Immediate
Assignee: Biopython Dev Mailing List
Category: Main Distribution
Target version: Not Applicable
URL:
Though I've successfully used the tool many time, the following code now generates an empty list:
handle = Entrez.efetch(db = "Taxonomy", id = tax_id, retmode = "xml") #Query taxonomy database with taxon id
lineage_record = Entrez.read(handle) #Read out handle
>> Problem: Record is empty
I've even run the example code from the Biopython tutorial/cookbook:
handle = Entrez.efetch(db="Taxonomy", id="158330", retmode="xml")
records = Entrez.read(handle)
>> Same problem: Record is empty
Yelp!!!!!!
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here and login: http://redmine.open-bio.org
More information about the Biopython-dev
mailing list