Identify the origin and end cells and infer the trajectory of cellular fate automatically