Construction and analysis of a modular model of caspase activation in apoptosis