Added general phenotype query.