生物系统振荡与控制:从建模到应用
1. 生物振荡模拟
在生物系统中,cAMP振荡网络模拟是一个重要的研究领域。使用Gillespie直接方法进行模拟时,会根据不同的反应编号对相关物质的浓度进行更新。以下是Python代码示例:
if reaction == 7:
REGA = REGA - 1
elif reaction == 8:
icAMP = icAMP + 1
elif reaction == 9:
icAMP = icAMP - 1
elif reaction == 10:
ecAMP = ecAMP + 1
elif reaction == 11:
ecAMP = ecAMP - 1
elif reaction == 12:
CAR1 = CAR1 + 1
elif reaction == 13:
CAR1 = CAR1 - 1
else:
print(reaction, 'Wrong reaction number!')
time_current = time_current + tau
if time_record < time_current:
data_idx = data_idx + 1
species_all[data_idx, :] = np.array([time_current, ACA, PKA, ERK2, REGA, icAMP, ecAMP, CAR1])
time_record = time_record + dt_record
print(time_record)
超级会员免费看
订阅专栏 解锁全文

被折叠的 条评论
为什么被折叠?



