use the right set of analyzed traits for selection index depending on whether a population is a training or selection population