This module declares a number of functions and variables that are used by many of the EARM 2 models. The functions can be divided into the following four categories:
- Functions that are specific to the models in EARM 2, but are used by all of them. The only macro of this type is
- Aliases to generalized macros in pysb.macros that provide default values for site names or other arguments. Macros of this type include:
- Macros for mechanisms that appear within the models previously published by the research group of Pingping Shen (or the model from [Howells2011], which is derived from one of Shen’s models):
- Macros for mechanisms that appear within the models described in our group’s earlier work, specifically the models described in [Albeck2008]:
Declare observables commonly used for the TRAIL pathway.
Declares truncated (and mitochondrial) Bid, cytosolic (i.e., released) Smac, and cleaved PARP.
catalyze(enz, sub, product, klist)¶
Alias for pysb.macros.catalyze with default binding sites.
bind(a, b, klist)¶
Alias for pysb.macros.bind with default binding sites.
Alias for pysb.macros.bind_table with default binding sites.
assemble_pore_sequential(subunit, size, klist)¶
Alias for pysb.macros.assemble_pore_sequential with default sites.
Uses default pore site names as the sites for subunit-subunit binding in the pore.
pore_transport(subunit, size, csource, cdest, ktable)¶
Alias for pysb.macros.pore_transport with default arguments.
- Uses the default binding site names for the binding site on the pore and on the cargo
- Uses the default pore site names for subunit-subunit binding
- Uses only a single size (not a min and max size) for the size of transport-competent pores
Generate the order-4 assembly reaction 4*Subunit <> Pore.
displace(lig1, lig2, target, k)¶
Generate unidirectional displacement reaction L1 + L2:T >> L1:T + L2.
The signature can be remembered with the following formula: “lig1 displaces lig2 from target.”
displace_reversibly(lig1, lig2, target, klist)¶
Generate reversible displacement reaction L1 + L2:T <> L1:T + L2.
The signature can be remembered with the following formula: “lig1 displaces lig2 from target.” The first rate given in in klist specifies the forward rate of this reaction; the second specifies the reverse rate.
catalyze_convert(sub1, sub2, product, klist, site='bf')¶
Automation of the Sub1 + Sub2 <> Sub1:Sub2 >> Prod two-step reaction.
Because product is created by the function, it must be fully specified.
one_step_conv(sub1, sub2, product, klist, site='bf')¶
Bind sub1 and sub2 to form one product: sub1 + sub2 <> product.
pore_bind(subunit, sp_site1, sp_site2, sc_site, size, cargo, c_site, klist)¶
Generate rules to bind a monomer to a circular homomeric pore.
The pore structure is defined by the pore_species macro – subunit monomers bind to each other from sp_site1 to sp_site2 to form a closed ring. The binding reaction takes the form pore + cargo <> pore:cargo.
subunit : Monomer or MonomerPattern
Subunit of which the pore is composed.
sp_site1, sp_site2 : string
Names of the sites where one copy of subunit binds to the next.
sc_site : string
Name of the site on subunit where it binds to the cargo cargo.
size : integer
Number of subunits in the pore at which binding will occur.
cargo : Monomer or MonomerPattern
Cargo that binds to the pore complex.
c_site : string
Name of the site on cargo where it binds to subunit.
klist : list of Parameters or numbers
List containing forward and reverse rate constants for the binding reaction (in that order). Rate constants should either be both Parameter objects or both numbers. If Parameters are passed, they will be used directly in the generated Rules. If numbers are passed, Parameters will be created with automatically generated names based on <TODO> and these parameters will be included at the end of the returned component list.