This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Obtaining OMA and HOG IDs

Given a list of gene IDs, how does one obtain the corresponding OMA and HOG IDs?

In anticipation of suggestions, many thanks in advance

George

oma browser

1 answer

Hi George,

the best is to use the REST API. You can send a json encoded list of protein IDs of interest using your favorite tool. a generic example with curl is the following:

curl  --header "Content-Type: application/json" --request POST --data '{"ids": ["P53_HUMAN","P12345"]}' https://omabrowser.org/api/protein/bulk_retrieve/

For python, we also provide the omadb client: https://github.com/DessimozLab/pyomadb for more information about it. I hope this helps.

Adrian

Log in to answer this question.