def mapk_single(kinase, pptase, substrate, site):
    ppt_substrate = substrate()
    if 'k' in ppt_substrate.monomer.sites:
        # Ensure substrates which are themselves kinases don't get
        # dephosphorylated while they are bound to *their* substrate.
        ppt_substrate = ppt_substrate(k=None)
    components = catalyze_state(kinase, 'k',
                                substrate, site, site, 'u', 'p',
                                klist_phos)
    components |= catalyze_state(pptase, 'ppt',
                                 ppt_substrate, site, site, 'p', 'u',
                                 klist_dephos)
    return components
Returns a JSON serializable object representation.
dataset/ETHPy150Open pysb/pysb/pysb/examples/kinase_cascade.py/mapk_single--crossover with--dataset/ETHPy150Open crossbario/autobahn-python/autobahn/websocket/compress_snappy.py/PerMessageSnappyOffer.__json__