Comments (3)
Hi Brad, unfortunately pycotools3 doesn't support this. For rendering the equations for publication you might be interested in SBML2Latex but sounds like you want to pull out the equations programatically so you can store, manmanipulate etc... I wonder if your best bet is straight antimony?
i.e. download tellurium for sbml and import your sbml model. Then you can autogenerate the antimony model which has the equations in string format. After some string progressing (regexes or whatever) you could pull the equations out yourself.
Just an idea, good luck.
from pycotools3.
Hi Ciaran,
thanks so much for your response!
The antimony model I have generated from pycotools3 for my model has the following:
`function Henri_Michaelis_Menten__irreversible__6(TauN4R, k45, k46)
k45*TauN4R/(k46 + TauN4R);
end
// Reactions:
r77: TauH3RUb + Agg33 => $Ap; Braink90TauH3RUbAgg33;
r82: TauH4RUb + Agg43 => $Bp; Braink92TauH4RUbAgg43;
r1: => Tau03R; Brain*Constant_flux__irreversible(k1);
`
Are you saying that the antimony model generated from tellurium will have the differential equations for each species listed explicitly (in string format)? And if so, is there any chance you could show me an example where this is done. I am very unfamiliar with the world of antimony strings at the moment still. Thanks so much!!!!
Best,
Brad
from pycotools3.
Not exactly. The antimony model (as you see) is reaction oriented and each reaction is a term in the differential equations, right? So with a bit of string processing, you could have a string representation for each term of each differential equation. Then with the help if a stiociometry matrix (also available in tellurium) you should be able to put the equations together yourself.
However, I suspect this might be overkill. Tellurium is the python front end of another library called roadrunner. Roadrunner actually executes the model so there might be a way to get the equations directly from roadrunner. I don't know off the top of my head exactly how to do this, and don't have time to spend figureing it out. However, the tellurium/roadrunner guys are very helpful and quite responsive - I would suggest posting a similar question on their github page (either tellurium or roadrunner).
from pycotools3.
Related Issues (9)
- pycotools3: code for michaelis_menten model creation is not working HOT 6
- report_type keyword for Profile Likelihood HOT 3
- Question about pycotools vs. python bindings for COPASI HOT 1
- Attribute error in tasks.MultiModelFit and name error in utils HOT 4
- how to convert the compartment unit and particle number into molarity HOT 2
- Pip installation failing with dependencies HOT 1
- Not SBML file HOT 2
- SBML Import HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycotools3.