Ultra high energy particles propagation and the transition from galactic to extra-galactic cosmic rays