This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Retreiving GOterms ID from the Term Description

Hello,

I have a fairly simple question and beleive there is likely a tool out there.

I have a list of Go Terms for which I would like to retreive the associate list of GO IDs for.

Input : cell differentiation, multicellular organism development, cilium assembly

Output: GO:0030154, GO:00XXXXX, GO:00XXXXX

I toook a look but was not able to find a tool that accomplished this in a large batch format. If you know of a tool that can easily do these conversions that would be awesome.

Thanks

terms go

probably go.db or biomart in R?

1 answer

$ wget -q -O - http://purl.obolibrary.org/obo/go.obo |\
  grep -E "^(id|name)\: " | cut -d ' ' -f2- |\
  paste -d '|' - - |\
  grep -E '\|(cell differentiation|multicellular organism development|cilium assembly)$'


GO:0007275|multicellular organism development
GO:0030154|cell differentiation
GO:0060271|cilium assembly

This works great!

Thanks for the help!

Log in to answer this question.