A computationally efficient Bayesian model for incorporating a vast number of markers