Skip to content

Instantly share code, notes, and snippets.

@CnrLwlss
Last active December 29, 2015 20:19
Show Gist options
  • Save CnrLwlss/7722593 to your computer and use it in GitHub Desktop.
Save CnrLwlss/7722593 to your computer and use it in GitHub Desktop.
SBML-shorthand version of https://gist.github.com/CnrLwlss/7720846 You can quickly convert this shorthand to full SBML with this useful tool: http://semanticsbml.org/semanticSBML/default/shorthand_sbml Note that you need to include a blank line at the end of the shorthand.
@model:2.3.1=ProteinExample
@compartments
cell=1
@species
cell:A=4
cell:B=2
cell:AB=0
cell:NULL=0
@parameters
k1=0.15
k2=0.075
@reactions
@r=reaction1
A+B -> AB
k1*A*B
@r=reaction2
B -> NULL
k2*B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment