[BioPython] [Biopython-dev] Bio.Entrez XML parsing
Sean Davis
sdavis2 at mail.nih.gov
Mon Mar 31 11:52:57 UTC 2008
On Mon, Mar 31, 2008 at 7:52 AM, Sean Davis <sdavis2 at mail.nih.gov> wrote:
>
> On Mon, Mar 31, 2008 at 7:25 AM, Peter <biopython at maubp.freeserve.co.uk> wrote:
> > On Mon, Mar 31, 2008 at 1:51 AM, Sean Davis <sdavis2 at mail.nih.gov> wrote:
> > > This makes sense. However, it seems that there needs to be a way to
> > > "register" a parser with read() so that users can extend their local
> > > installation with a specialized parser. In other words, it seems that
> > > a way to dynamically register a parser with read() would be helpful.
> > > Or am I missing something?
> >
> > I like Michiel's plan. The mapping could be as simple as a (private)
> > dictionary in Bio.Entrez, mapping formats to parser objects/functions
> > - as done in Bio.SeqIO - which lets the user add new parsers or
> > override the built in ones should they so desire.
>
> That sounds like it would also work just fine.
Forgot to send to the list, also.
More information about the Biopython
mailing list