Phenotype determination