pyLM  v1.1
A Python Problem Solving Environment for the simulation of stochastic biological systems
 All Classes Namespaces Files Functions Variables Pages
Functions | Variables
pySTDLM.StandardReactions Namespace Reference

Functions

def addMembraneTransporter
 Adds a membrane transport system to an RDME system. More...
 
def addPassiveTransport
 Adds a passive transport system to an RDME system. More...
 
def addMichaelisMenten
 Adds a Michaelis Menten Reaction. More...
 
def addReversibleMichaelisMenten
 Add a Reversible Michaelis Menten Reaction. More...
 
def createExpressionModel
 Create a set of gene/mRNA/protein reactions based on a genebank file and a set of rates assuming constitutive expression. More...
 

Variables

 hasBio = True
 

Function Documentation

def pySTDLM.StandardReactions.addMembraneTransporter (   sim,
  transporter,
  number,
  name1,
  name2,
  dRate,
  kf,
  kr,
  region1 = 'cytoplasm',
  region2 = 'default',
  intoRegion = 'membrane' 
)

Adds a membrane transport system to an RDME system.

Parameters
simAn RDMESimulation to add the transporter system to
transporterName of the transporter particle
numberThe number of transporter molecules
name1Name of the transported particle in region1
name2Name of the transported particle in region2
dRateThe rate of diffusion from region1<->intoRegion and region2<->intoRegion
kfThe forward reaction rate
krThe reverse reaction rate
region1The region on the first side of the membrane
region2The region on the second side of the membrane
intoRegionThe region representing the membrane
Returns
The simulation object so this can be a chained call
def pySTDLM.StandardReactions.addMichaelisMenten (   sim,
  reactant,
  enzyme,
  product,
  k1f,
  k1b,
  k2,
  region = 'cytoplasm' 
)

Adds a Michaelis Menten Reaction.

Parameters
simThe RDME or CME reaction
reactantThe reactant that reacts with the enzyme
enzymeThe enzyme catalyzing the reaction
productThe product of the reaction
k1fThe forward reaction rate
k1bThe backward reaction rate
k2The second forward rate
regionThe region in which the reaction should occur (RDME only)
Returns
The simulation object so this can be a chained call
def pySTDLM.StandardReactions.addPassiveTransport (   sim,
  specie,
  dRate,
  region1 = 'cytoplasm',
  region2 = 'default',
  region3 = 'membrane' 
)

Adds a passive transport system to an RDME system.

Parameters
simAn RDMESimulation to add the passive transport to
specieThe species that can diffuse across the membrane
dRateThe rate of diffusion across the membrane
region1The region on the first side of the membrane
region2The region on the second side of the membrane
region3The region representing the membrane
Returns
The simulation object so this can be a chained call
def pySTDLM.StandardReactions.addReversibleMichaelisMenten (   sim,
  reactant,
  enzyme,
  product,
  k1f,
  k1b,
  k2f,
  k2b,
  k3f,
  k3b,
  region = 'cytoplasm' 
)

Add a Reversible Michaelis Menten Reaction.

Parameters
simThe RDME or CME reaction
reactantThe reactant that reacts with the enzyme
enzymeThe enzyme catalyzing the reaction
productThe product of the reaction
k1fThe forward reaction rate
k1bThe backward reaction rate
k2fThe second forward rate
k2bthe second backward rate
k3fThe third forward rate
k3bthe third backward rate
regionthe region in which the reaction should occur (RDME only)
Returns
The simulation object so this can be a chained call
def pySTDLM.StandardReactions.createExpressionModel (   sim,
  gb,
  kt,
  kd,
  kr,
  kdil = None,
  regions = None 
)

Create a set of gene/mRNA/protein reactions based on a genebank file and a set of rates assuming constitutive expression.

Parameters
simThe RDME or CME simulation
gbThe genbank filename. File should be readable by BioPython.
ktmRNA transcription rate dictionary { locusTag -> rate }
kdmRNA degradation rate dictionary { locusTag -> rate }
krProtein transcription rate dictionary {locusTag -> rate }
kdilProtein dillution/degradation rate dictionary {locusTag -> rate} (Optional; Default "None", meaning no dillution reaction will be specified)
regionsRegions for the reactions to occur. Degradation is allowed in both regions. {locusTag -> (transcriptionRegion, translationRegion)} (required for RDMESimulations)
Returns
SeqIO representation of the Genbank file with qualifiers added: qualifiers["dna_id"->(str,int),"rna_id"->(str,int), "protein_id"->(str,int)]

Variable Documentation

pySTDLM.StandardReactions.hasBio = True