function for getting the markers used in a genotyping trial