Partonic coalescence in relativistic heavy ion collisions