I am working with an enzyme with high substrate specificity and only a few bacteria have it. I recently discovered that my protein has extremely high structural similarity with a protein present in all bacteria. The substrates are somewhat similar but definitely not the same. The sequence identity is ~30%, and the active site residues are lining up pretty well. I just don't know what kind of phylogenetic analyses I can perform to explore this relationship further. Is there any way to determine if this other protein is in fact an ancestral version of my protein of interest?