in reply to Re: Network format for Gene Ontology
in thread Network format for Gene Ontology

That module link is interesting (readmore below). It shows how GO can be passed into XML format. Is this often done? Is the XML format here easy to work with? And can anyone give examples of code with which this XML format is used? I expect that most people work with the flat files. I previously used simple but long perl scripts to pick up network paths and then did the rest of the analysis in Excel.

<readmore> eg format: go-text for storing graphs and metadata: !version: $Revision: 1.19 $ !date: $Date: 2002/12/11 01:15:01 $ !editors: Michael Ashburner (FlyBase), Midori Harris (SGD), Judy Bla +ke (MGD) $Gene_Ontology ; GO:0003673 $cellular_component ; GO:0005575 %extracellular ; GO:0005576 <fibrinogen ; GO:0005577 <fibrinogen alpha chain ; GO:0005972 <fibrinogen beta chain ; GO:0005973 this is the following file parsed with events turned directly into XML +: <subgraph> <term> <acc>GO:0003673</acc> <name>Gene_Ontology</name> <is_root>1</is_root> </term> <term> <acc>GO:0005575</acc> <name>cellular_component</name> <rel> <type>isa</type> <obj>GO:0003673</obj> </rel> </term> <term> <acc>GO:0005576</acc> <name>extracellular</name> <rel> <type>isa</type> <obj>GO:0005575</obj> </rel> </term> <term> <acc>GO:0005577</acc> <name>fibrinogen</name> <rel> <type>partof</type> <obj>GO:0005576</obj> </rel> </term> <term> <acc>GO:0005972</acc> <name>fibrinogen alpha chain</name> <rel> <type>partof</type> <obj>GO:0005577</obj> </rel> </term> <term> <acc>GO:0005973</acc> <name>fibrinogen beta chain</name> <rel> <type>partof</type> <obj>GO:0005577</obj> </rel> </term> </subgraph>

Replies are listed 'Best First'.
Re: Re: Re: Network format for Gene Ontology
by tfrayner (Curate) on Jan 03, 2003 at 15:44 UTC
    Is this often done?

    About once a month :-)

    I suspect that the XML format might be easier to work with than the flat files, but I must confess ignorance. You're quite correct that most of the work on the ontologies by the GO consortium itself uses the flat files with editors/browsers such as DAG-Edit and AmiGO. At present the flat files in the GO CVS are the most up-to-date version of the ontology (I think).

    Tim

    Disclaimer: I'm just an interested party with little to no inside experience; I don't speak for GO :-)