The study of genes that code for enzymes that metabolize drugs, and the design of tailor-made drugs adapted to an individual's genetic make-up.