Well (somewhat off-topic): let's not to be too much excited about scripts.
Generally (call me boring) scripts only seem easy way to go, but in practice developing and maintaining scripts can be painful (if not nightmare) even if you're the only developer... In fact, XML and to a greater extend BioPAX (OWL-DL, RDF/XML) are not normally supposed to be parsed by simple scripts (e.g. by "clever" regex, etc..) unless those are really good ones (that simply hide a specific technology and framework). E.g., we have not only class inheritance and composition here but also property inheritance, constraints, and classes defined via constraints on properties, etc. (e.g., when one sets "left" or "controlled" property of an Interaction, should therefore see that value in interaction.participant property too, etc.). Paxtools is already sort of script that greatly simplify creating BioPAX models programmatically. Paxtools+Groovy - should be even easier.
PS:
Developing from scratch (using C, Perl, Python, Jena, OWL API...) is not impossible but uneasy. If I'd had to design such thing I'd think first of a more general scripting tool for OWL(-DL) instances rather than focuse on BioPAX only. Anyone knows might such tool are around already (and the reason if/why not)?.. Next, I'd add biopax-specific hacks: (not formally defined) BioPAX best practices and rules (regarding to use of CVs, chemistry, different levels of abstraction, etc.; could embed the biopax-validator.)
On Wednesday, May 1, 2013 1:58:18 PM UTC-4, Oliver Ruebenacker wrote: