query for trials with genotype data