udpated phenotype map code with new data format