Large deviations and dynamical phase transitions in stochastic chemical networks | Synapse