[Biopython-dev] [Bug 2475] BioSQL.Loader should reuse existing taxon entries in lineage

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Thu Apr 24 14:52:28 UTC 2008


http://bugzilla.open-bio.org/show_bug.cgi?id=2475





------- Comment #29 from ericgibert at yahoo.fr  2008-04-24 10:52 EST -------
Created an attachment (id=914)
 --> (http://bugzilla.open-bio.org/attachment.cgi?id=914&action=view)
Usage of Bio/Entrez/Taxon.py parse to load a SeqRecord's taxonomy

Modification essentially in the function 
   DatabaseLoader._get_taxon_id(self, record).
Note the new optinal parameter in
   DatabaseLoader.__init__(self, adaptor, dbid, fetch_NCBI_taxonomy=False)

Attention: this parameter must be collected from 
   BioSeqDatabase.load(self, record_iterator, fetch_NCBI_taxonomy=False)
in BioSQL/BioSeqDatabase.py:

See next attachment for this modification.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list