drdozer / oboformat

Automatically exported from code.google.com/p/oboformat
0 stars 0 forks source link

Stanza ordering should follow OBO serilaisation conventions #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From: 

http://www.geneontology.org/GO.format.obo-1_4.shtml#S.3.5

= Ordering Term and Typedef stanzas =

[Term], [Typdef], and [Instance] stanzas should be serialized in alphabetical 
order on the value of their id tag.

OWL2OBO should follow this. It currently does not.

(NOTE - This should be a lower priority than many other issues here as  most 
tools will load files with a non-standard stanza order. However, standard term 
order is very useful for working with version control and diffs.)

Original issue reported on code.google.com by dosu...@gmail.com on 21 Jun 2011 at 8:16

GoogleCodeExporter commented 9 years ago
recommended:

[Term]
id: GO:0000001
name: foo

[Term]
id: GO:0000002
name: bar

not recommended:

[Term]
id: GO:0000002
name: bar

[Term]
id: GO:0000001
name: foo

Original comment by cmung...@gmail.com on 30 Jun 2011 at 6:43

GoogleCodeExporter commented 9 years ago

Original comment by shahid.m...@gmail.com on 12 Jul 2011 at 9:25