I'm writing a small program that takes in a list of Uniprot gene names (and organisms of interest), and returns a visual representation of the GO terms associated with that list of genes in the specified organisms. I've run into an issue though. What if Uniprot doesn't have the GO terms for a gene in the specified organism? It might have the GO terms for that gene in other organisms, but not the one specified. So I wanted to ask, could I take the GO terms from the organism in the search results, that's the closest relative to the one of interest? If so, how do I determine which organism is the closest? I'm not very familiar with any phylogenetic resources where I give it a list of organisms and it returns a phylogeny of those organisms. Or are there easier ways to get the GO terms?
I appreciate the help. Also, if I do end up releasing this software, how do I reference this website? Or do I reference a specific user whose answer I used?