[Biopython-dev] [BioSQL-l] SwissProt DE lines and bioentry.description field in BioSQL
hlapp at gmx.net
Sat May 16 23:37:14 UTC 2009
On May 16, 2009, at 7:28 PM, Peter wrote:
>> That could be changed to an XML string:
>> <?xml version="1.0" encoding="UTF-8"?>
>> Thinking about this we should attempt to coalesce around a standard
>> of forcing the other Bio* to a specific format.
> How would you record this in BioSQL? As an XML string for an
> annotation value?
Yes. A TagTree object can be serialized to XML, and the XML can be
stored as the annotation value in BioSQL. As the XML can be read back
in, it allows full round-tripping.
> Brad has suggested JSON might be useful for this kind of thing (see
> also per-letter-annotation discussion).
JSON could be another serialization format, but XML is equally or
could just send the XML to the browser and have an XSLT (either
do the rendering.
: Hilmar Lapp -:- Durham, NC -:- hlapp at gmx dot net :
More information about the Biopython-dev