DOpedgene function

pedgene call back function