Semiparametric Bayesian inference for phage display data.