A molecular timeline for the origin of photosynthetic eukaryotes