Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-discuss » Setting a mass-action reaction
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
ayesha


Posts: 9
Registered:
January 2008
Setting a mass-action reaction 23 Apr '12 08:11 Go to previous message

Hi all

I am trying to write an SBML file using the c++ api from my own format (which is in a text).

I am following the full model example given (http://sbml.org/Software/libSBML/docs/cpp-api/libsbml-example.html)

My question is - is there an alternative way to define a reaction than writing the kinetics?

E.g. if I know my reaction kinetics are irreversible Mass-Action, if I can set my reactants, my products and my parameter, then can I write something like:

rxn = model->createReaction();
k = rxn->createKineticLaw(); // Can I specify mass-action here somehow

Then set reactants, products and the value of paramater associated with 'rxn', instead to doing everything through ASTNodes? Since, the kinetic-law, reactants and the parameters are defined that should be enough to define the kinetics completely.

If that's not possible, I will get down to doing it exactly as shown in the link above.

Thanks!

      

SubjectPosterDate
Read Message   Setting a mass-action reaction  ayesha23 Apr '12 08:11
Read Message   Re: Setting a mass-action reaction Nicolas Le Novere23 Apr '12 08:27
Read Message   Re: Setting a mass-action reaction myers23 Apr '12 09:26
Read Message   Re: Setting a mass-action reaction rodrigue24 Apr '12 01:59
Previous Topic:minimum of a set
Next Topic:Getting reactants and products for writing kinetics from a reaction
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.