Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-interoperability » ordering of MIRIAM annotations
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Neil Swainston


Posts: 66
Location:
Manchester
Registered:
October 2007
Re: ordering of MIRIAM annotations 10 Sep '09 10:52 Go to previous messageGo to previous message

Hi Allyson,

Pass the two files on to Morgan. libAnnotationSBML has a "format"
method that (amongst other things) reads the contents of annotations
then writes them out again. When they're written out, they'll be
written out in some reasonably consistent order. You should be able to
"diff" 'em and they should then be the same.

org.mcisb.sbml.SbmlUtils is the class. format( File in, File out ) is
the method.

Cheers,

Neil.

Neil Swainston
Experimental Officer

Manchester Centre for Integrative Systems Biology
Manchester Interdisciplinary Biocentre
University of Manchester
Manchester M1 7DN
England

On 10 Sep 2009, at 15:32, Allyson Lister wrote:

> Hi all,
>
> I realize that there is no inherent order of the various MIRIAM
> annotations
> in an <annotation> element, and I certainly don't think there should
> be any
> such thing.
>
> However, saying that, I'm trying to do a diff between two SBML
> files, and
> I'm running into trouble when comparing the MIRIAM annotations.
> Essentially,
> the ordering in the file as downloaded from BioModels seems to be
> different
> than the ordering of the messed-with version of the SBML file that I
> created
> and am trying to compare against.
>
> I know that if I just run libsbml's Reader and Writer over the
> BioModels
> file, the outputted file is identical to the one coming in.
> Therefore it
> must be my "messing" that is changing the order of the MIRIAM
> annotations.
>
> I guess all I'd like to ask at this stage is:
>
>
> 1. Does the order with which the CVTerms are added make a
> difference to
> the ultimate outcome of the way the MIRIAM annotations are written
> out? (I'm
> guessing yes from my experience)
> 2. Is there any helper method to ensure that the ordering of new
> CVTerms
> would be identical to the "biomodels/sbml approved" ordering?
>
> This #2 part would make my "diff" life much, much easier.
>
> Thanks very much,
> Allyson
>
> --
> Allyson Lister
> http://themindwobbles.wordpress.com
>
> CISBAN, http://www.cisban.ac.uk
> Newcastle University
> ____________________________________________________________
> To manage your sbml-interoperability list subscription, visit
> https://utils.its.caltech.edu/mailman/listinfo/sbml-interoperability
>
> For a web interface to the sbml-interoperability mailing list, visit
> http://sbml.org/Forums/
>
> For questions or feedback about the sbml-interoperability list,
> contact sbml-team@caltech.edu

____________________________________________________________
To manage your sbml-interoperability list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/sbml-interoperability

For a web interface to the sbml-interoperability mailing list, visit
http://sbml.org/Forums/

For questions or feedback about the sbml-interoperability list,
contact sbml-team@caltech.edu

      

SubjectPosterDate
Read Message   ordering of MIRIAM annotations Allyson Lister10 Sep '09 07:32
Read Message   Re: ordering of MIRIAM annotations  Neil Swainston10 Sep '09 10:52
Read Message   Re: ordering of MIRIAM annotations Neil Swainston11 Sep '09 01:07
Read Message   Re: ordering of MIRIAM annotations ajouraku16 Sep '09 05:48
Read Message   Re: ordering of MIRIAM annotations Neil Swainston17 Sep '09 02:34
Read Message   Re: ordering of MIRIAM annotations Lucian Smith10 Sep '09 11:41
Read Message   Re: ordering of MIRIAM annotations Allyson Lister10 Sep '09 14:02
Previous Topic:MathML in libsbml 4.0.0
Next Topic:Re: Id/Name not on SBase
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.