On a semi-stochastic model arising in a biological system