Converting Between Phenotypes and Genotypes